RP 2
RP 2
Programming languages:
Source: KUKA
Robot Programming: KUKA Teach Box
Motion mode
Emergency Stop
Jogging
Axis movement
KUKA Teach Box ( rear view)
Safety switch
KRL Program language: Basic Instructions
-Motion
PTP HOME
PTP point_x,
LIN point_x, (CP-linear)
CIRC point _x, (CP-circular),
-Motion specific parameters
VEL <Wert> speed [m/s]
VEL <%> with PTP
CONT pass over
Basic instructions -Motion data
(KRL= KUKA Robot Language) PDAT PTP motion data
CPDAT CP motion data
-Program identifier: DEF < Name>
-Program-Initialisation: INI
-Program-End: END
KRL Programming language
1 DEF my program
2 INI
3 PTP HOME VEL=100%,
4 PTP P1 VEL= 60% PDAT1 TOOL[2]
5 LIN P2 VEL= 1m/s CPDAT1 TOOL[2]
6 PTP P3 VEL= 80% PDAT1 TOOL[2]
7CIRC P4,P5 VEL=1,5m/s CPDAT1 TOOL[2]
8 .....
9 .......
10 PTP HOME VEL=100%
11 END
Second Generation Language
Robotics 13
1
KUKA user interfaces
Teach pendant
KRL
programming
Ethernet RSI XML
Fast Research
Interface
Robotics 14
1
KRL language
basic instruction
set:
DO
end-effector
orientation
PTP motion
CONST orientation
(linear in RPY angles)
Robotics 16
1
KRL language
multiple coordinate frames (in Cartesian space) and
jogging of robot joints
Robotics 17
1
KUKA Ethernet RSI
Robot Sensor Interface
Robotics 18
1
Example of RSI use -1
ZBASE
Robotics 19
1
Fast Research Interface (FRI)
for KUKA Light Weight Robot (LWR-IV)
available
at DIAG
Robotics Lab
since Sep 2012
Robotics 20
1
▪ The features and capabilities of second
generation languages are as follows:
1. Motion Control
2. Advanced sensor capabilities
3. Limited intelligence
4. Communication and data processing
Future Generation Language
Robotics 23
1
Functional control architecture
reference model
sensor knowledge decision
processing models strategies
task
S M D
level
. . . operator
. action
global memory
S M D
interface
level
. primitives
S M D
level
. . .
. servo
S M D
level
sensors actuators
Robotics 24
1
Functional architecture: Modules
horizontal decomposition reference model
sensor knowledge decision
processing models strategies
task
S M D
level
. . . operator
. SENSORY MODULES
action i
global memory
S M D
nt er c e
acquisition, processing
leveland
fa
integration of sensory data
. primitives
S M D
level
. . .
. servo
S M D
level
sensors actuators
Robotics 25
1
Functional architecture: Modules
horizontal decomposition reference model
sensor knowledge MODELING MODULES
decision
processing models strategies
a priori knowledge about
robot task
S M D + environment
level system,
. . updated using information
. operator
from sensory modules
. action
global memory
S M D
interface
level
. primitives
S M D
level
. . .
. servo
S M D
level
sensors actuators
Robotics 26
1
Functional architecture: Modules
horizontal decomposition reference model
sensor knowledge decision
processing models strategies
DECISION MODULES task
M D
• decompositionS(in time and space) level
.S .M level . operator
oflgtasks. into actions of lower
ob
• choice and processing of strategies D action
interface
level
al memory
. primitives
S M D
level
. . .
. servo
S M D
level
sensors actuators
Robotics 27
1
Functional architecture: Modules
horizontal decomposition reference model
sensor knowledge decision
processing models strategies
task
S M D level
. GLOBAL. MEMORY . operator
data and information relevant
. action
global memory
S M D
to all levels (updated estimate leel
interface
of robot + environment state) v
. primitives
S M D
level
. . .
. servo
S M D
level
sensors actuators
Robotics 28
1
Functional architecture: Modules
horizontal decomposition reference model
sensor knowledge decision
processing models strategies
task
S M D level
. OPERATOR
. INTERFACE
. operator
allows intervention by an action
.
global memory
S
operator atM any level of
D
the leel
interface
functional hierarchy v
. primitives
S M D
level
. . .
. servo
S M D
level
sensors actuators
Robotics 29
1
Reference model: Levels
TEMPORAL CONSTRAINTS
user) analyzed and decomposed into actions (based
INFORMATION COMPLEXITY
Robotics 30
1
A functional
architecture for
industrial robots D action
reference frames
request state path points
interpolation modes
camera
S M D
primitives
. ..
qdes qdes qdes
data control algorithm
request state
S M D
servo
data actuator
commands
force velocity position
Robotics 1
31
A functional
architecture for
industrial robots D action
vertical decomposition
reference frames
request
ACTION LEVEL state path points
interpolation modes
camera
• interpreter
S of high-level M
commands D
primitives
• task decomposition made by human . ..
qdes qdes qdes
operator data control algorithm
• no sensory and modeling modules
request state
(unless a multi-modal cognitive
S M D
human-robot interaction is possible) servo
data actuator
commands
force velocity position
Robotics 1
32
A functional
architecture for
industrial robots
D action
vertical decomposition
reference frames
request state path points
interpolation modes
camera
S M D
primitives
. ..
qdes qdes qdes
data control algorithm
PRIMITIVES LEVEL
request state
• S: (only for an active interaction with the environment)
world geometry, Sinteraction stateM D
servo
• M: direct and inverse kinematics, dynamic models
• D: command encoding, path generation, trajectory
interpolation, kinematic
data inversion, analysis of servoactuator
state, emergency handling commands
force velocity position
Robotics 33
1
A functional
architecture for
industrial robots D action
vertical decomposition
reference
SERVO LEVEL frames
request state path points
• S: signal conditioning, internal state of manipulator, state of
interpolation
camera
interaction with environment
modes
• M: direct kinematics,
S Jacobian, inverse
M dynamics
D
primitives
• D: command encoding, micro-interpolation, error handling, .
digital control laws, servo interface .
.
q q
S M D des des
servo
qdes
data control
algorithm
data actuator
request state commands
force velocity position
Robotics 34
1
Interaction among modules
task execution
motor control
perception horizontal
modeling
planning
sensors actuators activation
(sequential)
Robotics 35
1
LAAS architecture
alternative example by
LAAS/CNRS in Toulouse
five levels
decision
execution (synchronization)
Functional
functional (modules)
Level
R. Alami et al.
“An Architecture for Autonomy,”
Int. J. of Robotics Research, 1998
Robotics 36
1
ROBOT LANGUAGE STRUCTURE
▪ Powered leadthrough and manual leadthrough are
two methods of programming.
▪ The difference between the two is in the manner
in which the manipulator is moved through the
motion cycle during programming.
▪ Powered leadthrough is commonly used as thc
programming method for playback robots with
point-to-point control.
▪ It involves the use of a teach pendant (hand-held
control box) that has toggle switches and/or
contact buttons for controlling the movement of
the manipulator joints.
▪ Manual leadthrough programming is
convenient for programming playback robots
with continuous path control where the
continuous path is an irregular motion pattern
such as in spray painting.
▪ This programming method requires the
operator to physically grasp the end-of. arm or
tool attached to the arm and manually move it
through the motion sequence, recording the
path into memory.