CNC Machinist Calculator Ultra

Home › G-codes › Haas NGC › G15

G15 Secondary spindle swap cancel

Haas NGC G-code · Lathe

Cancels G14 so commands go back to the main spindle and Z mirror from G14 is removed.

Format

G15

How it works

Modal, group 17. Default at power up and reset.

Example program

M05 (STOP SPINDLE, SECONDARY UNDER G14)
G00 G53 X0 (X HOME)
G15 (CANCEL SPINDLE SWAP)
G54 (BACK TO MAIN SPINDLE WORK OFFSET)

Example is in inch. Check offsets and clearances first.

Watch out for

Related codes

G14

G15 on other controls

The same number can mean something different on another control.

ControlMeaning
FanucPolar coordinate command cancel
Mazak (EIA)Polar coordinate input off
Okuma OSPWork coordinate system select, modal
Brother SpeedioPolar coordinate cancel
Fagor 8055 8065Longitudinal axis selection
Mach3 Mach4Polar coordinates off
Hurco WinMax (NC)Polar coordinates cancel
FadalYZ circular interpolation with A axis

Every G-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 G15 in the app All Haas NGC G-codes

App Store Google Play