Motion synchronous actions
10.3 Main run variables for synchronized actions
Job planning
Programming Manual, 07/2010, 6FC5398-2BP40-0BA0
559
Data types
Main run variables can feature the following data types:
INT Integer for whole values with prefix signs
REAL Real for rational counting
BOOL Boolean TRUE and FALSE
CHAR ASCII character
STRING Character string with alpha-numerical characters
AXIS Axis addresses and spindles
Preprocessing variables can also feature the following data types:
FRAME Coordinate transformations
Variable arrays
System variables can be set-up as 1 to 3-dimensional arrays.
The following data types are supported: BOOL, CHAR, INT, REAL, STRING, AXIS
The data type of the indices can be either type INT or AXIS, whereby this can be sorted as
required.
STRING variables can only be set-up in 2-dimensions.
Example for array definitions:
DEF BOOL $AA_NEWVAR[x,y,2]
DEF CHAR $AC_NEWVAR[2,2,2]
DEF INT $AC_NEWVAR[2,10,3]
DEF REAL $AA_VECTOR[x,y,z]
DEF STRING $AC_NEWSTRING[3,3]
DEF AXIS $AA_NEWAX[x,3,y]
Note
3-dimensional system variables can be displayed without any restrictions if there is a OPI
variable for the system variables