8 miscellaneous functions (m-function) – Yaskawa J50M Instructions User Manual
Page 22

2.7.3 H- AND D-FUNCTION (H, D CODES) (Cent’d)
H o w e v e r ,
for programming ease, it is
H codes:
HO1 to H30
ed to divide the numbers into H code part and
D codes:
D code part.
Table 2.16 H or D Code and Offset Number
method
Tool length offset
Tool position offset
Tool dia. compensa-
tion C
(Intersection
-
puting system)
G code
G43
G44
G49
G45
G46
G47
G48
G40
G41
G42
2.8 MISCELLANEOUS FUNCTIONS
(M-FUNCTION)
The miscellaneous function is specified with the
address
and maximum three digits. The function
of each M code (MOO
to
M89) is
the machine, except for several M codes.
R e f e r
to the machine tool builder’s manual for the func-
tion of M codes except for the following M codes
concerned with the control.
2.8.1 M CODES FOR STOP (MOO, MO1 , M02,
MOO (Program Stop)
This code, when given in automatic operation
mode, stops the automatic operation after the
commands in the block containing MOO have
been completed and MOO R signal is fed. The
program may be continued
pressing the
CYCLE START button.
(Optional Stop)
performs the same function as program
stop MOO whenever the OPTIONAL STOP switch
is on.
When the OPTIONAL STOP switch is off,
the
code is disregarded.
M02 (End-of-Program)
is used at the end of program When
in automatic operation
mode , this code stops
H or D code
Offset value memory
I
No.
Offset value
01
02
03
04
96
97
98
99
the automatic operation after the commands in
the block containing M02 have been completed.
Although the control is reset in most cases,
the details are determined by the machine. Re-
fer to the machine tool builder’s manual.
M30 (End-of-Tape)
M30 is given at the end of tape. When given in
automatic operation mode, this code stops the
automatic operation after the commands in the
block containing M30 have been completed. In
addition, in most cases, the control is reset
and rewinds the memory.
Since the details
are determined by the machine, refer to the
machine tool builder’s manual.
Notes :
. When MOO, MO1, M02 or M30 is given, it pre-
vents the control from reading ahead the next
block of information.
The single decoded signal
is fed in addition to the 2-digit BCD output for
M
. Whether MOO, MO1, M02 or M30 executes spin-
dle stop , coolant off or some other executions,
refer to the machine tool builder’s manual.
2.8.2
M CODES FOR INTERNAL PROCESSING
(M90 TO Ml 99)
through Ml 99 are used only for internal pro-
c e s s i n g .
Even when they are programmed ,
external output signal
(BIN and decoded output)
is sent.
14