Fundamental Principles of NC Programming
2.2 Language elements of the programming language
Fundamentals
Programming Manual, 10.2004 Edition, 6FC5 298-7AB00-0BP1
2-9
Example:
FA[U]=400 ;Axis-specific feed for U axis
Extended addresses
Extended address notation enables a larger number of axes and spindles to be organized in
a system. An extended address is composed of a numeric extension or a variable identifier
enclosed in square brackets and an arithmetic expression with an "=" sign.
Example:
X7 ;No "=" required, 7 is a value, but the "=" character can
;also be used here
X4=20 ;Axis X4 ("=" required)
CR=7.3 ;2 letters ("=" required)
S1=470 ;Speed for 1st spindle 470 rpm
M3=5 ;Spindle stop for 3rd spindle
The extended address notation is only permitted for the following direct addresses:
Address Meaning
X, Y, Z Axis addresses
I, J, K Interpolation parameters
S Spindle speed
SPOS,
SPOSA
Spindle position
M Special functions
H Auxiliary functions
T Tool number
F Feed
In the case of extended address notation, the number (index) can be substituted by a
variable for addresses M, H and S and for SPOS and SPOSA. The variable identifier is
enclosed in square brackets.
Example:
S[SPINU]=470 ;Speed for the spindle, whose number is stored in the
;SPINU variables.
M[SPINU]=3 ;Clockwise rotation for the spindle, whose number is stored in
the
;SPINU variables.
T[SPINU]=7 ;Selection of the tool for the spindle, whose number is stored
in the
;SPINU variables.