Haas CNC Lathe M-Codes

HAAS CNC Lathe Miscellaneous Functions

Haas CNC Lathe M-Codes

Haas CNC Lathe M-Codes

M-CodeDescription
M00Program Stop – Modal
M01Optional Program Stop – Modal
M02Program End – Modal
M03Spindle on Forward (S) – Modal
M04Spindle on Reverse (S) – Modal
M05Spindle Stop – Modal
M08Coolant On – Modal
M09Coolant Off – Modal
M10Chuck Clamp – Modal
M11Chuck Unclamp – Modal
M12Auto Air Jet On (P) – Modal/Optional
M13Auto Air Jet Off – Modal/Optional
M14Main Spindle Clamp – Modal/Optional
M15Main Spindle Unclamp – Modal/Optional
M17Rotate Turret Forward (T) – Modal
M18Rotate turret Reverse (T) – Modal
M19Orient Spindle – Modal/Optional Example
M21Tailstock Advance – Modal/Optional
M22Trailstock Retract – Modal/Optional
M23Angle Out of Thread On – Modal
M24Angle of Thread Off – Modal
M25-M28Optional User M Code Interface with M-Fin Signal – Modal
M30Program End and Reset – Modal
M31Chip Auger Forward – Modal
M33Chip Auger Stop – Modal
M36Parts Catcher On – Modal/Optional
M37Parts Catcher Off – Modal/Optional
M38Specify Spindle Variation On – Modal
M39Specify Spindle Variation Off – Modal
M41Spindle Low Gear Override – Modal
M42Spindle High Gear Override – Modal
M43Turret Unlock – Modal
M44Turret Lock – Modal
M51-M58Optional User M Code Set – Modal
M59Output Relay Set (N) – Modal
M61-M68Optional User M Code Clear – Modal
M69Output Relay Clear (N) – Modal
M76Program Displays Inactive – Modal
M77Program Displays Active – Modal
M78Alarm in Skip Signal Found – Modal
M79Alarm if Skip signal Not Found – Modal
M85Automatic Door Open – Modal/Optional
M86Automatic Door Close – Modal/Optional
M88High Pressure Coolant ON – Modal/Optional
M89High Pressure Coolant off – Modal/Optional
M93Axis Position Capture Start – Modal/Optional
M94Axis Position Capture Stop – Modal/Optional
M95Sleep Mode – Modal
M96Jump if no Signal – Modal
M97Local Sub-Routine Call – Modal
M98Sub-Program Call – Modal
M99Sub-Program / Routine Return or Loop – Modal
M109Inactive User Input (P) – Modal/Optional
M110Tailstock Chuck Clamp – Modal/Optional
M111Tailstock Chuck Unclamp – Modal/Optional
M119Sub-Spindle Orient – Modal/Optional**
M121-M128Optional User M Code Interface with M-Fin Signal – Modal
M133Live tool Drive Forward (P) – Modal/Optional Example
M134Live Tool Drive Reverse (P) – Modal/Optional
M135Live Tool Drive Stop – Modal/Optional
M143Sub-Spindle Forward (P) – Modal/Optional
M144Sub-Spindle Reverse (P) – Modal/Optional
M145Sub-Spindle Stop – Modal/Optional
M154C Axis Engage – Modal/Optional Example
M155C Axis Disengage – Modal/Optional
M164Rotate APL Grippers To “n” Position – Modal/Optional
M165Open APL Gripper 1 (Raw Material) – Modal/Optional
M166Close APL Gripper 1 (Raw Material) – Modal/Optional
M167Open APL Gripper 2 Finished Material) – Modal/Optional
M168Close APL Gripper 2 (Finished Material) – Modal/Optional