Program code Comment
X4=20 ; Axis X4; "=" is required
CR=7.3 ; Two letters; "=" are required
S1=470 ; Speed for 1st spindle: 470 rpm
M3=5 ; Spindle stop for 3rd spindle
The numeric extension can be replaced by a variable for addresses M, H, S and for SPOS and
SPOSA. The variable identifier is enclosed in square brackets.
Examples:
Program code Comment
S[SPINU]=470 ; Speed for the spindle whose number is stored in the SPINU vari-
able.
M[SPINU]=3 ; Clockwise rotation for the spindle whose number is stored in the
SPINU variable.
T[SPINU]=7 ; Selection of the tool for the spindle whose number is stored in
the SPINU variable.
2.15.5 Names
The commands according to DIN 66025 are supplemented with named objects, etc. by the NC
high-level language.
Examples of named objects:
● System variables
● User-defined variables
● Axes/spindles
● Subprograms
● Keywords
● Jump markers
● Macros
Note
Identifiers must be unique. It is not permissible to use the same identifier for different objects.
Fundamentals
2.15 Other information
NC programming
382 Programming Manual, 12/2019, 6FC5398-2EP40-0BA0