CNC Machinist Calculator Ultra

Home › M-codes › Haas NGC › M50

M50 Pallet change

Haas NGC M-code · Mill

Runs a full pallet change on machines with an automatic pallet changer.

Format

M50 [P]

Addresses

AddressWhat it does
PPallet number to load

How it works

Not modal. Acts once on the line where it is commanded.

Example program

G91 G28 Z0. (Z HOME)
G90 (ABSOLUTE)
M50 P2 (LOAD PALLET 2)

Example is in inch. Check offsets and clearances first.

Watch out for

Related codes

M36 · M17 · M18 · M46

M50 on other controls

The same number can mean something different on another control.

ControlMeaning
Doosan (Fanuc)Bar-feeder command 1
DMG Mori MAPPS (Fanuc)Oil-hole drill coolant ON
LinuxCNC TormachFeed override control
Centroid CNC12 AcornC axis off
Swiss (Citizen Star)Pick-off check (Citizen)

Every M-code for Haas NGC in your pocket. The app has the full example programs, search by number or shop word, a line decoder and calculators for tapping, threading and drilling.

Open M50 in the app All Haas NGC M-codes

App Store Google Play