Chapter 7
92
UM10350_PCNC770_Manual_0916A
Programming
Spaces and tabs are allowed anywhere on a line of code and do not change the meaning of the line,
except inside comments. For example, the line:
G00 x +0. 12 34y 7
is equivalent to:
G00 x+0.1234 y7
Blank lines are allowed in the input, but are ignored.
Input is not case sensive, except in comments, therefore any leer outside a comment may be in
uppercase or lowercase without changing the meaning of a line.
Block Delete Character
The operang system omits blocks of code that are prexed with the forward slash symbol (/).
Line Number
A line number is indicated by the leer N followed by an integer (with no sign) between 0 and
99,999,999 and wrien without commas.
Line numbers may be repeated or used out of order, although normal pracce is to avoid such
usage. A line number is not required and oen omied.
Word
A word is a leer other than N or O followed by a real value. Words may begin with any of the leers
shown in the table below. The table includes N and O for completeness, even though, as dened
above, line numbers are not words. Several leers (I, J, K, L, P and R) may have dierent meanings
in dierent contexts.
Word Initial Leters
Letter Meaning
A A-axis of mill
B B-axis of mill
C C-axis of mill
D Tool radius compensation number
F Feed rate
G General function
H Tool length offset index
I
X-axis offset for arcs
X offset in G87 canned cycle
J
Y-axis offset for arcs
Y offset in G87 canned cycle
(connued on next page...)