Flexible NC programming
1.1 Variables and arithmetic parameters (user-defined variables, arithmetic parameters, system variables)
Job planning
1-2 Programming Manual, 03/2006 Edition, 6FC5398-2BP10-1BA0
BOOL
Boolean values: TRUE (1) and
FALSE (0)
1.0
CHAR ASCII character specified by the
code
0 … 255
STRING Character string, number of
characters in [...], maximum of 200
characters
Sequence of values with 0 ... 255
AXIS Axis identifiers only (axis addresses) Any axis identifiers in the channel
FRAME Geometric data for translation,
rotation, scaling, mirroring, see the
"Frames" Chapter
Arithmetic variables
Address R provides 100 arithmetic variables of type REAL by default.
The exact number of arithmetic variables (up to 32535) is defined in machine data.
Example: R10=5
System variables
The control provides system variables that can be contained and processed in all running
programs.
System variables provide machine and control states. Some system variables cannot be
assigned values.
Summary of system variables
Special identifiers of system variables always begin with a "$" sign. The specific names then
follow.
1st letter Meaning
$M Machine data
$S Setting data
$T Tool management data
$P Programmed values
$A Current values
$V Service data
2nd letter Meaning
N NCK global
C Channel-specific
A Axis-specific
Example: $AA_IM
Meaning: Current axis-specific value in the machine coordinate system.