Fanuc Power Mate i-D/H Operator Manual

PROGRAMMING
(Common to Power Mate i–D and –H)
B–63174EN/03
3. PREPARATORY FUNCTION
(G FUNCTION)
31
3
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 speci-
fied.
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) The user can select G00 or G01 by setting bit 0 (G01) of
parameter No.3402.
(4) The user can select G90 or G91 by setting bit 3 (G91) of
parameter No.3402.
(5) The user can select G17, G18, or G19 by setting bit 1 (G18) and
bit 1 (G19) of parameter No.3402.
2. G codes 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. If a G code belonging to group 01 is specified in a canned cycle, the
canned cycle is cancelled. This means that the same state set by
specifying G80 is set. Note that the G codes in group 01 are not
affected by a G code specifying a canned cycle. (In case of Power
Mate i–D/D2)
6. G codes are indicated by group.
Explanations

Leave a Reply

Your email address will not be published. Required fields are marked *