Chapter 7
93
UM10350_PCNC770_Manual_0916A
Programming
Word Initial Leters
Letter Meaning
K
Z-axis offset for arcs
Z offset in G87 canned cycle
L
Number of repetitions in canned cycles/subroutines
Key used with G10
M Miscellaneous function
N Line number
O Subroutine label number
P
Dwell time in canned cycles
Dwell time with G04
Key used with G10
Tapping depth in M871 – M874
Q
Feed increment in G83 canned cycle
Repetitions of subroutine call
R
Arc radius
Canned cycle retract level
S Spindle speed
T Tool selection
U Synonymous with A
V Synonymous with B
W Synonymous with C
X X-axis of mill
Y Y-axis of mill
Z Z-axis of mill
Parameter
Parameter programming is a special subset of the part programming language. For more details on the
use of parameters, see Advanced Programming with Parameters and Expressions later in this chapter.
Comments and Messages
Comments can be added to lines of G-code to help clear up the intenon of the programmer.
Comments can be embedded in a line using parentheses ( ) or for the remainder of a line using a
semicolon. The semicolon is not treated as the start of a comment when enclosed in parentheses.
Comments may appear between words, but not between words and their corresponding parameter.
So:
S100(set speed)F200(feed)is OK while
S(speed)100F(feed) is not.
(...continued)