Home › G-codes › Mach3 Mach4 › G32
G32 Threading move, Mach4
Mach3 Mach4 G-code · Mill
Mach4. A single feed move locked to the spindle for threading. F is the lead. It needs spindle index or encoder feedback.
Format
G32 X Y Z F
Addresses
| Address | What it does |
|---|---|
X Y Z | End point of the thread pass |
F | Thread lead, .05 for 20 TPI |
How it works
Motion group. Machine and config dependent.
Example program
G0 G20 G90 G54 G18 G40 G49 G80 (SAFE START, XZ PLANE)
G0 X0.3 Y0 Z0.1 (CLEAR POSITION)
G97 S1000 M3 (1000 RPM)
G0 X0.22 (START DIAMETER)
…
G0 X0.3 Y0 Z0.1 (CLEAR POSITION)
G97 S1000 M3 (1000 RPM)
G0 X0.22 (START DIAMETER)
…
The full 7-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- Overrides are fixed at 100 percent and feed hold waits until the move ends.
- Start and end with extra length so the axis is up to speed in the thread.
- Use G97 constant RPM, not G96, when threading.
Related codes
G32 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Fanuc | Thread cutting, single pass |
| Haas NGC | Thread cutting, single pass |
| Mazak (EIA) | Single pass thread cutting |
| Okuma OSP | Fixed thread cycle, end face |
| Centroid CNC12 Acorn | Single thread pass |
| Swiss (Citizen Star) | Single pass threading |
Every G-code for Mach3 Mach4 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 Mach3 Mach4 G-codes