G-code reference
G33 G-Code: Thread Cutting (Spindle-Synchronised Motion)
Thread Cutting (Spindle-Synchronised Motion) — Feeds in sync with spindle rotation with a constant lead K (or F). On mills it is used for single-point threading with a boring bar; on LinuxCNC it is the…
| Property | Value |
|---|---|
| Code | G33 |
| Function | Thread Cutting (Spindle-Synchronised Motion) |
| Modal group | 01 |
| Type | Modal — stays active until replaced by another code of the same group |
| Used on | Milling machines |
| Syntax | G33 Z_ K_ |
What does G33 do?
Feeds in sync with spindle rotation with a constant lead K (or F). On mills it is used for single-point threading with a boring bar; on LinuxCNC it is the basic spindle-synchronised move used for threading and rigid tapping.
G33 is modal: once programmed it remains in effect for the following blocks until another code from modal group 01 replaces it or the control is reset.
Syntax and parameters
G33 Z_ K_| Address | Meaning |
|---|---|
Z | End point |
K (or F) | Lead per revolution |
G33 example program
M19 (orient)
M03 S300
G33 Z-20.0 K1.5
M05
M19▶ Open this example in the G-code viewer
Tips and common mistakes
- The spindle must be at speed before G33 starts.
- Feed override is disabled during the move.
Controller compatibility
G33 follows the ISO/Fanuc dialect used by Fanuc, Haas, Brother, Doosan, Hurco (ISO mode), Mazak (EIA/ISO mode), Okuma (G-code mode) and Siemens in ISO dialect mode. Parameters, option packages and builder-specific behaviour can differ, so confirm the details in your machine's programming manual before running a new program.
Related codes
- G32 — Thread Cutting (Single Pass, Lathe)
- G76 — Threading Cycle (Lathe) / Fine Boring (Mill)
- G84 — Tapping Cycle (Right-Hand)