
9. Miscellaneous Functions
9.1 Miscellaneous Functions (M8-digits BCD)
147
Optional stop ; M01
If the tape reader reads the M01 command when the optional stop switch on the machine operation
board is ON, it will stop and the same effect as with the M00 function will apply.
If the optional stop switch is OFF, the M01 command is ignored.
(Example)
:
N10 G00 X1000 ;
N11 M01 ;
N12 G01 X2000 Z3000 F600 ;
:
Optional stop switch status and operation
•
Stops at N11 when switch is ON
•
Next command (N12) is executed
without stopping at N11 when switch is
OFF
Program end ; M02 or M30
This command is normally used in the final block for completing the machining, and so it is primarily
used for tape rewinding. Whether the tape is actually rewound or not depends on the machine
specifications.
Depending on the machine specifications, the system is reset by the M02 or M30 command upon
completion of tape rewinding and any other commands issued in the same block.
(Although the contents of the command position display counter are not cleared by this reset action,
the modal commands and compensation amounts are canceled.)
The next operation stops when the rewinding operation is completed (the in-automatic operation
lamp goes off). To restart the unit, the automatic start button must be pressed or similar steps must
be taken.
When the program is restarted after M02 and M30 are completed, if the first movement command is
designated only with a coordinate word, the interpolation mode will function when the program ends.
It is recommended that a G function always be designated for the movement command designated
first.
(Note 1)
Independent signals are also output respectively for the M00, M01, M02 and M30
commands and these outputs are each reset by pressing the reset key.
(Note 2)
M02 or M30 can be assigned by manual data input (MDI). At this time, commands can be
issued simultaneously with other commands just as with the tape.
Internal processing with M00/M01/M02/M30 commands
Internal processing suspends pre-reading when the M00, M01, M02 or M30 command has been
read. Other tape rewinding operations and the initialization of modals by resetting differ according
the machine specifications.