
2. FUNCTION SPECIFICATIONS THAT DIFFER
FROM THE M series
B–63683EN/01
38
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.
G01X ;
Y ;
X ;
G00Y ;
G01 is effective in this range.
1. When the clear state (bit 6 (CLR) of parameter No. 3402) is set at
power–up or reset, the modal G codes are placed in the states described
below.
(1)The modal G codes are placed in the states marked with
as
indicated in Table 3.
(2)G20 and G21 remain unchanged when the clear state is set at
power–up or reset.
(3)For G22 and G23, G22 is set at power–up. However, G22 and G23
remain unchanged when the clear state is set at reset.
(4)The user can select G00 or G01 by setting bit 0 (G01) of parameter
No.3402.
(5)The user can select G90 or G91 by setting bit 3 (G91) of parameter
No.3402.
(6)The user can select G17, G18, or G19 by setting bit 1 (G18) and bit
1 (G19) of parameter No. 3402.
2. G codes of group 00 other than G10 and G11 are one–shot G codes.
3. When a G code not listed in the G code list is specified, or a G code
that has no corresponding option is specified, alarm No. 010 is output.
4. Multiple G codes can be specified in the same block if each G code
belongs to a different group. If multiple G codes that belong to the
same group are specified in the same block, only the last G code
specified is valid.
5. G codes are indicated by group.
6. The G code system is set by parameter GSB (No.3401#6).
2.13
PREPARATORY
FUNCTION
(G FUNCTION)
Explanations