Robot Programming Manual PDF
Robot Programming Manual PDF
Robot Programming Manual PDF
Robot Programming
Training Documentation
Thursday,
November 10,
2016
Contents
2
Counterbalancing
system Wrist
Rotating column
Base frame
Space Mouse
Stop key
Jog keys
Start backward
key
Program override key
Start key
1. Safety fence
2. Mechanical end stops or axis
range limitation for axes 1, 2 and 3
3. Safety gate with contact for
monitoring the closing function
4. EMERGENCY STOP button
(external)
5. EMERGENCY STOP button,
enabling switch, keyswitch for
calling the connection manager
6. Integrated (V)KR C4 safety
controller
Thursday, November 10, 2016
Executing an axis-specific motion
11
3. Press the enabling switch into the center position and hold it down.
In the case of jogging in the tool coordinate system, the robot can be moved
relative to the coordinate axes of a previously calibrated tool.
The coordinate system is thus not fixed ,but guided by the robot.
The origin of the tool coordinate system is called the TCP and corresponds to
the working point of the tool .
The robot tool can be moved with reference to the coordinate axes of the
base coordinate system. Base coordinate systems can be calibrated
individually and are often oriented along the edges of workpieces, workpiece
locations or pallets. This allows convenient jogging!
Stop category 0
The drives are deactivated immediately and the brakes are applied. The
manipulator and any external axes (optional) perform path oriented braking.
Note: This stop category is called STOP 0 in this document.
Stop category 1
The manipulator and any external axes (optional) perform path-maintaining
braking. The drives are deactivated after 1 s and the brakes are applied.[STOP 1]
Stop category 2
The drives are not deactivated and the brakes are not applied. The manipulator
and any external axes (optional) are braked with a path maintaining braking
ramp.
Some production and machining processes require the robot to handle the
workpiece instead of tool. The advantage is that it is not necessary to
set the workpiece down first before it can be machined thus saving on
clamping fixtures.
For example:
Adhesive bonding applications
Welding applications etc.
A1 -20 0
A2 -120 -90
A3 +120 +90
A4 0 0
A5 0 0
A6 0 0
Thursday, November 10, 2016
When mastering is required?
27
A robot must always be mastered. Mastering must be carried out in the following
cases:
During commissioning
If robot axes are moved without the controller (e.g. by means of a release
device)
Protective cap
Reference Notch Signal cable Connector X32
Pre-mastering
position Thursday, November 10, 2016
Safety instructions For mastering
30
Step1:
Move robot to the pre-mastering position.
Step2:
Select Start-up > Master > EMD > With load correction >First mastering
in the main menu.
Step3:
Remove the protective cap of the gauge cartridge on the axis highlighted in
the window.
Step4:
Then attach the signal cable to the EMD and plug into connector X32 on the
robot junction box..
Step6:
Press the enabling switch into the center position and hold it down, and press
and hold down the Start key.
Step7: Remove the signal cable from the EMD. Then remove the EMD
from the gauge cartridge and replace the protective cap.
Coming Soon
Tool calibration means the generation of a coordinate system which has its
origin in a reference point of the tool.
Step Description
1. Select the menu Setup > Measure > Tool > XYZ 4-point.
2. Assign a number and a name for the tool to be calibrated. Confirm with Next.
3. Move the TCP to a reference point. Press the Calibrate softkey and
confirm the dialog Apply current position? Resuming calibration. with Yes.
4. Move the TCP to the reference point from a different direction. Press
Calibrate again and answer the dialog with Yes.
In the case of the XYZ Reference method, a new tool is calibrated with a tool
that has already been calibrated.
The robot controller compares the flange positions and calculates the TCP of
the new tool.
ABC World
5D 6D
Procedure :
1. If 5D is selected:
Align +XTOOL parallel to -ZWORLD. (+XTOOL = tool direction)
2. If 6D is selected:
Align +XTOOL parallel to -ZWORLD. (+XTOOL = tool direction)
Thursday, November 10, 2016
Tool Orientation Calibration: ABC World method
51
Procedure :
1. Start-up > Calibrate > Tool > ABC
World.
2. Enter the number of the tool. Confirm
with Next.
3. Select a variant in the box 5D/6D.
Confirm with Next.
Procedure :
1. If 5D is selected:
Align +XTOOL parallel to -ZWORLD. (+XTOOL = tool direction)
2. If 6D is selected:
Align +XTOOL parallel to -ZWORLD. (+XTOOL = tool direction)
Thursday, November 10, 2016
Tool Orientation Calibration: ABC World method
52
Procedure :
1. If 5D is selected:
Align +XT -ZW (+XTOOL = tool direction)
2. If 6D is selected:
Align +XT -ZW
Align +YT +YW
Align +ZT +XW
Calibration of a tool using the XYZ 4-Point and ABC World methods
Activation of a calibrated tool
Moving the robot in the tool coordinate system
Moving the robot in the tool direction
Reorientation of the tool about the Tool Center Point (TCP)
Methods Description
7. Press Save.
8. Close the menu- Base is calibrated
Orientation
5D 6D
Thursday, November 10, 2016
Calibration of a fixed tool: Concept
67
The origin and 2 further points of the workpiece are communicated to the
robot controller.
1. Setup > Measure > Fixed tool > Workpiece > Direct measuring.
2. Assign a number & name for the workpiece. Confirm with Next.
3. Enter the number of the fixed tool. Confirm with Next.
4. Move the origin of the workpiece coordinate system to the TCP of the fixed tool.
Press Calibrate and confirm the position with Yes.
5. Move a point on the positive X axis of the workpiece coordinate system to the
TCP of the fixed tool. Press Calibrate and confirm the position with Yes.
6. Move a point with a positive Y value in the XY plane of the workpiece
coordinate system to the TCP of the fixed tool. Press Calibrate and confirm
the position with Yes.
7. Enter the load data of the workpiece and confirm with Next.
8. Press Save
Thursday, November 10, 2016
Exercise: Calibrating an external tool and robot-guided
71
workpiece
Initialization run
Selecting and starting robot programs
If a robot program is to be
executed, it must be selected!!
Program
1. Select program.
Starting a Program
83
Starting a Program
84
Once the end position has been reached, the motion is stopped.
The notification message Programmed path reached (BCO) is displayed.
Program module/module
Source code:
DEF BML ()
INI
PTP HOME Vel= 100% DEFAULT
PTP POINT1 Vel=100% PDAT1 TOOL[1] BASE[2]
PTP P2 Vel=100% PDAT2 TOOL[1] BASE[2]
Data list:
Point to Point
CP Motion
Point To Point Motion
102
HOW??
Motion commands with CONT
WHY??
Reduced wear
Shorter cycle times
Approximate Positioning: Shorter Cycle time
107
Without Approximate
Positioning
With Approximate
Positioning
Computer Advance Run Pointer
108
The computer advance run loads the motion blocks in the advance run (not
visible for the operator) to allow the controller to carry out path planning in the
case of approximate positioning commands.
Possible Advance
run Pointer
Inline Command
109
Motion Types
Point Name
Approximation
Velocity
Motion Data
Motion Data
110
Create simple motion programs with the motion types PTP, LIN and CIRC
Create motion programs with exact positioning points and approximate
positioning
Motion programming with external TCP
118
In the case of motion programming with a fixed tool, the motion sequence
differs from standard motion :
Labeling in inline form: the entry External TCP in the must be TRUE.
Motion programming with external TCP
119
Input and output signals are used for logic statements in the programming of
KUKA robots:
OUT | Switches an output at a specific point in the program
WAIT FOR | Signal-dependent wait function: the controller waits for a
signal here:
Input IN
Output OUT
Time signal TIMER
FLAG or CYCFLAG (if continuously and cyclically evaluated)
WAIT | Time-dependent wait function: the controller waits a specified
time at this point in the program
Programming With Wait Functions
124
Wait time 0 s
The computer advance run loads the motion blocks in the advance run (not
visible for the operator) to allow the controller to carry out path planning in the
case of approximate positioning commands.
Possible Advance
run Pointer
Programming With Wait Functions : WAIT FOR
128
Approximate
positioning
Option Start/End
-1000 to +1000 ms
Programming Time-Distance Functions
135
Option Start/End
-1000 to +1000 ms
Programming Time-Distance Functions
136
Option PATH
With the option PATH, a switching action can be triggered relative to the end
point of a motion block.
Variables are assigned with their memory location, type, name and content.
There are two type of Memory location here:
Local
It only exists during the runtime of the program.
Global
If the variable is global, it can be displayed at any time