Flexible NC programming
1.1 Variables
Job planning
Programming Manual, 07/2010, 6FC5398-2BP40-0BA0
17
Prefix system
In order that they can be specifically identified, the names of system variables are usually
preceded by a prefix comprising the $ sign followed by one or two letters and an underscore.
$ + 1st letter Significance: Data type
System variables which are read/written during preprocessing
$M Machine data
1)
$S Setting data, protection zones
1)
$T Tool management data
$P Programmed values
$C Cycle variables of ISO envelope cycles
$O Option data
R R-parameters (arithmetic parameters)
2)
System variables which are read/written during the main run
$$M Machine data
1)
$$S Setting data
1)
$A Up-to-date main run data
$V Servo data
$R R-parameters (arithmetic parameters)
2)
1) When machine and setting data are used in the part program/cycle as preprocessing variables, the
prefix is written with one $ sign. When they are used in synchronized actions as main run variables,
the prefix is written with 2 $ characters.
2) When an R-parameter is used in the part program/cycle as a preprocessing variable the prefix is
omitted, e.g. R10. When it is used in a synchronized action as a main run variable, a $ sign is written
as a prefix, e.g. $R10.
2nd letter Significance: Visibility
N NCK-global variable (NCK)
C Channel-specific variable (Channel)
A Axis-specific variable (Axis)