Rockwell Automation 8520-GUM 9/Series CNC Grinder Operation and Programming Manual Documentation Set User Manual
Page 285

Introduction to Programming
Chapter 10
10-7
words ---- A word consists of an address followed by a numeric value.
Examples of words are: G01, X10.5, F.1., M2. Each word requires a
specific format for its numeric part. These formats are given on page
10-21.
codes ---- There are industry standards for many of the G and M words
used here. For that reason, they are often referred to as G or M “codes”.
parameters ---- The control has a number of fixed cycles that are
initiated by a specific G word. Other words appearing in those G code
blocks are referred to as “parameters” because their values are relevant
only to that G code. For example, a Z word generally refers to a Z axis
move, but when it appears in a block with a G81 reciprocation cycle, its
value refers to the coordinate of the primary reversal point. In that case,
it is a “parameter” of the G81 reciprocation cycle.
A block is a set of words and characters that define the operations of the
control. For example:
/ N3
G00
X10. Z10. M3 ;
end of block character
miscellaneous function word
(spindle on forward)
axis movement words
preparatory function word
(rapid positioning mode)
sequence number word
optional block delete character
The control sequentially executes blocks in a part program to conduct the
required grinding operation.
Important: To make jumps, loops, or calculations within an executing
program or subprogram, use the paramacro features as described in chapter
20.
A part program has a:
beginning ---- setting up the control and the grinder to perform the
operations wanted
middle ---- performing the grinding operations
end ---- returning the grinding wheel to a stopping
position
and preparing
the control for the next part program