M-code reference

M50 M-Code: Pallet Change Sequence (Haas)

Pallet Change Sequence (Haas) — On Haas machines with a pallet changer, M50 executes the pallet change sequence, normally after an operator confirms the pallet is ready.

By cnccode · Updated
PropertyValue
CodeM50
FunctionPallet Change Sequence (Haas)
Used onMilling machines

What does M50 do?

On Haas machines with a pallet changer, M50 executes the pallet change sequence, normally after an operator confirms the pallet is ready.

M50 example

Example
M50
M99

Tips

  • See the pallet schedule table on the control for automatic sequencing.

M-codes vary between machine builders. Codes from M00 to M09, M30 and M98/M99 are nearly universal; most others are defined by the machine builder. Always check the M-code list in your machine manual.

Most-used M-codes

CodeFunction
M00Program Stop
M01Optional Stop
M03Spindle On Clockwise
M04Spindle On Counter-Clockwise
M05Spindle Stop
M06Tool Change
M08Flood Coolant On
M09Coolant Off
M30Program End and Rewind
M98Subprogram Call
M99Subprogram Return / Loop

Frequently asked questions

What does M50 mean on a CNC machine?
M50 is Pallet Change Sequence (Haas). On Haas machines with a pallet changer, M50 executes the pallet change sequence, normally after an operator confirms the pallet is ready.