9 preparatory function (g-function) – Yaskawa J50M Instructions User Manual

Page 27

Advertising
background image

2.8.8 OTHER M CODES

For using M codes, other than those mentioned
a b o v e , refer to the machine tool builder’s man-

ual.

Table 2.17

Examples of

M Codes for Machine

M code

Meanings

Remarks

M03

M04

M08

M09

M03 and M04 are
not switchable.
M05 (stop) must
be intermediated

Coolant off

I

I

When these M codes are given in the same block together
with move command, whether the M commands are

executed simultaneously or after completion of move

command, are determined by the type of machine. Refer
to the machine tool builder’s manual.

2.8.9 2ND MISCELLANEOUS FUNCTION

(B-FUNCTION)

t

Three digits following the address B give index
table positions.

The actual index positions corresponding to the

respective B codes depend on the machine tool
builder.

For this, refer to the specifications of

the machine tool builder. When a B -function is
given together with a move command in one block,

the B command is executed simultaneously with
the move command, or

. B command is executed after the execution of

the move command,

depending on the design of the machine tool.
For this refer to the specifications of the ma-
chine tool builder.

B codes are modal.

When one B code is given,

it remains effective until another B-command is

given .

Notes :

B function standard interface is in 3-digit BCD
output .

With MDI operation on NC panel, “B” is used to

specify address for B codes. Therefore, when the
control has B-function, the 4th axis control cannot be
added.

2.9 PREPARATORY FUNCTION (G-FUNCTION)

2.9.1 LIST OF G CODES AND GROUPS

An address character G and up to 3 digits follow-
ing it specify the operation of the block.

Ordinary G codes are either non-modal G codes
marked with * or modal G codes belonging to

groups 01 through 15.

Those G codes belonging

to the division B are included in the basic spe-

The G codes belonging to groups 01 through

15 are modal, remaining effective when once

commanded until other G codes in the same

group will be commanded.

The G codes in the * group are non-modal, and

are effective only for the block in which they
are commanded.

The G codes belonging to groups 01 through 15
may be programmed twice or more in the same
block.

However, when different G codes in the

same group are programmed, the last appear-
ing G code is effective.

When the RESET key is depressed during the
execution of a tool compensation C

, or G42)

or a canned cycle, they become respectively
G40 or G80 which cancels the programmed com-
mands.

G43, G44, G49 and G45 through G48 belonging
to the * group can be programmed together with

the following G codes in the 01 group in the
same block.

If group other than those G codes and G codes

of

group can be programmed in the same block

as G code of 08 group alarm will be caused.

Combination G code

G43, G44, G49 GOO,

G60

G45 - G48

GOO, GO1, G02, G03, G60

The transition state of the following G codes

can be changed by setting of parameters.

The G codes belonging to the following groups

can be specified as to the state immediately
after the application of supply power.

- D4)

Group

Initial State

Parameter

01

GOO or GO1

#6005D6

03

G90 or G91

#6005D0

08

G43, G44 or G49

#6005D3, D4

G codes in the 01 group may selectively be

changed to GOO or kept unchanged after re-
setting.

19

Advertising