
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
specifi c 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 specifi c 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 ofblock character
miscellaneousfunction word
(spindleon forward)
axismovementwords
preparatoryfunctionword
(rapidpositioning mode)
sequencenumber word
optionalblockdelete character
The control sequentially executes blocks i n a part program to conduct the
required grinding operation.
Important: To make jumps, loops, or cal culations 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
Komentarze do niniejszej Instrukcji