Home › G-codes › Haas NGC › G14
G14 Secondary spindle swap
Haas NGC G-code · Lathe
Makes the secondary spindle act as the main spindle on DS lathes. M03, M04, M05, M12 and M19 then run the secondary spindle, and Z is mirrored automatically.
Format
G14
How it works
Modal, group 17. Canceled by G15, M30, end of program or RESET.
Example program
G00 G53 X0 Z0 (SAFE POSITION)
G14 (SECONDARY SPINDLE IS NOW MAIN)
T0505 (BACK SIDE FACING TOOL)
G50 S2500 (LIMIT SECONDARY SPINDLE RPM)
…
G14 (SECONDARY SPINDLE IS NOW MAIN)
T0505 (BACK SIDE FACING TOOL)
G50 S2500 (LIMIT SECONDARY SPINDLE RPM)
…
The full 8-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- G14 turns on Z mirror. If Z is already mirrored by Setting 47 or G101, mirror is canceled instead.
- M143, M144, M145 and M119 alarm while G14 is active.
- With tool nose comp, reverse the Z tip direction of secondary spindle tools, for example tip 4 becomes tip 3.
- G50 and G96 act on the secondary spindle while G14 is on.
Related codes
G14 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Okuma OSP | Turret B select |
| Fagor 8055 8065 | Mirror image on programmed axes |
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 G14 in the app All Haas NGC G-codes