
B-63944EN-1/01 PROGRAMMING 2.PREPARATORY FUNCTION (G FUNCTION)
- 13 -
2 PREPARATORY FUNCTION (G
FUNCTION)
A number following address G determines the meaning of the
command for the concerned block.
G codes are divided into the following two types.
Type Meaning
One-shot G code
The G code is effective only in the block in which it
is specified.
Modal G code
The G code is effective until another G code of the
same group is specified.
(Example)
G01 and G00 are modal G codes in group 01.
G01 X_ ;
Z_ ; G01 is effective in this range.
X_ ;
G00 Z_ ; G00 is effective in this range.
X_ ;
G01 X_ ;
:
There are three G code systems in the lathe system : A,B, and C
(Table 2(a)). Select a G code system using the parameters GSB and
GSC (No. 3401#6 and #7). To use G code system B or C, the
corresponding option is needed. Generally, User’s Manual describes
the use of G code system A, except when the described item can use
only G code system B or C. In such cases, the use of G code system B
or C is described.