This document lists various M codes and their descriptions that are used to control machining operations. M codes provide commands for functions like starting and stopping the spindle and coolant, engaging axis brakes, tool changes, setting optional user functions, and calling sub-programs. M codes can also control functions outside of the CNC machine like activating chip conveyors, opening doors, and clamping and unclamping workholding fixtures.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
503 views2 pages
M Code Mill
This document lists various M codes and their descriptions that are used to control machining operations. M codes provide commands for functions like starting and stopping the spindle and coolant, engaging axis brakes, tool changes, setting optional user functions, and calling sub-programs. M codes can also control functions outside of the CNC machine like activating chip conveyors, opening doors, and clamping and unclamping workholding fixtures.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2
M - CODE DESCRIPTION
M00 Stop Program
M01 Optional Program Stop M02 Program End M03 Spindle Foward Command M04 Spindle Reverse Command M05 Spindle Stop Command M06 Tool Change M07 Shower Coolant On M08 / M09 Coolant On / Off M10 / M11 Engage / Release 4th Axis Brake M12 / M13 Engage / Release 5th Axis Brake M16 Tool Change M19 Orient Spindle M21-M25 Optional User M Function with M-Fin M29 Set Output Relay with M-Fin M30 Program End and Reset M31 Chip Conveyor Forward M33 Chip Conveyor Stop M34 Coolant Increment M35 Coolant Decrement M36 Pallet Part Ready M39 Rotate Tool Turret M41 / M42 Low / High Gear Override M46 Qn Pmm Jump to Line M48 Validate That The Current Program is Appropriate for Loaded Pallet M50 Pallet Change Sequence M51-M55 Set Optional User M-codes M59 Set Output Relay M61-M65 Clear Optional User M-codes M69 Clear Output Relay M70/M71 Workholding Clamp / Unclamp M73 / M74 Tool Air Blast (TAB) On / Off M75 Set G35 or G136 Reference Point M78 Alarm if Skip Signal Found M79 Alarm if Skip Signal Not Found M80 / M81 Auto Door Open / Close M82 Tool Unclamp M83 / M84 Auto Air Gun On / Off M86 Tool Clamp M88 / M89 Through-Spindle Coolant On / Off M90 / M91 Fixture Clamp Input On / Off M95 Sleep Mode M96 Jump If No Input M97 Local Sub-Program Call M98 Sub-Program Call M99 Sub-Program Return or Loop M104 / M105 Probe Arm Extend/ Retract M109 Interactive User Input M116 / M117 Vise Air Chips Blast On/Off M130 / M131 Display Media / Cancel Display Media M138 / M139 Spindle Speed Variation On/Off M158 / M159 Mist Condenser On/Off M160 Cancel Active PulseJet M161 PulseJet Continuous Mode M162 PulseJet Single Event Mode M163 PulseJet Modal Mode M199 Pallet / Part Load or Program End M300 M300 - APL/Robot Custom Sequence