KST ConveyorTech 71 en
KST ConveyorTech 71 en
KST ConveyorTech 71 en
KUKA.ConveyorTech 7.1
For KUKA System Software 8.5
Issued: 04.05.2021
KST ConveyorTech 7.1 V2
KUKA Deutschland GmbH
KUKA.ConveyorTech 7.1
© Copyright 2021
KUKA Deutschland GmbH
Zugspitzstraße 140
D-86165 Augsburg
Germany
This documentation or excerpts therefrom may not be reproduced or disclosed to third parties
without the express permission of KUKA Deutschland GmbH.
Other functions not described in this documentation may be operable in the controller. The user
has no claims to these functions, however, in the case of a replacement or service work.
We have checked the content of this documentation for conformity with the hardware and soft-
ware described. Nevertheless, discrepancies cannot be precluded, for which reason we are not
able to guarantee total conformity. The information in this documentation is checked on a regu-
lar basis, however, and necessary corrections will be incorporated in the subsequent edition.
Subject to technical alterations without an effect on the function.
KIM-PS5-DOC
Translation of the original documentation
Contents
1 Introduction.............................................................................................. 7
1.1 Target group.......................................................................................................... 7
1.2 Industrial robot documentation.............................................................................. 7
1.3 Representation of warnings and notes................................................................. 7
1.4 Terms used............................................................................................................ 8
1.5 Trademarks............................................................................................................ 8
1.6 Licenses................................................................................................................. 8
2 Product description................................................................................. 11
2.1 Overview of ConveyorTech................................................................................... 11
2.2 Intended use.......................................................................................................... 12
3 Safety......................................................................................................... 13
4 Planning.................................................................................................... 15
4.1 System with conveyor connection to RDC........................................................... 15
4.2 External conveyor.................................................................................................. 15
4.2.1 Communications interface to the higher-level controller...................................... 17
4.2.1.1 Reception structure from the perspective of the robot controller........................ 17
4.2.1.2 Transmission structure from the perspective of the robot controller................... 17
4.2.1.3 Communication sequence between robot controller and PLC............................. 19
4.2.2 Checksum calculation for external conveyor........................................................ 20
6 Installation................................................................................................ 29
6.1 System requirements............................................................................................. 29
6.2 Installation via WorkVisual.................................................................................... 29
6.2.1 Installing or updating ConveyorTech..................................................................... 29
6.2.2 Uninstalling ConveyorTech.................................................................................... 30
6.3 Installation via smartHMI....................................................................................... 31
6.3.1 Installing or updating ConveyorTech..................................................................... 31
6.3.2 Uninstalling ConveyorTech.................................................................................... 32
7 Configuration............................................................................................ 33
7.1 Overview: configuration in WorkVisual................................................................. 33
7.2 Inserting a conveyor in a project.......................................................................... 33
7.3 Inserting a resolver in a project............................................................................ 34
7.4 Modifying the connection between the synchronization switch and the CIB...... 35
7.5 Defining the conveyor as motion master.............................................................. 36
7.6 Configuring time synchronization.......................................................................... 37
7.7 Configuring conveyor parameters in the machine data....................................... 39
7.7.1 General I/O parameters........................................................................................ 39
7.7.2 Conveyor-specific expert parameters................................................................... 40
7.7.3 Alarm and stop distances..................................................................................... 41
7.7.4 Escape strategy..................................................................................................... 42
8 Operation.................................................................................................. 49
8.1 Displaying user rights............................................................................................ 49
8.2 Modifying global conveyor settings....................................................................... 49
8.3 Modifying conveyor-specific settings..................................................................... 50
8.4 Modifying alarm and stop distances..................................................................... 52
9 Calibration................................................................................................. 55
9.1 Calibrating a linear conveyor................................................................................ 55
9.2 Calibrating a circular conveyor............................................................................. 56
9.3 Checking the conveyor distance........................................................................... 57
9.4 Calibrating the workpiece on the conveyor.......................................................... 58
10 Programming............................................................................................ 61
10.1 Creating a conveyor application program............................................................. 61
10.2 Conveyor.INI_OFF: initializing a conveyor............................................................ 63
10.3 Conveyor.ON: activating a conveyor.................................................................... 64
10.4 Conveyor.FOLLOW: tracking a workpiece............................................................ 64
10.5 Conveyor.Skip: picking up a workpiece from the conveyor................................. 67
10.6 Conveyor.Quit: leaving the conveyor area........................................................... 70
10.7 Teaching synchronized motions............................................................................ 71
10.8 Programming a DLIN block................................................................................... 73
10.9 Programming a DLIN motion................................................................................ 74
10.9.1 Option window “Frames”....................................................................................... 75
10.9.2 Option window “Velocities”.................................................................................... 76
10.9.3 Option window “Accelerations”.............................................................................. 76
10.10 Creating an application program with DLIN template.......................................... 77
10.11 KRL functions........................................................................................................ 77
10.11.1 CONV_DELETE_ALL_WPS: delete all components............................................ 78
10.11.2 CONV_DELETE_WPS: Deleting components...................................................... 78
10.11.3 CONV_GET_SPEED: Requesting the conveyor speed....................................... 79
10.11.4 CONV_GET_WP_COUNT: Component counter................................................... 79
11 Troubleshooting....................................................................................... 81
11.1 Robot leaves the path in external mode EXT...................................................... 81
11.2 Modifying the program override............................................................................ 81
11.3 The decision to track a workpiece is made in the advance run......................... 82
11.4 Connection to position tracker broken.................................................................. 83
12 Messages.................................................................................................. 85
12.1 Information about the messages.......................................................................... 85
12.2 System messages from module: Conveyor.......................................................... 85
12.2.1 Conveyor 01002.................................................................................................... 85
12.2.2 Conveyor 01007.................................................................................................... 87
12.2.3 Conveyor 01008.................................................................................................... 89
12.2.4 Conveyor 01010.................................................................................................... 90
12.2.5 Conveyor 01011.................................................................................................... 91
12.2.6 Conveyor 01018.................................................................................................... 93
13 KUKA Service........................................................................................... 99
13.1 Requesting support............................................................................................... 99
13.2 KUKA Customer Support...................................................................................... 99
Index 107
Introduction
1 Introduction
Safety
These warnings are provided for safety purposes and must be observed.
DANGER
These warnings mean that it is certain or highly probable that death or
severe injuries will occur, if no precautions are taken.
WARNING
These warnings mean that death or severe injuries may occur, if no
precautions are taken.
CAUTION
These warnings mean that minor injuries may occur, if no precautions
are taken.
NOTICE
These warnings mean that damage to property may occur, if no precau-
tions are taken.
Notices
Term Description
Conveyor Moving conveyor equipment, e.g. belt, chain, etc.
CRC Cyclic Redundancy Check
ESD ElectroStatic Discharge
On-the-fly synchro- Direct transition between robot motions that are
nization independent of the conveyor and motions that are
synchronized with the conveyor.
Tracking distance Distance over which the robot tracks the work-
piece on the conveyor
KLI KUKA Line Interface
The KLI is the Ethernet interface of the robot con-
troller for external communication. It is a physical
interface and can contain multiple virtual interfa-
ces.
KSB KUKA System Bus
KUKA bus for internal networking of the control-
lers with each other
PTP Precision Time Protocol
Network protocol for synchronization of clocks in
computer networks
RDC Resolver Digital Converter
Resolver Measurement system which calculates the dis-
tance that a conveyor has traveled
PLC Programmable Logic Controller
1.5 Trademarks
1.6 Licenses
The KUKA license conditions and the license conditions of the open-
source software used can be found in the following folders:
Introduction
• Under .\LICENSE on the data storage medium with the installation
files of the KUKA software
• Under D:\KUKA_OPT\Option package name\LICENSE after installation
on the robot controller
• In the license folder under the name of the option package in the Op-
tions catalog after installation in WorkVisual
Product description
2 Product description
Functions
1 Linear conveyor
2 Circular conveyor
3 Robot controller
4 Robot
Areas of application
Communication
The resolver transfers data from the conveyor to the robot controller. The
controller uses these data to calculate the transformations necessary to
synchronize the robot with the conveyor.
Use
Misuse
Safety
3 Safety
This documentation contains safety instructions which refer specifically to
the option package described here.
The fundamental safety information for the industrial robot can be found in
the “Safety” chapter of the Operating and Programming Instructions for
System Integrators or the Operating and Programming Instructions for End
Users.
The “Safety” chapter in the operating and programming instructions of
the KUKA System Software (KSS) must be observed. Death to persons,
severe injuries or considerable damage to property may otherwise re-
sult.
NOTICE
The limit values for input and supply voltages must not be exceeded; in-
dividual components or complete modules may otherwise be damaged.
The corresponding ESD guidelines must be observed when handling
modules for use in the robot controller. These modules are fitted with
high-quality components and are very sensitive to electrostatic discharg-
es (e.s.d.).
Planning
4 Planning
1 KR C4 robot controller
2 RDC
3 Robot
4 Resolver cable
5 Resolver
6 Conveyor
7 Synchronization switch
8 Cable for synchronization switch
9 “Fast measurement” option
Description
Precondition
Time synchronization
The time synchronization can be implemented via one of the following in-
terfaces on the robot controller:
• RoboTeam interface X70 (KSB)
• KLI
If multiple robot controllers are to be synchronized with a higher-level con-
troller, the devices must be connected to a switch in a star configuration.
It must be ensured that the switch supports the PTP protocol. Hardware
support is recommended, as the synchronization accuracy is reduced in
the case of software support. The use of switches that do not support
PTP is not recommended, as the accuracy may be adversely affected by
a number of milliseconds depending on the load.
Planning
8 Time synchronization
9 Field bus for workpiece information
Planning
Description
In order to detect errors during the transfer of data from the PLC to the
robot controller, the data stream must be provided with a checksum. In
the robot controller, the evaluation of the checksum is implemented as fol-
lows in the programming language C++.
TYPE ConveyorPLCtoKRC:
STRUCT
CmdWord : WORD;
PacketCounter : WORD;
ConvValue_1 : UDINT;
ConvValue_2 : UDINT;
PieceIdentifierOut : WORD;
Time_1 : UDINT;
Time_2 : UDINT;
Position_1 : UDINT;
Position_2 : UDINT;
CheckSumOut : UDINT;
END_STRUCT
END_TYPE
Planning
16#c8d75180, 16#bfd06116, 16#21b4f4b5, 16#56b3c423,
16#cfba9599,
16#b8bda50f, 16#2802b89e, 16#5f058808, 16#c60cd9b2,
16#b10be924,
16#2f6f7c87, 16#58684c11, 16#c1611dab, 16#b6662d3d,
16#76dc4190,
16#01db7106, 16#98d220bc, 16#efd5102a, 16#71b18589,
16#06b6b51f,
16#9fbfe4a5, 16#e8b8d433, 16#7807c9a2, 16#0f00f934,
16#9609a88e,
16#e10e9818, 16#7f6a0dbb, 16#086d3d2d, 16#91646c97,
16#e6635c01,
16#6B6B51F4, 16#1C6C6162, 16#856530D8, 16#F262004E,
16#6C0695ED,
16#1b01a57b, 16#8208f4c1, 16#f50fc457, 16#65b0d9c6,
16#12b7e950,
16#8bbeb8ea, 16#fcb9887c, 16#62dd1ddf, 16#15da2d49,
16#8cd37cf3,
16#fbd44c65, 16#4db26158, 16#3ab551ce, 16#a3bc0074,
16#d4bb30e2,
16#4adfa541, 16#3dd895d7, 16#a4d1c46d, 16#d3d6f4fb,
16#4369e96a,
16#346ed9fc, 16#ad678846, 16#da60b8d0, 16#44042d73,
16#33031de5,
16#aa0a4c5f, 16#dd0d7cc9, 16#5005713c, 16#270241aa,
16#be0b1010,
16#c90c2086, 16#5768b525, 16#206f85b3, 16#b966d409,
16#ce61e49f,
16#5edef90e, 16#29d9c998, 16#b0d09822, 16#c7d7a8b4,
16#59b33d17,
16#2eb40d81, 16#b7bd5c3b, 16#c0ba6cad, 16#edb88320,
16#9abfb3b6,
16#03b6e20c, 16#74b1d29a, 16#ead54739, 16#9dd277af,
16#04db2615,
16#73dc1683, 16#e3630b12, 16#94643b84, 16#0d6d6a3e,
16#7a6a5aa8,
16#e40ecf0b, 16#9309ff9d, 16#0a00ae27, 16#7d079eb1,
16#f00f9344,
16#8708a3d2, 16#1e01f268, 16#6906c2fe, 16#f762575d,
16#806567cb,
16#196c3671, 16#6e6b06e7, 16#fed41b76, 16#89d32be0,
16#10da7a5a,
16#67dd4acc, 16#f9b9df6f, 16#8ebeeff9, 16#17b7be43,
16#60b08ed5,
16#d6d6a3e8, 16#a1d1937e, 16#38d8c2c4, 16#4fdff252,
16#d1bb67f1,
16#a6bc5767, 16#3fb506dd, 16#48b2364b, 16#d80d2bda,
16#af0a1b4c,
16#36034af6, 16#41047a60, 16#df60efc3, 16#a867df55,
16#316e8eef,
16#4669be79, 16#cb61b38c, 16#bc66831a, 16#256fd2a0,
16#5268e236,
16#cc0c7795, 16#bb0b4703, 16#220216b9, 16#5505262f,
16#c5ba3bbe,
16#b2bd0b28, 16#2bb45a92, 16#5cb36a04, 16#c2d7ffa7,
16#b5d0cf31,
16#2cd99e8b, 16#5bdeae1d, 16#9b64c2b0, 16#ec63f226,
16#756aa39c,
16#026d930a, 16#9c0906a9, 16#eb0e363f, 16#72076785,
16#05005713,
16#95bf4a82, 16#e2b87a14, 16#7bb12bae, 16#0cb61b38,
16#92d28e9b,
16#E5D5BE0D, 16#7CDCEFB7, 16#0BDBDF21, 16#86D3D2D4,
16#F1D4E242,
16#68ddb3f8, 16#1fda836e, 16#81be16cd, 16#f6b9265b,
16#6fb077e1,
------------------------------------------------
[...]
(*
The array bytesForCRC position 0 to 29 must contain the
data which should be sent to the KRC.
bytesForCRC is only used for the calculation of the
checksum,
not for sending the data, for sending DataToKRC is used.
*)
pos2temp := 16#00000000;
pos2 := 16#00000000;
crc2 := 16#00000000;
crc := 16#00000000
arrayLen := SIZEOF(bytesForCRC) - 1;
FOR i := 0 TO arrayLen BY 1 DO
crc := crc2;
pos2temp := crc XOR bytesForCRC[i];
pos2 := pos2temp AND 16#FF;
(*shift right by 8 bits*)
crc := SHR(crc, 8);
crc2:= crcTable[pos2] XOR crc;
END_FOR
(*
Planning
The variable crc2 contains the checksum for the data.
The value must be copied into the send structure to the
KRC.
*)
DataToKRC.CheckSumOut := crc2;
5.1 Overview
Step Description
1 Connect resolver to RDC (not for external conveyors).
(>>> 5.2 "Connecting a resolver to the RDC" Page 25)
2 Configure ConveyorTech in WorkVisual.
(>>> 7.1 "Overview: configuration in WorkVisual" Page 33)
3 Calibrate the conveyor.
(>>> 9.1 "Calibrating a linear conveyor" Page 55)
(>>> 9.2 "Calibrating a circular conveyor" Page 56)
4 Check the conveyor distance. (optional)
(>>> 9.3 "Checking the conveyor distance" Page 57)
5 Calibrate the workpiece on the conveyor. (optional)
(>>> 9.4 "Calibrating the workpiece on the conveyor"
Page 58)
Description
Procedure
1. Unscrew 4 fastening screws from the housing cover of the RDC and
remove the cover.
2. Plug the flat connector of the connecting cable into one of the free
connections via the SKINTOP® cable gland. The cable gland is loca-
ted on the side of the RDC box. The connector locks itself in place.
Installation
6 Installation
The option package can either be installed on the robot controller via the
smartHMI or via WorkVisual.
Hardware
Robot controller:
• KR C4
Robot:
Software
Robot controller:
• WorkVisual 5.0.x
The requirements for installation of WorkVisual are contained in the
WorkVisual documentation.
The numbers of the required releases must be taken from the file Relea-
seNotes_[…].txt. The file is located on the data storage medium contain-
ing KUKA.ConveyorTech 7.1.
Description
Precondition
• No program is selected.
• Network connection to the robot controller
• The option package is available as a KOP file.
Procedure
LOG file
Precondition
Procedure
Installation
Information about procedures in WorkVisual is contained in the WorkVi-
sual documentation.
LOG file
Precondition
NOTICE
We recommend using a KUKA USB stick. Data may be lost if a stick
from a different manufacturer is used.
Procedure
LOG file
Precondition
Procedure
LOG file
Configuration
7 Configuration
Step Description
1 Install the Conveyor option package in WorkVisual.
2 Load the project from the robot controller.
3 Insert the conveyor in the project.
(>>> 7.2 "Inserting a conveyor in a project" Page 33)
4 Insert the resolver into the project and modify the connec-
tion between the synchronization switch and the CIB if re-
quired (not for external conveyors).
(>>> 7.3 "Inserting a resolver in a project" Page 34)
(>>> 7.4 "Modifying the connection between the synchroni-
zation switch and the CIB" Page 35)
5 Define the conveyor as motion master.
(>>> 7.5 "Defining the conveyor as motion master"
Page 36)
6 Configure time synchronization (only for external convey-
ors).
(>>> 7.6 "Configuring time synchronization" Page 37)
7 Configure the conveyor parameters in the machine data.
(>>> 7.7 "Configuring conveyor parameters in the machine
data" Page 39)
8 Edit the global conveyor settings.
(>>> 7.8 "Editing global conveyor settings" Page 45)
9 Generate long texts for conveyor I/Os.
(>>> 7.9 "Configuring I/Os and adding long texts"
Page 45)
10 Transfer the project from WorkVisual to the robot controller.
Description
Precondition
Procedure
Description
For every conveyor that is connected to the RDC of the robot via a re-
solver, a resolver must be inserted into the WorkVisual project. This is not
necessary for external conveyors.
Precondition
Procedure
Configuration
Example
7.4 Modifying the connection between the synchronization switch and the
CIB
Description
When the resolver is inserted into the WorkVisual project, the synchroniza-
tion switch on the conveyor is automatically connected to the next free in-
put of interface X33 (Fast Measurement). If the real synchronization switch
has been wired to a different input of the interface, the connection must
be changed in WorkVisual.
For external conveyors connected to the robot controller via a higher-
level controller, the following procedure is not relevant.
Precondition
Procedure
Example
Precondition
Procedure
1. Open the Cell configuration window: Menu sequence Editors > Cell
configuration
2. Click on the robot in the cell configuration and hold down the mouse
button.
3. Drag the mouse pointer to the conveyor and release the mouse but-
ton. A selection menu is opened.
4. Click on Robot should follow conveyor.
The robot can now follow the conveyor. This is indicated by a dotted
arrow. The arrow is red if the root points have not yet been calibrated.
5. Open the Tool/base management editor and assign a number to the
BASE coordinate system of the workpiece. The motions are taught in
this BASE coordinate system.
6. Optional: Add further BASE coordinate systems to the conveyor.
a. Click on Reset filter. The Available tools and bases area is dis-
played.
b. In this area, add one or more BASE coordinate systems to the
conveyor. The names of the coordinate systems can be changed.
Configuration
c. Assign a number to each coordinate system.
7. Close the Cell configuration window.
Example
Description
For use of an external conveyor, it is necessary for the clocks of the con-
troller and the external system to be synchronized. For this, time synchro-
nization must be activated in the additional controller options in WorkVisu-
al and, depending on the system configuration, further settings must be
carried out:
• Define the interface for time synchronization (KSB or KLI).
• Optional: Activate VLAN tagging for KSB.
Precondition:
Precondition
• A project is open.
• The robot has been inserted into the project and configured.
• An external conveyor has been inserted in the project.
Procedure
Parameter
Name Description
Activate time syn- Activating/deactivating time synchronization
chronization
• Check box active: Time synchronization is
activated.
• Check box not active: Time synchronization
is deactivated.
Default: Check box not active
Time synchronization Interface for time synchronization via the net-
interface work
• KSB (PTPv1)
The KSB only supports PTPv1.
• KLI (PTPv2)
The KLI only supports PTPv2.
Default: KSB (PTPv1)
Activate VLAN tag- Activating/deactivating VLAN tagging for KSB
ging (KSB)
If VLAN tagging is activated, the data packets
are labeled and transferred with ID 10.
Configuration
7.7 Configuring conveyor parameters in the machine data
Description
Precondition
Procedure
• 1
• 9
• 17
• …
Default: 1
First output bit First bit for outputs of the I/O mapping for the
external conveyor
Arranged by bytes:
• 1
• 9
• 17
• …
Default: 1
Name Description
Number of IPO cy- Number of interpolation cycles for calculating
cles the average conveyor velocity
If higher values are used, the robot motions
are smoother. This also has the effect, howev-
er, that the robot responds more slowly to
changes in the velocity of the conveyor.
Default: 10
Filter active Activating/deactivating filters
The filter compensates for small, jerky changes
to the velocity of the conveyor and thus en-
sures a smooth robot motion.
• 1st conveyor: 0
• 2nd conveyor: 10
• 3rd conveyor: 20
• 4th conveyor: -1
• 5th conveyor: -1
Note: A trace recording can be created for a
maximum of 1 conveyor at a time. A total of 32
channels are available for a recording and
each conveyor requires 19 channels. If a trace
recording is to be created for a conveyor, this
must be configured accordingly.
Resolver transmis- Transmission ratio between the translational or
sion ratio rotational distance traveled by the conveyor
and the number degrees supplied by the re-
solver
Default: 10
Note: This parameter is automatically calcula-
ted during calibration. No modification is
usually necessary.
Configuration
Name Description
Debouncing [ms] Cannot be configured for external conveyors
Minimum time (in ms) between 2 measurement
signals in order to be able to interpret them as
2 separate signals
Default: 12 ms
Name Description
Alarm distance Alarm distance
If the robot tracks a workpiece on the conveyor
over the alarm distance, a corresponding mes-
sage is generated and a configured output is
reset.
Default values:
Name Description
Output for stop sig- Output number for $STOPMESS error
nal
Default: 701 … 705
As standard, a stop request of the robot triggers a drive ramp stop; the
conveyor continues moving and the synchronization is lost.
Alternatively, a stop strategy can be configured in which the conveyor also
stops in the case of a stop request of the robot and the synchronization is
retained.
Name Description
Stop strategy Stop strategy
• GEN_STOP
A stop request of the robot leads to a drive
ramp stop. The conveyor continues moving
and the synchronization is lost.
• CONV_STOPPABLE
In the case of a stop request of the robot,
the robot controller sets an output that is
linked to a higher-level controller from
TRUE to FALSE. The higher-level controller
can then stop the conveyor synchronously
with the robot.
Default: GEN_STOP
Timeout for confir- Only relevant for the stop strategy
mation [ms] CONV_STOPPABLE
MON_TIME_ACKNOWLEDGE: Time within
which, at the latest, the higher-level controller
must have confirmed that it has received the
stop request
Default: 48 ms
Timeout for stop Only relevant for the stop strategy
[ms] CONV_STOPPABLE
MON_TIME_CONV_STOP: Time after receipt
of the stop request within which, at the latest,
the higher-level controller must have stopped
the conveyor
Default: 1500 ms
Input for Stop re- Only relevant for the stop strategy
quest confirmation CONV_STOPPABLE
IN_STOP_ACKNOWLEDGE: Index of the input
$IN[x] used by the higher-level controller to in-
form the robot controller that it has received
the stop request
Default: -1
Configuration
Name Description
Output for Stop re- Only relevant for the stop strategy
quest CONV_STOPPABLE
OUT_STOP_REQUEST: Index of the output
$OUT[x] used to transfer the stop request of
the robot to the higher-level controller
Default: -1
Description
If the stop strategy is configured for a conveyor, a stop request of the ro-
bot results in the following sequence:
1. A stop of the robot is requested during a synchronized motion, e.g. by
pressing the EMERGENCY STOP device on the smartPAD or the
STOP key.
2. The configured output OUT_STOP_REQUEST is set from TRUE to
FALSE.
3. The higher-level controller confirms the stop request via the configured
input IN_STOP_ACKNOWLEDGE (HIGH level expected).
Error case 1:
• Drive ramp stop if the conveyor does not come to a standstill with-
in the configured time MON_TIME_CONV_STOP (BCO is lost.)
5. If the conveyor application is resumed after a reset or after a block se-
lection, the output OUT_STOP_REQUEST is reset to TRUE. The
robot continues tracking the conveyor base.
Good case
The figure shows the signal diagram for the good case: Conveyor applica-
tion can be resumed.
Blue $OUT[OUT_STOP_REQUEST]
Red $IN[IN_STOP_ACKNOWLEDGE]
Green Conveyor progress
Error case 1
The figure shows the signal diagram for the following error case: Confir-
mation from higher-level controller is too late. This results in a drive ramp
stop.
• Configured maximum time for the confirmation: 1200 ms
• Time actually required for the confirmation: 1950 ms
Blue $OUT[OUT_STOP_REQUEST]
Red $IN[IN_STOP_ACKNOWLEDGE]
Green Conveyor progress
Error case 2
The figure shows the signal diagram for the following error case: Convey-
or is stopped too late.
After the higher-level controller has confirmed the stop request, the con-
veyor continues moving and does not stop within the configured time. This
results in a drive ramp stop.
Blue $OUT[OUT_STOP_REQUEST]
Red $IN[IN_STOP_ACKNOWLEDGE]
Green Conveyor progress
Configuration
7.8 Editing global conveyor settings
Description
The global conveyor settings are valid for all conveyors tracked by the ro-
bot and are carried out for each robot controller.
Precondition
Procedure
Parameter
Name Description
Continue after Stop Resuming/stopping robot motion after
$STOPMESS error
• 1 … 32
Default: 1
Description
Long texts can be generated in WorkVisual for the I/O configured in the
machine data of a conveyor.
• The following outputs must be configured for every conveyor type:
‒ Output for alarm distance
‒ Output for stop signal
• The following parameters must additionally be configured for external
conveyors:
‒ First input bit
‒ First output bit
• The long texts for the I/Os are created in the long text editor accord-
ing to the following pattern:
‒ Conveyor name + Function
Example:
Configuration
Precondition
Procedure
Parameter
Configuration
Name Description
First input bit First bit for inputs of the I/O mapping for the
external conveyor
Arranged by bytes:
• 1
• 9
• 17
• …
Default: 1
First output bit First bit for outputs of the I/O mapping for the
external conveyor
Arranged by bytes:
• 1
• 9
• 17
• …
Default: 1
Operation
8 Operation
Description
Procedure
Description
Precondition
Procedure
Parameter
Name Description
Continue after Stop Resuming/stopping robot motion after
$STOPMESS error
• 1 … 32
Default: 1
Description
These settings are configured in WorkVisual for each conveyor in the sys-
tem, but can be modified subsequently on the smartHMI.
Precondition
Procedure
Operation
Parameters
Name Description
Number of IPO cy- Number of interpolation cycles for calculating
cles the average conveyor velocity
If higher values are used, the robot motions
are smoother. This also has the effect, howev-
er, that the robot responds more slowly to
changes in the velocity of the conveyor.
Default: 10
Filter active Activating/deactivating filters
The filter compensates for small, jerky changes
to the velocity of the conveyor and thus en-
sures a smooth robot motion.
• 1st conveyor: 0
• 2nd conveyor: 10
• 3rd conveyor: 20
• 4th conveyor: -1
• 5th conveyor: -1
Note: A trace recording can be created for a
maximum of 1 conveyor at a time. A total of 32
channels are available for a recording and
each conveyor requires 19 channels. If a trace
recording is to be created for a conveyor, this
must be configured accordingly.
Description
The alarm and stop distances are configured in WorkVisual for each con-
veyor in the system, but can be modified subsequently on the smartHMI.
Precondition
Procedure
Parameter
Name Description
Alarm distance Alarm distance
If the robot tracks a workpiece on the conveyor
over the alarm distance, a corresponding mes-
sage is generated and a configured output is
reset.
Default values:
Operation
Name Description
Interrupt for stop Interrupt number for a $STOPMESS error dur-
signal ing the conveyor tracking motion
The number determines the priority in which si-
multaneous interrupts are executed.
$STOPMESS is set in order to indicate the oc-
currence of a message requiring the robot to
be stopped (e.g. EMERGENCY STOP or oper-
ator safety violation).
Default: 31 … 35
Output for alarm dis- Output number for the alarm distance
tance
Default: 731 … 735
Output for stop sig- Output number for $STOPMESS error
nal
Default: 701 … 705
1 Wait distance
Distance traveled by the workpiece while the robot waits before
starting to track the workpiece on the conveyor
2 Maximum distance
Maximum distance traveled by the workpiece before the robot
starts to synchronize itself with the workpiece
3 Workpiece tracking
4 Alarm distance
5 Maximum conveyor distance
Wait distance and maximum distance are defined using the inline forms
Follow and Skip in the conveyor application program.
Calibration
9 Calibration
Description
Calibration is carried out using 3 points. These points are labeled P1, P2
and P3 in the following diagram.
The accuracy of the conveyor applications created subsequently de-
pends on the accuracy with which these points are calibrated. Ensure
that the TCP points exactly to the point in question.
Precondition
• Operating mode T1
Procedure
1. In the main menu, select Start-up > Calibrate > Conveyor > Calibra-
tion. The Conveyor calibration window opens.
2. In the Calibration box, select the entry Calibrate conveyor.
3. In the Conveyor box, select the conveyor to be calibrated.
4. In the Measuring tool box, select the number of the tool (gauge pin)
used.
5. Press Execute. The calibration is started.
6. Place the workpiece on the conveyor and start the conveyor.
7. Once the workpiece has passed the synchronization switch and the
synchronization signal has been detected, stop the conveyor and
press Next.
8. Move the TCP to the origin of the conveyor BASE (P1) and press
Continue.
9. Move the conveyor and then stop it again.
10. Position the TCP at the now offset origin (P2) and press Continue.
11. Move the TCP to any point in the positive XY plane of the conveyor
BASE (P3) and press Finish.
Description
Calibration is carried out using 3 points. These points are labeled P1, P2
and P3 in the following diagram.
The accuracy of the conveyor applications created subsequently de-
pends on the accuracy with which these points are calibrated. Ensure
that the TCP points exactly to the point in question.
ated on the X axis of the conveyor BASE and defines the orientation of
Calibration
the conveyor BASE. The origin of the conveyor BASE is situated in the
(virtual) pivot point of the circular conveyor. All conveyor programs will use
this BASE as a reference. In order to be able to repeat the calibration, it
is important to define and mark this reference point in such a way that it
can be used again.
Point P2 is point P1, but offset by the distance traveled by the conveyor.
P2 should be in the middle of the area in which the robot can track the
workpiece on the conveyor.
Point P3 is also point P1, but offset by the distance traveled by the con-
veyor after P2. P3 should be as near as possible to the end of the area in
which the robot can track the workpiece on the conveyor.
Precondition
• Operating mode T1
Procedure
1. In the main menu, select Start-up > Calibrate > Conveyor > Calibra-
tion. The Conveyor calibration window opens.
2. In the Calibration box, select the entry Calibrate conveyor.
3. In the Conveyor box, select the conveyor to be calibrated.
4. In the Measuring tool box, select the number of the tool (gauge pin)
used.
5. Press Execute. The calibration is started.
6. Place the workpiece on the conveyor and start the conveyor.
7. Once the workpiece has passed the synchronization switch and the
synchronization signal has been detected, stop the conveyor and
press Next.
8. Move the TCP to a point on the positive X axis of the conveyor BASE
(point P1) and press Continue.
9. Jog the conveyor.
10. Position the TCP at the now offset point P1 (P2) and press Continue.
The point should be near the middle of the tracking zone.
11. Jog the conveyor.
12. Position the TCP at the now even further offset point P1 (P3). The
point should be as near as possible to the end of the tracking zone.
13. Press Finish.
Description
Once the conveyor has been calibrated it is possible to check the meas-
ured conveyor distance. This is saved in the variable CAL_DIG[x].
Precondition
• Operating mode T1
Procedure
1. In the main menu, select Start-up > Calibrate > Conveyor > Calibra-
tion. The Conveyor calibration window opens.
2. In the Calibration box, select the entry Check resolver ratio.
3. In the Conveyor box, select the conveyor for which the conveyor dis-
tance is to be checked.
4. In the Measuring tool box, select the number of the tool (gauge pin)
used.
5. Press Execute. The check is started.
6. Place the workpiece on the conveyor and start the conveyor.
7. Once the workpiece has passed the synchronization switch and the
synchronization signal has been detected, allow the conveyor to run a
little further. Then stop it and press Next. The distance should be long
enough to be measured easily.
8. Measure the distance between the workpiece and the synchronization
point.
9. Compare the displayed value with the measured value.
10. If the value matches, press Cancel and answer the request for confir-
mation with Yes.
If the value does not match, calibrate the conveyor again or carry out
the following steps:
a. Press Modify.
b. Enter the manually measured value in the Distance or Angle box.
c. Press Finish.
Description
1 Conveyor 2 Workpiece
Point P4 is the coordinate origin of the workpiece BASE. The definition of
the workpiece BASE corresponds to the default definition of BASE in the
robot. It is important for the points on the workpiece to be defined unam-
biguously. The exact position at which the conveyor was stopped is insig-
nificant.
Point P5 is a point on the positive X axis of the workpiece BASE.
Point P6 is a point in the positive XY plane of the workpiece BASE.
Precondition
Calibration
Procedure
1. In the main menu, select Start-up > Calibrate > Conveyor > Calibra-
tion. The Conveyor calibration window opens.
2. In the Calibration box, select the entry Calibrate part base.
3. In the Conveyor box, select the conveyor on which the workpiece is
to be calibrated.
4. In the Measuring tool box, select the number of the tool (gauge pin)
used.
5. Only if more than one BASE coordinate system has been configured
in WorkVisual: in the Part base box, select the BASE coordinate sys-
tem that is to be calibrated.
6. Press Execute. The calibration is started.
7. Place the workpiece on the conveyor and start the conveyor.
8. Once the workpiece has passed the synchronization switch and the
synchronization signal has been detected, allow the conveyor to run a
little further and stop it at a position in which the workpiece BASE can
be measured easily. Then press Next.
9. Move the TCP to the coordinate origin of the workpiece BASE (P4)
and press Continue.
10. Move the TCP to a point on the positive X axis (P5) and press Con-
tinue.
11. Move the TCP to a point in the positive XY plane of the workpiece
BASE (P6) and press Finish.
Programming
10 Programming
Description
Precondition
• Not all folders allow the creation of new folders within them.
• User rights: Function group File operations
‒ Depending on the folder in which the program is to be created, the
“Expert” user group or higher may be required.
Procedure
Conveyor template
1 DEF Conveyor()
2
3 INI
4 CONV INI
5
6 PTP HOME Vel= 100 % DEFAULT
7
8 LOOP
9
10 ENDLOOP
11
12 END
13
14 DEF CONV_MOV(Z_CONV_NBR:IN,Z_MOV_NBR:IN)
15 INI CONV_MOV
16
17 CONVEYOR 1 MOVEMENT GROUP 1
18
19 CONVEYOR 1 MOVEMENT GROUP 2
20
21 CONVEYOR 2 MOVEMENT GROUP 1
22
23 CONVEYOR 2 MOVEMENT GROUP 2
24
25 CONVEYOR 3 MOVEMENT GROUP 1
26
27 CONVEYOR 3 MOVEMENT GROUP 2
28
29 END CONV_MOV
30 CONTINUE
31 END
32
33 DEF CONV_QUIT(Z_CONV_NBR:IN,B_STOP_AFTER_LEAVING:IN)
34 INT Z_CONV_NBR
35 BOOL B_STOP_AFTER_LEAVING
36 INT Z_ADVANCE_OLD
37
38 Z_ADVANCE_OLD=$ADVANCE
39 IF (B_QUIT_BECAUSE_EMS OR B_QUIT_BECAUSE_MAX_DIST) THEN
40 ;********************************************
41 ;Strategy for the robot to leave the conveyor
42 ;if there was an EMS or MAX_DIST reached
43 ;while synchronising.
44 ;********************************************
45 SWITCH Z_CONV_NBR
46 CASE 1
47 $BASE=$NULLFRAME
48 LIN_REL {Z 0.0}
49 CASE 2
50 $BASE=$NULLFRAME
51 LIN_REL {Z 0.0}
52 CASE 3
53 $BASE=$NULLFRAME
54 LIN_REL {Z 0.0}
55 ENDSWITCH
56 IF B_STOP_AFTER_LEAVING THEN
57 ;*****************************
58 ;* Robot Stopped because of *
59 ;* error while synchronising *
60 ;* EMS or MAX_DIST reached *
61 ;*****************************
62 LOOP
63 HALT
64 ENDLOOP
65 ENDIF
66 ENDIF
67 $ADVANCE=Z_ADVANCE_OLD
68 END
Programming
Line Description
5 … 7 The following conveyor instructions must be inserted before
the LOOP.
Description
The command IniOff can be used to initialize a conveyor. For this, the
conveyor distance is set to 0.
Precondition
Procedure
1. Position the cursor in the line after which the instruction is to be inser-
ted.
2. Select the menu sequence Commands > Conveyor > IniOff.
3. In the inline form, select the conveyor to be initialized.
4. Press Cmd OK to save the instruction.
Item Description
1 Conveyor
The available conveyors are configured in WorkVisual. The
names of the conveyors can be changed in WorkVisual.
Description
The On command can be used to activate the conveyor driver. If the con-
veyor driver is activated, the synchronization signals at the input of inter-
face X33 (Fast Measurement) are evaluated.
The conveyor offset can be detected out in the background and the robot
controller can perform other tasks. This allows the robot to carry out on-
the-fly tracking of a part on the conveyor. The conveyor distance can be
monitored using the system variable $SEN_PREA_C[].
The instruction Conveyor.ON can only be executed if the conveyor has
been initialized using the instruction Conveyor.INI_OFF.
Precondition
Procedure
1. Position the cursor in the line after which the instruction is to be inser-
ted.
2. Select the menu sequence Commands > Conveyor > On.
3. In the inline form, select the conveyor for which the driver is to be ac-
tivated.
4. Press Cmd OK to save the instruction.
Item Description
1 Conveyor
The available conveyors are configured in WorkVisual. The
names of the conveyors can be changed in WorkVisual.
Description
Programming
The instruction Conveyor.FOLLOW can only be executed if the conveyor
driver has been activated using the instruction Conveyor.ON.
Precondition
Procedure
1. Position the cursor in the line after which the instruction is to be inser-
ted.
2. Select the menu sequence Commands > Conveyor > Follow.
3. In the inline form, select the desired conveyor and set the parameters
for the workpiece tracking on the conveyor.
4. Press Cmd OK to save the instruction.
Item Description
1 Maximum wait time (in seconds)
It is possible to define the maximum time to wait for synchroni-
zation. Once the specified time has elapsed, execution of the
command is aborted.
2 Conveyor
The available conveyors are configured in WorkVisual. The
names of the conveyors can be changed in WorkVisual.
3 Number of the digital input
Digital input via which execution of the command can be abor-
ted.
4 Number of the motion group
Two different motion groups can be programmed for each con-
veyor.
5 Logic level
• TRUE
• FALSE
When the specified value is set at the configured digital input
(item 3), execution of the command is aborted.
Item Description
6 Flag number
Flag via which execution of the command can be aborted.
7 Logic level
• TRUE
• FALSE
When the specified value is set on the configured flag (item 6),
execution of the command is aborted.
8 Distance traveled by the workpiece while the robot waits before
starting to track the workpiece on the conveyor.
1 DEF Conveyor()
2
3 INI
4 CONV INI
5
6 PTP HOME Vel= 100 % DEFAULT
7 PTP P5 Vel=10 % PDAT2 Tool[1] Base[0]
8
9 Conveyor.INI_OFF LinearConveyor1
10 Conveyor.ON LinearConveyor1
11
12 LOOP
13
14 PTP P7 Vel=10 % PDAT4 Tool[1] Base[0]
15
16 Conveyor.FOLLOW LinearConveyor1, Movement 1, Cancel on:
Max_time 240, Input 1, Input-Level TRUE, Flag 1, Flag-
Level TRUE, WaitDist 100, MaxDist 1500
17 Conveyor.Quit LinearConveyor1, Stop after error FALSE
18
19 ENDLOOP
20 END
21 __________________________________________________________
______
22 DEF CONV_MOV(Z_CONV_NBR:IN,Z_MOV_NBR:IN)
23 INI CONV_MOV
24
25 CONVEYOR 1 MOVEMENT GROUP 1
26 LIN P2 Vel=0.3 m/s CPDAT1 Tool[1] Base[1]:LinearConveyor1
27 LIN P3 Vel=0.3 m/s CPDAT2 Tool[1] Base[1]:LinearConveyor1
28
29 CONVEYOR 1 MOVEMENT GROUP 2
30 ;...
Programming
Line Description
9 The instruction Conveyor.INI_OFF initializes the conveyor.
10 The instruction Conveyor.ON activates the conveyor driver.
14 The robot is moved to the conveyor wait position P7.
16 The robot waits a maximum of 240 seconds for a synchroniza-
tion signal.
17 The program jumps to this point if the wait time for a synchro-
nization signal has expired or if input 1 or flag 1 is set to the
level TRUE. The process is then terminated.
25 Once a synchronization signal has been received, program ex-
ecution is resumed from this point.
Description
Precondition
Procedure
1. Position the cursor in the line after which the instruction is to be inser-
ted.
2. Select the menu sequence Commands > Conveyor > Skip.
3. In the inline form, select the desired conveyor and set the parameters
for the workpiece pickup on the conveyor.
4. Press Cmd OK to save the instruction.
Item Description
1 Number of the motion group
Two different motion groups can be programmed for each con-
veyor.
2 Conveyor
The available conveyors are configured in WorkVisual. The
names of the conveyors can be changed in WorkVisual.
3 Maximum wait time (in seconds)
It is possible to define the maximum time to wait for synchroni-
zation. Once the specified time has elapsed, execution of the
command is aborted.
4 Number of the digital input
Digital input via which execution of the command can be abor-
ted.
5 The number entered specifies which workpieces are to be
picked up.
Examples:
• TRUE
• FALSE
When the specified value is set at the configured digital input
(item 4), execution of the command is aborted.
7 Maximum distance traveled by the workpiece before the robot
starts to synchronize itself with the workpiece.
• TRUE
• FALSE
When the specified value is set on the configured flag (item 8),
execution of the command is aborted.
10 Distance traveled by the workpiece while the robot waits before
starting to track the workpiece on the conveyor.
1 DEF Conveyor()
2
3 INI
4 CONV INI
Programming
5
6 PTP HOME Vel= 100 % DEFAULT
7 PTP P5 Vel=10 % PDAT2 Tool[1] Base[0]
8
9 Conveyor.INI_OFF LinearConveyor1
10 Conveyor.ON LinearConveyor1
11 Conveyor.FOLLOW LinearConveyor1, Movement 1, Cancel on:
Max_time 240, Input 1, Input-Level TRUE, Flag 1, Flag-
Level TRUE, WaitDist 100, MaxDist 1900
12
13 LOOP
14
15 PTP P5 Vel=10 % PDAT2 Tool[1] Base[0]
16
17 Conveyor.Skip LinearConveyor1, Skip to part index 2,
Movement 1, Cancel on: Max_time 240, Input 1, Input-
Level TRUE, Flag 1, Flag-Level TRUE, WaitDist 100,
MaxDist 1900
18 Conveyor.Quit LinearConveyor1, Stop after error FALSE
19
20 ENDLOOP
21 END
22 __________________________________________________________
______
23 DEF CONV_MOV(Z_CONV_NBR:IN,Z_MOV_NBR:IN)
24 INI CONV_MOV
25
26 CONVEYOR 1 MOVEMENT GROUP 1
27 LIN P2 Vel=0.3 m/s CPDAT1 Tool[1] Base[1]:LinearConveyor1
28 LIN P3 Vel=0.3 m/s CPDAT2 Tool[1] Base[1]:LinearConveyor1
29
30 CONVEYOR 1 MOVEMENT GROUP 2
31 ;...
Line Description
7 The robot is moved to the conveyor wait position P5.
9 The instruction Conveyor.INI_OFF initializes the conveyor.
Note: If the instruction Conveyor.Skip is used, the instruction
Conveyor.INI_OFF must always be located outside the LOOP.
10 The instruction Conveyor.ON activates the conveyor driver.
Note: If the instruction Conveyor.Skip is used, the instruction
Conveyor.ON must always be located outside the LOOP.
11 The instruction Conveyor.FOLLOW starts the workpiece track-
ing.
Note: If the instruction Conveyor.Skip is used, the instruction
Conveyor.FOLLOW must be called at least once outside the
LOOP.
17 The robot waits a maximum of 240 seconds for a synchroniza-
tion signal.
18 The program jumps to this point if the wait time for a synchro-
nization signal has expired or if input 1 or flag 1 is set to the
level TRUE. The process is then terminated.
26 Once a synchronization signal has been received, program ex-
ecution is resumed from this point.
Description
The Quit command can be used to program whether the robot is to leave
the conveyor area in the following cases.
• EMERGENCY STOP in the case of a synchronous motion
• Reaching the maximum conveyor distance the robot can travel as a
synchronized motion
The motions to move the robot out of the conveyor area must be pro-
grammed in the subprogram CONV_QUIT. These motion cannot be
synchronized with the conveyor and are executed relative to the WORLD
coordinate system.
Precondition
Procedure
1. Position the cursor in the line after which the instruction is to be inser-
ted.
2. Select the menu sequence Commands > Conveyor > Quit.
3. In the inline form, select the desired conveyor and set the parameters
for the conveyor.
4. Press Cmd OK to save the instruction.
Item Description
1 Conveyor
The available conveyors are configured in WorkVisual. The
names of the conveyors can be changed in WorkVisual.
2 Stop after error
Programming
Item Description
3 Reset distance
Description
Precondition
Procedure
1. Execute the basic conveyor program until the robot has reached the
position where it waits for synchronization.
2. Execute the instruction Conveyor.FOLLOW.
3. Answer the message with Yes. Teach mode is activated.
4. Start the conveyor.
5. As soon as the workpiece has passed the synchronization switch and
the signal has been received from the synchronization switch, stop the
conveyor.
6. The calculated conveyor distance is displayed. Check whether the
conveyor distance is correct.
• If the conveyor distance is correct, press Yes.
• If the conveyor distance is not correct, correct the conveyor dis-
tance.
(>>> 9.3 "Checking the conveyor distance" Page 57)
Then repeat steps 2 to 6.
7. Teach the points of the synchronized motions. In the following dia-
gram, these points are P2, P3 and P4.
1 Conveyor 2 Workpiece
8. Once all points have been taught, the program can be tested in T2
mode.
NOTICE
Program execution must not be stopped while the robot is in the con-
veyor area! Damage to the robot, the workpiece and other equipment
may otherwise result.
NOTICE
Ensure that the last synchronized motion moves the robot out of the
conveyor area. There may otherwise be a collision between the robot
and the conveyor.
Programming
Example of a basic conveyor program
1 DEF Conveyor()
2
3 INI
4 CONV INI
5
6 PTP HOME Vel= 100 % DEFAULT
7 LIN P1 Vel= 2 m/s CPDAT6 Tool[1] Base[0]
8
9 Conveyor.INI_OFF LinearConveyor1
10 Conveyor.ON LinearConveyor1
11 Conveyor.FOLLOW LinearConveyor1, Movement 1, Cancel
on:Max_time 60, Input 1, Input-Level TRUE, Flag 1, Flag-
Level TRUE, WaitDist 10, MaxDist 2000
12 Conveyor.Quit LinearConveyor1, Stop after error FALSE
13
14 LIN P2 Vel=0.5 m/s CPDAT17 Tool[1] Base[0]
15 PTP HOME Vel=100 % DEFAULT
16 END
17 __________________________________________________________
______
18 DEF CONV_MOV(Z_CONV_NBR:IN,Z_MOV_NBR:IN)
19 INI CONV_MOV
20
21 CONVEYOR 1 MOVEMENT GROUP 1
22 LIN P10 Vel=0.5 m/s CPDAT1 Tool[1]
Base[1]:LinearConveyor1
23 LIN P11 Vel=0.5 m/s CPDAT2 Tool[1]
Base[1]:LinearConveyor1
24 LIN P12 Vel=0.2 m/s CPDAT8 Tool[1]
Base[1]:LinearConveyor1
25 LIN P13 Vel=0.5 m/s CPDAT9 Tool[1]
Base[1]:LinearConveyor1
26
27 CONVEYOR 1 MOVEMENT GROUP 2
28 ;...
Line Description
7 The robot is moved from the HOME position to the conveyor
wait position P1.
9 The instruction Conveyor.INI_OFF initializes the conveyor.
10 The instruction Conveyor.ON activates the conveyor driver.
11 The robot waits a maximum of 60 seconds for a synchroniza-
tion signal.
12 The program jumps to this point if the wait time for a synchro-
nization signal has expired or if input 1 or flag 1 is set to the
level TRUE. The process is then terminated.
21 Once a synchronization signal has been received, program ex-
ecution is resumed from this point.
Description
LIN and DLIN motions that are programmed inside a DLIN block are exe-
cuted with maximum velocity and acceleration. A DLIN block triggers an
advance run stop.
Precondition
Procedure
1. Position the cursor in the line after which the DLIN block is to be in-
serted.
2. Select the menu sequence Commands > Motion > DLIN block.
3. Press Cmd OK to save the instruction. The DLIN block is inserted.
4. Program the desired motions in the opened fold of the DLIN block.
Description
Precondition
Procedure
1. Position the cursor in the line after which the instruction is to be inser-
ted.
2. Select the menu sequence Commands > Motion > DLIN Move.
3. Set the parameters in the inline form.
4. Press Cmd OK to save the instruction.
Programming
Item Description
1 Name of the end point
The system automatically generates a name. The name can be
overwritten.
Touch the arrow to edit the point data. The corresponding op-
tion window is opened.
(>>> 10.9.1 "Option window “Frames”" Page 75)
The arrow can also be used to edit the Global point setting.
2 Name for the motion data set
The system automatically generates a name. The name can be
overwritten.
Touch the arrow to edit the point data. The corresponding op-
tion window is opened.
(>>> 10.9.2 "Option window “Velocities”" Page 76)
(>>> 10.9.3 "Option window “Accelerations”" Page 76)
Note: The orientation control type in the Motion parameters
option window corresponds to the orientation control of a LIN
motion.
3 • CONT: End point is approximated.
• [blank]: The motion stops exactly at the end point.
Item Description
1 Tool selection.
Range of values: [1] … [16]
2 Base selection.
Range of values: [1] … [32]
Item Description
1 Maximum path velocity. The value refers to the maximum value
specified in the machine data.
The maximum value depends on the robot type and the selec-
ted operating mode.
2 Maximum swivel velocity. The value refers to the maximum val-
ue specified in the machine data.
The maximum value depends on the robot type and the selec-
ted operating mode.
3 Maximum rotational velocity. The value refers to the maximum
value specified in the machine data.
The maximum value depends on the robot type and the selec-
ted operating mode.
Programming
Item Description
1 Maximum path acceleration. The value refers to the maximum
value specified in the machine data.
The maximum value depends on the robot type and the selec-
ted operating mode.
2 Maximum swivel acceleration. The value refers to the maximum
value specified in the machine data.
The maximum value depends on the robot type and the selec-
ted operating mode.
3 Maximum rotational acceleration. The value refers to the maxi-
mum value specified in the machine data.
The maximum value depends on the robot type and the selec-
ted operating mode.
Description
With the DLIN template, an entire program can be programmed with max-
imum velocity and maximum acceleration. LIN and DLIN motions that are
inserted into the template are executed with maximum velocity and accel-
eration.
A DLIN Block cannot be used in the template. It alters the functionality
of the template.
Precondition
• Not all folders allow the creation of new folders within them.
• User rights: Function group File operations
‒ Depending on the folder in which the program is to be created, the
“Expert” user group or higher may be required.
Procedure
Using special KRL functions, workpieces can be deleted from the work-
piece list of the conveyor driver. Furthermore, the conveyor velocity can
be requested, as can the number of workpieces currently being tracked by
the conveyor.
Description
Syntax
Element Description
DEL_COUNT Number of deleted workpieces
Type: INT
Index Index of the conveyor
Type: INT
Error number Number of the error that occurred during execution of
the function
Type: INT
Example
Description
Syntax
Element Description
DEL_COUNT Number of deleted workpieces
Type: INT
Index Index of the conveyor
Type: INT
Number of Number of workpieces to be deleted
workpieces
Type: INT
Error number Number of the error that occurred during execution of
the function
Type: INT
Programming
Example
Description
Syntax
Element Description
SPEED Current speed of the conveyor
Type: REAL
Index Index of the conveyor
Type: INT
Error number Number of the error that occurred during execution of
the function
Type: INT
Example
Description
Syntax
Element Description
WP_COUNT Number of workpieces currently being tracked by the
conveyor
Type: INT
Index Index of the conveyor
Type: INT
Error number Number of the error that occurred during execution of
the function
Type: INT
Example
Troubleshooting
11 Troubleshooting
WARNING
A robot that is synchronized with a conveyor is controlled not only by
the robot controller, but also partially by the conveyor.
When tracking a part on a conveyor, the robot executes Cartesian mo-
tions in a BASE coordinate system that moves with the conveyor.
In some cases, this can result in hazardous situations if the interface
between the robot controller and the conveyor controller has not been
designed correctly.
WARNING
If a robot that is tracking a part on a conveyor is stopped, the robot
leaves the path relative to the conveyor.
In most cases, this is due to the fact that a moving conveyor cannot
stop as quickly as a robot. In the external mode EXT, in particular, this
can lead to hazardous situations.
Example
Possible remedy
Description
Reducing the program override results in the robot spending more time
tracking a workpiece on a conveyor.
If the robot tracks the workpiece for a longer time, it also tracks it over a
greater distance. This may result in collisions when range limits are
reached.
Possible remedy
$OV_PRO=100
Conveyor.FOLLOW...
• Ensure that robot and conveyor are stopped when range limits are
reached.
Range limits can be defined with the following parameters:
Parameter Description
Alarm distance As soon as the robot reaches this distance,
an output is set. This output can force the
conveyor controller (PLC) to stop the con-
veyor in order to prevent the robot from
moving too far.
Maximum distance As soon as the robot reaches this preset dis-
tance, tracking of the workpiece is aborted.
It is possible to move the robot out of the
conveyor area automatically (CONV_QUIT).
Note: These motions are not synchronized
with the conveyor. Ensure that there is no
collision with the conveyor.
Description
Example
Troubleshooting
Possible remedy
Description
Possible remedy
Messages
12 Messages
The “Messages” chapter contains selected messages. It does not cover all
the messages displayed in the message window.
Possible cause(s) Cause: Positions of the points not selected correctly (>>> Page 85)
Solution: Recalibrate the conveyor system (>>> Page 85)
Description
Description
Calibration is carried out using 3 points. These points are labeled P1, P2
and P3 in the following diagram.
The accuracy of the conveyor applications created subsequently de-
pends on the accuracy with which these points are calibrated. Ensure
that the TCP points exactly to the point in question.
Precondition
• Operating mode T1
Procedure
1. In the main menu, select Start-up > Calibrate > Conveyor > Calibra-
tion. The Conveyor calibration window opens.
2. In the Calibration box, select the entry Calibrate conveyor.
3. In the Conveyor box, select the conveyor to be calibrated.
4. In the Measuring tool box, select the number of the tool (gauge pin)
used.
Messages
5. Press Execute. The calibration is started.
6. Place the workpiece on the conveyor and start the conveyor.
7. Once the workpiece has passed the synchronization switch and the
synchronization signal has been detected, stop the conveyor and
press Next.
8. Move the TCP to a point on the positive X axis of the conveyor BASE
(point P1) and press Continue.
9. Jog the conveyor.
10. Position the TCP at the now offset point P1 (P2) and press Continue.
The point should be near the middle of the tracking zone.
11. Jog the conveyor.
12. Position the TCP at the now even further offset point P1 (P3). The
point should be as near as possible to the end of the tracking zone.
13. Press Finish.
Description
One or more system files are faulty, not present and/or have been modi-
fied manually.
Description
Precondition
Procedure
2. Activate the check box next to Conveyor and press Uninstall. Answer
the request for confirmation with Yes.
3. Answer the request for confirmation Do you want to activate the
project […]? with Yes.
4. An overview of the changes and a request for confirmation are dis-
played. Answer this with Yes. The option package is uninstalled and
the robot controller carries out a reboot.
5. In the main menu, select Start-up > Additional software.
6. Press New software: The entry Conveyor must be displayed in the
Name column and drive E:\ or K:\ in the Path column.
If not, press Refresh.
7. Activate the check box next to Conveyor and press Install. Confirm
the installation query with OK.
8. The request for confirmation Do you want to activate the project […]?
is displayed. The active project is overwritten during activation. If no
relevant project will be overwritten: Answer the query with Yes.
9. An overview of the changes and a request for confirmation are dis-
played. Answer this with Yes. The option package is installed and the
robot controller carries out a reboot.
Description
One or more system files are faulty, not present and/or have been modi-
fied manually.
Description
Precondition
Procedure
Messages
7. Reload the project from the robot controller.
8. Add the Conveyor option package to the project.
9. Configure the option package in WorkVisual.
10. Deploy the project from WorkVisual to the robot controller and activate
it.
11. The request for confirmation Do you want to activate the project […]?
is displayed. The active project is overwritten during activation. If no
relevant project will be overwritten: Answer the query with Yes.
12. An overview with the changes and a request for confirmation are dis-
played on the smartHMI. Answer this with Yes. The option package is
installed and the robot controller carries out a reboot.
Possible cause(s) Cause: Tool and/or base not assigned (>>> Page 89)
Solution: Select tool and base (>>> Page 89)
Description
The base and tool have not yet been set after a reboot of the robot con-
troller. A program was started without selecting the base and tool.
The procedure for checking whether the tool and/or base have been
assigned is as follows:
Checking instructions
Description
One tool (TOOL coordinate system) and one base (BASE coordinate sys-
tem) must be selected for Cartesian jogging.
Procedure
1. Touch the status indicator Cur. tool/base. The Cur. tool/base window
opens.
Description
Configuration file
Directory C:\KRC\ROBOTER\KRC\R1\TP\Conveyor
File ConveyorGlobals.dat
Description
The WorkVisual project must be checked and then transferred to the robot
controller again.
Precondition
Procedure
Messages
12.2.5 Conveyor 01011
Description
One or more system files are faulty, not present and/or have been modi-
fied manually.
Description
Precondition
Procedure
8. The request for confirmation Do you want to activate the project […]?
is displayed. The active project is overwritten during activation. If no
relevant project will be overwritten: Answer the query with Yes.
9. An overview of the changes and a request for confirmation are dis-
played. Answer this with Yes. The option package is installed and the
robot controller carries out a reboot.
Description
One or more system files are faulty, not present and/or have been modi-
fied manually.
Description
Precondition
Procedure
Messages
12.2.6 Conveyor 01018
Description
One or more system files are faulty, not present and/or have been modi-
fied manually.
Description
Precondition
Procedure
8. The request for confirmation Do you want to activate the project […]?
is displayed. The active project is overwritten during activation. If no
relevant project will be overwritten: Answer the query with Yes.
9. An overview of the changes and a request for confirmation are dis-
played. Answer this with Yes. The option package is installed and the
robot controller carries out a reboot.
Description
One or more system files are faulty, not present and/or have been modi-
fied manually.
Description
Precondition
Procedure
Messages
12.2.7 Conveyor 01211
Possible cause(s) Cause: Conveyor driver not activated (>>> Page 95)
Solution: Activating the conveyor driver at the start of the program
(>>> Page 95)
Description
Description
At the start of the program, the conveyor must first be initialized, then the
conveyor driver must be activated.
Precondition
Procedure
Possible cause(s) Cause: Error on ending the conveyor calibration (>>> Page 96)
Solution: Perform conveyor calibration again (>>> Page 96)
Description
Description
Possible cause(s) Cause: An attempt to delete workpieces from the workpiece list of a
synchronized conveyor (>>> Page 96)
Solution: Delete workpieces from the workpiece list before synchro-
nization (>>> Page 96)
Description
Checking instructions
• Check programming.
Description
Workpieces can only be deleted from the workpiece list of a conveyor be-
fore the conveyor is synchronized. The programming must be modified ac-
cordingly.
Messages
12.2.10 Conveyor 01251
Description
Checking instructions
Description
Precondition
Procedure
1. Select the program in the Navigator and press Open. The program is
displayed in the editor.
2. Search for the corresponding position in the program and edit it.
3. Close the file and respond to the request for confirmation asking
whether the changes should be saved by pressing Yes.
KUKA Service
13 KUKA Service
Introduction
Information
Availability
Argentina
Ruben Costantini S.A. (Agentur)
Luis Angel Huergo 13 20
Parque Industrial
2400 San Francisco (CBA)
Argentina
Tel. +54 3564 421033
Fax +54 3564 428877
[email protected]
Australia
KUKA Robotics Australia Pty Ltd
45 Fennell Street
Port Melbourne VIC 3207
Australia
Tel. +61 3 9939 9656
[email protected]
www.kuka-robotics.com.au
Belgium
KUKA Automatisering + Robots N.V.
Centrum Zuid 1031
3530 Houthalen
Belgium
Tel. +32 11 516160
Fax +32 11 526794
[email protected]
www.kuka.be
Brazil
KUKA Roboter do Brasil Ltda.
Travessa Claudio Armando, nº 171
Bloco 5 - Galpões 51/52
Bairro Assunção
CEP 09861-7630 São Bernardo do Campo - SP
Brazil
Tel. +55 11 4942-8299
Fax +55 11 2201-7883
[email protected]
www.kuka-roboter.com.br
Chile
Robotec S.A. (Agency)
Santiago de Chile
Chile
Tel. +56 2 331-5951
Fax +56 2 331-5952
[email protected]
www.robotec.cl
China
KUKA Robotics China Co., Ltd.
No. 889 Kungang Road
Xiaokunshan Town
Songjiang District
201614 Shanghai
P. R. China
Tel. +86 21 5707 2688
Fax +86 21 5707 2603
[email protected]
www.kuka-robotics.com
KUKA Service
Germany
KUKA Deutschland GmbH
Zugspitzstr. 140
86165 Augsburg
Germany
Tel. +49 821 797-1926
Fax +49 821 797-41 1926
[email protected]
www.kuka.com
France
KUKA Automatisme + Robotique SAS
Techvallée
6, Avenue du Parc
91140 Villebon S/Yvette
France
Tel. +33 1 6931660-0
Fax +33 1 6931660-1
[email protected]
www.kuka.fr
India
KUKA India Pvt. Ltd.
Office Number-7, German Centre,
Level 12, Building No. - 9B
DLF Cyber City Phase III
122 002 Gurgaon
Haryana
India
Tel. +91 124 4635774
Fax +91 124 4635773
[email protected]
www.kuka.in
Italy
KUKA Roboter Italia S.p.A.
Via Pavia 9/a - int.6
10098 Rivoli (TO)
Italy
Tel. +39 011 959-5013
Fax +39 011 959-5141
[email protected]
www.kuka.it
Japan
KUKA Japan K.K.
YBP Technical Center
134 Godo-cho, Hodogaya-ku
Yokohama, Kanagawa
240 0005
Japan
Tel. +81 45 744 7531
Fax +81 45 744 7541
[email protected]
Canada
KUKA Robotics Canada Ltd.
2865 Argentia Road, Unit 4-5
Mississauga
Ontario L5N 8G6
Canada
Tel. +1 905 858‑5852
Fax +1 905 858-8581
[email protected]
www.kukarobotics.ca
Korea
KUKA Robotics Korea Co. Ltd.
RIT Center 306, Gyeonggi Technopark
1271-11 Sa 3-dong, Sangnok-gu
Ansan City, Gyeonggi Do
426-901
Korea
Tel. +82 31 501-1451
Fax +82 31 501-1461
[email protected]
Malaysia
KUKA Robot Automation (M) Sdn Bhd
South East Asia Regional Office
No. 7, Jalan TPP 6/6
Taman Perindustrian Puchong
47100 Puchong
Selangor
Malaysia
Tel. +60 (03) 8063-1792
Fax +60 (03) 8060-7386
[email protected]
KUKA Service
Mexico
KUKA de México S. de R.L. de C.V.
Progreso #8
Col. Centro Industrial Puente de Vigas
Tlalnepantla de Baz
54020 Estado de México
Mexico
Tel. +52 55 5203-8407
Fax +52 55 5203-8148
[email protected]
www.kuka-robotics.com/mexico
Norway
KUKA Sveiseanlegg + Roboter
Sentrumsvegen 5
2867 Hov
Norway
Tel. +47 61 18 91 30
Fax +47 61 18 62 00
[email protected]
Austria
KUKA CEE GmbH
Gruberstraße 2-4
4020 Linz
Austria
Tel. +43 732 784 752 0
Fax +43 732 793 880
[email protected]
www.kuka.at
Poland
KUKA CEE GmbH Poland
Spółka z ograniczoną odpowiedzialnością
Oddział w Polsce
Ul. Porcelanowa 10
40-246 Katowice
Poland
Tel. +48 327 30 32 13 or -14
Fax +48 327 30 32 26
[email protected]
Portugal
KUKA Robots IBÉRICA, S.A.
Rua do Alto da Guerra n° 50
Armazém 04
2910 011 Setúbal
Portugal
Tel. +351 265 729 780
Fax +351 265 729 782
[email protected]
www.kuka.com
Russia
KUKA Russia OOO
1-y Nagatinskiy pr-d, 2
117105 Moskau
Russia
Tel. +7 495 665-6241
[email protected]
Sweden
KUKA Svetsanläggningar + Robotar AB
A. Odhners gata 15
421 30 Västra Frölunda
Sweden
Tel. +46 31 7266-200
Fax +46 31 7266-201
[email protected]
Switzerland
KUKA Roboter CEE GmbH
Linz, Zweigniederlassung Schweiz
Heinrich Wehrli-Strasse 27
5033 Buchs
Switzerland
Tel. +41 62 837 43 20
[email protected]
Slovakia
KUKA CEE GmbH
organizačná zložka
Bojnická 3
831 04 Bratislava
Slovakia
Tel. +420 226 212 273
[email protected]
Spain
KUKA Iberia, S.A.U.
Pol. Industrial
Torrent de la Pastera
Carrer del Bages s/n
08800 Vilanova i la Geltrú (Barcelona)
Spain
Tel. +34 93 8142-353
[email protected]
KUKA Service
South Africa
Jendamark Automation LTD (Agentur)
76a York Road
North End
6000 Port Elizabeth
South Africa
Tel. +27 41 391 4700
Fax +27 41 373 3869
www.jendamark.co.za
Taiwan
KUKA Automation Taiwan Co. Ltd.
1F, No. 298 Yangguang ST.,
Nei Hu Dist., Taipei City, Taiwan 114
Taiwan
Tel. +886 2 8978 1188
Fax +886 2 8797 5118
[email protected]
Thailand
KUKA (Thailand) Co. Ltd.
No 22/11-12 H-Cape Biz Sector Onnut
Sukhaphiban 2 road, Prawet
Bangkok 10250
Thailand
Tel. +66 (0) 90-940-8950
[email protected]
Czech Republic
KUKA Roboter CEE GmbH
organizační složka
Pražská 239
25066 Zdiby
Czech Republic
Tel. +420 226 212 273
[email protected]
Hungary
KUKA HUNGÁRIA Kft.
Fö út 140
2335 Taksony
Hungary
Tel. +36 24 501609
Fax +36 24 477031
[email protected]
USA
KUKA Robotics Corporation
51870 Shelby Parkway
Shelby Township
48315-1787
Michigan
USA
Tel. +1 866 873-5852
Fax +1 866 329-5852
[email protected]
www.kuka.com
United Kingdom
KUKA Robotics UK Ltd
Great Western Street
Wednesbury West Midlands
WS10 7LL
United Kingdom
Tel. +44 121 505 9970
Fax +44 121 505 6589
[email protected]
www.kuka-robotics.co.uk
Index G
General I/O parameters................................. 39
Global conveyor settings, editing...................45
A Global conveyor settings, modifying..............49
Alarm distances.............................................. 41
Alarm distances, modifying............................ 52
H
Hardware........................................................ 29
C
Calibration.......................................................55
Calibration, circular conveyor.........................56 I
Calibration, linear conveyor............................55 I/Os, configuring............................................. 45
Communication............................................... 11 Installation.......................................................29
Configuration...................................................33 via smartHMI............................................. 31
Connection to position tracker broken...........83 via WorkVisual...........................................29
Connection to the CIB, modifying..................35 Installation, ConveyorTech............................. 29
CONV_DELETE_ALL_WPS........................... 78 Installing ConveyorTech................................. 31
CONV_DELETE_WPS................................... 78 Intended use...................................................12
CONV_GET_SPEED...................................... 79 Introduction....................................................... 7
CONV_GET_WP_COUNT..............................79
Conveyor...........................................................8
Conveyor-specific settings, modifying............50 K
Conveyor application program, creating........61 KLI.....................................................................8
Conveyor area, leaving.................................. 70 KRL functions................................................. 77
Conveyor distance, checking......................... 57 KSB...................................................................8
Conveyor driver, activating.............................64 KUKA Customer Support............................... 99
Conveyor parameters, editing........................ 39 KUKA Service.................................................99
Conveyor, initializing.......................................63
Conveyor, inserting in project........................ 33
Conveyor, motion master............................... 36
Conveyor.FOLLOW.........................................64
L
Licenses............................................................8
Conveyor.INI_OFF.......................................... 63
Long texts, adding..........................................45
Conveyor.ON.................................................. 64
Conveyor.Quit................................................. 70
Conveyor.Skip.................................................67
CRC.................................................................. 8 M
Messages........................................................85
D
Decision to track workpiece made in advance O
run...................................................................82 On-the-fly synchronization................................8
DLIN block, programming.............................. 73 Open source..................................................... 8
DLIN motion, programming............................ 74 Operation........................................................ 49
DLIN.MOVE.................................................... 74 Overview, ConveyorTech................................ 11
Documentation, industrial robot....................... 7 Overview, start-up...........................................25
E P
Escape strategy..............................................42 Planning.......................................................... 15
ESD...................................................................8 PLC................................................................... 8
Expert parameters.......................................... 40 Product description......................................... 11
External conveyor...........................................15 Program override, modifying.......................... 81
Programming.................................................. 61
PTP................................................................... 8
F
Function groups..............................................49
Functions.........................................................11 R
RDC.................................................................. 8
Recommissioning............................................25
Resolver............................................................8
Resolver, connecting to RDC........................ 25
Resolver, inserting in project......................... 34
Robot leaves path.......................................... 81
S
Safety..............................................................13
Safety instructions............................................ 7
Signal diagram, stop strategy
CONV_STOPPABLE...................................... 43
Start-up........................................................... 25
Stop distances................................................ 41
Stop distances, modifying.............................. 52
Stop strategy, CONV_STOPPABLE........ 42, 43
Stop strategy, GEN_STOP.............................42
Support request.............................................. 99
Synchronized motions, teaching.................... 71
System requirements......................................29
T
Target group..................................................... 7
Terms used....................................................... 8
Time synchronization, configuring..................37
Tracking distance............................................. 8
Trademarks....................................................... 8
Training............................................................. 7
Troubleshooting.............................................. 81
U
Uninstallation, ConveyorTech.................. 30, 32
Update, ConveyorTech................................... 29
Updating ConveyorTech................................. 31
Use, intended................................................. 12
User rights, displaying....................................49
W
Warnings........................................................... 7
Workpiece on conveyor, calibration............... 58
Workpiece tracking......................................... 64
Workpiece, picking up.................................... 67