13.3 Variables
13.3 Variables
A robot program can make use of variables to store and update various values during
runtime. Two kinds of variables are available:
Installation variables: These can be used by multiple programs and their names and
Regular program variables: These are available to the running program only and their
The following variable types are available:
bool
int
float
string
pose
list
13.4 Command: Empty
Version 3.1
(rev. 17782)
values are persisted together with the robot installation (see 12.10 for further de-
tails);
values are lost as soon as the program is stopped.
A boolean variable whose value is either True or False.
A whole number in the range from
A floating point number (decimal).
A sequence of characters.
A vector describing the location and orientation in Cartesian space. It is
a combination of a position vector x, y, z and a rotation vector rx, ry, rz
representing the orientation, written p[x, y, z, rx, ry, rz].
A sequence of variables.
32768 to 32767.
II-49
CB3