Variables Tab

Description

The Variables tab in the Program Tab shows the live values of variables in the running program.

The variables appear as a list in the pane under the Variables tab on the right side of the screen.

Variables only appear when there is information to display and remain visible between program runs.

 

Show Waypoints

You can check the Show Waypoints box to display the waypoint variables in the running program.

In the Variables pane, you can also use the following options:

  • Select Show Waypoints to show waypoint script variables in the variables list. The robot program uses script variables to store information about waypoints. Select the Show Waypoints checkbox, under Variables to show script variables in the variables list.

  • Select Show only favorite variables to only view favorite variables on the Variables Tab. This is the same as in the Variables pane on the Run Tab (See Run Tab).

 

Variable Value Types

A robot program uses variables to store and update various values during runtime. Variables only appear when there is information to display. Variable types include:

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

  • Installation variables - These can be used by multiple programs and their names and values stay together with the robot installation (see Installation Variables).

  • Script variables - These come from script files and they can be assigned different variable types. Script variables do not appear in the Program tab or in the Installation tab. The robot program uses the script variables to store information about waypoints. You can select the Show Waypoints checkbox, under Variables, to show script variables in the variables list.

The table below list variable value types:

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