Fanuc M Codes for Fadal Machining Centers with FANUC Series 18i–MB5 CNC Controls.

Fadal Machining Center
Fanuc M Codes
| M00 | Program Stop |
| M01 | Optional Program Stop |
| M02 | End-of-Program |
| M30 | End-of-Program |
| M98 | Sub-Program Call |
| M99 | Sub Program End |
| M03 | Spindle Start Forward CW |
| M04 | Spindle Start Reverse CCW |
| M05 | Spindle Stop |
| M06 | Tool Change |
| M07 | Coolant ON – Mist Coolant/Coolant Thru Spindle |
| M08 | Coolant ON – Flood Coolant |
| M09 | Coolant OFF |
| M11 | Set Tool Carousel position to 1 (ATC Tool Changer ONLY) |
| M19 | FANUC canned cycle positioning,(Not for spindle orientation) |
| M20 | Wash Down, Toggle ON/OFF |
| M20 | MIDACO pallet change 1 |
| M20 | Does nothing |
| M22 | Chip Conveyor Toggle ON/OFF |
| M29 | Rigid Tap |
| M41 | Low Gear Select |
| M42 | High Gear Select |
| M48 | 100% Spindle Speed Override Forced |
| M49 | 100% Spindle Speed Override Released |
| M60 | A Axis Brake ON |
| M61 | A Axis Brake OFF |
| M62 | B Axis Brake ON |
| M63 | B Axis Brake OFF |
| M64 | M64/65 Output ON |
| M65 | M64/65 Output OFF |
| M66 | M66/67 Output ON, Chip Conveyor ON |
| M67 | M66/67 Output OFF, Chip Conveyor OFF |
| M68 | M68/69 Output ON, Wash Down ON |
| M69 | M68/69 Output OFF, Wash Down OFF |
| M78 | M78/79 Output ON, Cooled spindle ON |
| M79 | M78/79 Output OFF, Cooled spindle OFF |
| M80 | MIDACO Pallet Changer 2 |
| M85 | A Axis Rotary Table Enable |
| M86 | A Axis Rotary Table Disable |
| M87 | B Axis Rotary Table Enable |
| M88 | B Axis Rotary Table Disable |
| M100 | Position Tool Drum to Pocket by T-Word Ex: “M100 T05” |
| M150 | Return the current tool to ATC carousel(ATC ONLY) |
| M151 | Transfer the tool from carousel into spindle.(ATC ONLY) |
| M190 | Spindle Orient for tool changer |