CNC Machinist Calculator Ultra

Home › M-codes › Fadal › M31

M31 Exchange pallets

Fadal M-code · Mill

Swaps the pallets on a machine with a pallet changer.

Verify on your machine. This entry could not be fully checked against the maker manual. Check your machine manual before you run it.

Format

M31

How it works

Non modal.

Example program

N30 G91 G28 Z0. M5
N31 G90 M9
N32 M31 (EXCHANGE PALLETS)

Example is in inch. Check offsets and clearances first.

Watch out for

Related codes

M32 · M33

M31 on other controls

The same number can mean something different on another control.

ControlMeaning
Haas NGCChip auger forward
Doosan (Fanuc)Left chucking interlock by-pass
DMG Mori MAPPS (Fanuc)Axis interlock bypass ON
Mazak (EIA)Tail spindle & tailstock body advance (for 300 or 400-III or IIIT)
Hurco WinMax (NC)Rotary encoder reset

Every M-code for Fadal 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 M31 in the app All Fadal M-codes

App Store Google Play