Variables

Description

A robot program can make use of variables to store and update values during runtime. The variables in the table below are available:

Installation variables

These can be used by multiple programs and their names and values are persisted together with the robot installation. Installation variables keep their value after the robot and control box has been rebooted.

Regular program variables

These are available to the running program only and their values are lost as soon as the program is stopped.

Show waypoints allows the robot program to use script variables to store information about waypoints. You can select the Show Waypoints checkbox, under Variables to show script variables in the variables list.

 

Available Output Actions
bool A boolean variable whose value is either True or False.
int A whole number in the range from  − 2147483648 to 2147483647 (32 bit).
float A floating point number (decimal) (32 bit).
string

A sequence of characters.

pose

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].

list

A sequence of variables.