6 - 7
6 MOTION PROGRAMS FOR POSITIONING CONTROL
6.4 M-code List
M-codes used in the Motion program are shown below.
M-code List
Type Instruction Description
Control
program
Axis
designation
program
Remark
M00 Program stop
M01 Optional program stop
M02 Program end
M30 Program end
M98, M99 Subprogram call, end
Special M-code
M100 Preread disable
General M-code Other M-codes
The special M-codes are not output to the device (M-code outputting signal :
M2419+20n).
Use the GOSUB/GOSUBE instruction for the subprogram call in the control program.
A general M-code cannot be used in the control program. Use the EXEON/EXEOFF
for the signal wait from external source.
(Because there is no axis designation in the control program, it is not made to
correspond to the FIN signal which is the signal of every axis.)