Fundamental Principles of NC Programming
2.2 Language elements of the programming language
Fundamentals
Programming Manual, 10.2004 Edition, 6FC5 298-7AB00-0BP1
2-7
Addresses
Addresses are fixed or settable identifiers for axes (X, Y, etc.), spindle speed (S), feedrate
(F), circle radius (CR), etc.
Example:
N10 X100
Important addresses
Address Meaning (default setting) Notes
A=DC(...)
A=ACP(...)
A=ACN(...)
Rotary axis variable
ADIS Rounding clearance for path functions fixed
B=DC(...)
B=ACP(...)
B=ACN(...)
Rotary axis variable
C=DC(...)
C=ACP(...)
C=ACN(...)
Rotary axis variable
CHR=... Chamfer the contour corner fixed
D... Cutting edge number fixed
F... Feed fixed
FA[axis]=... or
FA[spindle]=... or
[SPI(spindle)]=...
Axial feed
(only if spindle no. defined by variable)
fixed
G... Preparatory function fixed
H...
H=QU(...)
Auxiliary function
Auxiliary function without read stop
fixed
I... Interpolation parameters variable
J... Interpolation parameters variable
K... Interpolation parameters variable
L... Subprogram call fixed
M...
M=QU(...)
Miscellaneous (i.e., special) function
Miscellaneous fct. w/o read stop
fixed
N... Subblock fixed
OVR=... Path override fixed
P... Number of program passes fixed
POS[Axis]=... Position axis fixed
POSA[Axis]=... Positioning axis across block boundary fixed
SPOS=...
SPOS[n]=...
Spindle position fixed
SPOSA=...
SPOSA[n]=...
Spindle position across block boundary fixed
Q... Axis variable
R0=... to Rn=...
R...
Arithmetic parameter, n can be set via MD
(default 0-99)
- Axis
fixed
variable