M-Codes

Top  Previous  Next

There are a few standard M codes that each machine can use.

 

M-Code

Description

M0

Program Stop

M1

Optional Stop

M3

Spindle On (Clockwise)

M4

Spindle On (Counter-Clockwise)

M5

Spindle Off

M6

Tool Change Command

M7

Air Mist On

M8

Air Blast On

M9

Air Blast Off

M30

End of Program and Rewind

M91

Enable Binary Drill Block

M99

Return from Sub Program

 

 

 

Material Handling Codes

M10x

M code for Bunk  Last digit would be bunk number.  I. E. M101 would be for bunk 1

M28

Activate material switch

M27

Wait until material handling system is done