Home › G-codes › Haas NGC › G32
G32 Thread cutting, single pass
Haas NGC G-code · Lathe
Cuts one thread pass synchronized to the spindle. Lead and taper can change from block to block, so it can cut odd threads. There is no automatic return, you program every move.
Format
G32 X Z [U] [W] F [Q]
Addresses
| Address | What it does |
|---|---|
X Z | End point of the thread pass |
U W | Incremental end point of the pass |
F | Thread lead |
Q | Thread start angle, optional |
How it works
Modal, group 01. Cancel with G00, G01 or another group 01 code.
Example program
T0303 (OD THREAD TOOL, .750-10)
G99 G97 S800 M03 (FEED PER REV, FIXED RPM)
G00 G54 X.8 Z.3 (START POINT)
X.725 (DEPTH FOR PASS 1)
…
G99 G97 S800 M03 (FEED PER REV, FIXED RPM)
G00 G54 X.8 Z.3 (START POINT)
X.725 (DEPTH FOR PASS 1)
…
The full 10-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- G99 must be active. Feed equals thread lead.
- Do not change the RPM between passes or the passes will not line up.
- Feed hold and single block wait until the end of a G32 sequence. Feed override is ignored.
- M23 and M24 do not chamfer G32 threads. Program the pull out yourself.
Related codes
G32 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Fanuc | Thread cutting, single pass |
| Mazak (EIA) | Single pass thread cutting |
| Okuma OSP | Fixed thread cycle, end face |
| Mach3 Mach4 | Threading move, Mach4 |
| Centroid CNC12 Acorn | Single thread pass |
| Swiss (Citizen Star) | Single pass threading |
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 G32 in the app All Haas NGC G-codes