4.4.2 M code that controls program execution


M Code

Format

Function

M00

M00

System stop

M01

M01

Optional program termination

M02

M02

The program ends and the cursor stops at the end of the program

M30

M30

The program ends but the cursor points back to the first line of the program

M95

M95 P_P_L

Section program loop (from the first P_ to the second P_, execution L_ times)

M97

M97 P_L_

Intercom call L_ times

M98

M98(filename)L_

External subprogram call L_ times

M99

M99

The end of the subprogram (by the program to return to the original call)

M100

M100

Program stop, and can be changed to manual operation along the cutting path forward or backward feed

M101

M101

Optional program aborted, and can be changed to manual operation along the cutting path forward or backward feed