SUPPLEMENT 5
5-63
5-2 Detail of Miscellaneous Function
1. M-code (Program support)
A. Programmed stop
1. Command
When this M-code is read, the machine will stop reading subsequent block. Whether the
machine function such as spindle rotation and coolant will also stop depends on the
machine specifications. The machine operation is restarted by pressing the cycle start
button on the operation panel.
B. Optional stop
1. Command
When the M01 code is read with the [OPTIONAL STOP] menu function set to ON, the
machine will stop operating to perform the same function as M00. The M01 command will
be ignored if the [OPTIONAL STOP] menu function is set to OFF.
C. Program end
1. Command
Usually, the program end command is given in the final block of machining program.
D. Subprogram call
1. Command
Use M98 to branch the control into a subprogram.
Program number [composed of numerals
only] of subprogram to be called
Sequence number in subprogram to be
called
Number of subprogram repetitions.
E. Subprogram end
1. Command
User M99 to recall it back to the calling program.
Sequence number of return destination
Possible
(returned to block
following block of call)
Number of times after repetition number
has been changed
Serial No. 294060
Copyright (c) 2013 YAMAZAKI MAZAK CORPORATION. All rights reserved.