Professional Documents
Culture Documents
KUKA.PalletTech 3.7
Issued: 21.01.2010
© Copyright 2010
KUKA Roboter 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 the KUKA Roboter 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 software
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 regular basis, how-
ever, and necessary corrections will be incorporated in the subsequent edition.
Subject to technical alterations without an effect on the function.
Translation of the original documentation
KIM-PS5-DOC
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 ................................................................................................................ 9
3 Safety ............................................................................................................ 21
4 Installation ................................................................................................... 23
4.1 System requirements ................................................................................................. 23
4.2 Installing KUKA.PalletTech ........................................................................................ 23
4.3 Uninstalling KUKA.PalletTech .................................................................................... 23
4.4 Reinstalling KUKA.PalletTech .................................................................................... 23
5 Operation ...................................................................................................... 25
5.1 Menus ........................................................................................................................ 25
5.2 Status keys ................................................................................................................ 25
5.3 Status keys and softkeys in the configuration program ............................................. 25
6 Configuration ............................................................................................... 27
6.1 Overview of KUKA.PalletTech configuration .............................................................. 27
6.2 Calibrating the tool ..................................................................................................... 27
6.3 Calibrating conveyors and stations ............................................................................ 28
6.3.1 Calibrating the base of a station ........................................................................... 30
6.4 Overview of tabs in the configuration program .......................................................... 31
6.4.1 Configuring the robot cell in PalletTech ................................................................ 32
6.4.2 Configuring stations in the robot cell ..................................................................... 33
6.4.3 Defining the alignment of the items ...................................................................... 34
7 Programming ............................................................................................... 55
7.1 Overview: setting up production operation ................................................................ 55
7.2 Copying layer pattern files to the robot controller ...................................................... 55
7.3 Selecting and loading layer patterns for palletizing ................................................... 55
7.4 Starting production operation .................................................................................... 57
8 Diagnosis ...................................................................................................... 59
8.1 Unlocking a locked-out conveyor ............................................................................... 59
9 Troubleshooting .......................................................................................... 61
9.1 Fault strategy – Error during item pick-up ................................................................. 61
9.2 Fault strategy – Dropped item ................................................................................... 61
9.3 Fault strategy – Automatic unloading of rejects ......................................................... 61
10 Messages ...................................................................................................... 63
10.1 Error messages ......................................................................................................... 63
10.2 Error codes ................................................................................................................ 66
14 Appendix ...................................................................................................... 91
14.1 Example of sequence values ..................................................................................... 91
14.2 Look-ahead function .................................................................................................. 92
14.3 Motion to and from the conveyor ............................................................................... 92
14.4 Motion to and from the pallet station .......................................................................... 93
14.5 Motion to and from the slipsheet station .................................................................... 94
1 Introduction
This documentation is aimed at users with the following knowledge and skills:
Advanced KRL programming skills
Advanced knowledge of the robot controller system
Advanced knowledge of palletizing
Knowledge of field bus interfaces
For optimal use of our products, we recommend that our customers take part
in a course of training at KUKA College. Information about the training pro-
gram can be found at www.kuka.com or can be obtained directly from our
subsidiaries.
Safety Warnings marked with this pictogram are relevant to safety and must be ob-
served.
Danger!
This warning means that death, severe physical injury or substantial material
damage will occur, if no precautions are taken.
Warning!
This warning means that death, severe physical injury or substantial material
damage may occur, if no precautions are taken.
Caution!
This warning means that minor physical injuries or minor material damage
may occur, if no precautions are taken.
Notes Notes marked with this pictogram contain tips to make your work easier or ref-
erences to further information.
Term Description
Reject station Pallet station in which item clusters with missing items
are set down
Conveyor sta- Defined area in the robot cell to which the item is trans-
tion ferred
Frame Coordinate system describing the position of a station
relative to the robot
Load The quantity of items and slipsheets placed on a pallet
Layer A group of items at the same height in a pattern on the
pallet
Layer pattern The horizontal pattern of items placed on the pallet, the
previous layer, or the slipsheet. The pattern may differ
from one layer to another.
Layer pattern File containing information about the item, pattern, and
file robot cell, which is required to create the palletizing
program.
This file is generated by KUKA.PalletEdit.
Look-ahead Function for outputting the orientation and number of
function packages required for the next pick action
Multi-cycle con- Extension of the look-ahead function to the next pick
veyor action by the offset of the pick action
MultiPick / Multi- All items in the gripper are set down at once.
Place
MultiPick / Sin- Items in the gripper can be set down individually.
glePlace
Item The object that is to be palletized. The item may or may
not be packaged. Within the palletizing system it is fed
to the robot via a conveyor station.
Item cluster / A group of items held in the gripper.
item block
Package Container for packaging the item, e.g. a wrapper, box
or bag. When an item is packaged, it acquires the
package’s physical dimensions and surface character-
istics.
Pallet Flat wooden contruction or similar, on which the goods
are packed
Pallet station Defined area in the robot cell in which the pallet is
located.
Palletizing sys- One or more robot cells in which palletizing programs
tem are executed
Palletizing pro- Program which can be executed to accomplish palletiz-
gram ing applications
Palletizing cycle Pick-up and setdown of an item, item cluster or slip-
sheet
Perch position Auxiliary position which must be defined for each sta-
tion
Station number Number assigned to a station (pallet station, conveyor
station or slipsheet station) as its identification number
Full load Maximum quantity of items and slipsheets which can
be placed on one pallet.
Slipsheet Sheet of paper, cardboard, etc., which is located under,
between and/or on top of the palletized layers
1.5 Trademarks
2 Product description
2.2 Grippers
Overview In order to pick up, set down and monitor items with a gripper, KUKA.Pallet-
Tech must be able to control the inputs/outputs of the gripper. To this end, KU-
KA.PalletTech uses a number of conventions for the configuration of the
gripper.
Each gripper consists of a physical and a logical gripper. The physical gripper
is the mechanical gripper, including the gripper dimensions. For each physical
gripper, one or more logical grippers can be configured. A logical gripper de-
fines, for example, which valves and part sensors of the physical gripper are
used.
With the logical gripper, layer patterns can be generated with which a wide
range of different-sized items can be picked up with the same physical gripper.
Description Irrespective of the gripper type used, every gripper must be able to grip and
release parts. In order to be able to monitor an item in a gripper, the physical
gripper must be equipped with part sensors which signal to the system when
there is a part in the gripper.
The physical gripper is mounted on the mounting flange and must be calibrat-
ed. During calibration, the TOOL coordinate system is moved from the flange
center point to a point on the gripper specified by the user, the TCP.
The TOOL coordinate system must be aligned as follows:
The Z coordinate must project out of the gripper.
The X coordinate must run parallel with the long side of the gripper.
Example The example shows a gripper with 21 suction cups. The X and Y coordinates
indicate the position of the TCP.
Part sensors on the gripper monitor the items held by the gripper.
The configured I/Os are displayed on the Gripper I/O tab of the configuration
program.
Description A physical gripper can generally grip a wide variety of different-sized items. A
logical gripper defines the I/Os of the physical gripper which are mapped onto
a segment, as well as the logical offset.
Segment A segment is a group of valves and part sensors which are required for picking
up an item. A logical gripper always consists of a number of segments. Up to
32 segments can be defined.
Logical offset The logical offset is the Cartesian position of segment 1 relative to the TCP of
the gripper. The gripper TCP is offset in the X, Y and Z directions toward the
item that is picked up by segment 1 (logical TCP). The position of the logical
TCP depends on the gripper type.
Description Segment 1 must always be the segment with the smallest X offset relative to
the TCP. The figure shows a group of 4 items on a conveyor. The position of
the TCP is indicated in red. Segment 1 has the smallest X offset relative to the
TCP, and segment 4 has the largest X offset. The TOOL coordinate system in
the gripper TCP is indicated in blue. The red coordinate system shows the log-
ical TCP after addition of the logical offset.
Description Logical grippers can be configured with more than one row of segments. Seg-
ment 1 has the smallest X offset and the largest Y offset relative to the TCP.
The segments in one row are numbered in ascending order.
Description The logical offset defines the offset of the TCP toward the center of the nearest
upper edge of the item (logical TCP). When the logical offset is measured, this
results in a positive X and Z offset and a negative Y offset. This is because
every component is measured relative to the TOOL coordinate system, the
TCP and the logical TCP.
Description The logical offset defines the offset of the TCP toward a point on the rear sur-
face of the item in segment 1 that lies closest to the corner of the fixed edge
of the gripper (logical TCP). When the logical offset is measured, this results
in a negative X and Y offset and a positive Z offset.
1 Side view
2 Top view
3 Fixed edge
The conveyor feeds items to the robot. All conveyors must signal to the indus-
trial robot via an input sensor when an item is ready to be picked up. The BASE
coordinate system of the station can be located at the center or the corners of
the pallet. A maximum of 30 conveyors can be configured per cell.
After the pick action, the items are set down in the pallet station. The user as-
signs corresponding layer pattern files to the pallets. The BASE coordinate
system of the station can be located at the center or the corners of the pallet.
A maximum of 30 pallets can be configured per cell.
All pallet stations must signal to the industrial robot via an input sensor when
a pallet is ready for loading. Once a pallet is completely loaded, a signal is set.
The operator must then remove and acknowledge the pallet, and a new pallet
must be made ready.
It is possible to generate layer patterns that require the palletization of the
base pallet. A base pallet is picked up from the slipsheet station. If this option
is configured, the message “Pallet present” must be set.
A slipsheet station feeds the robot with slipsheets for placing on a pallet. A slip-
sheet is an object which completes the palletization of a layer on a pallet. If a
base pallet is being palletized, the base pallet is considered a slipsheet.
All slipsheet stations must signal via an input sensor when a slipsheet is ready
to be picked up. A maximum of 16 slipsheet stations can be configured per
cell.
Slipsheet stations can be defined as either searchable or non-searchable
Searchable slipsheet stations are searched to determine the highest point
of the slipsheet stack. Thereafter, the grip position is reduced by the thick-
ness of the slipsheet to determine the next grip position. On starting a new
stack, the station must be reset and a new search begins.
In non-searchable slipsheet stations, the slipsheet is picked up at a fixed
position relative to the station frame.
The layer pattern defines the complete pick-up and setdown process. The fol-
lowing information is stored in the layer pattern file:
Conveyor stations for feeding the items to be palletized
Properties of the items (length, width, height, weight and acceleration)
Number of items to be picked up (group)
Pallet station for setting down the items
Position and orientation of the items on setdown
Slipsheet station
Properties of the pallets (length, width, height, weight and acceleration)
Description Here the cell is set up. Set-up involves the following work / elements:
the stations of the cell
the gripper
configuration of the inputs and outputs for communication with PalletTech
The tools and frames are taught with the KUKA System Software and the con-
figuration data are defined with the ConfigTool.
Further information on defining the cell data can be found in the KUKA.Pal-
letEdit documentation.
Description After configuration and creation of the layer patterns, set-up for production op-
eration starts.
3 Safety
Warning!
The “Safety” chapter in the operating and programming instructions must be
observed. Death to persons, severe physical injuries or considerable dam-
age to property may otherwise result.
4 Installation
Procedure 1. Start the Setup program from the CD-ROM. The files are copied onto the
hard drive.
2. A dialog regarding automatic product change appears. Select the required
option.
3. Confirm the reboot prompt with OK.
4. Reboot the robot controller. Installation is resumed and completed.
5 Operation
5.1 Menus
The following menus and commands are specific to this technology package:
Configure
Status keys
PalletTech
Setup
PalletTech
Patterns
Config
ConfigTool
Relationships
Directory
Technology
PalletTech
Safe Position (Fixed Ori, Fixed Z)
Safe Position (Fixed Ori, Dynamic Z)
Safe Position (Target Ori, Fixed Z)
Safe Position (Source Ori, Fixed Z)
Safe Position (Target Ori, Dynamic Z)
Safe Position (Source Ori, Dynamic Z)
Procedure Select the menu sequence Setup > PalletTech > Config to open the con-
figuration program.
Softkey Description
The softkey Exit closes the configuration pro-
gram. Changes are not saved.
The softkey Save and exit closes the configura-
tion program. Changes are saved.
The softkey Save floppy saves the current con-
figuration data to a floppy disk.
The softkey Load floppy loads configuration
data from a floppy disk to the configuration pro-
gram.
6 Configuration
Step Description
1 Set up the physical robot cell (stations, grippers, etc.).
2 Configure the field bus and I/Os.
3 Calibrate the tool (TCP).
(>>> 6.2 "Calibrating the tool" page 27)
4 Calibrate the stations and conveyors (BASE).
(>>> 6.3 "Calibrating conveyors and stations" page 28)
5 Configure the robot cell in KUKA.PalletTech.
(>>> 6.4.1 "Configuring the robot cell in PalletTech"
page 32)
6 Enter the load data of the gripper.
(>>> 6.4.5 "Entering the load data of the gripper" page 38)
7 Configure the inputs and outputs for the grippers.
(>>> 6.4.6 "Configuring the inputs and outputs for the grip-
per" page 39)
8 Configure the interface with I/Os to the PLC.
(>>> 6.4.4 "Configuring the inputs and outputs of the sta-
tions" page 37)
9 Configure the layer pattern with KUKA.PalletEdit.
10 Transfer the layer pattern to the robot controller via the net-
work or a storage medium (e.g. floppy disk, USB stick).
11 Set up production operation.
(>>> 7.1 "Overview: setting up production operation"
page 55)
Overview The tool center point (TCP) specifies a point on the gripper at which the dis-
tance to the robot tool mounting flange is defined. KUKA.PalletTech always
uses the tool number 1 (TOOL[1]). With this tool, all motions and offsets are
executed with different items.
Depending on the gripper type, the TCP must be calibrated at different posi-
tions.
With a vacuum gripper, TOOL[1] should be taught so that the TCP lies in
the same plane as the point on the items with which the vacuum gripper is
to engage.
With a clamp gripper, the TCP should be located on the fixed edge of the
clamp gripper.
With a fork gripper, the TCP should be located on the lower fixed edge of
the first prong.
Caution!
Tool number 16 (TOOL[16]) must not be used in connection with KUKA.Pal-
letTech. This number is used internally by KUKA.PalletTech and would
cause the values of the data to be lost.
Calibrating The frame for conveyor stations must be taught so that it is right-handed and
conveyors the positive Z coordinate points upwards. The positive X coordinate must point
in the opposite direction to the direction of travel of the conveyor.
If the positive X coordinate does not point in the opposite direction to the di-
rection of travel of the conveyor, the gripper cannot pick up any items when
running KUKA.PalletTech.
Calibrating The frame for pallet and slipsheet stations must be taught so that it is right-
stations handed and the positive Z coordinate points upwards.
The position of the frame when teaching the base specifies how the layer pat-
tern is created. The first setdown position for items is always located in the
opposite corner to the corner in which the base frame was taught.
Description The stations are calibrated using the 3-point method The robot moves to the
origin and 2 further points of the new base. These 3 points define the new
base.
Procedure 1. Select the menu Setup > Measure > Base > ABC 3-Point.
2. Assign a number and a name for the base. Confirm with OK.
3. Enter the number of the mounted tool. Confirm with OK.
4. Move the TCP to the origin of the new base. Confirm with OK.
5. Move the TCP to a point on the positive X axis of the new base. Confirm
with OK.
6. Move the TCP to a point in the XY plane with a positive Y value. Confirm
with OK.
7.
Press Save.
Procedure Select the menu sequence Setup > PalletTech > Config to open the con-
figuration program.
Overview
Description
Tab Description
Config Defines the properties of the cell (number of convey-
ors, pallet stations and slipsheet stations)
Activates automatic unloading of rejects and dynamic
repositioning.
Stat. Data Defines the data (e.g. base frames) in order to be able
to use each individual station in the cell
Centering Defines where the items are located in relation to the
base frame of the conveyor station.
Defines where the pallets are located in relation to the
base frame of the pallet station.
Stat. I/O Defines the required inputs and outputs for each indi-
vidual station
GripData Defines the load data of the gripper used in the cell
Gripper I/O Defines the inputs and outputs for gripper control
The inputs and outputs are assigned in KUKA.PalletE-
dit.
Motion Specifies the runtime parameters, thereby defining the
motions of the palletizing cycle
Autom. Defines the signals required for communication with a
PLC, and configures automatic operation and auto-
matic product change
Procedure 1. Select the menu sequence Setup > PalletTech > Config to open the con-
figuration program.
2. Select the menu key Configuration.
3. Make the desired settings.
4. Select the status key Save.
Overview
Parameter Description
Cell number Used with palletizing systems to identify the indi-
vidual robot cells.
Range of values: 0 … 15
Number of Conveyors Defines the number of conveyors in the robot
cell.
Range of values: 1 … 30
The layer pattern defines the alignment of the
packages.
Number of Pallets Defines the number of pallet stations in the robot
cell.
Range of values: 1 … 30
Each pallet in the cell is assigned a unique layer
pattern.
Reject stations are created as pallet stations.
Number of Slipsheets Defines the number of slipsheet stations in the
robot cell.
Range of values: 0 … 16
Automatic Reject Defines how the system should respond to
errors while picking up items or to errors due to
dropped items.
Activated: Rejects are automatically unloaded in
a reject station.
Not activated: Rejects must be removed manu-
ally.
NOTE: Dropped items must be removed manu-
ally.
(>>> 9.3 "Fault strategy – Automatic unloading
of rejects" page 61)
Parameter Description
Dynamic Reposition Defines how the robot should pass other stations
in the cell.
Activated: The robot automatically adapts the
height of the perch positions to the stations.
Not activated: The robot moves to the taught
perch positions.
Detented Valves Defines whether detented valves are used or
not.
Activated: Detented valves are used on the grip-
per
Not activated: No detented valves are used (per-
manent control)
Overview
Parameter Description
Base Number of the taught base system
Defines the position of the station in the robot
cell. This tells KUKA.PalletTech where the sta-
tions are situated relative to the robot position.
X offset Offsets the base frame to a different point in the
X direction
Y offset Offsets the base frame to a different point in the
Y direction
Z offset Offsets the base frame to a different point in the
Z direction
Seq. Must be entered if dynamic repositioning is acti-
vated
The sequence number tells KUKA.PalletTech
how the stations in the cell are arranged in rela-
tion to each other.
Range of values: 1 … 64
Search. Defines whether a slipsheet station is searchable
or not.
1: The slipsheet station is searchable. The robot
does not move to any predefined position to pick
up a slipsheet.
BLANK: The slipsheet station is not searchable.
The robot moves to a predefined position to pick
up a slipsheet.
Ori. The orientation specifies the orientation of a slip-
sheet.
1: The long side of the slipsheet runs parallel
with the positive X axis of the station frame.
2: The short side of the slipsheet runs parallel
with the positive X axis of the station frame.
Dynamic Specifies whether the X and Y coordinates of the
perch position for a station should be calculated
automatically.
Applies to conveyors and pallet stations.
0: The taught perch position is addressed.
1: The X and Y coordinates of the perch position
are calculated automatically.
MinHeight Specifies the minimum vertical distance in mm
with which the robot passes the station.
Precondition: Dynamic repositioning is activated.
The alignment of the items on the conveyor and on the pallet station can be
defined.
Procedure 1. Select the menu sequence Setup > PalletTech > Config.
2. Select the Centering tab.
Description
Parameter Description
Pkg/Pallet loca- 1: left-justified
tion
2: centered
3: right-justified
Pkg/Pallet Off- Offset, relative to the base of the station, on which the
set pallet or item is oriented.
Default: 0.0 mm
Offset types 1: X-axis offset
2: Y-axis offset
Alignment on The alignment of the packages on the conveyor station may be left-justified,
conveyor centered or right-justified in the direction of the Y axis of the BASE coordinate
system (base of the station).
Fork grippers can only pick up items at the sides of the conveyor. The align-
ment of the item on the conveyor defines from which side the robot picks up
the items. For example, if the items arrive left-justified, the robot picks up the
items on the left side of the conveyor.
Alignment on The alignment of the items on the pallet station may be left-justified, centered
pallet or right-justified in the direction of the X axis or Y axis of the BASE coordinate
system (base of the station).
The X axis of the BASE coordinate system can lie along the long or the short
side of the pallet.
Description The inputs and outputs are used to communicate status messages to KU-
KA.PalletTech and where appropriate to the PLC.
Overview
Inputs Range of
Parameter Description
values
Conveyor Input signal of the conveyor -1, 1
Indicates that a package is ready Default value: 0
for pick-up.
Pallet Input signal of the pallet station -1, 1
Indicates that a pallet is situated in Default value: 0
the pallet station.
Outputs
Range of
Parameter Description
values
Conveyor Output signal of the conveyor -1, 1
Indicates that a package has been Default value: 0
picked up by the gripper.
Pallet DONE Output signal of the pallet station -1, 1
Indicates that loading of the pallet in Default value: 0
the pallet station is complete.
A positive input or output value means that the station uses HIGH-active in-
puts and outputs. A negative input or output value means that the station
uses LOW-active inputs and outputs.
KUKA.PalletTech always uses the tool number 1 (TOOL[1]). With this tool,
all motions and offsets are executed with different items.
Overview
Parameter Description
M (kg) Weight of the gripper
X (mm), Offset of the gripper center of gravity from the
Y (mm), robot flange coordinate system in the X, Y and Z
Z (mm) directions
A (°), Rotational offset of the gripper from the robot
B (°), flange coordinate system about X, Y and Z
C (°)
JX (kg m2), Mass moments of inertia of the gripper
JY (kg m2),
JZ (kg m2)
Description Each gripper consists of a physical and a logical gripper. The physical gripper
is the mechanical gripper, including the gripper dimensions.
(>>> 6.4.5 "Entering the load data of the gripper" page 38)
Each gripper must be able to grip and release parts in order to palletize items.
All valves for gripping and releasing items, together with the sensors that sig-
nal to the robot controller when a part is located in the gripper, are configured
in the logical gripper. The data are mapped to inputs and outputs.
For each gripper, one or more logical grippers can be configured. The division
of a gripper into physical and logical grippers makes it possible to pick up a
wide range of items of different sizes with a single gripper.
The following describes how to configure the inputs and outputs with KU-
KA.PalletTech.
By default, the table has 50 lines. The number of lines can be configured by
changing the parameter PT_MaxNumberOfValves in the variable display.
Overview
Range of
Parameter Description
values
Index The index numbers are assigned to
the segments of the logical gripper
in KUKA.PalletEdit.
Valve On Output for picking up the items to Output number
be palletized
Default value:
With vacuum grippers, the output BLANK
switches on the suction valves. The
output is switched off to release the
item.
With fork grippers and clamp grip-
pers, the output is switched on via a
pulse of 1 s in order to pick up an
item.
Valve Off Output for releasing the items in the Output number
case of fork grippers and clamp
Default value:
grippers
BLANK
The output is switched on via a
pulse of 1 s in order to release an
item.
Blowoff ($OFF) Output for releasing the items, for Output number
grippers with blow-off function
Default value:
The blow-off function is switched on BLANK
via a pulse of 1 s in order to release
the item onto the pallet.
Range of
Parameter Description
values
Part Present Part monitoring Input number
($IN)
Input for part sensors on the gripper Default value:
or for search sensors for picking up BLANK
slipsheets
If nothing is entered here, part mon-
itoring is deactivated.
Part Placed Input signaling that an item has Input number
($IN) been set down.
Default value:
BLANK
Description The “Motion” tab allows the velocity and acceleration to be defined for the var-
ious motion sequences of the robot.
Fork grippers are unusual in that they can only pick up packages at the sides
of the conveyor. For fork grippers, it is therefore necessary to enter a Y and Z
offset on this tab, in order to specify:
how far the gripper must move towards the side of the conveyor
how far the gripper must move under the packages
Overview
Range of
Parameter Description
values
Vel. with item Velocity of the robot when an item is 1%-100% of the
located in the gripper max. velocity
Default: 100%
Acc. with item Acceleration of the robot when an 1%-100% of the
item is located in the gripper max. accelera-
tion
Default: 100%
Vel. with slip- Velocity of the robot when a slip- 1%-100% of the
sheet sheet is located in the gripper max. velocity
Default: 100%
Acc. with slip- Acceleration of the robot when a 1%-100% of the
sheet slipsheet is located in the gripper max. accelera-
tion
Default: 100%
Vel. without item Velocity of the robot without item or 1%-100% of the
slipsheet max. velocity
Default: 100%
Acc. without Acceleration of the robot without 1%-100% of the
item item or slipsheet max. accelera-
tion
Default: 100%
Fast search vel. Velocity of the robot when carrying 1%-100% of the
out a fast search run at a slipsheet max. velocity
station
Default: 100%
Fast search acc. Acceleration of the robot when car- 1%-100% of the
rying out a fast search run at a slip- max. accelera-
sheet station tion
Default: 100%
Slow search vel. Velocity of the robot when carrying 1%-100% of the
out a slow search run at a slipsheet max. velocity
station
Default: 100%
Slow search Acceleration of the robot when car- 1%-100% of the
acc. rying out a slow search run at a slip- max. accelera-
sheet station tion
Default: 100%
Vel. slipsheet Velocity of the robot when 1%-100% of the
approach approaching the pick-up position at max. velocity
the slipsheet station
Default: 100%
Acc. slipsheet Acceleration of the robot when 1%-100% of the
approach approaching the pick-up position at max. accelera-
the slipsheet station tion
Default: 100%
Vel. slipsheet Velocity of the robot when leaving 1%-100% of the
depart the pick-up position at the slipsheet max. velocity
station
Default: 100%
Range of
Parameter Description
values
Acc. slipsheet Acceleration of the robot when leav- 1%-100% of the
depart ing the pick-up position at the slip- max. accelera-
sheet station tion
Default: 100%
Pre-pick offset Position (X, Y, Z) of the gripper Default: 0 mm
before picking up the item
The pick-up position is relative to
the base frame system of the sta-
tion.
Post-pick offset Position (X, Y, Z) of the gripper after Default: 0 mm
picking up the item
The position is relative to the base
frame system of the station.
Delay after pick Defined wait time after picking up Default: 0 s
an item
Pre-drop offset Position (X, Y, Z) of the gripper Default: 50 mm
before setting down the item
The set-down position is relative to
the base frame system of the set-
down station.
Post-drop offset Position (X, Y, Z) of the gripper after Default for X
setting down the item and Y: 0 mm
The position is relative to the base Default for Z:
frame system of the set-down sta- 50 mm
tion.
Delay after drop Defined wait time after setting down Default: 0 s
an item
Z slip approach Value for calculating the position (Z) Default:
for setting down a slipsheet 200 mm
The position is relative to the base
frame system of the slipsheet sta-
tion.
Dynamic perch Distance between the underside of Default:
offset the item in the gripper and the high- 100 mm
est point on the loaded pallet
Pre-search off- Vertical position from which the Default:
set robot begins its search at a slip- 9,999 mm
sheet station
The robot must always move to this
position when it moves to a search-
able slipsheet station
Cycle stop input Input signaling that the robot should Default: 0
terminate the current palletizing
cycle and move to the HOME posi-
tion
Description This function calculates the highest station on the basis of the source station
and target station. The perch positions of the source and target stations are
adapted so that the robot can move over all the stations without danger of col-
lision. Above a station, the robot always maintains a minimum distance be-
tween the underside of the gripper (including the items held in the gripper) and
the uppermost point of the station.
Procedure 1. Select the menu sequence Setup > PalletTech > Config.
2. Select the Config tab and activate the check box Dynamic Reposition.
3. Assign a unique sequence value to each station.
(>>> 6.4.2 "Configuring stations in the robot cell" page 33)
Example The stations surrounding the robot in the cell are numbered: clockwise in blue
numbers from 1 to 10, and counterclockwise in red numbers from 1 to 10.
For example, when the robot moves from conveyor 4 to pallet 3, KUKA.Pallet-
Tech determines the highest station on the robot’s motion path on the basis of
the sequence.
The source station (conveyor 4) is assigned the sequence value 7. The target
station (pallet 3) is assigned the sequence value 10. KUKA.PalletTech detects
the stations in the robotic cell whose sequence values lie between 7 and 10.
These are slipsheet station 1 and pallet 4, with the sequence values 8 and 9.
KUKA.PalletTech determines the highest of the 4 stations and automatically
adapts the perch positions of the source and target stations. In this way, the
robot moves at a height that ensures that these stations will be passed without
collisions.
Once KUKA.PalletTech has determined the highest station, the program com-
pares the height of the station with the current height of the robot. If the current
height of the robot is below the highest point on the motion path, the robot po-
sition is automatically adapted upwards.
Description Station relationships must be configured for every pallet station configured in
the configuration program. At each pallet station that is configured, a particular
package type is palletized. The station relationships define which conveyor
stations and slipsheet stations are used for palletizing the package type.
Procedure 1. Select the menu sequence Setup > PalletTech > Config > Relation-
ships.
An option window is opened. This shows the individual pallets and the con-
veyor stations and slipsheet stations from which they are served.
2. Select the pallet in the right-hand status key bar. The status key displays
the pallet for which relationships can be defined in the option window.
3. In the right-hand status key bar, select the station type for which relation-
ships are to be defined with the pallet station.
4. Using the arrow keys, mark the conveyor station or slipsheet station which
is to be linked to the pallet.
5. Press the Add softkey to create the link.
Procedure 1. Open the configuration program and select the Automatic tab.
2. Set the parameters.
3. Saving the configuration
Description
Description A perch position must be defined for every station of a robot cell. The robot
approaches and leaves each station via the perch position. By means of PTP
motions, the robot can move as quickly as possible between the individual
perch positions.
Procedure 1. Select the program ConveyorData.src to teach the perch positions for the
conveyor stations. (This is found in the folder “R1\Program\PTPerch”.)
2. Carry out a BCO run:
Hold down the enabling switch. Then press the Start key and hold it down
until the message “Programmed path reached (BCO)” is displayed in the
message window.
Warning!
A BCO run is always executed as a PTP motion from the actual position to
the target position. Observe the motion to avoid collisions. The velocity is au-
tomatically reduced during the BCO run.
Description The robot approaches and leaves each station via the perch position. How the
robot moves to the perch position depends on two parameters:
Dynamic Reposition
Dynamic
Both parameters can be configured in the configuration program.
Perch
Description Configuration
position
Fixed The robot moves to the taught “Dynamic Reposition”
perch position. and “Dynamic” are
deactivated
Dynamic The perch position is modified so “Dynamic” is activated
that it lies directly over the grip posi-
tion.
Height- The perch positions are modified so “Dynamic Reposition”
controlled that the robot can move over the is activated.
highest station without danger of
collision.
Procedure 1. Select the menu sequence Setup > PalletTech > Config to open the con-
figuration program.
2. Press the menu key Configuration.
3. Select “Dynamic Reposition” using the status keys Up and Down, and ac-
tivate or deactivate the check box using the Enter key.
Check box activated: Dynamic repositioning is activated.
Check box deactivated: Dynamic repositioning is deactivated.
4. Press the Station Data menu key.
5. Select the station using the status keys Up and Down.
6. Press the Change status key to edit the entry.
The entry is opened in the infobar.
7. Select the “Dynamic” parameter using the Tab status key.
Value 1: The “Dynamic” parameter is activated.
Value 0: The “Dynamic” parameter is deactivated.
8. Press the Save softkey to save the changes.
For detailed information on moving to perch positions, see
(>>> 14.3 "Motion to and from the conveyor" page 92)
(>>> 14.4 "Motion to and from the pallet station" page 93)
(>>> 14.5 "Motion to and from the slipsheet station" page 94)
Description Safe positions are defined points in the robot cell, which the robot must move
to in order to prevent collisions. Safe positions can be used, for example, if
there is a column in the robot cell. In order to avoid the column during the PTP
motions between two stations, safe positions must be taught.
4. Enter the condition for motion to the safe position in the SafePos subpro-
gram.
(>>> 6.10.1 "Example: teaching a safe position" page 50)
5. Move the robot to the position that is to be taught as the safe position.
6. Select the menu sequence Technology > PalletTech > Safe Position.
7. Select the type of safe position and confirm with the Enter key.
(>>> 6.10.2 "Inline forms for safe positions" page 51)
The robot is to move to a safe position when moving from the conveyor station
to the pallet station. The robot is to move to a taught safe position during the
palletizing process. The orientation of the gripper is to correspond to the ori-
entation of the gripper at the perch position of the target station (pallet station
2).
24 IF (Target.se_StationType == #PALLET) AND (Target.si_StationNum
== 2) THEN
25 PTSafety.TargetOriFixedZ Position 1
26 ENDIF
Line Description
24 The target station type must be specified. The target station in
the example is a pallet station.
Station types:
Pallet station:
#PALLET
Conveyor station:
#CONVEYOR
Slipsheet station:
#SLIPSHEET
The target station number must be specified. The pallet station
in the example has the number 2.
The station number is specified by the layer pattern file.
(>>> Fig. 7-2)
25 Taught safe position
Safe Position Motion to the safe position uses the taught position (X, Y, Z) and orientation.
(Fixed Ori, Fixed
Z)
Item Description
1 Number of the safe position
Range of values: 1 … 100
Safe Position Motion to the safe position uses the taught orientation and the taught X and Y
(Fixed Ori, positions. The Z position is adapted for the dynamic repositioning.
Dynamic Z) Precondition: Dynamic repositioning is activated for the selected station.
Item Description
1 Number of the safe position
Range of values: 1 … 100
Safe Position Motion to the safe position uses the taught position (X, Y, Z) and the gripper
(Target Ori, Fixed orientation at the perch position of the target station.
Z)
Item Description
1 Number of the safe position
Range of values: 1 … 100
Safe Position Motion to the safe position uses the taught position (X, Y, Z) and the gripper
(Source Ori, Fixed orientation at the perch position of the source station.
Z)
Item Description
1 Number of the safe position
Range of values: 1 … 100
Safe Position Motion to the safe position uses the taught X and Y positions. The Z position
(Target Ori, is adapted for the dynamic repositioning. The gripper orientation at the perch
Dynamic Z) position of the target station is used.
Precondition: Dynamic repositioning is activated for the selected station.
Item Description
1 Number of the safe position
Range of values: 1 … 100
Safe Position Motion to the safe position uses the taught X and Y positions. The Z position
(Source Ori, is adapted for the dynamic repositioning. The gripper orientation at the perch
Dynamic Z) position of the source station is used.
Precondition: Dynamic repositioning is activated for the selected station.
Item Description
1 Number of the safe position
Range of values: 1 … 100
Procedure 1. Select the menu sequence Setup > PalletTech > Config > Directory.
An option window is opened. The selected directory for the layer pattern
files and the tree structure of the C:\ drive is shown.
2. Select the directory C:\PATTERNS, if not already selected.
3. Press the Save softkey to confirm the selection.
4. Press the Close softkey to close the option window.
7 Programming
Description The layer patterns are created using KUKA.PalletEdit. Since KUKA.PalletEdit
does not run on the robot controller, the layer pattern files must be copied to
the robot controller.
Procedure 1. Make the layer pattern file available via the network or a data storage me-
dium.
2. Press the Windows Start button and select Run….
3. In the Open box, enter “explorer” and press OK. A Windows Explorer is
opened.
4. If necessary, create a directory C:\PATTERNS on the robot controller.
5. If necessary, connect the data storage medium (e.g. floppy disk, USB
stick).
6. Copy the layer patterns to the directory C:\PATTERNS on the robot con-
troller.
7. Select the second menu key on the top left, in order to select the menu bar
of the Windows Explorer.
8. Select the menu sequence File > Close to close the Explorer and return
to the KUKA.HMI.
Precondition The layer patterns have been copied to the robot controller
The station relationships have been configured
A layer pattern file must have been assigned to at least one pallet station.
Otherwise no data can be loaded. That palletizing program cannot run in this
case.
Procedure 1. Select the menu sequence Setup > PalletTech > Patterns.
An option window is opened. The pallet stations configured in the config-
uration program are displayed.
5.
Press OK to confirm the selection.
The option window is closed. The pallet stations configured in the config-
uration program are displayed.
6. Repeat steps 2 to 5 for all pallet stations.
7. Press the Apply softkey to load the layer pattern.
The layer patterns are available for palletizing as soon as they have been
successfully loaded.
Precondition Layer patterns are selected and loaded for all stations.
The PALLETTECH.SRC program has been tested
The signals for automatic product change have been configured.
(>>> 6.7 "Configuring automatic product change" page 46)
To stop a program that has been started in Automatic mode, press the STOP
key.
Overview
8 Diagnosis
Caution!
Dropped items can cause collisions, which may result in damage to property.
Ensure that there are no dropped items in the robot cell.
Procedure 1. Select the menu sequence Monitor > PalletTech > Conveyor Status.
The “Conveyor Status” window opens.
2. Select the locked-out conveyor using the arrow keys.
3. Press the Unlock softkey.
4. Press the Retry or Increment softkey.
9 Troubleshooting
Description Part monitoring is activated when an item is picked up from the conveyor sta-
tion, and remains active until the item is set down again.
If part monitoring detects that an item has not been correctly gripped, the robot
stops. An error message is displayed, prompting the operator to correct the er-
ror.
The operator can choose between the following options:
Description If part monitoring detects that an item has been dropped during the motion of
the robot from the pick-up to the setdown station, the robot stops. An error
message is displayed, prompting the operator to correct the error.
The operator can choose between the following options:
Description The “Automatic Reject” option makes the system keep running if part monitor-
ing signals an error. The system no longer waits for the operator to intervene.
The robot moves incorrectly picked-up or incomplete item clusters to a reject
station and unloads them there. The station (conveyor station, pallet station,
slipsheet station) in which the error has occurred is locked out by the part mon-
itoring. This station remains locked out until it is unlocked again by the opera-
tor or the PLC.
If a station has been locked out, the robot no longer picks up or sets down
items or slipsheets there. KUKA.PalletTech continues the palletizing process
with the remaining, unlocked stations.
If an item is dropped, the robot stops. The dropped item must be removed
manually from the robot cell. Operation can then be resumed once a mes-
sage has been acknowledged.
Procedure 1. Select the menu sequence Setup > PalletTech > Config to open the con-
figuration program.
2. Press the menu key Configuration.
3. Activate the Automatic Reject option.
4. Press the softkey Save and exit.
5. Select the program R1\PROGRAM\PTPERCH\REJECTSTATIONDA-
TA.SRC.
6. Move the robot to the desired perch position.
7. Select the point RejectStationPerch.
8. Press the Touch Up softkey to teach the perch position of the reject sta-
tion.
9. Move the robot to the desired unloading position.
10. Select the point RejectStationPos.
11. Press the Touch Up softkey to teach the unloading position.
10 Messages
11 System variables
11.1 Variables
12 Command interface
Description With the command interface (CI) function, KUKA.PalletTech enables a robotic
palletizing cell to be controlled by a PLC. This PLC may be a SoftPLC running
directly on the robot controller or on an external PLC that is connected to the
robot controller via an I/O interface. The command interface provides an I/O
interface for calling commands which are useful during the normal palletizing
process and in response to error states in KUKA.PalletTech. These com-
mands include, for example, pallet reset, slipsheet reset, or the unlocking of
locked-out conveyors or pallets.
Description The command interface exchanges data between the PLC and the robot con-
troller via corresponding inputs and outputs. The table below lists the input and
output signals that are used for executing commands via the command inter-
face.
Description During the function sequence of the command interface, the PLC sets the data
on the signals and must then pulse a request bit. In this way, the command is
initialized in KUKA.PalletTech. KUKA.PalletTech then pulses a signal back to
the PLC to confirm that the command has been executed. The data in the sig-
nals are now valid and can be read. Via the command interface, KUKA.Pallet-
Tech returns the values transferred in the PLC for the purpose of cross
checking. For example, if the PLC requested a pallet reset for pallet 3, Pallet-
Tech returns the signal ‘Pallet reset’ (0000 0001) on the signal ‘Command
Number’, and the signal ‘Pallet 3’ (000 0011) on the signal ‘Data 1’. An error
signal with the value ZERO (0000 0000) indicates that the command has been
executed successfully.
Fig. 12-1: Time sequence for requests and responses of the command in-
terface
Description Once a pallet has been completely palletized, it must be removed from the cell
and reset before the robot can start palletizing the next load. After reset, a new
pallet can be brought into the cell and the robot can start palletizing the next
load.
The pallet can only be reset when the signal ‘Pallet present’ for the corre-
sponding pallet station is LOW. As soon as the requested pallet reset has
been successfully completed, the signal ‘Pallet done’ is set to LOW.
When a pallet reset is requested, the following command interface data sig-
nals are required from the PLC:
The following command interface data signals are sent to the robot by the ro-
bot controller when the requested pallet reset has been successfully complet-
ed:
Description With the look-ahead function for conveyors, the PLC can determine how many
items are needed for the next pick-up and setdown cycle. It is possible to send
a request for a conveyor look-ahead for a given conveyor when the part sensor
for this conveyor signals LOW. The request can be sent as soon as the signal
‘Item gripped’ is set, thereby indicating that the items for the current cycle have
been successfully picked up.
If a conveyor look-ahead is to be requested, the following command interface
data signals are required from the PLC:
The following command interface data signals are sent to the robot by the ro-
bot controller when the requested conveyor look-ahead has been successfully
completed:
If the robot drops any items while moving to a pallet, the cell controller is re-
sponsible for requesting a new conveyor look-ahead. The correct number of
items to be picked up is determined in the process. For the eventuality that
the number of items ready for pick-up does not match the number of items
required for the next cycle, the cell controller must be assigned a response
strategy. This can occur, for example, if a cycle is resumed after an error due
to a dropped item.
This function can only be used if the conveyor serves only one pallet station.
The function can not be used if the conveyor serves several pallet stations.
Description Last Pick causes the robot to pick up from the conveyor if the part sensor is
set to LOW. Normally, the robot picks up items from the conveyor when the
part sensor is HIGH, signaling that items are ready to be picked up. This func-
tion is used when there is a change to a new product on a particular conveyor.
When the command interface has successfully processed the request for a
Last Pick, this causes the robot to pick up items from the conveyor. On com-
pletion of the pick-up and setdown cycle, the output signal ‘Pallet done’ switch-
es to HIGH. The request for a Last Pick is unsuccessful if the conveyor part
sensor signals HIGH.
Item monitoring is deactivated during the request for a Last Pick, because the
number of items on the conveyor does not match the expected number of
items. If a Last Pick is to be requested, the following command interface data
signals are required from the PLC:
The following command interface data signals are sent to the robot by the ro-
bot controller when the requested Last Pick has been successfully completed:
When the response is received from the command interface, this does not
mean that the Last Pick for the conveyor has already occurred. It means that
the robot will execute a Last Pick the next time it picks up from the conveyor.
Description If the robot drops an item while moving between a pick-up station and the pal-
let, and if the Automatic Reject function is activated, then KUKA.PalletTech
locks out the affected pallet. The robot does not pick up any more items for the
locked-out pallet until the locked-out pallet has been unlocked again.
The command ‘Unlock locked-out pallet’ can be used to unlock a locked-out
pallet. The following options exist for the unlock request:
The following command interface data signals are sent to the robot by the ro-
bot controller when the requested pallet unlock has been successfully com-
pleted:
Description If the robot does not correctly grip an item in the conveyor station, and if the
‘Automatic Reject’ function is activated, KUKA.PalletTech locks out the affect-
ed conveyor. The robot does not pick up any more items from the locked-out
conveyor until this has been unlocked again.
Risk of severe damage to the robot and its surroundings. Before the unlock
request is sent, it must be ensured that there are no dropped items on the
pallet.
The following command interface data signals are sent to the robot by the ro-
bot controller when the requested conveyor unlock has been successfully
completed:
Description If a slipsheet station is defined as searchable, the PLC can request a reset of
this slipsheet station. After a slipsheet station has been reset, the robot carries
out a search the next time it approaches this station in order to find a slipsheet
to pick up.
If a slipsheet station reset is to be requested, the following command interface
data signals are required from the PLC:
The following command interface data signals are sent to the robot by the ro-
bot controller when the requested slipsheet station reset has been successful-
ly completed:
Description With the item height factor, the PLC can adapt the height required for an item
on a particular conveyor. The numeric value of this height factor is the percent-
age by which the nominal height is increased or reduced. For example, if an
item with a height of 100 mm arrives on conveyor 1 and a height factor of 4%
is used, KUKA.PalletTech alters the item height to 104 mm. If a height factor
of -3% is used, KUKA.PalletTech alters the item height to 97 mm.
If an item height factor is to be requested, the following command interface
data signals are required from the PLC:
The following command interface data signals are sent to the robot by the ro-
bot controller when the requested item height factor has been successfully
completed:
Description The program currently running can be reset via the command interface by re-
questing a program reset.
If a program reset is to be requested, the following command interface data
signals are required from the PLC:
The following command interface data signals are sent to the PLC by the robot
controller when the requested program reset has been successfully complet-
ed:
Description The program currently running can be deselected via the command interface
by requesting a program deselect.
If a program deselect is to be requested, the following command interface data
signals are required from the PLC:
The following command interface data signals are sent to the PLC by the robot
controller when the requested program deselect has been successfully com-
pleted:
Description With this command, the PLC can change the number of layers that the robot
needs to palletize before the output signal ‘Pallet done’ is issued. For example,
a layer pattern can be generated that requires 10 layers of items. When exe-
cuting this layer pattern, the robot must therefore palletize these 10 layers be-
fore the ‘Pallet done’ signal is issued. If, during runtime, the pallets are to be
reduced so that only 5 layers of items need to be palletized before the ‘Pallet
done’ signal is issued, then this can be achieved using this command. Re-
questing a change in the number of layers enables the PLC to do this.
If a change in the number of layers is to be requested, the following command
interface data signals are required from the PLC:
The following command interface data signals are sent to the PLC by the robot
controller when the requested change in the number of layers has been suc-
cessfully completed:
Description This command is used to select Cell.src. This command can be used to restart
the cell program after KUKA.PalletTech has been terminated due to service
work on the robot.
If a Start Cell.src is to be requested, the following command interface data sig-
nals are required from the PLC:
The following command interface data signals are sent to the PLC by the robot
controller when the requested Start Cell.src has been successfully completed:
Description If the value 4 is specified for the debug flag ‘PT_DebugFlag’, the command in-
terface can be debugged using the Variable display dialog box. If this flag is
activated, the commands received are logged by the KRC Logger. Logging of
requests increases the reaction time to commands. This method should only
be activated in order to check that commands are actually being received. Dur-
ing normal operation, the debug flag should be deactivated (setting 0).
It is also possible to retrieve the data for the last 25 command requests sent
by the PLC. The file R1\TP\PALLETTECH\COMMANDINTERFACE.DAT has
a ring buffer data structure. When the command interface processes a com-
mand, the request and the corresponding reaction are recorded in this data
structure.
The value of PT_CI_LastEntry defines which entry was last written where. The
request issued and the reaction from the controller can be seen from these en-
tries. The last element in the data structure represents a time in milliseconds.
The time difference between reactions can be calculated from the difference
between two consecutive entries.
Description The file UserMethods.SRC contains a library of functions which are called
from the main program. By default, these functions are empty and do not ex-
ecute any actions. The sequences required for the specific application can be
programmed in the functions.
Function Description
GLOBAL DEF UserInitCom- This function is called after initialization of KUKA.PalletTech.
plete()
GLOBAL DEF UserErrorHan- This function is called after an error. Information about the error
dler(ErrorNum :IN, number and the severity of the error can be communicated to the
Parameter1: IN, Severity: IN) PLC. The parameter contains the relevant information about the
error.
GLOBAL DEF HandleConvey- This function is called when a conveyor is locked out. Sequences
orLock(ConveyorNumber :IN) can be programmed for locked-out conveyors.
GLOBAL DEF HandleConvey- This function is called when a locked-out conveyor is unlocked.
orUnLock(ConveyorNumber Sequences can be programmed for unlocking locked-out con-
:IN) veyors.
GLOBAL DEF HandlePallet- This function is called when a pallet is locked out. Sequences
Lock(PalletNumber :IN) can be programmed for locked-out pallets.
GLOBAL DEF HandlePalle- This function is called when a locked-out pallet is unlocked. Se-
tUnLock(PalletNumber :IN) quences can be programmed for unlocking locked-out pallets.
GLOBAL DEF HandlePart- This function is called when an individual setdown process is
sPlaced(PalletNumber :IN) completed on a pallet.
GLOBAL DEF HandleAllPart- This function is called when the setdown processes for a whole
sPlaced(PalletNumber :IN) cycle are completed on a pallet.
GLOBAL DEF UserInitialize() This function is called while KUKA.PalletTech is booting. Cell-
specific initializations can be programmed.
GLOBAL DEF UserCleanup() This function is called when the robot has moved to the HOME
position after a cycle stop. Cell-specific clean-ups can be pro-
grammed.
GLOBAL DEFFCT BOOL This function is called when a pallet is selected for the next pal-
CheckPalletConditions(Pallet- letizing process. Additional checks can be programmed in order
Number :IN) to decide which pallet should be palletized next.
TRUE: Pallet is palletized next.
FALSE: Pallet is not palletized next.
GLOBAL DEF HandlePart- This function is called when an item has been picked up and the
sPicked(ConveyorNumber :IN, robot has reached the first position after pick-up.
ItemId :IN)
GLOBAL DEF HandleSlip- This function is called when a slipsheet has been picked up and
sheetPicked(SlipsheetNum- the robot has reached the first position after pick-up.
ber :IN, ItemId :IN)
GLOBAL DEF HandlePost- This function is called when the robot has reached the setdown
PlaceAction() position. The actions required after setdown can be integrated.
GLOBAL DEFFCT INT Han- This function is called after an error during pick-up. Precondition:
dlePartPickError() The parameter Automatic Reject is deactivated.
GLOBAL DEFFCT INT Han- This function is called after an error due to a dropped item. Pre-
dlePartDroppedError() condition: The parameter Automatic Reject is deactivated.
GLOBAL DEFFCT BOOL This function is called after an error during pick-up or due to a
HandleRejectParts() dropped item. Precondition: The parameter Automatic Reject is
activated.
User-defined sequences can be programmed.
Function Description
GLOBAL DEF PrePickProc- This function is called before items are picked up from a convey-
ess(Target: IN) or. User-defined sequences can be programmed.
GLOBAL DEF PostPickProc- This function is called from the safe position on the pallet: after
ess(Source: IN, Target: IN) the items have been picked up from the conveyor (SOURCE)
and before the items are set down on the pallet (TARGET). User-
defined sequences can be programmed.
GLOBAL DEFFCT BOOL Trig- User-defined sequences can be programmed for searching for
gerGripperSearch(ItemId: IN) pallets or slipsheets. The return value of the function determines
whether the gripper valves are switched on before the search.
Overview KUKA.PalletTech moves the robot along predefined positions in the stations.
The directory R1\PROGRAM\PTPERCH\ contains 2 files in which motions to
positions on the conveyor and the pallet are defined.
PT_ConveyorMotion.SRC
PT_PalletMotion.SRC
The robot moves to each of the positions with a LIN or PTP motion. The motion
type can be changed.
Description
Function Description
GLOBAL DEF MotionToPre- This function contains the motion to the position before pick-up.
Pick(xPrePickPosition: IN) This motion is a PTP motion by default and can be changed into
a LIN motion.
GLOBAL DEF MotionToP- This function contains the motion to the grip position. This motion
ick(xPickPosition: IN) is a LIN motion by default and can be changed into a PTP mo-
tion.
GLOBAL DEF MotionToPost- This function contains the motion to the position after pick-up.
Pick(xPostPickPosition: IN) This motion is a PTP motion by default and can be changed into
a LIN motion.
Program The information for the reconfigured gripper can be defined in this function.
1 DECL cfdw_StationInfo Target
2 ; determine the station for which the customization is required.
3 IF (Target.se_StationType ==Station type required) AND
4 (Target.si_StationNum ==Station number from the configtool) THEN
5 ; Determine the orientation of the item in which the
customization is
6 required.
7 SWITCH (Target.si_StaOriType)
8 CASE 1,3 ; Lengthwise
9 ; Initiate Gripper extension by setting required IO
10 SetOutputCont(number of the output bit,required State)
11 ;Inform palletTech of the displacement.
12 ;When gripper is extended supply negative number for the
displacement
13 ;else supply positive number for the displacement
14 SetGripperDisplacement(X-displacement,Y-
Displacement,ZDisplacement)
15 ;If this orientation change is introducing offset in the pick
position
16 ; that is defined in the configtool then that offset must be
supplied
17 here.
18 SetPickOffsets(x-pick offset, y-pick offset)
19 CASE 2,4 ; Widthwise
20 ; Initiate Gripper extension by setting required IO
21 SetOutputCont(number of the output bit, required State)
22 ; Inform palletTech of the displacement.
23 ; When gripper is extended supply negative number for the
displacement
24 ; else supply positive number for the displacement
25 SetGripperDisplacement(X-displacement, Y-Displacement,
ZDisplacement)
26 ; If this orientation change is introducing offset in the pick
position
27 ; that is defined in the configtool then that offset must be
supplied
28 here.
29 SetPickOffsets(x-pick offset, y-pick offset)
30 ENDSWITCH
31 ELSE
32 ; IF it is not the correct station to apply the offset the set
gripper to
33 normal
34 SetOutputCont(number of the output modified, normal state)
35 SetGripperDisplacement(0.0, 0.0, 0.0)
36 END
Description The station to which the gripper reconfiguration refers is defined with the argu-
ment Target.
The argument Target consists of the following elements:
.se_StationType: Station type
#Conveyor: Conveyor
#SlipSheet: Slipsheet station
#HOME: HOME position
#Pallet: Pallet station
#Reject: Reject station
#UNKNOWN: Unknown station
.si_StationNum: Station number from the configuration program
.si_StaOriType: Alignment of the item on the station
0: Invalid station
1, 3: Lengthwise alignment
2, 4: Widthwise alignment
Caution!
If the information about the changes is not specified, severe damage to the
robot and the cell may result.
Description If a change to the gripper affects the size or dimensions of the gripper, this in-
formation must be communicated to PalletTech.
After the item has been set down, the reconfigured gripper must be reset.
Description The function for lengthwise and widthwise pick-up makes it possible to modify
pick-up positions. Most systems use a turning mechanism to turn the item on
the conveyor from the lengthwise direction to the widthwise direction from one
pick-up to the next. This mechanism enables the alignment of the item on the
conveyor to be changed. This can lead to changes in the position on the con-
veyor – particularly when the conveyor is wider than the item. For this reason,
it is not possible to move to the items, which are transported in a standard di-
rection defined in the editor, in the event of a change in their alignment. In or-
der to compensate for this change, a modification is made in the PalletTech
KRL.
Global DEF SetPickOffsets(XOffset :IN, YOffset :IN)
Description: This function applies custom pick offsets to the pick
positions.
XOffset: Offset to be applied in the X direction.
YOffset: Offset to be applied in the Y direction.
14 Appendix
Overview If the “Dynamic Reposition” option is activated, every station must be assigned
a unique sequence value. If the robot moves within the cell from the source
station to the target station, KUKA.PalletTech uses the sequence value to de-
termine which stations the robot will cross.
When assigning the sequence values, ensure that the values are arranged
in ascending or descending order around the cell in accordance with the ro-
bot motion.
Example The following diagram shows an example of a numbering order for the se-
quence values.
Description If the robot moves from conveyor station 4 to pallet station 3, KUKA.PalletTech
determines which stations need to be crossed. In this example, the robot rec-
ognizes that conveyor station 4 has the sequence value 7. Pallet station 3 has
the sequence value 10. The robot crosses all the stations whose sequence
values lie between 7 and 10.
For dynamic repositioning, KUKA.PalletTech determines which of these sta-
tions (conveyor station 4, slipsheet station 2, pallet station 4 and pallet station
Description With the look-ahead function, the PLC can determine how many items are
needed for the next pick-up and setdown cycle. The PLC sends the conveyor
a request for the next item as soon as the “Item gripped” signal is set. The re-
quest to the conveyor is sent until the layer pattern is completely processed.
Motion to the When the robot has reached the perch position of the conveyor station, it car-
conveyor ries out the following motions:
1. PTP motion to the perch position of the conveyor station
2. PTP motion to the pre-pick position
3. LIN motion to the grip position
Motion from After picking up the item, the robot executes the following motions:
conveyor 1. LIN motion from the grip position to the post-pick position
2. PTP motion to the perch position of the conveyor station
Motion to the When the robot has reached the perch position of the pallet station, it carries
pallet station out the following motions:
1. PTP motion to the perch position of the pallet station
2. PTP motion to the approach point
3. LIN motion to the pre-drop position
4. LIN motion to the setdown position
Motion from the After setting down the item, the robot executes the following motions:
pallet station
Overview The motions required for the robot to pick up a slipsheet depend on the type
of slipsheet station. A slipsheet station can be searchable or non-searchable.
Motion away from the slipsheet station is equivalent to the motion of the robot
away from a conveyor station.
Searchable When the robot has reached the perch position of the pallet station, it carries
slipsheet station out the following motions:
1. PTP motion to the perch position
2. PTP motion to the above-pick position
3. LIN motion with fast search velocity and acceleration (search 1, until the
“slow” search sensor is tripped)
4. LIN motion with slow search velocity and acceleration (search 2, until the
stop sensor is tripped)
Grip position for the next approach to this station is saved
5. LIN motion to the above-pick position
6. PTP motion to the perch position
Non-searchable When the robot has reached the perch position of the pallet station, it carries
slipsheet station out the following motions:
1. PTP motion to the perch position
2. PTP motion to the above-pick position
3. LIN motion to the grip position
Grip position for the next approach to this station is saved
15 KUKA Service
Introduction The KUKA Roboter GmbH documentation offers information on operation and
provides assistance with troubleshooting. For further assistance, please con-
tact your local KUKA subsidiary.
Availability KUKA Customer Support is available in many countries. Please do not hesi-
tate to contact us if you have any questions.
Argentina Ruben Costantini S.A. (Agency)
Luis Angel Huergo 13 20
Parque Industrial
2400 San Francisco (CBA)
Argentina
Tel. +54 3564 421033
Fax +54 3564 428877
ventas@costantini-sa.com
Index
A I
Appendix 91 I/O settings 88
Automatic operation, configuration 46 Inputs, configuration 37, 39
Automatic Reject 32, 61 Installation 23
Installation, KUKA.PalletTech 23
B Introduction 7
Base number 34 Item 8
Base, calibration 30 Item cluster 8
Item height factor 78
C Items, defining the alignment 34
Calibration, conveyor 28
Calibration, station 29 K
Cell integration 18 Knowledge, required 7
Cell number 32 KUKA Customer Support 97
Change number of layers 80 KUKA.PalletTech, integration into an application
Command interface 71 85
Command interface signals 71
Communicating the required changes to Pallet- L
Tech 88 Last Pick 76
Configuration 27 Layer 8
Configuration program, overview 31 Layer pattern 8
Configuration, overview 27 Layer pattern file 8
Conveyor station 8 Layer pattern files, copying to robot controller 55
Conveyor, calibration 28 Layer patterns, creation 18
Conveyor, unlocking 59 Layer patterns, loading 55
Layer patterns, selecting 55
D Load 8
Debugging the command interface 83 Load data, entering 38
Deselect program 79 Logical gripper 14
Detented Valves 33 Logical offset 14
Diagnosis 59 Logical offset in a clamp gripper 15
Directory for layer pattern files, defining 52 Logical offset in a vacuum gripper 14
Documentation, industrial robot 7 Look-ahead function 8
Dynamic 34 Look-ahead function for conveyors 75
Dynamic repositioning 33, 43
M
E Menus 25
Error codes 66 Messages 63
Error messages of the command interface 81 Motion, from the slipsheet station 94
Motion, to and from the conveyor 92
F Motion, to and from the pallet station 93
Frame 8 Motion, to non-searchable slipsheet station 95
Full load 8 Motion, to searchable slipsheet station 94
Function sequence of the command interface 72 Multi-cycle conveyor 8
Functional description, command interface 71 MultiPick / MultiPlace 8
Functions 11 MultiPick / SinglePlace 8
G N
Gripper change, setting values 88 Number of Conveyors 32
Gripper, configuring inputs 39 Number of Pallets 32
Gripper, configuring outputs 39 Number of Slipsheets 32
Gripper, reconfiguring 86
Grippers 12 O
Operation 25
H Orientation 34
Handling offsets of the pick-up position 89 Outputs, configuration 37, 39
Hardware 23 Overview of configuration, KUKA.PalletTech 27
Height, minimum 34 Overview, KUKA.PalletTech 11
P T
Package 8 Target group 7
Pallet 8 Terms used 8
Pallet reset 74 Trademarks 9
Pallet station 8 Training program 7
Palletizing cycle 8 Troubleshooting 61
Palletizing program 8
Palletizing system 8 U
Palletizing, starting 57 Uninstallation, KUKA.PalletTech 23
Perch position 8 Unlock locked-out pallet 76
Perch position, configuration 48 User-defined motions 86
Perch positions, teaching 48 UserMethods.SRC, functions 85
Physical gripper 12
Product change, automatic 46 W
Product description 11 Warnings 7
Production operation, starting 57 Workflow 18
Programming 55
PT_ConveyorMotion.SRC, functions 86 X
X offset 34
R
Reconfiguring a gripper, example 89 Y
Reinstallation, KUKA.PalletTech 23 Y offset 34
Reject station 8
Reset program 79 Z
Reset slipsheet station 78 Z offset 34
Robot cell, configuration 32
Robot cell, configuring stations 33
Robot motions, configuration 41
Runtime operation 19
S
Safe position, example 50
Safe positions, inline forms 51
Safe positions, teaching 49
Safety 21
Safety instructions 7
Searchable 34
Segment 14
Segments, numbering convention 14
Sequence 34
Sequence values, example 91
Service, KUKA Roboter 97
Slipsheet 8
Slipsheet station, non-searchable 95
Slipsheet station, searchable 94
Softkeys, configuration 26
Software 23
Start Cell.src 80
Station number 8
Station relationships, configuration 45
Station, calibration 29
Stations, configuration 33
Stations, configuring inputs 37
Stations, configuring outputs 37
Status keys, configuration 26
Stopping a program 57
Support request 97
Supported commands 74
System requirements 23