CNC Machinist Calculator Ultra

Home › M-codes › Haas NGC › M17

M17 Pallet unclamp and open APC door / Turret rotation forward

Haas NGC M-code · Mill, Lathe

On mills: Pallet unclamp and open APC door

Unclamps the pallet and opens the automatic pallet changer door. Used on machines with an APC.

Format

M17

How it works

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

Example program

G91 G28 Z0. (Z HOME)
M17 (UNCLAMP PALLET AND OPEN APC DOOR)
M18 (CLAMP PALLET AND CLOSE APC DOOR)

Example is in inch. Check offsets and clearances first.

Watch out for

On lathes: Turret rotation forward

Makes tool changes rotate the turret forward. Stays in effect for the rest of the program.

Format

T M17

How it works

Modal for the rest of the program.

Example program

T0101 M17 (TOOL 1, TURRET FORWARD)
T0505 (STILL FORWARD)
G00 G54 X2.1 Z.1 (APPROACH)

Example is in inch. Check offsets and clearances first.

Watch out for

Related codes

M18 · M50

M17 on other controls

The same number can mean something different on another control.

ControlMeaning
Doosan (Fanuc)Machine lock act
Mazak (EIA)Spindle orientation 120° (for AJC)
Okuma OSPCEJ MATIC : Request of Data transfer
Siemens 840D 828DEnd of subprogram
Centroid CNC12 AcornPrepare for tool change, macro
Hurco WinMax (NC)Automatic buffering off
FadalEnd of subroutine, Format 1

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 M17 in the app All Haas NGC M-codes

App Store Google Play