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…

By cnccode · Updated
PropertyValue
CodeG33
FunctionThread Cutting (Spindle-Synchronised Motion)
Modal group01
TypeModal — stays active until replaced by another code of the same group
Used onMilling machines
SyntaxG33 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

Format
G33 Z_ K_
AddressMeaning
ZEnd point
K (or F)Lead per revolution

G33 example program

Example
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.

Frequently asked questions

Is G33 modal?
Yes. G33 belongs to modal group 01 and stays active until another code of that group is programmed.
What does G33 mean in CNC?
G33 means 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 basic spindle-synchronised move used for threading and rigid…
What is the difference between G33 and G32?
G33 is Thread Cutting (Spindle-Synchronised Motion), while G32 is Thread Cutting (Single Pass, Lathe). See the G32 page for its syntax and examples.
Can I use G33 on a lathe?
Usually not with the same meaning: G33 is documented here for milling machines. Check your control manual for the equivalent.