Siemens SINUMERIK 840D sl Programming Manual page 647

Job planning
Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

The 2nd letter is usually only used for main run variables. Preprocessing variables, such as
e.g. $P_, are usually executed without the 2nd letter.
An underscore and the subsequent variable name (usually an English designation or
abbreviation) follow the prefix ($ followed by one or two letters).
Data types
Main run variables can feature the following data types:
INT
REAL
BOOL
CHAR
STRING
AXIS
Preprocessing variables can also feature the following data types:
FRAME
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
Job Planning
Programming Manual, 06/2009, 6FC5398-2BP20-0BA0
10.3 Main run variables for synchronized actions
Integer for whole values with prefix signs
Real for rational counting
Boolean TRUE and FALSE
ASCII character
Character string with alpha-numerical characters
Axis addresses and spindles
Coordinate transformations
Motion synchronous actions
647

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828dSinumerik 840de sl

Table of Contents