Industrial manufacturing
Industrial Internet of Things | Industrial materials | Equipment Maintenance and Repair | Industrial programming |
home  MfgRobots >> Industrial manufacturing >  >> Manufacturing Equipment >> CNC Machine

Complete Guide to Haas Mill M Codes: Functions, Settings & Usage

A complete list of Haas M Codes.
All M codes are activated or cause an action to occur after everything else on a block has been completed.
Only one M code is allowed per block in a program.
If there is a (Setting number) listed next to an M code, that setting will in some way relate to that M code.

For Haas Mill G Codes read Haas CNC Mill G Codes.

Complete Guide to Haas Mill M Codes: Functions, Settings & Usage

Haas Mill M Codes

Haas Mill M Codes

M-CodeDescription
M00Program Stop
M01Optional Program Stop
M02Program End (Setting 39)
M03Spindle On, Clockwise (S) (Setting 144)
M04Spindle On, Counterclockwise (S) (Setting 144)
M05Spindle Stop
M06Tool Change (T) (Setting 42, 87, 155)
M08Coolant On (Setting 32)
M09Coolant Off
M104th Axis Brake On
M114th Axis Brake Release
M125th Axis Brake On
M135th Axis Brake Release
M16Tool Change (T) (Same as M06)
M17APC Pallet Unclamp and Open APC Door
M18APC Pallet Clamp and Close APC Door
M19Orient Spindle (P,R values optional)
M21-M28Optional User M Code Interface with M-Fin Signals
M30Program End and Reset (Setting 2, 39, 56, 83)
M31Chip Auger Forward (Setting 114,115)
M33Chip Auger Stop
M34Coolant Spigot Position Down, Increment (+1)
M35Coolant Spigot Position Up, Decrement (-1)
M36Pallet Part Ready (P)
M39Rotate Tool Turret (T#) (Setting 86)
M41Spindle Low Gear Override
M42Spindle High Gear Override
M50Execute Pallet Change (P) (Setting 121 thru,129)
M51-M58Optional User M Code Set
M59Output Relay Set (N)
M61-M68Optional User M Code Clear
M69Output Relay Clear (N)
M75Set G35 or G136 Reference Point
M76Control Display Inactive
M77Control Display Active
M78Alarm if Skip Signal Found
M79Alarm if Skip Signal Not Found
M80Automatic Door Open (Setting 131)
M81Automatic Door Close (Setting 131)
M82Tool Unclamp
M83Auto Air Jet On
M84Auto Air Jet Off
M86Tool Clamp
M88Coolant Through the Spindle On
M89Coolant Through the Spindle Off
M93Axis POS Capture Start (P, Q)
M94Axis POS Capture Stop
M95Sleep Mode
M96Jump if No Input (P, Q)
M97Local Sub-Program Call (P, L)
M98Sub Program Call (P, L)
M99M97 Local Sub-Program or M98 Sub-Program Return or Loop Program (Setting 118)
M101MOM (Minimum Oil Machining) CANNED CYCLE MODE (I)
M102MOM (Minimum Oil Machining) MODE (I,J)
M103MOM (Minimum Oil Machining) MODE CANEL
M109Interactive User Input (P)

CNC Machine

  1. Haas CNC Mill G Codes: Comprehensive Guide to Preparatory Functions
  2. Haas Mill Manual for Operators & Programmers – Comprehensive Guide
  3. Optimizing Haas CNC Mill Settings: A Complete Operator Guide
  4. Haas CNC Alarm Codes Explained: Troubleshooting Guide
  5. Haas M35: Move Coolant Spigot Up One Position – Mill Manual
  6. Haas M95 Sleep Mode: Program Your Mill for Energy‑Efficient Rest
  7. Haas M89 Code: Disable Through-Spindle Coolant (TSC) & Manage Pump Settings
  8. Activating Through‑Spindle Coolant on Haas Mill: How to Use the M88 Code
  9. Comprehensive Okuma CNC Milling G & M Codes Guide
  10. Mastering Haas G00 Rapid Motion Positioning for Precise Mill Operations