Handling System: Comau Robotics Instruction Handbook
Handling System: Comau Robotics Instruction Handbook
Handling System: Comau Robotics Instruction Handbook
Instruction Handbook
Handling System
SmartHand
Application Software Rel. 115.xx
CR00757621-en_01/2012.07
The information contained in this manual is the property of COMAU S.p.A.
Reproduction of text and illustrations is not permitted without prior written approval by COMAU S.p.A.
COMAU S.p.A. reserves the right to alter product specifications at any time without notice or obligation.
SUMMARY
PREFACE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .5
Symbols used in the manual . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Reference documents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
lb-hn-0-hndTOC.fm
3
Summary
Object . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .28
Setup Page . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
General information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .28
Softkeys description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .30
Object Pages description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .31
Integration of the application package with System environment . . . . . . . . . . . . . . . . . . . . . . . 36
Alarm page . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
Errors cause and remedy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .37
I/O Page . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
User Help I/Os . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .39
Integration with IDE environment. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
Technological Instruction insertion in IDE environment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
5. PROGRAMMING . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ..43
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
Technological Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
Process routines. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
Gripper_sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .43
Gripper_vacuum . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .44
Gripper_vacuum_blow . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .44
Gripper_chkpart . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .45
Grip_part_supervision . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .45
Grip_air_supervision. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .45
Advanced variables and routines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
Hnvb_smarthand_in_fault. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .46
Hnru_user_fault_abort_enable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .46
Hnru_user_fault_abort_ack . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .46
Hnrb_get_user_fault_abort. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .47
Handling RESET key . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
hnru_tp_reset_in_remote . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
Using the System shared resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
6. CUSTOMIZATIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ..50
I/O configuration towards PLC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
lb-hn-0-hndTOC.fm
4
Preface
PREFACE
AP-hn-0-SPT_02.fm
00/0410 5
Preface
Reference documents
This document concerns the Handling System.
The complete set of Handling System manuals consists of:
AP-hn-0-SPT_02.fm
6 00/0410
General Safety Precautions
It deals with a general specification that apply to the whole Robot System. Due to ist
significance, this document is referred to unreservedly in any system instruction manual.
1.1 Responsibilities
– The system integrator is responsible for ensuring that the Robot System (Robot
and Control System) are installed and handled in accordance with the Safety
Standards in force in the country where the installation takes place. The application
and use of the protection and safety devices necessary, the issuing of declarations
of conformity and any CE markings of the system are the responsibility of the
Integrator.
– COMAU Robotics & Service shall in no way be held liable for any accidents caused
by incorrect or improper use of the Robot System (Robot and Control System), by
tampering with circuits, components or software, or the use of spare parts that are
not included in the spare parts list.
The installation shall be made by qualified installation Personnel and should conform to
all national and local codes.
ge-0-0-0_01.FM
00/0710 7
General Safety Precautions
1.2.1 Purpose
These safety precautions are aimed to define the behaviour and rules to be observed
when performing the activities listed in the Applicability section.
1.2.2 Definitions
Robot System (Robot and Control System)
The Robot System is a functional unit consisting of Robot, Control Unit, Programming
terminal and possible options.
Protected Area
The protected area is the zone confined by the safety barriers and to be used for the
installation and operation of the robot
Authorised Personnel
Authorised personnel defines the group of persons who have been trained and assigned
to carry out the activities listed in the Applicability section.
Assigned Personnel
The persons assigned to direct or supervise the activities of the workers referred to in
the paragraph above.
Programming Mode
Operating mode under the control of the operator, that excludes automatic operation
and allows the following activities: manual handling of robot axes and programming of
work cycles at low speed, programmed cycle testing at low speed and, when allowed,
at the working speed.
ge-0-0-0_01.FM
8 00/0710
General Safety Precautions
Integrator
The integrator is the professional expert responsible for the installation and putting into
service of the Robot and Control System.
Incorrect Use
Incorrect use is when the system is used in a manner other than that specified in the
Technical Documentation.
Range of Action
The robot range of action is the enveloping volume of the area occupied by the robot
and its fixtures during movement in space.
1.2.3 Applicability
These Specifications are to be applied when executing the following activities:
– Installation and Putting into Service;
– Programming Mode;
– Auto / Remote Automatic Mode;
– Robot axes release;
– Maintenance and Repairs;
– Putting Out of Service and Dismantling
ge-0-0-0_01.FM
00/0710 9
General Safety Precautions
– Connection between the Control Unit and the three-phase supply mains at the
works, is to be with a four-pole (3 phases + earth) armoured cable dimensioned
appropriately for the power installed on the Control Unit. See the product
Technical Documentation.
– The power supply cable is to enter the Control Unit through the specific fairlead and
be properly clamped.
– Connect the earth conductor (PE) then connect the power conductors to the main
switch.
ge-0-0-0_01.FM
10 00/0710
General Safety Precautions
– Connect the power supply cable, first connecting the earth conductor to the circuit
breaker on the mains line, after checking with a tester that the circuit breaker
terminals are not powered. Connect the cable armouring to the earth.
– Connect the signals and power cables between the Control Unit and the robot.
– Connect the robot to earth or to the Control Unit or to a nearby earth socket.
– Check that the Control Unit door (or doors) is/are locked with the key.
– A wrong connection of the connectors could cause permanent damage to the
Control Unit components.
– The C5G Control Unit manages internally the main safety interlocks (gates,
enabling pushbuttons, etc.). Connect the C5G Control Unit safety interlocks to the
line safety circuits, taking care to connect them as required by the Safety
standards. The safety of the interlock signals coming from the transfer line
(emrgency stop, gates safey devices etc) i.e. the realisation of correct and safe
circuits, is the responsibility of the Robot and Control System integrator.
In the cell/line emergency stop circuit the contacts must be included of the control unit
emergency stop buttons, which are on X30. The push buttons are not interlocked in the
emergency stop circuit of the Control Unit.
– The safety of the system cannot be guaranteed if these interlocks are wrongly
executed, incomplete or missing.
– The safety circuit executes a controlled stop (IEC 60204-1 , class 1 stop) for the
safety inputs Auto Stop/ General Stop and Emergency Stop. The controlled stop is
only active in Automatic states; in Programming the power is cut out (power
contactors open) immediately. The procedure for the selection of the controlled
stop time (that can be set on SDM board) is contained in the Installation manual .
– When preparing protection barriers, especially light barriers and access doors,
bear in mind that the robot stop times and distances are according to the stop
category (0 or 1) and the weight of the robot.
Check that the controlled stop time is consistent with the type of Robot connected to the
Control Unit. The stop time is selected using selector switches SW1 and SW2 on the
SDM board.
– Check that the environment and working conditions are within the range specified
in the specific product Technical Documentation.
– The calibration operations are to be carried out with great care, as indicated in the
Technical Documentation of the specific product, and are to be concluded
checking the correct position of the machine.
– To load or update the system software (for example after replacing boards), use
only the original software handed over by COMAU Robotics & Service.
Scrupulously follow the system software uploading procedure described in the
Technical Documentation supplied with the specific product. After uploading,
always make some tests moving the robot at slow speed and remaining outside the
protected area.
– Check that the barriers of the protected area are correctly positioned.
ge-0-0-0_01.FM
00/0710 11
General Safety Precautions
Programming Mode
– The robot is only to be programmed by the authorised personnel.
– Before starting to program, the operator must check the Robot System (Robot and
Control System) to make sure that there are no potentially hazardous irregular
conditions, and that there is nobody inside the protected area.
– When possible the programming should be controlled from outside the protected
area.
– Before operating inside the Protected Area, the operator must make sure from
outside that all the necessary protections and safety devices are present and in
working order, and especially that the hand-held programming unit functions
correctly (slow speed, emergency stop, enabling device, etc.).
– During the programming session, only the operator with the hand-held terminal is
allowed inside the Protected Area.
– If the presence of a second operator in the working area is necessary when
checking the program, this person must have an enabling device interlocked with
the safety devices.
– Activation of the motors (Drive On) is always to be controlled from a position
outside the range of the robot, after checking that there is nobody in the area
involved. The Drive On operation is concluded when the relevant machine status
indication is shown.
– When programming, the operator is to keep at a distance from the robot to be able
to avoid any irregular machine movements, and in any case in a position to avoid
the risk of being trapped between the robot and structural parts (columns, barriers,
etc.), or between movable parts of the actual robot.
– When programming, the operator is to avoid remaining in a position where parts of
the robot, pulled by gravity, could execute downward movements, or move
upwards or sideways (when installed on a sloped plane).
– Testing a programmed cycle at working speed with the operator inside the
protected area, in some situations where a close visual check is necessary, is only
to be carried out after a complete test cycle at slow speed has been executed. The
test is to be controlled from a safe distance.
– Special attention is to be paid when programming using the hand-held terminal: in
this situation, although all the hardware and software safety devices are active, the
robot movement depends on the operator.
– During the first running of a new program, the robot may move along a path that is
not the one expected.
– The modification of program steps (such as moving by a step from one point to
another of the flow, wrong recording of a step, modification of the robot position out
of the path that links two steps of the program), could give rise to movements not
envisaged by the operator when testing the program.
– In both cases operate cautiously, always remaining out of the robot’s range of
action and test the cycle at slow speed.
ge-0-0-0_01.FM
12 00/0710
General Safety Precautions
Before using the manual release devices, it is strongly recommended to sling the robot,
or hook to an overhead travelling crane.
– Enabling the brake releasing device may cause the axes falling due to gravity as
well as possible impacts due to an incorrect restoration, after applying the brake
releasing module. The procedure for the correct usage of the brake releasing
device (both for the integrated one and module one) is to be found in the
maintenance manuals.
– When the motion is enabled again following the interruption of an unfinished
MOVE, the track recovery typical function may generate unpredictable paths that
may imply the risk of impact. This same condition arises at the next automatic cycle
restarting. Avoid moving the Robot to positions that are far away from the ones
provided for the motion restart; alternatively disable the outstanding MOVE
programmes and/or instructions.
ge-0-0-0_01.FM
00/0710 13
General Safety Precautions
After replacement of the SDM module, check on the new module that the setting of the
stop time on selector switches SW1 and SW2 is consistent with the type of Robot
connected to the Control Unit.
ge-0-0-0_01.FM
14 00/0710
General Safety Precautions
ge-0-0-0_01.FM
00/0710 15
General Safety Precautions
1.2.5 Performance
The performances below shall be considered before installing the robot system:
– Stop distances
– Mission time (typ. case).
Stop distances
– With Robot in programming modality (T1), if you press the stop pushbutton (red
mushroom-shaped one on WiTP) in category 0 (according to the standard
EN60204-1), you will obtain:
Expected Stopping
Mode Case
speed time
For the safety inputs of the SDM module (e.g.
stop pushbutton of TP in wired version)
For the stop and enabling device inputs from 150 ms
the TP in wireless version, when the safety
T1 250 mm/s
wire trasmission is active.
For the time-out of stop input and enabling
device from TP in wireless version, when the 350 ms
safety wire transmission is lost or interrupted.
– Considering the Robot in automatic modality, under full extension, full load and
maximum speed conditions, if you press the stop pushbutton (red
mushroom-shaped one on WiTP) in category 1 (according to norm EN60204-1)
you will trigger the Robot complete stop with controlled deceleration ramp.
Example: for Robot NJ 370-2.7 you will obtain the complete stop in about 85 °
motion, that correspond to about 3000 mm movement measured on TCP flange.
Under the said conditions, the stopping time for Robot NJ 370-2.7 is equal to 1,5
seconds.
ge-0-0-0_01.FM
16 00/0710
General Description of SmartHand Application Software
2. GENERAL DESCRIPTION OF
SMARTHAND APPLICATION
SOFTWARE
2.1 Introduction
This chapter is the introduction to the COMAU Handling environment, with special
regard to SmartHand application software.
A Handling system can have different configurations according to the User’s specific
requirements. This manual only refers to:
– Basic System
– Basic Functions.
ap-hn-0-hnd_01.fm
00/0410 17
General Description of SmartHand Application Software
ap-hn-0-hnd_01.fm
18 00/0410
Installing / Activating / Uninstalling
3. INSTALLING / ACTIVATING /
UNINSTALLING
3.1 Introduction
This chapter describes the installation procedure for the SmartHand application.
The following topics are dealt with:
– System requirements
– Preparation for SmartHand installation
– Use of WinApplicationCreator tool for C5G (WAC5G)
– Installation procedure
– Uninstall procedure
3.2.2 Hardware
The following basic hardware components are necessary to use the SmartHand
application:
– C5G Robot Control Unit
– one of the following interface boards:
• C5G-Devicenet
• C5G-Profibus.
ap-hn-0-hnd_03.fm
00/0410 19
Installing / Activating / Uninstalling
For a detailed description, about use and functionality of WAC5G tool, please
refer to the dedicated manual.
The installation file which is generated by WAC5G is an archive file (.zip extension)
whose name is composed by
The configuration name is asked by WAC5G before generating the installation file.
The User can choose any meaningful string, which could help to better identify the
configuration. Such a string is the one displayed on the Teach Pendant in the application
About pages.
ap-hn-0-hnd_03.fm
20 00/0410
Installing / Activating / Uninstalling
c. Press ENTER again, then down arrow to select the device (COMP:, XD:, UD:, TX:)
containing the being installed SmartHand application.
d. Confirm with ENTER. Down arrow to select the application to be installed, i.e.
SmartHand .
f. Press the key for the Install command (F5) to carry out the installation.
g. If any error occurs while installing, messages and suggestions are issued.
h. In case of any error, the installation is stopped, the error is indicated with a
message and the C5G red alarm lamp lights up. The system remains in such a
condition until the RESET key is pressed.
The installation will continue from the point where it was interrupted, as soon as the
condition that caused the error is removed.
i. After the installation has been completed, re-start the system (Restart Cold).
ap-hn-0-hnd_03.fm
00/0410 21
Installing / Activating / Uninstalling
e. At the end of the procedure the User is requested to restart the System (Restart
Cold).
ap-hn-0-hnd_03.fm
22 00/0410
User interface on the Teach Pendant
4.1 Introduction
This chapter describes the user interface on the Teach Pendant, for the SmartHand
application.
The following topics are dealt with:
– Process control keys (right menu)
– Specific application environments
– Integration of the application package with System environment
– Integration with IDE environment.
As for the Teach Pendant use, please refer to the pertaining manual C5G Control
Unit use, chapter Teach Pendant.
ap-hn-0-hnd_06.fm
00/0410 23
User interface on the Teach Pendant
The “software led” associated to each softkey indicates, depending on the displayed
colour, the status of the component represented by the icon. See the description in the
following Tab. 4.2.
When the software led colour is yellow, it means that a command ($DOUT) has
been sent to the component, but the function performed confirmation ($DIN)
hasn’t been received yet.
In the case shown on the left, the softkey functionality is disabled (e.g. because
the command comes from remote) but the software LED still indicates the
component status: in this example, green means that the function has been
properly completed.
In particular, descriptions for all the softkeys are provided, for all the allowed positions
of the modal selector switch on C5G Controller Unit:
– T1 position (System in Prog state)
– AUTO position (System in Local state)
– REMOTE position (System in Remote state)
ap-hn-0-hnd_06.fm
24 00/0410
User interface on the Teach Pendant
Select the wished gripper. It only works if SmartHand has been configured as
a multigripper. Each pressure updates the icon depending on the total amount
R1 of configured grippers during the SETUP.
The only colour of the software led is grey.
The softkey is always enabled in all positions: T1, AUTO and REMOTE.
(*) R4 and R5 keys are enabled only when the robot is in DRIVE ON for safety reasons.
(**) EXAMPLE 1: if R4 Seq 1 is used, the same key controls either opening the component when it is closed,
or closing the component when it is opened.
EXAMPLE 2: if R4 Vac 1 is used, the same key controls the intake of the suction devices unit if they are in
stop or vice-versa if they are operating. With the suction device in stop there is also a function of long pressure
to control the suction device blowing. When the key is released the suction device is locked.
ap-hn-0-hnd_06.fm
00/0410 25
User interface on the Teach Pendant
ap-hn-0-hnd_06.fm
26 00/0410
User interface on the Teach Pendant
– Finally, the fourth one (bottom right - (4)) is the User dedicated area, so it is called
User Area. It is a table in which the User is allowed to display some wished
information (with a maximum o four), with string format.
The SmartHand application strings are:
hnxs_user_1 : ARRAY [ki_row] OF STRING [19] EXPORTED FROM sh_dd
hnxs_user_2 : ARRAY [ki_row] OF STRING [19] EXPORTED FROM sh_dd
where:
– ki_row, is the maximum number of rows, i.e. 4
– hnxs_user_1 is the reference variable of the first column
– hnxs_user_2 is the reference variable of the second column
In the Application Page bottom menu, two softkeys are available, related to the following
functions:
– About (F5)
– Object (F1)
A detailed description for each of them, follows.
4.3.1.2 About
Displays a menu containing the following information related to the selected application:
– Configuration : this function displays the application name and the installation
version, the application configuration name which is the User assigned identifier (at
the .zip file generation time, by means of the WAC5G tool) and the application
hardware configuration.
– Version: this function displays the application name and the installation version,
the application configuration name which is the User assigned identifier and the
existing software modules version.
ap-hn-0-hnd_06.fm
00/0410 27
User interface on the Teach Pendant
4.3.1.3 Object
Object (F1) softkey, if present, allows accessing to further object pages related to the
selected application.
It also allows to go back to the Application Page environment if the currently displayed
page is different (e.g. About environment or Object Pages).
SmartHand application includes some more pages in addition to the Application Page
ap-hn-0-hnd_06.fm
28 00/0410
User interface on the Teach Pendant
showing a monkey wrench, with the installed applications names (see Fig. 4.5).
Select the wished application icon and press ENTER. The application Setup Page is
shown in Fig. 4.6.
It displays as many panes (Gripper_1, Gripper_2, Gripper_3, Config, Air) as the object
pages and sub-pages are, allowing to modify the application parameters.
The access to the Object Pages menus depends on the performed login; the default is
no menus available.
There are two login levels, enabling different levels of menu:
– Technology level 1 - only 'General' menus are enabled, in each Object Page
– Technology level 2 - all the menus are enabled in all Object Pages (e.g. Alarms
'Reset from TP/PLC')
The User can use the Setup environment Object Pages, to modify the application
configuration parameters, in Programming state only (modal selector switch in T1
position).
To access any Object Page and their associated menus, perform the following steps:
ap-hn-0-hnd_06.fm
00/0410 29
User interface on the Teach Pendant
b. press either ENTER or down arrow, to move the focus to the menus selection and
press ENTER to open the list;
d. move focus onto the fields to be modified, using the arrow keys, perform the wished
modifications;
e. save the modifications, using the available softkeys in the bottom menu, as
explained in the following par. 4.3.2.2 Softkeys description on page 30.
Note that, Save, Apply, and Reload act on the performed modifications. During the
modifications, the being modified values are displayed in Italic style.
ap-hn-0-hnd_06.fm
30 00/0410
User interface on the Teach Pendant
remains open but the new values are NOT saved to a file. The new value is displayed
in the default style again.
4.3.2.3.1 Gripper
In this type of Object Page, the user has to enter all the devices to be used in the
process.
Each Object Page is similar to the others: the only difference is the gripper which it refers
to.
The possible choices (in the menu list) in the current Object Page are:
– Enable devices
– Sequence 1..6
– Vacuum 1..6
– Part_present 1..5.
ap-hn-0-hnd_06.fm
00/0410 31
User interface on the Teach Pendant
ap-hn-0-hnd_06.fm
32 00/0410
User interface on the Teach Pendant
ap-hn-0-hnd_06.fm
00/0410 33
User interface on the Teach Pendant
In this case no $DIN is to be entered and the process routine is to be called with
the FALSE control flag.
NOTE THAT to use $DIN and $DOUT signals, please refer to Tab. 5.1 showing the
provided User shared resources.
4.3.2.3.2 Config
In this sub-page the user can act on the GLOBAL Parameters settings, that operate in
real time on the handling process.
The corresponding menus are:
– Application program setting
– Reset alarms for TP/PLC.
The parameters corresponding to these two subpages are shown in the following tables
(Tab. 4.4 e Tab. 4.5), as well as their meaning and range of values.
ap-hn-0-hnd_06.fm
34 00/0410
User interface on the Teach Pendant
4.3.2.3.3 Air
This subpage allows enabling/disabling the pressure switches the User wishes to use in
the process, defining parameters needed to their handling.
The available menus in this Object page are:
– Enable pressure switches
– Air check 1..3
– Media Panel
ap-hn-0-hnd_06.fm
00/0410 35
User interface on the Teach Pendant
ap-hn-0-hnd_06.fm
36 00/0410
User interface on the Teach Pendant
ap-hn-0-hnd_06.fm
00/0410 37
User interface on the Teach Pendant
For any further details about subpages and the use of the Alarm Page general
purpose softkeys, please refer to C5G Control Unit use manual, chap.Teach
Pendant - par. Alarm Page.
ap-hn-0-hnd_06.fm
38 00/0410
User interface on the Teach Pendant
NOTE THAT such strings are always and only generated in English language.
The item in Italic style is the string type variable name for the configured input: in this
case it is $DIN [11].
The item in bold style is the being modified string instead.
Example:
hnvs_din_11_help STR Len: 128 Priv 'Second input open of seq. 1, gripper 1'
To activate the new help string, it is necessary to perform a Restart Cold operation if
the string variable has been created for the first time; otherwise, if it was already exixting
and it has just been updated, issuing command 'ML/V'(Memory Load / Variables) of
the modified var file, is enough.
ap-hn-0-hnd_06.fm
00/0410 39
User interface on the Teach Pendant
NOTE THAT to configure input and output signals ($DIN and $DOUT), it is needed
to use IO_MAP program, available on the Teach Pendant in the SETUP age; please
refer to C5G Control Unit use manual, chap. SETUP Page, for further details.
b. press ENTER to open the program in IDE environment, in order to edit it and insert
the required Technological Instructions
c. move the cursor to the line in which the required instruction is to be added, press
PDL2 (F3) key, choose Empty line and confirm with ENTER.
ap-hn-0-hnd_06.fm
40 00/0410
User interface on the Teach Pendant
g. The System inserts the corresponding template (mask) for the required instruction
and the User must fill in all the fields and press ENTER to confirm.
The above described insertion procedure is the same for each Technological
Instruction.
A functionality exists which makes inserting an application instruction faster, in IDE
environment.
Press SHIFT + '1' to activate such a functionality; a table is open, called Numeric
Keypad, which associates the numeric keys of the TP Alphanumeric Keypad, to the
application Technological Instructions (see Fig. 4.17).
ap-hn-0-hnd_06.fm
00/0410 41
User interface on the Teach Pendant
By pressing any numeric key corresponding to an instruction, that same instruction will
be entered in the program.
It is possible to enter instructions in an even quicker way: in the IDE environment, press
SHIFT + the numeric key associated to the desired instruction, at the same time,
without opening the numeric Keypad; the system will add the instruction to the program.
For example, (refer to Fig. 4.17) if the user presses SHIFT and 2 at the same time,
without opening the keypad, gripper_sequence technological instruction will be added
to the program.
Summarizing, the keys to control the numeric Keypad are the following ones:
– SHIFT + ‘1’ - opens the numeric Keypad
– ‘n’ - when the numeric Keypad IS OPEN, adds the instruction corresponding to ‘n’
key and closes the numertic Keypad.
– SHIFT + ‘n’ - when the numeric Keypad IS NOT OPEN, adds the instruction
corresponding to ‘n’ key, to the program.
– PAGE UP / PAGE DOWN - changes the numeric Keypad pages.
– up/down/right/left arrows - allows moving within the numeric Kaypad.
– ESC - closes the numeric Keypad without adding any instruction to the program.
– ENTER - adds the currently selected instruction (in the numeric keypad) to the
program and closes the numeric Keypad.
ap-hn-0-hnd_06.fm
42 00/0410
Programming
5. PROGRAMMING
5.1 Introduction
This chapter gives detailed information to the user who has to write programs for the
Handling application.
The following topics are dealt with in detail:
– Technological Instructions
– Handling RESET key
– Using the System shared resources.
5.2.1.1 Gripper_sequence
Name Gripper_sequence
Function/Usage Manages the clamps opening and closing command. Used to command a clamping.
– ai_grip: gripper to be used - 1 .. 3 (INTEGER)
– ai_seq: sequence to be used - 1 .. 6 (INTEGER)
– ab_state: ON -> calls the sequence closure
Parameters
OFF -> calls the sequence opening ON / OFF(BOOLEAN)
– ab_check (optional parameter): ON -> inputs checked
OFF -> inputs check excluded - ON / OFF(BOOLEAN)
gripper_sequence (ai_grip, ai_seq:INTEGER; ab_state,
Statement
ab_check:BOOLEAN) EXPORTED FROM H_hand GLOBAL
Entering from IDE NO
ap-hn-0-hnd_02.fm
01/0712 43
Programming
5.2.1.2 Gripper_vacuum
Name Gripper_vacuum
Manages the vacuum work and idle command. Used when a vacuum is to be
Function/Usage
controlled.
– ai_grip: gripper to be used - 1 .. 3 (INTEGER)
– ai_seq: suction device to be used - 1 .. 6 (INTEGER)
– ab_state: ON -> calls aspiration
Parameters
OFF -> stops aspiration - ON / OFF(BOOLEAN)
– ab_check (optional parameter): ON -> vacuum meter check
OFF -> vacuum meter check off - ON / OFF(BOOLEAN)
gripper_vacuum (ai_grip, ai_vac : INTEGER; ab_state, ab_check :
Statement
BOOLEAN)EXPORTED FROM H_hand GLOBAL
Entering from IDE NO
5.2.1.3 Gripper_vacuum_blow
Name Gripper_vacuum_blow
ap-hn-0-hnd_02.fm
44 01/0712
Programming
5.2.1.4 Gripper_chkpart
Name gripper_chkpart
Manages the part presence or absence check. Used to check the presence or absence
Function/Usage
of the part.
– ai_grip: gripper to be used - 1 .. 3 (INTEGER)
– ai_part : part presence to be used - 1 .. 5 (INTEGER)
Parameters
– ab_state: ON -> check presence
OFF -> check absence - ON / OFF(BOOLEAN)
gripper_chkpart(ai_grip, ai_part : INTEGER; ab_state :
Statement
BOOLEAN)EXPORTED FROM H_hand GLOBAL
Entering from IDE NO
ROUTINE gripper_chkpart(ai_grip, ai_part : INTEGER; ab_state :
BOOLEAN) EXPORTED FROM H_hand GLOBAL
BEGIN
Calling example
gripper_chkpart( 1, 1, ON)
...
END prog_1
5.2.1.5 Grip_part_supervision
Name grip_part_supervision
Manages the part presence or absence dynamic check. Used to activate or deactivate
Function/Usage
the part presence dynamic check.
– ai_grip: gripper to be used - 1 .. 3 (INTEGER)
– ai_part : part presence to be used - 1 .. 5 (INTEGER)
Parameters
– ab_state: ON -> enable dynamic check
OFF -> disable dynamic check - ON / OFF(BOOLEAN)
grip_part_supervision(ai_grip, ai_part : INTEGER; ab_state :
Statement
BOOLEAN)EXPORTED FROM H_hand GLOBAL
Entering from IDE NO
5.2.1.6 Grip_air_supervision
Name grip_air_supervision
Manages the air pressure dynamic control. Used to activate or deactivate the air
Function/Usage
pressure dynamic control.
– ai_grip: gripper to be used - 1 .. 3 (INTEGER) or 0 if no gripper is mounted
Parameters – ab_state: ON -> enable dynamic check
OFF -> disable dynamic check - ON / OFF(BOOLEAN)
ap-hn-0-hnd_02.fm
01/0712 45
Programming
5.2.2.1 Hnvb_smarthand_in_fault
Name hnvb_smarthand_in_fault
This varible indicates that SmartHand application is in fault (e.g. it could be used to
Function/Usage
activate ABORT keys from right menu, if available)
Statement VAR hnvb_smarthand_in_fault : BOOLEAN EXPORTED FROM sh_dd NOSAVE
Example
5.2.2.2 Hnru_user_fault_abort_enable
Name hnru_user_fault_abort_enable
This routine indicates to SmartHand application, that ABORT key has been pressed
Function/Usage from the Right Menu (if available) and allows to reset the alarm (to be called upon
ABORT key pressure from Right Menu, if available)
Parameters none
Calling example
5.2.2.3 Hnru_user_fault_abort_ack
Name hnru_user_fault_abort_ack
Function/Usage This routine indicates to SmartHand application, that the ABORT phase is finished.
Parameters none
ap-hn-0-hnd_02.fm
46 01/0712
Programming
Calling example
5.2.2.4 Hnrb_get_user_fault_abort
Name hnru_user_fault_abort_abort
This routine allows to understand whether or not a SmartHand application fault has
Function/Usage
been reset by means of the ABORT key, from Right Menu (if available).
Parameters none
5.3.1 hnru_tp_reset_in_remote
Name hnru_tp_reset_in_remote
Enables/disables the RESET key on the Teach Pendant, when the system is in
Function/Usage
REMOTE state.
– ab_enable: Boolean parameter which value indicates whether enabling
Parameters (TRUE) or disabling (FALSE) the TP RESET key when the system is in
REMOTE state.
ROUTINE hnru_tp_reset_in_remote(ab_enable : BOOLEAN) EXPORTED
Statement
FROM H_hand GLOBAL
Entering from IDE NO
ap-hn-0-hnd_02.fm
01/0712 47
Programming
$DIN
$DOUT
$FMI
How Many RANGE OWNER NOTE
32 1--32 USER
$FMO
ap-hn-0-hnd_02.fm
48 01/0712
Programming
ERR_POST NUMBER
TP PRIVILEGED EVENTS
1 -- 24 USER
PDL2 EVENTS
ap-hn-0-hnd_02.fm
01/0712 49
Customizations
6. CUSTOMIZATIONS
ap-hn-0-hnd_07.fm
50 00/0410
Optional Software Functionalities
7. OPTIONAL SOFTWARE
FUNCTIONALITIES
7.1 Introduction
Current chapter contains descriptions and part codes for the Handing Systems available
software options:
– SmartVisualProcess.
7.2 SmartVisualProcess
– Introduction
– Functioning
– Part Code.
7.2.1 Introduction
Fig. 7.1 - Activating SmartVisualProcess
7.2.2 Functioning
When the SmartHand Setup Page settings are saved, a file is created called
SmartHnSVP.xmd , in the following directory:
ap-hn-0-hnd_14.fm
01/0712 51
Optional Software Functionalities
UD:\DATA\HAND\SVP
Such a file contains all the positions of each LED (label) among the XML tag parameters
<POS_X>....</POS_X> <POS_Y>....</POS_Y>
as shown below.
After the labels positions are modified, save and rename the file to .xml extension
(e.g. SmartHnSVP.xml), and issue a RESTART COLD command.
hnru_change_part(ai_part_id)
ap-hn-0-hnd_14.fm
52 01/0712
COMAU Robotics services
Repair: [email protected]
Training: [email protected]
Spare parts: [email protected]
Technical service: [email protected]
comau.com/robotics Original instructions