Вы находитесь на странице: 1из 82

$SSOLFDWLRQ PDQXDO

0RWLRQ FRRUGLQDWLRQ DQG VXSHUYLVLRQ


Controller software IRC5 RobotWare 5.0

Application manual Motion coordination and supervision


RobotWare 5.0 Document ID: 3HAC 18154-1 Revision: A

The information in this manual is subject to change without notice and should not be construed as a commitment by ABB. ABB assumes no responsibility for any errors that may appear in this manual. Except as may be expressly stated anywhere in this manual, nothing herein shall be construed as any kind of guarantee or warranty by ABB for losses, damages to persons or property, fitness for a specific purpose or the like. In no event shall ABB be liable for incidental or consequential damages arising from use of this manual and products described herein. This manual and parts thereof must not be reproduced or copied without ABBs written permission, and contents thereof must not be imparted to a third party nor be used for any unauthorized purpose. Contravention will be prosecuted. Additional copies of this manual may be obtained from ABB at its then current charge.

Copyright 2004 ABB All right reserved. ABB Automation Technologies AB Robotics SE-721 68 Vsters Sweden

7DEOH RI &RQWHQWV

Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 Product documentation, M2004 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 Safety. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9  &ROOLVLRQ 'HWHFWLRQ 

 ,QWURGXFWLRQ                                                               

1.1.1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 1.1.2 Limitations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 1.1.3 What happens at a collision. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15


 &RQILJXUDWLRQ DQG SURJUDPPLQJ IDFLOLWLHV                                      

1.2.1 System parameters. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 1.2.2 RAPID components. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 1.2.3 Signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20


 +RZ WR XVH &ROOLVLRQ 'HWHFWLRQ                                               

1.3.1 Set up system parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 1.3.2 Adjust supervision from FlexPendant . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 1.3.3 Adjust supervision from RAPID program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 1.3.4 How to avoid false triggering . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26  6HQVRU 6\QFKURQL]DWLRQ 

 ,QWURGXFWLRQ                                                               

2.1.1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 2.1.2 What is needed . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 2.1.3 Sensor Syncronization features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 2.1.4 General description of the Sensor Synchronization process . . . . . . . . . . . . . . . . . . . . . 31 2.1.5 Limitations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
 +DUGZDUH &RQILJXUDWLRQ                                                     

2.2.1 Encoder specification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 2.2.2 Encoder Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 2.2.3 Installation recommendations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 2.2.4 Connecting encoder and encoder interface unit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
 6RIWZDUH ,QVWDOODWLRQ                                                        

2.3.1 Sensor Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 2.3.2 Reloading saved Motion parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41 2.3.3 Installation of several sensors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
 3URJUDPPLQJ 6HQVRU 6\QFKURQL]DWLRQ                                        

2.4.1 General issues when programming Sensor Synchronization . . . . . . . . . . . . . . . . . . . . 44 2.4.2 Programming example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47 2.4.3 Entering and exiting coordinated motion in corner zones. . . . . . . . . . . . . . . . . . . . . . . 48

3HAC 18154-1 Revision: A

7DEOH RI &RQWHQWV

2.4.4 Use several sensors. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.4.5 Finepoint programming . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.4.6 Drop sensor object . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.4.7 Information on the FlexPendant . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.4.8 Programming considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.5.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.5.2 The concept of robot to robot synchronization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.5.3 Master robot configuration parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.5.4 Slave robot configuration parameters. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.5.5 Programming example for master robot. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.5.6 Programming example for slave robot . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

50 52 53 54 55 57 58 59 62 66 68

 5RERW WR 5RERW 6\QFKURQL]DWLRQ                                             

 3URJUDPPLQJ DQG FRQILJXUDWLRQ GDWD                                         

2.6.1 RAPID Components. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70 2.6.2 System parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71 2.6.3 I/O signals. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75

3HAC 18154-1 Revision: A

Overview

2YHUYLHZ
$ERXW 7KLV 0DQXDO This manual explains the basics of when and how to use the following RobotWare options: 8VDJH This manual can be used either as a reference to find out if an option is the right choice for solving a problem, or as a description of how to use an option. Detailed information regarding syntax for RAPID routines, and similar, is not described here, but can be found in the respective reference manual. :KR 6KRXOG 5HDG 7KLV 0DQXDO" This manual is mainly intended for robot programmers. 3UHUHTXLVLWHV The reader should... be familiar with industrial robots and their terminology be familiar with the RAPID programming language be familiar with system parameters and how to configure them. Collision Detection Sensor Synchronization

2UJDQL]DWLRQ RI &KDSWHUV The manual is organized in the following chapters: &KDSWHU


1. 2.

&RQWHQWV
Describes the option Collision Detection. Describes the option Sensor Synchronization.

3HAC 18154-1 Revision: A

Overview

5HIHUHQFHV 5HIHUHQFH
RAPID reference manual - RAPID Overview RAPID reference manual - part 1, Instructions A-Z RAPID reference manual - part 2, Functions and data types Operators manual - IRC5 with FlexPendant Technical reference manual - System parameters

'RFXPHQW ,G
3HAC 16580-1 3HAC 16581-1 part 1 3HAC 16581-1 part 2 3HAC 16590-1 3HAC 17076-1

5HYLVLRQV 5HYLVLRQ 'HVFULSWLRQ


A First edition Sensor Synchronization added

3HAC 18154-1 Revision: A

Product documentation, M2004

3URGXFW GRFXPHQWDWLRQ 0


*HQHUDO The robot documentation may be divided into a number of categories. This listing is based on the type of information contained within the documents, regardless of whether the products are standard or optional. This means that any given delivery of robot products ZLOO QRW FRQWDLQ DOO documents listed, only the ones pertaining to the equipment delivered. However, all documents listed may be ordered from ABB. The documents listed are valid for M2004 robot systems. +DUGZDUH PDQXDOV All hardware, robots and controller cabinets, will be delivered with a 3URGXFW PDQXDO which is divided into two parts: 3URGXFW PDQXDO SURFHGXUHV Safety information Installation and commissioning (descriptions of mechanical installation, electrical connections and loading system software) Maintenance (descriptions of all required preventive maintenance procedures including intervals) Repair (descriptions of all recommended repair procedures including spare parts) Additional procedures, if any (calibration, decommissioning)

3URGXFW PDQXDO UHIHUHQFH LQIRUPDWLRQ Reference information (article numbers for documentation referred to in Product manual, procedures, lists of tools, safety standards) Part list Foldouts or exploded views Circuit diagrams

3HAC 18154-1 Revision: A

Product documentation, M2004

5RERW:DUH PDQXDOV The following manuals describe the robot software in general and contain relevant reference information: 5$3,' 2YHUYLHZ: An overview of the RAPID programming language. 5$3,' UHIHUHQFH PDQXDO SDUW : Description of all RAPID instructions. 5$3,' UHIHUHQFH PDQXDO SDUW : Description of all RAPID functions and data types. 7HFKQLFDO UHIHUHQFH PDQXDO  6\VWHP SDUDPHWHUV: Description of system parameters and configuration workflows.

$SSOLFDWLRQ PDQXDOV Specific applications (e.g. software or hardware options) are described in $SSOLFDWLRQ PDQXDOV. An application manual can describe one or several applications. An application manual generally contains information about: The purpose of the application (what it does and when it is useful) What is included (e.g. cables, I/O boards, RAPID instructions, system parameters) How to use the application Examples of how to use the application

2SHUDWRUV PDQXDOV This group of manuals is aimed at those having first hand operational contact with the robot, i.e. production cell operators, programmers and trouble shooters. The group of manuals include: 0LVFHOODQHRXV A number of manuals provide generic descriptions of the robot and robot system. These include: 5RERW IXQGDPHQWDOV (describing the fundamental aspects, functions, concept and similar, of a robot system to provide a basic understanding of the robot system) 2SHUDWRUV PDQXDO  ,5& ZLWK )OH[3HQGDQW 2SHUDWRUV PDQXDO  5RERW6WXGLR2QOLQH 7URXEOH VKRRWLQJ 0DQXDO for the controller and robot

3HAC 18154-1 Revision: A

Safety

6DIHW\
6DIHW\ RI SHUVRQQHO A robot is heavy and extremely powerful regardless of its speed. A pause or long stop in movement can be followed by a fast hazardous movement. Even if a pattern of movement is predicted, a change in operation can be triggered by an external signal resulting in an unexpected movement. Therefore, it is important that all safety regulations are followed when entering safeguarded space. 6DIHW\ UHJXODWLRQV Before beginning work with the robot, make sure you are familiar with the safety regulations described in 2SHUDWRU
V PDQXDO  ,5& ZLWK )OH[3HQGDQW.

3HAC 18154-1 Revision: A

Safety

10

3HAC 18154-1 Revision: A

 &ROOLVLRQ 'HWHFWLRQ
1.1.1. Overview

 &ROOLVLRQ 'HWHFWLRQ
 ,QWURGXFWLRQ  2YHUYLHZ
3XUSRVH Collision Detection is a software option that reduces collision impact forces on the robot. This helps protecting the robot and external equipment from severe damage. :$51,1* Collision Detection cannot protect equipment from damage at a full speed collision. 'HVFULSWLRQ The software option Collision Detection identifies a collision by high sensitivity, model based supervision of the robot. Depending on what forces you deliberately apply on the robot, the sensitivity can be tuned as well as turned on and off. Because the forces on the robot can vary during program execution, the sensitivity can be set on-line in the program code. Collision detection is more sensitive than the ordinary supervision and has extra features. When a collision is detected, the robot will immediately stop and relieve the residual forces by moving in reversed direction a short distance along its path. After a collision error message has been acknowledged, the movement can continue without having to press 0RWRUV RQ on the controller. :KDW LV LQFOXGHG The RobotWare option Collision Detection gives you access to: system parameters for defining if Collision Detection should be active and how sensitive it should be (without the option you can only turn detection on and off for Auto mode) instruction for on-line changes of the sensitivity:MotionSup

3HAC 18154-1 Revision: A

11

 &ROOLVLRQ 'HWHFWLRQ
1.1.1. Overview

%DVLF DSSURDFK Collision Detection is by default always active when the robot is moving. In many cases this means that you can use Collision Detection without having to take any active measures. If necessary, you can turn Collision Detection on and off or change its sensitivity in two ways: temporary changes can be made on-line with the RAPID instruction MotionSup permanent changes are made through the system parameters.

For detailed descriptions of how this is done, see +RZ WR XVH &ROOLVLRQ 'HWHFWLRQ on page 21.

12

3HAC 18154-1 Revision: A

 &ROOLVLRQ 'HWHFWLRQ
1.1.2. Limitations

 /LPLWDWLRQV
/RDG GHILQLWLRQ In order to detect collisions properly, the payload of the robot must be correctly defined. 7,3 Use Load Identification to define the payload. For more information, see 2SHUDWRU
V PDQXDO  ,5& ZLWK )OH[3HQGDQW . 5RERW D[HV RQO\ Collision Detection is only available for the robot axes. It is not available for track motions, orbit stations, or any other external axes. ,QGHSHQGHQW MRLQW The collision detection is deactivated when at least one axis is run in independent joint mode. This is also the case even when it is an external axis that is run as an independent joint. 6RIW VHUYR The collision detection may trigger without a collision when the robot is used in soft servo mode. Therefore, it is recommended to turn the collision detection off when the robot is in soft servo mode. 1R FKDQJH XQWLO WKH URERW PRYHV If the RAPID instruction MotionSup is used to turn off the collision detection, this will only take effect once the robot starts to move. As a result, the digital output 0RW6XS2Qmay temporarily have an unexpected value at program start before the robot starts to move. 5HYHUVHG PRYHPHQW GLVWDQFH The distance the robot is reversed after a collision is proportional to the speed of the motion before the collision. If repeated low speed collisions occur, the robot may not be reversed sufficiently to relieve the stress of the collision. As a result, it may not be possible to jog the robot without the supervision triggering. In this case, turn Collision Detection off temporarily and jog the robot away from the obstacle.

3HAC 18154-1 Revision: A

13

 &ROOLVLRQ 'HWHFWLRQ
1.1.2. Limitations

'HOD\ EHIRUH UHYHUVHG PRYHPHQW In the event of a stiff collision during program execution, it may take a few seconds before the robot starts the reversed movement. 5RERW RQ WUDFN PRWLRQ If the robot is mounted on a track motion the collision detection should be deactivated when the track motion is moving. If it is not deactivated, the collision detection may trigger when the track moves, even if there is no collision.

14

3HAC 18154-1 Revision: A

 &ROOLVLRQ 'HWHFWLRQ
1.1.3. What happens at a collision

 :KDW KDSSHQV DW D FROOLVLRQ


2YHUYLHZ When the collision detection is triggered, the robot will stop as quickly as possible. Then it will move in the reverse direction to remove residual forces. The program execution will stop with an error message. The robot remains in the state PRWRUV RQ so that program execution can be resumed after the collision error message has been acknowledged. A typical collision is illustrated below. &ROOLVLRQ LOOXVWUDWLRQ

xx0300000361

5RERW EHKDYLRU DIWHU D FROOLVLRQ This list shows the order of events after a collision. For an illustration of the sequence, see the diagram below. :KHQ 
the collision is detected

WKHQ 
the motor torques are reversed and the mechanical brakes applied in order to stop the robot

3HAC 18154-1 Revision: A

15

 &ROOLVLRQ 'HWHFWLRQ
1.1.3. What happens at a collision

:KHQ 
the robot has stopped

WKHQ 
the robot moves in reversed direction a short distance along the path in order to remove any residual forces which may be present if a collision or jam occurred the robot stops again and remains in the PRWRUV RQ state

the residual forces are removed

6SHHG DQG WRUTXH GLDJUDP

en0300000360

16

3HAC 18154-1 Revision: A

 &ROOLVLRQ 'HWHFWLRQ
1.2.1. System parameters

 &RQILJXUDWLRQ DQG SURJUDPPLQJ IDFLOLWLHV  6\VWHP SDUDPHWHUV


$ERXW V\VWHP SDUDPHWHUV The parameters for Collision Detection do QRW require a warm start to take effect. For more information about the parameters, see 7HFKQLFDO UHIHUHQFH PDQXDO  6\VWHP SDUDPHWHUV. 0RWLRQ 6XSHUYLVLRQ These parameters belong to the type 0RWLRQ 6XSHUYLVLRQ in the topic 0RWLRQ. 3DUDPHWHU
Path Collision Detection Jog Collision Detection Path Collision Detection Level

'HVFULSWLRQ
Turn the collision detection On or Off for program execution. 3DWK &ROOLVLRQ 'HWHFWLRQ is by default set to On. Turn the collision detection On or Off for jogging. -RJ &ROOLVLRQ 'HWHFWLRQ is by default set to On. Modifies the Collision Detection supervision level for program execution by the specified percentage value. A large percentage value makes the function less sensitive. Path Collision Detection Level is by default set to 100%. Modifies the Collision Detection supervision level for jogging by the specified percentage value. A large percentage value makes the function less sensitive. Jog Collision Detection Level is by default set to 100%. Defines how much the robot moves in reversed direction on the path after a collision, specified in seconds. If the robot moved fast before the collision it will move away a larger distance than if the speed was slow. Collision Detection Memory is by default set to 75 ms.

Jog Collision Detection Level

Collision Detection Memory

3HAC 18154-1 Revision: A

17

 &ROOLVLRQ 'HWHFWLRQ
1.2.1. System parameters

0RWLRQ 6\VWHP These parameters belong to the topic 0RWLRQ and the type 0RWLRQ 6\VWHP. 3DUDPHWHU
Motion Supervision Max Level

'HVFULSWLRQ
Set the maximum level to which the total collision detection tune level can be changed. It is by default set to 300%. 0RWLRQ 6XSHUYLVLRQ 0D[ /HYHO is only available if the system is installed in Service mode.

18

3HAC 18154-1 Revision: A

 &ROOLVLRQ 'HWHFWLRQ
1.2.2. RAPID components

 5$3,' FRPSRQHQWV


,QVWUXFWLRQV This is a brief description of the instructions in Collision Detection. For more information, see respective instruction in 5$3,' UHIHUHQFH PDQXDO  SDUW  ,QVWUXFWLRQV $=. ,QVWUXFWLRQ
MotionSup

'HVFULSWLRQ
MotionSup is used to: activate or deactivate Collision Detection. This can only be done if the parameter 3DWK &ROOLVLRQ 'HWHFWLRQ is set to On. modify the supervision level with a specified percentage value (1-300%). A large percentage value makes the function less sensitive.

3HAC 18154-1 Revision: A

19

 &ROOLVLRQ 'HWHFWLRQ
1.2.3. Signals

 6LJQDOV
'LJLWDO RXWSXWV This is a brief description of the digital outputs in Collision Detection. For more information, see respective digital output in 7HFKQLFDO UHIHUHQFH PDQXDO  6\VWHP SDUDPHWHUV. 'LJLWDO RXWSXW
MotSupOn

'HVFULSWLRQ
0RW6XS2Q is high when Collision Detection is active and low when it is not active. Note that a change in the state takes effect when a motion starts. Thus, if Collision Detection is active and the robot is moving,0RW6XS2Q is high. If the robot is stopped and Collision Detection turned off, 0RW6XS2Q is still high. When the robot starts to move, 0RW6XS2Q switches to low. 0RW6XS7ULJJ goes high when the collision detection triggers. It stays high until the error code is acknowledged, either from the FlexPendant or through the digital input $FN(UU'LDORJ.

MotSupTrigg

20

3HAC 18154-1 Revision: A

 &ROOLVLRQ 'HWHFWLRQ
1.3.1. Set up system parameters

 +RZ WR XVH &ROOLVLRQ 'HWHFWLRQ  6HW XS V\VWHP SDUDPHWHUV


$FWLYDWH VXSHUYLVLRQ To be able to use Collision Detection during program execution, the parameter 3DWK &ROOLVLRQ 'HWHFWLRQ must be set to 2Q. To be able to use Collision Detection during jogging, the parameter -RJ &ROOLVLRQ 'HWHFWLRQ must be set to 2Q. 'HILQH VXSHUYLVLRQ OHYHOV Set the parameter 3DWK &ROOLVLRQ 'HWHFWLRQ /HYHO to the percentage value you want as default during program execution. Set the parameter -RJ &ROOLVLRQ 'HWHFWLRQ /HYHO to the percentage value you want as default during jogging.

3HAC 18154-1 Revision: A

21

 &ROOLVLRQ 'HWHFWLRQ
1.3.2. Adjust supervision from FlexPendant

 $GMXVW VXSHUYLVLRQ IURP )OH[3HQGDQW


6SHHG DGMXVWHG VXSHUYLVLRQ OHYHO Collision Detection uses a variable supervision level. At low speeds it is more sensitive than at high speeds. For this reason, no tuning of the function should be required by the user during normal operating conditions. However, it is possible to turn the function on and off and to tune the supervision levels. Separate tuning parameters are available for jogging and program execution. These parameters are described in 6\VWHP SDUDPHWHUV on page 17. 6HW MRJ VXSHUYLVLRQ RQ )OH[3HQGDQW On the FlexPendant, select &RQWURO 3DQHO from the $%% menu and then tap 6HWWLQJV. The left box allows you to adjust supervision for programmed paths. The right box allows you to adjust supervision for jogging. Both types of supervision can be activated or deactivated, and the sensitivity level (in percentage) can be set.

en0400000651

22

3HAC 18154-1 Revision: A

 &ROOLVLRQ 'HWHFWLRQ
1.3.2. Adjust supervision from FlexPendant

If the motion supervision for jogging is turned off in the dialog box and a program is executed, Collision Detection can still be active during execution of the program. If the program is then stopped and the robot jogged, the status flag in the dialog window is set to 21 again. This is a safety measure to avoid having the function turned off without knowing about it. 127( The sensitivity is set in percent of the value set in the system parameters. Example: If the tune value in the system parameters is set to 150% and the sensitivity is set to 200% on the FlexPendant, the resulting tune level will be 300%.

3HAC 18154-1 Revision: A

23

 &ROOLVLRQ 'HWHFWLRQ
1.3.3. Adjust supervision from RAPID program

 $GMXVW VXSHUYLVLRQ IURP 5$3,' SURJUDP


'HIDXOW YDOXHV If Collision Detection is activated with the system parameters, it is by default active during program execution with the tune value 100%. These values are set automatically: 127( If tune values are set in the system parameters and in the RAPID instruction, both values are taken into consideration. Example: If the tune value in the system parameters is set to 150% and the tune value is set to 200% in the RAPID instruction the resulting tune level will be 300%. 7HPSRUDULO\ GHDFWLYDWH VXSHUYLVLRQ If external forces will affect the robot during a part of the program execution, temporarily deactivate the supervision with the following instruction:
MotionSup \Off;

at cold start when a new program is loaded when starting program execution from the beginning.

5HDFWLYDWH VXSHUYLVLRQ If the supervision has been temporarily deactivated, it can be activated with the following instruction:
MotionSup \On;

127( If the supervision is deactivated with the system parameters, it cannot be activated with RAPID instructions. 7XQLQJ The supervision level can be tuned during program execution with the instruction 0RWLRQ6XS. The tune values are set in percent of the basic tuning where 100% corresponds to the basic values. A higher percentage gives a less sensitive system. This is an example of an instruction that increase the supervision level to 200%:

24

3HAC 18154-1 Revision: A

 &ROOLVLRQ 'HWHFWLRQ
1.3.3. Adjust supervision from RAPID program

MotionSup \On \TuneValue:=200;

3HAC 18154-1 Revision: A

25

 &ROOLVLRQ 'HWHFWLRQ
1.3.4. How to avoid false triggering

 +RZ WR DYRLG IDOVH WULJJHULQJ


$ERXW IDOVH WULJJHULQJ Because the supervision is designed to be very sensitive, it may trigger if the load data is incorrect or if there are large process forces acting on the robot. $FWLRQV WR WDNH ,I 
the payload is incorrectly defined the payload has large mass or inertia the arm load (cables or similar) cause trigger the application involves many external process forces the external process forces are only temporary everything else fails

WKHQ 
use Load Identification to define it. For more information, see 2SHUDWRU
V PDQXDO  ,5& ZLWK )OH[3HQGDQW. increase supervision level manually define the arm load or increase supervision level increase the supervision level for jogging and program execution in steps of 30 percent until you no longer receive the error code. use the instruction MotionSup to raise the supervision level or turn the function off temporarily. turn off Collision Detection.

26

3HAC 18154-1 Revision: A

 6HQVRU 6\QFKURQL]DWLRQ
2.1.1. Overview

 6HQVRU 6\QFKURQL]DWLRQ
 ,QWURGXFWLRQ  2YHUYLHZ
3XUSRVH The option Sensor Synchronization adjusts the robot speed to an external moving device (e.g. a press or conveyor) with the help of a sensor. It can also be used to synchronize two robots with each other. 'HVFULSWLRQ For Sensor Synchronization, a sensor is used to detect the movements of a press door, conveyor, turn table or similar device. The speed of the robot TCP will be adjusted in correlation to the sensor output, so that the robot will reach its programmed target at the same time as the external device reaches its programmed position. The synchronization with the external device does not affect the path of the robot TCP, but it affects the speed at which the robot moves along this path. )XQFWLRQDOLW\ The external device connected to the sensor cannot be controlled by the robot controller. However, in some ways it has similarities with a mechanical unit controlled by the robot controller: %DVLF $SSURDFK This is the general approach for setting up Sensor Synchronization. For a more detailed description of how this is done, see the respective section. Install and connect hardware. Install the Sensor Synchronization software. the sensor positions appears in the -RJJLQJ :LQGRZ on the FlexPendant the sensor positions appears in the UREWDUJHWwhen a 02'326 operation is performed the mechanical unit may be activated, and deactivated

3HAC 18154-1 Revision: A

27

 6HQVRU 6\QFKURQL]DWLRQ
2.1.1. Overview

Configure the system parameters. Write a program that connects to the sensor and uses synchronization for robot movements (or a program for a master/slave robot application).

28

3HAC 18154-1 Revision: A

 6HQVRU 6\QFKURQL]DWLRQ
2.1.2. What is needed

 :KDW LV QHHGHG


2YHUYLHZ The Sensor Synchronization application consists of the following components. $SSOLFDWLRQ &RPSRQHQWV

B C

en0400000655

A B C D E F B+C+D

External device that dictates the robot speed, e.g. a press door Synchronization switch Encoder Encoder interface unit (DSQC 377) Controller Manipulator Acts as a sensor, giving input to the controller

3HAC 18154-1 Revision: A

29

 6HQVRU 6\QFKURQL]DWLRQ
2.1.3. Sensor Syncronization features

 6HQVRU 6\QFURQL]DWLRQ IHDWXUHV


)HDWXUHV Sensor Synchronization option provides the following features: )HDWXUH
Accuracy

'HVFULSWLRQ
In Auto operation at constant sensor speed, the Tool Center Point (TCP) of the robot will stay within +/- 50 ms of the programmed position corresponding to the sensor. This is valid as long as the robot is within its dynamic limits with the added sensor motion. This figure depends on the calibration of the robot and sensor and is applicable for linear sensor synchronization only. Each time the external device trigger the synchronization switch, a sensor object is created in the object queue. The encoder interface unit will maintain the object queue, although for Sensor Synchronization the queue normally does not contain more than one object. A RAPID program has access to the current position and speed of the external device, via the sensor. Up to 2 sensors are supported. Each sensor must have a DSQC 377.

Object queue

RAPID access to sensor data Multiple sensors

30

3HAC 18154-1 Revision: A

 6HQVRU 6\QFKURQL]DWLRQ
2.1.4. General description of the Sensor Synchronization process

 *HQHUDO GHVFULSWLRQ RI WKH 6HQVRU 6\QFKURQL]DWLRQ SURFHVV


([DPSOH ZLWK D SUHVV This example shows the very basic steps when Sensor Synchronization is used for material handling for a press. :KHQ
the press is ready to start the press starts to move down

7KHQ
a signal from the robot controller (or PLC) orders the press to start. the synchronization switch is triggered and a sensor object is created in the object queue. The robot connects to the object.

the press starts to move up the robot moves, synchronized with the press, towards the press and reaches it when the press is open enough. the press is open enough for the robot to enter the robot has finished inside the press the robot places (or removes) a work piece in the press. The synchronization is ended and the sensor object is then dropped (removed from the object queue). the robot controller sends a signal to the press to start another cycle. The robot picks up (or leaves) a new work piece and wait for the next sensor object (synchronization switch signal).

3HAC 18154-1 Revision: A

31

 6HQVRU 6\QFKURQL]DWLRQ
2.1.5. Limitations

 /LPLWDWLRQV
/LPLWDWLRQV RQ DGGLWLRQDO D[HV Each sensor is considered an additional axis. Thus the system limitation of 6 active additional axes must be reduced by the number of active and installed sensors. The first installed sensor will use measurement node 6 and the second sensor will use measurement node 5. These measurement nodes are not available for additional axes and no resolvers should be connected to these nodes on any additional axes measurement boards. 2EMHFW TXHXH ORVW RQ ZDUP VWDUW RU SRZHU IDLOXUH The object queue is kept on the encoder interface unit (DSQC 377). If the system is restarted with a Warm Start or if the power supply to either the controller or the encoder interface unit fails, then the object queue will be lost. 0LQLPXP VSHHG In order to maintain a smooth and accurate motion, there is a minimum speed of the external device that is detected. The device is considered to be still if its movement is slower than the minimum speed. This speed depends on the selection of encoder. It can vary from 4mm/s 8mm/s. 0D[LPXP VSHHG There is no determined maximum speed for the external device. Accuracy will decrease at speeds over those specified, and the robot will no longer be able to follow the sensor at very high sensor speeds (>1000mm/s) or with robot dynamic limitations. &RPSDWLELOLW\ ZLWK &RQYH\RU 7UDFNLQJ RSWLRQ If both Sensor Synchronization and Conveyor Tracking options are installed, only one of the mechanical units SSYNC1 and CNV2 should be active at the same time. For Sensor Synchronization, CNV2 must be deactivated. For Conveyor Tracking, SSYNC1 must be deactivated.

32

3HAC 18154-1 Revision: A

 6HQVRU 6\QFKURQL]DWLRQ
2.2.1. Encoder specification

 +DUGZDUH &RQILJXUDWLRQ  (QFRGHU VSHFLILFDWLRQ


7ZR SKDVH W\SH The encoder must be of two phase type for quadrature pulses, to enable registration of reverse sensor motion, and to avoid false counts due to vibration etc. when the sensor is not moving. 7HFKQLFDO GDWD
Output signal: Voltage: Current: Phase: Duty cycle: Max. frequency: Open collector PNP output 10 - 30 V (normally supplied by 24 VDC from encoder interface unit) 50 - 100 mA 2 phase with 90 degree phase shift 50% 20 kHz

([DPSOH HQFRGHU An example of an encoder that fills these criteria, is the /HQRUG %DXHU *(/ .

3HAC 18154-1 Revision: A

33

 6HQVRU 6\QFKURQL]DWLRQ
2.2.2. Encoder Description

 (QFRGHU 'HVFULSWLRQ


2YHUYLHZ The encoder provides a series of pulses indicating the motion detected by the sensor. This is used to synchronize the motion between the robot and the external device. 3XOVH FKDQQHOV The encoder has two pulse channels, A and B which differ in phase by 90. Each channel will send a fixed number of pulses per revolution depending on the construction of the encoder. The number of pulses per revolution for the encoder must be selected in relation to the gear reduction between the moving devices. The pulse ratio from the encoder should be in the range of 1250 - 2500 pulses per meter of sensor motion. The pulses from channel A and B are used in quadrature to multiply the pulse ratio by four to get counts.

This means that the control software will measure 5000 - 10000 counts per meter for an encoder with the pulse ratio 1250 - 2500.

en0300000556

6\QFKURQL]DWLRQ To get an accurate synchronization, the movements of the external device must remain within some limits relative to robot movements. For every meter the robot moves, the external device movement must be between 0.2 and 5 meters (or radians).

34

3HAC 18154-1 Revision: A

 6HQVRU 6\QFKURQL]DWLRQ
2.2.3. Installation recommendations

 ,QVWDOODWLRQ UHFRPPHQGDWLRQV


2YHUYLHZ The encoder must be installed in such a way that it gives precise feedback of the sensor output (reflects the true motion of the external device). This means that the encoder should be installed as close to the robot as practically possible, no further away than 30 meters. The encoder is normally installed on the drive unit of the external device. The encoder may be connected to an output shaft on the drive unit, directly or via a gear belt arrangement. 127( The encoder is a sensitive measuring device and for that reason it is important that no other forces than the shaft rotation are transferred from the sensor to the encoder and that the encoder is mounted using shock absorbers etc. to prevent damage from vibration. 3ODFHPHQW The following is to be considered before start-up ,I
the drive unit includes a clutch arrangement the encoder is connected directly to a drive unit shaft

7KHQ
the encoder must be connected on the sensor side of the clutch. it is important to install a specially designed flexible coupling to prevent applying mechanical forces to the encoder rotor.

the drive unit of the external the moving device itself may be a source of inaccuracy as the device is located far away moving device will stretch or flex over the distance from the from the encoder drive unit to the encoder cell. In such a case it may be better to mount the encoder closer to the drive unit with a different coupling arrangement.

3HAC 18154-1 Revision: A

35

 6HQVRU 6\QFKURQL]DWLRQ
2.2.4. Connecting encoder and encoder interface unit

 &RQQHFWLQJ HQFRGHU DQG HQFRGHU LQWHUIDFH XQLW


2YHUYLHZ If the cable from the robot to the encoder is too long, the inductance in the cable will produce spike pulses on the encoder signal. This signal will over a period of time damage the opto couplers in the encoder interface unit. 6HH WKH 3URGXFW 0DQXDO IRU ,5& &RQWUROOHU for details on connecting to the encoder interface unit. 5HGXFH QRLVH To reduce noise, connect the encoder with a screened cable. 5HGXFH VSLNH SXOVHV To reduce spike pulses, install a capacitor between the signal wire and ground for each of the two phases. The correct capacitance value can be determined by viewing the encoder signal on an oscilloscope. The capacitor: should be connected on the terminal board where the encoder is connected. values are 100 nF - 1 F, depending on the length of the cable.

(QFRGHU SRZHU VXSSO\ The encoder is normally supplied with 24 VDC from the encoder interface unit. When connecting two encoder interface units to the same encoder, let only one of the encoder interface units supply power to the encoder. If both encoder interface units supply power, a diode must be installed on each of the 24 V DC connections to make sure the power supplies do not interfere with each other.

36

3HAC 18154-1 Revision: A

 6HQVRU 6\QFKURQL]DWLRQ
2.2.4. Connecting encoder and encoder interface unit

&RQQHFWLQJ HQFRGHU DQG WKH V\QFKURQL]DWLRQ VZLWFK The following procedure describes how to install the encoder and the synchronization switch to the encoder interface unit. One encoder can be connected to several encoder interface units. each controller must have an encoder interface unit if more than one robot is to use the sensor. $FWLRQ
Connect the encoder to the encoder interface unit (DSQC 377) on the controller.

6WHS
1.

,QIRLOOXVWUDWLRQ

green blue black red

S tart S ig (in) 0 V (out) 24 V (out) B (in) A (in) 0 V (out) 24 V (out) 0 V (in) 24 V (in) DS QC 354

black red green blue

en0300000611

2.

Connect the synchronization switch to the encoder interface unit (DSQC 377) on the controller.

+RZ WR ILQG WKH (QFRGHU URWDWLQJ GLUHFWLRQ The following procedure describes how to find the encoder rotating direction. VWHS
1.

$FWLRQ
Tap: Inputs and Outputs symbol on the FlexPendant.

,QIRLOOXVWUDWLRQ

en0300000585

2. 3.

Tap: 9LHZ and select: ,2 8QLWV Scroll down and selected: 4WUDFN  G

3HAC 18154-1 Revision: A

37

 6HQVRU 6\QFKURQL]DWLRQ
2.2.4. Connecting encoder and encoder interface unit

VWHS
4. 5.

$FWLRQ
Scroll down to FSRVLWLRQ Run the encoder in forward direction while checking the value for C1Position. If the number counts up: No action is required. If the number counts down: the connection of the two encoder faces (0 and 90) must be interchanged.

,QIRLOOXVWUDWLRQ

24VDC 0V A (0 ) B (9 0 ) E ncoder 1 24VDC 0V A (0 ) B (9 0 ) E ncoder 2

+2-AX12 29 +24 VDC 17 0 Volt 19 20 21 22 30 18 23 24 25 26 P_E NC1_A+ P_E NC1_ A P_E NC1_ B+ P_E NC1_ B +24 VDC 0 Volt P_E NC2_A+ P_E NC2_ A P_E NC2_ B+ P_E NC2_ B

Conn ection for P N P encoder

en0300000584

38

3HAC 18154-1 Revision: A

 6HQVRU 6\QFKURQL]DWLRQ
2.3.1. Sensor Installation

 6RIWZDUH ,QVWDOODWLRQ  6HQVRU ,QVWDOODWLRQ


2YHUYLHZ Normally the options Sensor Synchronization and DeviceNet are preloaded at ABB, and do not need to be re-installed. For more information on how to add options to the system, see 2SHUDWRU
V PDQXDO  5RERW6WXGLR2QOLQH The Sensor Synchronization option automatically installs one sensor into the system parameters. To add more than one sensor, see ,QVWDOODWLRQ RI VHYHUDO VHQVRUV on page 42. $ERXW WKH LQVWDOODWLRQ The options will install three additional configurations: I/O for the encoder interface unit Sensor process description Motion mechanical description

+RZ WR DGG WKH 6HQVRU PDQXDOO\ Use the following procedure to add the sensors manually. 6WHS
1. 2. 3. 4. 5.

$FWLRQ
Connect the encoder interface unit to the CAN bus. Note the address on the CAN bus. Use RobotStudioOnline to add new parameters Right click on the FRQILJXUDWLRQicon and select: /RDG 3DUDPHWHUV. Select: /RDG 3DUDPHWHUV LI QR GXSOLFDWHV in the 6HOHFW PRGH text box. Installation of a PDVWHU VHQVRU, connected to DeviceNet1 (first board). Load the following files one by one from the OPTION/CNV directory: V\YPBHLRFIJ V\YPBSUFFIJ V\YPBPRFFIJ

3HAC 18154-1 Revision: A

39

 6HQVRU 6\QFKURQL]DWLRQ
2.3.1. Sensor Installation

6WHS
6.

$FWLRQ
Installation of a VODYH VHQVRU, connected to DeviceNet2 (second board). Load the following files one by one from the OPTION/CNV directory: V\YVBHLRFIJ V\YVBSUFFIJ V\YVBPRFFIJ Restart the system. If necessary, correct the address for the new encoder interface units. The default addresses in the file V\Y[[BHLRFIJ should be replaced by the actual address of the board.

7. 8.

40

3HAC 18154-1 Revision: A

 6HQVRU 6\QFKURQL]DWLRQ
2.3.2. Reloading saved Motion parameters

 5HORDGLQJ VDYHG 0RWLRQ SDUDPHWHUV


2YHUYLHZ During installation of the Sensor Synchronization option, a specific sensor configuration for external axes will be loaded into the motion system parameters. 127( If these parameters were loaded before the Sensor Synchronization option, then the mechanical unit 66<1& will not appear on the FlexPendant under the -RJJLQJ ZLQGRZ 5HORDGLQJ WKH 66<1& SDUDPHWHU

Use RobotStudioOnline and follow these steps (see 2SHUDWRU


V PDQXDO  5RERW6WXGLR2QOLQH for more information): 6WHS
1. 2. 3. 4. 5. 6.

$FWLRQ
Select the topic: 6\VWHP 3DUDPHWHUV. Select the type: )LOH. Select: $GG RU UHSODFH SDUDPHWHUV. Select the directory 0HGLDSRRO?5RERW:DUHB;;;;;;?RSWLRQV?FQY Load the V\QBPRF parameter file Restart the controller for the changes to take effect.

5HVXOW The mechanical unit 66<1& should now be available on the FlexPendant under the -RJJLQJ ZLQGRZ.

3HAC 18154-1 Revision: A

41

 6HQVRU 6\QFKURQL]DWLRQ
2.3.3. Installation of several sensors

 ,QVWDOODWLRQ RI VHYHUDO VHQVRUV


$ERXW WKH LQVWDOODWLRQ Normally the options Sensor Synchronization and DeviceNet are preloaded at ABB, and do not need to be re-installed. For more information how to add options to the system, see 2SHUDWRU
V PDQXDO  5RERW6WXGLR2QOLQH The Sensor Synchronization option automatically installs one sensor into the system parameters. 'HYLFH1HW 'XDO RSWLRQ When DeviceNet Dual is included, the following three sensors will be installed in the system: One sensor with Robot to press syncro type: 66<1& One virtual master sensor: 66<10 One virtual slave sensor: 66<1&6

+RZ WR DGG VHQVRUV PDQXDOO\ Up to four sensors can be used with the same controller, but the parameters for the three extra sensors must be loaded manually. Use the following procedure to load the sensors manually. 6WHS
1. 2. 3. 4. 5.

$FWLRQ
Connect the encoder interface unit to the CAN bus. Note the address on the CAN bus. Use RobotStudioOnline to add new parameters. Right click on the FRQILJXUDWLRQ icon and select: /RDG 3DUDPHWHUV. Select: /RDG 3DUDPHWHUV LI QR GXSOLFDWHV in the 6HOHFW PRGH text box. Installation of a PDVWHU VHQVRU, connected to DeviceNet1 (first board). Load the following files one by one from the OPTION/CNV directory: for second sensor: V\YPBHLRFIJ, V\YPBSUF and V\YPBPRFFIJ for third sensor: V\YPBHLRFIJ, V\YPBSUFFIJ and V\YPBPRFFIJ for fourth sensor: V\YPBHLR.cfg, V\YPBSUFFIJ and V\YPBPRFFIJ

42

3HAC 18154-1 Revision: A

 6HQVRU 6\QFKURQL]DWLRQ
2.3.3. Installation of several sensors

6WHS
6.

$FWLRQ
Installation of a VODYH VHQVRU, connected to DeviceNet2 (second board). Load the following files one by one from the OPTION/CNV directory: for second sensor: V\YVBHLRFIJ, V\YVBSUFFIJ and V\YVBPRFFIJ for third sensor: V\YVBHLRFIJ, V\YVBSUFFIJ and V\YVBPRFFIJ for fourth sensor: V\YVBHLRFIJ, V\YVBSUFFIJ and V\YVBPRFFIJ Restart the system. If necessary, correct the address for the new encoder interface units. Find the respective encoder interface unit in the system parameters under the topic ,2 6\VWHP. The default addresses in the file V\Y[[BHLRFIJ should be replaced by the actual address of the board.

7. 8.

$YDLODEOH VHQVRUV The second and third sensor (SSYNC2, SSYNC3) should now appear in 0RWLRQPHFKDQLFDO XQLW and in the MRJJLQJ ZLQGRZ on the FlexPendant.

3HAC 18154-1 Revision: A

43

 6HQVRU 6\QFKURQL]DWLRQ
2.4.1. General issues when programming Sensor Synchronization

 3URJUDPPLQJ 6HQVRU 6\QFKURQL]DWLRQ  *HQHUDO LVVXHV ZKHQ SURJUDPPLQJ 6HQVRU 6\QFKURQL]DWLRQ
$FWLYDWH 6HQVRU 6\QFKURQL]DWLRQ The sensor must be activated before it may be used for work object coordination, just like any other mechanical unit. The usual ActUnit instruction is used to activate the sensor and DeactUnit is used to deactivate the sensor. By default, the sensor is installed inactive on start. If desired, the sensor may be configured to always be active upon start. See 0HFKDQLFDO XQLW on page 73. $XWRPDWLF FRQQHFWLRQ When a sensor mechanical unit is activated, it first checks the state of the encoder interface unit to see whether the sensor was previously connected. If the encoder interface unit, via the I/O signal F&RQQHFWHG, indicates connection, then the sensor will automatically be connected upon activation. The purpose of this feature is to automatically reconnect in case of a power failure with power backup on the encoder interface unit. &RQQHFWLRQ YLD :DLW6HQVRU LQVWUXFWLRQ Motions that are to be synchronized with the external device cannot be programmed until an object has been connected to the sensor with a WaitSensor instruction. If the object is already connected with a previous WaitSensor instruction, or if connection was established during activation, then execution of a second WaitSensor instruction will cause an error. After connection to an object with a WaitSensor instruction the synchronized motion is started using SyncToSensor\On instruction. For details about the instructions WaitSensor and SyncToSensor\On. See ,QVWUXFWLRQV on page 70.

44

3HAC 18154-1 Revision: A

 6HQVRU 6\QFKURQL]DWLRQ
2.4.1. General issues when programming Sensor Synchronization

3URJUDPPLQJ 6HQVRU 6\QFKURQL]DWLRQ In the following instructions, there are references to programming examples. 6WHS
1.

$FWLRQ
Create a program with the following instructions: ActUnit SSYNC1; MoveL waitp, v1000, fine, tool; WaitSensor SSYNC1; Single-step the program past the WaitSensor instruction.

,QIRLOOXVWUDWLRQ

2.

The instruction will return if there is an object in the object queue. If the is no object, the execution will stop while waiting for an object (i.e. a sync signal). The program should exit the WaitSensor and is now connected to the object.

3.

Run the external device until a sync signal is generated by the synchronization switch. Stop the external device in the position that should correspond to the robot target you are about to program. Start the synchronized motion with a SyncToSensor SSYNC1\On instruction. See 3URJUDPPLQJ H[DPSOH on page 47. Program move instructions. For every time you modify a position, run the external device to the position that should correspond to the robot target. End the synchronized motion with a SyncToSensor SSYNC1\Off instruction. See 3URJUDPPLQJ H[DPSOH on page 47. Program a DropSensor SSYNC1; instruction. See 3URJUDPPLQJ H[DPSOH on page 47. Program a DeactUnit SSYNC1; instruction if this is the end of the program, or if the sensor is no longer needed. See 3URJUDPPLQJ H[DPSOH on page 47.

4.

5.

6.

Use corner zones for the move instructions, see )LQHSRLQW SURJUDPPLQJ on page 52.

7.

8. 9.

3HAC 18154-1 Revision: A

45

 6HQVRU 6\QFKURQL]DWLRQ
2.4.1. General issues when programming Sensor Synchronization

6\QFKURQL]H WKH VHQVRU If it is not possible to move the external device to the desired position, modify the position first and then edit the sensor value in the robtarget (as for any additional axis).

46

3HAC 18154-1 Revision: A

 6HQVRU 6\QFKURQL]DWLRQ
2.4.2. Programming example

 3URJUDPPLQJ H[DPSOH


2YHUYLHZ The following program shows an example of a Sensor Synchronization program. 6HQVRU 6\QFKURQL]DWLRQ SURJUDP
MoveJ p0, vmax, fine, tool1; !Activate sensor ActUnit SSYNC1; !Connect to the object WaitSensor SSYNC1; !Start the Synchronized motion SyncToSensor SSYNC1\On; !Instructions with coordinated robot targets MoveL p10, v1000, z20, tool1; MoveL p20, v1000, z20, tool1; MoveL p30, v1000, z20, tool1; !Stop the synchronized motion SyncToSensor SSYNC1\Off; !Exit coordinated motion MoveL p40, v1000, fine, tool1; !Disconnect from current DropSensor SSYNC1; MoveL p0, v1000, fine; !Deactivate conveyor DeactUnit SSYNC1; object

3HAC 18154-1 Revision: A

47

 6HQVRU 6\QFKURQL]DWLRQ
2.4.3. Entering and exiting coordinated motion in corner zones

 (QWHULQJ DQG H[LWLQJ FRRUGLQDWHG PRWLRQ LQ FRUQHU ]RQHV


&RUQHU ]RQHV FDQ EH XVHG Once a WaitSensor instruction is connected to an object it is possible to enter and exit synchronized motion with the sensor via corner zones. 'URSSLQJ REMHFW DIWHU FRUQHU ]RQH If an instruction using a corner zone is used to exit coordinated motion, it cannot be followed directly by the DropWObj instruction. This would cause the object to be dropped before the robot has left the corner zone, when the motion still requires the conveyor coordinated work object. If the work object is dropped when motion still requires its position, then a stop will occur. To avoid this, either call a finepoint instruction or at least two corner zone instructions before dropping the work object. &RUUHFW H[DPSOH This is an example of how to enter and exit coordinated motion via corner zones.
MoveL p10, v1000, fine, tool1; WaitSensor SSYNC1; MoveL p20, v500, z50, tool1; !start synchronization after zone around p20 SyncToSensor SSYNC1\On MoveL p30, v500, z20, tool1; MoveL p40, v500, z20, tool1; MoveL p50, v500, z20, tool1; MoveL p60, v500, z50, tool1; !Exit synchronization after zone around p60 SyncToSensor SSYNC1\Off; MoveL p70, v500, fine, tool1; DropSensor SSYNC1; MoveL p10, v500, fine, tool1;

48

3HAC 18154-1 Revision: A

 6HQVRU 6\QFKURQL]DWLRQ
2.4.3. Entering and exiting coordinated motion in corner zones

,QFRUUHFW H[DPSOH This is an incorrect example of exiting coordination in corner zones. This will cause the program to stop with an error.
MoveL p50, v500, z20, tool1; MoveL p60, v500, z50, tool1; !Exit coordination in zone SyncToSensor SSYNC1\Off; DropSensor SSYNC1;

If coordinated motion is ended in a corner zone, another move instruction must be executed before the sensor is dropped.

3HAC 18154-1 Revision: A

49

 6HQVRU 6\QFKURQL]DWLRQ
2.4.4. Use several sensors

 8VH VHYHUDO VHQVRUV


2YHUYLHZ When several sensors are used the program must have at least one move instruction without any synchronization between parts of the path that are synchronized with two different sensors. 6HQVRU 6\QFKURQL]DWLRQ SURJUDP
!Connect to the object WaitSensor SSYNC1\RelDist:=Pickdist; !Start the Synchronized motion SyncToSensor SSYNC1\MaxSync:=1653\On; !Instructions with coordinated robot targets MoveL p30, v400, z20, currtool; !Stop the synchronized motion SyncToSensor SSYNC1\Off; !Instructions with coordinated robot targets MoveL p31, v400, z20, currtool; !Connect to the object WaitSensor SSYNC2\RelDist:=1720; !Instructions with coordinated robot targets MoveL p32, v400, z50, currtool; !Start the Synchronized motion SyncToSensor SSYNC2\MaxSync:=2090\On; !Instructions with coordinated robot targets MoveL p33, v400, z20, currtool;

50

3HAC 18154-1 Revision: A

 6HQVRU 6\QFKURQL]DWLRQ
2.4.4. Use several sensors

!Stop the synchronized motion SyncToSensor SSYNC2\Off;

3HAC 18154-1 Revision: A

51

 6HQVRU 6\QFKURQL]DWLRQ
2.4.5. Finepoint programming

 )LQHSRLQW SURJUDPPLQJ


2YHUYLHZ Avoid the use of fine points when using synchronized motion. The robot will stop and lose the synchronization with the sensor for 100 ms. Then the RAPID execution will continue. Finepoint programming can be used on the last synchronized move instruction if the synchronization does not need to be accurate at the last target. 3URJUDP H[DPSOH The following program example shows how synchronized motion may be stopped.
WaitSensor SSYNC1; SyncToSensor SSYNC1 \On; MoveL p1, v500, z20, tool1; MoveL p2, v500, fine, tool1; SyncToSensor SSYNC1 \Off; MoveL p3, v500, z20, tool1; MoveL p4, v500, fine, tool1; DropSensor SSYNC1;

At p4 the robot is no longer synchronized with the external device, and there are no restrictions for using fine points. At p2 the synchronization will end and a fine point can be used, but the accuracy of the synchronization will be reduced.

52

3HAC 18154-1 Revision: A

 6HQVRU 6\QFKURQL]DWLRQ
2.4.6. Drop sensor object

 'URS VHQVRU REMHFW


2YHUYLHZ A connected object may be dropped, with a DropSensor instruction, once the synchronized motion has ended. Example: DropSensor SSYNC1; &RQVLGHUDWLRQV The following considerations must be considered when dropping an object: It is important to make sure that the robot motion is no longer using the sensor position when the object is dropped. If robot motion still requires the sensor position then a stop will occur when the object is dropped. As long as the SyncToSensor \Off instruction has not been issued, the robot motion will be synchronized with the sensor. It is not necessary to be connected in order to execute a DropSensor instruction. No error will be returned if there was no connected object.

3HAC 18154-1 Revision: A

53

 6HQVRU 6\QFKURQL]DWLRQ
2.4.7. Information on the FlexPendant

 ,QIRUPDWLRQ RQ WKH )OH[3HQGDQW


2YHUYLHZ The user has access to the sensor position and speed via the FlexPendant -RJJLQJ ZLQGRZ The position (in millimeters) of the sensor object is shown in the -RJJLQJ window. This value will be negative if a Queue Tracking Distance is defined. When the synchronization switch is triggered, the position will automatically be updated in the -RJJLQJwindow. ,2 ZLQGRZ From the ,2 window the user has access to all the signals that are defined on the encoder interface unit. From this window it is possible to view the sensor object position (in meters) and the sensor object speed (in m/s). The speed will be 0 m/s until the synchronization switch registers a sensor object.

54

3HAC 18154-1 Revision: A

 6HQVRU 6\QFKURQL]DWLRQ
2.4.8. Programming considerations

 3URJUDPPLQJ FRQVLGHUDWLRQV


3HUIRUPDQFH OLPLWV The synchronization will be lost if joint speed limits are reached, particularly in singularities. It is the responsibility of the programmer to ensure that the path during synchronized movement does not exceed the speed and motion capabilities of the robot. 0RWLRQ FRPPDQGV All motion commands are allowed for sensor synchronization. 0DQXDO PRGH Sensor Synchronization is not active in manual mode. 6SHHG UHGXFWLRQ EXWWRQ

Sensor Synchronization works only with 100% speed. As the robot speed is adjusted to sensor movements the defined robot speed percentage will be overridden. 3URJUDPPHG VSHHG The best performance of the synchronization will be obtained if the programmed speed is near the real execution speed. The programmed speed should be chosen as the most probable execution speed. Large changes in speed between two move instructions should be avoided. )LQHSRLQWV Finepoints are allowed during synchronization motion, but the robot will stop at the fine point and the synchronization will be lost if the external device is still moving. See )LQHSRLQW SURJUDPPLQJ on page 52. 3RVLWLRQ ZDUQLQJV If robot_to_sensor position ratio is higher than 10 or lower than 0.1 a warning will appear. The user should modify the robtarget position or the sensor value in the robtarget according to the warning text.

3HAC 18154-1 Revision: A

55

 6HQVRU 6\QFKURQL]DWLRQ
2.4.8. Programming considerations

6SHHG ZDUQLQJV If programmed sensor_speed is higher than:


(max_sync_speed*sensor_nominal_speed)/robot_tcp_speed

then a speed warning will appear and the user should modify robot speed or sensor_nominal_speed or max_sync_speed according to the warning text.

If programmed sensor_speed is lower than:


(min_sync_speed*sensor_nominal_speed)/robot_tcp_speed

a similar warning will appear: &KDQJH RI WRROV Changing the tool is not allowed during sensor synchronization if corvec is used. 2WKHU 5$3,' OLPLWDWLRQV The commands, StorePath, RestoPath do not work during sensor synchronization. No Search commands work during sensor synchronization.
EoffsSet, EoffsOn, EoffsOff have an effect on the sensor teached position.

Programmed_sensor_speed equals sensor_distance/robot_interpolation_time.

Power fail restart is not possible with sensor synchronization.

56

3HAC 18154-1 Revision: A

 6HQVRU 6\QFKURQL]DWLRQ
2.5.1. Introduction

 5RERW WR 5RERW 6\QFKURQL]DWLRQ  ,QWURGXFWLRQ


2YHUYLHZ It is possible to synchronize two robot systems in a sensor synchronization application. This is done with a master and a slave robot setup. 5HTXLUHPHQWV For cable connection and setup, see ,2 3OXV 8VHU
V *XLGH, section DeviceNet slave. I/O Plus option CANBUS cable

3HAC 18154-1 Revision: A

57

 6HQVRU 6\QFKURQL]DWLRQ
2.5.2. The concept of robot to robot synchronization

 7KH FRQFHSW RI URERW WR URERW V\QFKURQL]DWLRQ


'HVFULSWLRQ The basic idea of robot to robot synchronization is that two robot should use a common virtual sensor. The master robot controls the virtual motion of this sensor. The slave robot uses the sensors virtual position and speed to adjust its speed. The synchronization is achieved by defining positions where the two robots should be at the same time, and assigning a sensor value for each of these points. ,OOXVWUDWLRQ
1
0 200

2
400

3
600

C 4
800 1000

1 2 3 4 2

1 4

B A

xx0400001145

58

3HAC 18154-1 Revision: A

 6HQVRU 6\QFKURQL]DWLRQ
2.5.3. Master robot configuration parameters

 0DVWHU URERW FRQILJXUDWLRQ SDUDPHWHUV


2YHUYLHZ Use the following parameters to set up the master robot. Use Robot Studio Online to change the parameters. 7RSLF 0RWLRQ 6,1*/(B7<3(3DUDPHWHU
1DPH PHFKDQLFV SURFHVVBQDPH XVHBSDWK

9DOXH
SSYNC2 SS_LIN SSYNC2 PSSYNC

7RSLF 3URFHVV 6(1625B6<67(03DUDPHWHU


1DPH VHQVRUBW\SH XVHBVHQVRU DGMXVWPHQWBVSHHG PLQBGLVW PD[BGLVW FRUUHFWLRQBYHFWRUBUDPSBOHQJWK

9DOXH
SSYNC1 CAN CAN1 1000 600 20000 10

7RSLF ,2 6LJQDOV (,2B81,73DUDPHWHU


1DPH 8QLW7\SH %XV '1B$GGUHVV

9DOXH
MASTER1 DN_SLAVE DeviceNet1 1

3HAC 18154-1 Revision: A

59

 6HQVRU 6\QFKURQL]DWLRQ
2.5.3. Master robot configuration parameters

(,2B81,73DUDPHWHU
(,2B6,*1$/3DUDPHWHU 1DPH 6LJQDO7\SH 8QLW 8QLW0DS 0D[/RJ 0D[3K\V 0D[3K\V/LPLW 0D[%LW9DO 0LQ/RJ 0LQ3K\V 0LQ3K\V/LPLW 0LQ%LW9DO 1DPH 6LJQDO7\SH 8QLW 8QLW0DS 0D[/RJ 0D[3K\V 0D[3K\V/LPLW 0D[%LW9DO 0LQ/RJ 0LQ3K\V 0LQ3K\V/LPLW 0LQ%LW9DO 1DPH 6LJQDO7\SH 8QLW

9DOXH
9DOXH ao1Position AO MASTER1 0-15 10.0 1 1 32767 -10.0 -1 -1 -32767 ao1Speed AO MASTER1 16-31 10.0 1 1 32767 -10.0 -1 -1 -32767 ao1PredTime AO MASTER1

60

3HAC 18154-1 Revision: A

 6HQVRU 6\QFKURQL]DWLRQ
2.5.3. Master robot configuration parameters

(,2B81,73DUDPHWHU
8QLW0DS 0D[/RJ 0D[3K\V 0D[3K\V/LPLW 0D[%LW9DO 0LQ/RJ 0LQ3K\V 0LQ3K\V/LPLW 0LQ%LW9DO 1DPH 6LJQDO7\SH 8QLW 8QLW0DS 1DPH 6LJQDO7\SH 8QLW 8QLW0DS

9DOXH
32-47 10.0 1 1 32767 -10.0 -1 -1 -32767 do1Dready DO MASTER1 48 do1Sync2 DO MASTER1 50

3HAC 18154-1 Revision: A

61

 6HQVRU 6\QFKURQL]DWLRQ
2.5.4. Slave robot configuration parameters

 6ODYH URERW FRQILJXUDWLRQ SDUDPHWHUV


2YHUYLHZ For default Sensor Synchronization configuration, see 6\VWHP SDUDPHWHUV on page 71. Use Robot StudioOnline to change the parameters and to set up the slave robot. 'HVFULSWLRQ To make the slave robot stop and restart synchronized with the master robot: Set the parameter value PLQBV\QFBVSHHG to 0.0

The slave robot will also stop if a fine point is defined in the master robot path.

62

3HAC 18154-1 Revision: A

 6HQVRU 6\QFKURQL]DWLRQ
2.5.4. Slave robot configuration parameters

7RSLF 3URFHVV 6(1625B6<67(03DUDPHWHU


1DPH VHQVRUBW\SH XVHBVHQVRU DGMXVWPHQWBVSHHG PLQBGLVW PD[BGLVW FRUUHFWLRQBYHFWRUBUDPSBOHQJWK QRPLQDOBVSHHG &$1B,17(5)$&(3DUDPHWHU 1DPH 6LJQDO GHOD\ &RQQHFWHG VLJQDO 3RVLWLRQ VLJQDO 9HORFLW\ VLJQDO 1XOO VSHHG VLJQDO 'DWD UHDG\ VLJQDO :DLWZREM VLJQDO 'URSZREM VLJQDO 'DWD 7LPH VWDPS 5HP$OO32EM VLJQDO 9LUWXDO VHQVRU 6HQVRU 6SHHG ILOWHU c1WaitWObj c1DropWobj c1DTimestamp c1RemAllPObj NO 0,33

9DOXH
SSYNCS1 CAN CAN1 1000 600 20000 10 1000 9DOXH CAN1 34 c1Connected c1Position c1Speed c1NullSpeed

7RSLF ,2 6LJQDOV (,2B81,73DUDPHWHU


1DPH 8QLW7\SH

9DOXH
SLAVE1 DN_SLAVE

3HAC 18154-1 Revision: A

63

 6HQVRU 6\QFKURQL]DWLRQ
2.5.4. Slave robot configuration parameters

(,2B81,73DUDPHWHU
%XV '1B$GGUHVV (,2B6,*1$/3DUDPHWHU 1DPH 6LJQDO7\SH 8QLW 8QLW0DS 0D[/RJ 0D[3K\V 0D[3K\V/LPLW 0D[%LW9DO 0LQ/RJ 0LQ3K\V 0LQ3K\V/LPLW 0LQ%LW9DO 1DPH 6LJQDO7\SH 8QLW 8QLW0DS 0D[/RJ 0D[3K\V 0D[3K\V/LPLW 0D[%LW9DO 0LQ/RJ 0LQ3K\V 0LQ3K\V/LPLW 0LQ%LW9DO 1DPH

9DOXH
DeviceNet2 1 9DOXH ao1Position AI SLAVE1 0-15 10.0 1 1 32767 -10.0 -1 -1 -32767 ao1Speed AO MASTER1 16-31 10.0 1 1 32767 -10.0 -1 -1 -32767 ao1PredTime

64

3HAC 18154-1 Revision: A

 6HQVRU 6\QFKURQL]DWLRQ
2.5.4. Slave robot configuration parameters

(,2B81,73DUDPHWHU
6LJQDO7\SH 8QLW 8QLW0DS 0D[/RJ 0D[3K\V 0D[3K\V/LPLW 0D[%LW9DO 0LQ/RJ 0LQ3K\V 0LQ3K\V/LPLW 0LQ%LW9DO 1DPH 6LJQDO7\SH 8QLW 8QLW0DS 1DPH 6LJQDO7\SH 8QLW 8QLW0DS

9DOXH
AO MASTER1 32-47 10.0 1 1 32767 -10.0 -1 -1 -32767 do1Dready DO MASTER1 48 do1Sync2 DO MASTER1 50

3HAC 18154-1 Revision: A

65

 6HQVRU 6\QFKURQL]DWLRQ
2.5.5. Programming example for master robot

 3URJUDPPLQJ H[DPSOH IRU PDVWHU URERW


2YHUYLHZ The following program is an example of how to program a master robot. 0DVWHU URERW SURJUDPPLQJ
syncstart:=20; Syncpos1:=300; Syncpos2:=600; Syncpos3:=900; Syncpos4:=1200; !Synchronized motion between master and slave robpos1.extax.eax_e:=syncpos1; robpos2.extax.eax_e:=syncpos2; robpos3.extax.eax_e:=syncpos3; robpos4.extax.eax_e:=syncpos4; robpos5.extax.eax_e:=syncstart; !Init of external axis pOutsideNext.extax.eax_e:=syncstart; !Activate sensor ActUnit SSYNC1; !Instruction with coordinated robot targets MoveJ pOutsideNext, v1000, fine, tool1; !Init of external axis robposstart.extax.eax_e:=syncstart; !Set digital output SetDO Dosync 1,0 !Instructions with coordinated robot targets

66

3HAC 18154-1 Revision: A

 6HQVRU 6\QFKURQL]DWLRQ
2.5.5. Programming example for master robot

MoveJ robposstart, v2000, z50, tool1; !Set digital output PulseDO\PLength:= 0.1, doSync1; !Instructions with coordinated robot targets MoveJ robpos1, v2000, z10, tool1; MoveJ robpos2, v2000, z10, tool1; MoveJ robpos3, v2000, z10, tool1; MoveJ robpos4, v2000, z10, tool1; MoveJ robpos5, v2000, z10, tool1;

&RQVLGHUDWLRQV The following is to be considered The values of extax.eax_e should increase for every robtarget during synchronization. The first move instruction of the master robot, after the synchronization, should also have a higher extax.eax_e value than the previous instruction. Otherwise the value of extax.eax_e may decrease, and the synchronization end, before the slave robot has reached its target. The movement back to syncstart (move instruction to robpos5 in the example) may be slower than the ordered speed (v2000). If this robot movement is short and the value of extax.eax_e is large, the maximum speed will be limited by the virtual sensor speed. Do not use WaitSensor or DropSensor. Verify that the virtual sensor max speed (speed_out) is less than 1m/s.

3HAC 18154-1 Revision: A

67

 6HQVRU 6\QFKURQL]DWLRQ
2.5.6. Programming example for slave robot

 3URJUDPPLQJ H[DPSOH IRU VODYH URERW


2YHUYLHZ The following program is an example of how to program a slave robot. 6ODYH URERW SURJUDPPLQJ
syncstart:=20; Syncpos1:=300; Syncpos2:=600; Syncpos3:=900; !Synchronized motion between master and slave robpos1.extax.eax_e:=syncpos1; robpos2.extax.eax_e:=syncpos2; robpos3.extax.eax_e:=syncpos3; !Instructions with coordinated robot targets MoveJ posstart, v500, z50, tool1; !Wait for digital input WaitDI diSync1; 1; !Connect to the object WaitSensor SSYNC1;\RelDist:=100; !Start the Synchronized motion SyncToSensor SSYNC1\On; !Instructions with coordinated robot targets MoveJ robpos1, v2000, z10, tool1; MoveJ robpos2, v2000, z10, tool1; MoveJ robpos3, v2000, z10, tool1; !Stop the synchronized motion SyncToSensor SSYNC1\Off;

68

3HAC 18154-1 Revision: A

 6HQVRU 6\QFKURQL]DWLRQ
2.5.6. Programming example for slave robot

&RQVLGHUDWLRQV The following is to be considered: Do not use DropSensor. Do not use any corvecs.

3HAC 18154-1 Revision: A

69

 6HQVRU 6\QFKURQL]DWLRQ
2.6.1. RAPID Components

 3URJUDPPLQJ DQG FRQILJXUDWLRQ GDWD  5$3,' &RPSRQHQWV


,QVWUXFWLRQV This is a brief description of the instructions in Sensor Synchronization. For more information, see respective instruction in 5$3,' UHIHUHQFH PDQXDO  SDUW  ,QVWUXFWLRQV $=. ,QVWUXFWLRQ
DropSensor

'HVFULSWLRQ
DropSensor is used to: disconnect from the current object and make the program ready for the next. SyncToSensor is used to: start or stop synchronization of robot movement to sensor movement. WaitSensor is used to: connect to an object in the start window on the sensor mechanical unit.

SyncToSensor

WaitSensor

70

3HAC 18154-1 Revision: A

 6HQVRU 6\QFKURQL]DWLRQ
2.6.2. System parameters

 6\VWHP SDUDPHWHUV


$ERXW V\VWHP SDUDPHWHUV This section describes the system parameters in a general way. For more information about the parameters, see 7HFKQLFDO UHIHUHQFH PDQXDO  6\VWHP SDUDPHWHUV. 8QLWV These parameters belong to the topic ,2 6LJQDOV and the type 8QLWV. 3DUDPHWHU
Sync Separation

'HVFULSWLRQ
Defines the minimum distance that the external device must move after a sync signal before a new sync signal is accepted as a valid object. For Sensor Synchronization, there is no need to change the default value. Defines the placement of the synchronization switch relative to the 0.0 meter point on the sensor. For Sensor Synchronization, there is no need to change the default value. Defines the size of the start window. It is possible to connect to objects within this window with the instruction WaitSensor. For Sensor Synchronization, there is no need to change the default value. Specifies the location of the real part of the poles in the left-half plane (in Hz).

Counts Per Meter The number of counts per meter of the external device motion.

Queue Tracking Distance

Start Window Width

IIRFFP

3HAC 18154-1 Revision: A

71

 6HQVRU 6\QFKURQL]DWLRQ
2.6.2. System parameters

6HQVRU V\VWHPV These parameters belong to the topic 3URFHVV and the type 6HQVRU 6\VWHP. 3DUDPHWHU
Adjustment Speed

'HVFULSWLRQ
When entering sensor synchronization, the robot speed must be adjusted to the speed of the external device. The speed (in mm/s) at which the robot catches up to this speed for the first motion is defined by $GMXVWPHQW 6SHHG. The minimum distance (in millimeters) that a connected object may have before being automatically dropped. For Sensor Synchronization, there is no need to change the default value. The maximum distance (in millimeters) that a connected object may have before being automatically dropped. For Sensor Synchronization, there is no need to change the default value. The nominal work speed of the external device. If the speed of the device exceeds 200 mm/s this parameter must be increased. Name of the a digital input signal. Defines for how many calculation steps the position error may exceed 0D[ $GYDQFH 'LVWDQFH. During this ramping period, the position error may be 5 times 0D[ $GYDQFH 'LVWDQFH.

Minimum Distance

Maximum Distance

Nominal Speed Sensor Stop Signal Start ramp

&$1 ,QWHUIDFH These parameters belong to the topic 3URFHVV and the type &$1 ,QWHUIDFH. 3DUDPHWHU
Connected signal Position signal Velocity signal Null speed signal Data ready signal WaitWObj signal

'HVFULSWLRQ
Name of the digital input signal for connection. Name of the analog input signal for sensor position. Name of the analog input signal for sensor speed. Name of the digital input signal indicating zero speed on the sensor. Name of the digital input signal indicating a poll of the encoder unit. Name of the digital output signal to indicate that a connection is desired to an object in the queue.

72

3HAC 18154-1 Revision: A

 6HQVRU 6\QFKURQL]DWLRQ
2.6.2. System parameters

0RWLRQ 6\VWHP These parameters belong to the topic 0RWLRQ and the type 0RWLRQ 6\VWHP. 3DUDPHWHU
Path resolution Process update time

'HVFULSWLRQ
The period at which steps along the path are calculated. The time (in seconds) at which the sensor process updates the robot kinematics on the sensor position.

CPU_load_equalization This parameter should be set equal to 1 to have a stable synchronization speed. &38BORDGBHTXDOL]DWLRQ is by default set to 2.

0HFKDQLFDO XQLW These parameters belong to the topic 0RWLRQ and the type 0HFKDQLFDO XQLW. 3DUDPHWHU
Name Do not allow deact

'HVFULSWLRQ
The name of the unit (max. 7 characters). The sensor cannot be deactivated.

Activate at start up The sensor is to be activated automatically at start up.

6LQJOH W\SH This parameter belongs to the topic 0RWLRQ and the type 6LQJOH W\SH. 3DUDPHWHU
Mechanics

'HVFULSWLRQ
Specifies the mechanical structure of the sensor.

7UDQVPLVVLRQ This parameter belong to the topic 0RWLRQ and the type 7UDQVPLVVLRQ. 3DUDPHWHU
Rotating move

'HVFULSWLRQ
Specifies if the sensor is rotating (Yes) or linear (No).

3HAC 18154-1 Revision: A

73

3DWK 6HQVRU 6\QFKURQL]DWLRQ These parameters belong to the topic 0RWLRQ and the type 3DWK 6HQVRU 6\QFKURQL]DWLRQ. They are used to set allowed deviation between calculated and actual position of the external device, and minimum/maximum TCP speed for the robot. 3DUDPHWHU
Max Advance Distance Max Delay Distance Max Synchronization Speed Min Synchronization Speed

'HVFULSWLRQ
The max advance distance allowed from calculated position to actual position of the external device. The max delay distance allowed from calculated position to actual position of the external device. The max robot TCP speed allowed in m/s. The min robot TCP speed allowed in m/s.

5RERW This parameter belongs to the topic 0RWLRQ and the type 5RERW. 3DUDPHWHU
Use Six Axis Corvec

'HVFULSWLRQ
Defines if all six robot axes should be used for position corrections. Otherwise the correction is only made on axis 1, 2 and 3 and the orientation accuracy is lower.

 6HQVRU 6\QFKURQL]DWLRQ
2.6.3. I/O signals

 ,2 VLJQDOV


2YHUYLHZ Sensor Synchronization provides several I/O signals which allow a user or RAPID program to monitor and control the object queue on the encoder interface unit. The object queue is designed for the option Conveyor Tracking and has more functionality than required by Sensor Synchronization. Since each closing of a press is considered an object in the object queue, signals for the object queue may occasionally be useful. 2EMHFW TXHXH VLJQDOV The following table shows the I/O signals in the encoder unit DSQC 354 which impact the object queue. ,QVWUXFWLRQ
c1ObjectsInQ

'HVFULSWLRQ
Group input showing the number of objects in the object queue. These objects are registered by the synchronization switch and have not been dropped. Digital output that removes the first pending object from the object queue. Pending objects are objects that are in the queue but are not connected to a work object. Digital output that removes all pending objects. If an object is connected, then it is not removed. Digital output that will cause the encoder interface unit to drop the tracked object and disconnect it. The object is removed from the queue. Do not use F'URS:2EM in RAPID code. Use the DropWobj instruction instead.

c1Rem1PObj

c1RemAllPObj c1DropWObj

3HAC 18154-1 Revision: A

75

 6HQVRU 6\QFKURQL]DWLRQ
2.6.3. I/O signals

76

3HAC 18154-1 Revision: A

,QGH[

$ Activate at start up 73 activate supervision 24 Add or replace parameters 41 Adjustment Speed 72 & Change of tool 56 collision 15 Collision Detection Memory 17 configure Collision Detection 21 Connected signal 72 Counts Per Meter 71 CPU_load_equalization 73 ' Data ready signal 72 deactivate supervision 24 Do not allow deact 73 DropSensor 70 ( encoder 29 encoder interface unit 29 external axes 13 external device 29 ) false triggering 26 Finepoints 55 + hardware 29 , IIRFFP 71 independent joint 13 Jog Collision Detection 17, 21 Jog Collision Detection Level 17, 21 0 Manual mode 55 Max Advance Distence 72, 74 Max Delay Distance 74 Max Synchronization Speed 74 Mechanics 73 Min Synchronization Speed 74 Motion commands 55 Motion Supervision 17 Motion Supervision Max Level 18 Motion System 18 MotionSup 19, 24 MotSupOn 20 MotSupTrigg 20 1 Name 73 Nominal Speed 72 Null speed signal 72 2 object queue 31 3 Path Collision Detection 17, 21 Path Collision Detection Level 17, 21 Path resolution 73 Performance limits 55 Position signal 72 Position warnings 55 Process update time 73 Programmed speed 55 5 RAPID limitations 56 reversed movement 16 Rotating move 73 6 sensor 29 sensor object 31

3HAC 18154-1 Revision: A

77

,QGH[

Sensor Stop Signal 72 Sensor systems 72 sensor_speed 56 set up Collision Detection 21 soft servo 13 speed 16 Speed reduction % button 55 Speed warnings 56 supervision level 17, 19, 24 synchronization switch 29 SyncToSensor 70 7 torque 16 track motion 14 triggering 26 tuning 24 8 Units 71 9 Velocity signal 72 : WaitSensor 70

78

3HAC 18154-1 Revision: A

ABB Automation Technologies AB Robotics S-721 68 VSTERS SWEDEN Telephone: +46 (0) 21 344000 Telefax: +46 (0) 21 132592

3HAC 18154-1, Revision A, en

Вам также может понравиться