Difference between revisions of "M02"

From CNC.xyz Wiki
Jump to: navigation, search
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
Program end.
+
The '''Program End''' M-command code known as M02 is commonly found at the end of every [[G-Code]] program. The command signals the CNC Control Software to shut down and reset for the next program or set of instructions.
  
Upon calling a program end code, the spindle stop code [[M05]] will also typically be executed simultaneously.
+
Upon calling a program end code, the spindle stop code [[M05]] and coolant stop code [[M09]] will also typically be executed simultaneously.
 +
 
 +
'''Standard Format:'''
 +
M02
  
 
[[Category: G-Code]] [[Category: M-Commands]]
 
[[Category: G-Code]] [[Category: M-Commands]]

Latest revision as of 07:08, November 25, 2015

The Program End M-command code known as M02 is commonly found at the end of every G-Code program. The command signals the CNC Control Software to shut down and reset for the next program or set of instructions.

Upon calling a program end code, the spindle stop code M05 and coolant stop code M09 will also typically be executed simultaneously.

Standard Format:
M02