M-CODE IN CNC MILLING

M-CODE (MISCELLANEOUS FUNCTION) IN CNC MILLING


M00:    Program stop

M01:    Optional stop

M02:    Program end

M03:    Spindle ClockWise

M04:    Spindle Anti ClockWise
  
M05:    Spindle Stop
              
M07, M08:    Coolant On
              
M09:    Coolant Off
   
M19:    Spindle Orientation
       
M21:    X-axis mirror
    
M22:    Y-axis mirror
      
M23:    Mirror Off

M28:    Rigid Tap Off

M29:    Rigid Tap On      
       
M30:     Program End & Rewind
      
M98:     Sub Program Call
         
M99:     Sub Program Exit         
 

Comments