G-code reference

G32: Thread cutting (single pass)

G32 is thread cutting (single pass). Cuts one thread pass, synchronising feed with the spindle. It is modal, so it stays active on the following lines until another code from the same group replaces it.

What G32 does

G32 makes one threading pass where the Z feed is locked to spindle rotation, with F as the thread lead. Every pass, the infeed and the retract must be programmed line by line, which is why most threads are cut with the G92 or G76 cycles instead.

TypeG-code
MachineLathe (G-code system A)
GroupMotion
ModalYes: stays active until replaced by another code from the same group

G32 example

G32 Z-20. F1.5

One thread pass to Z-20 with a 1.5 mm lead.

WordWhat it means here
G32Thread cutting (single pass)
Z-20.Z axis target or depth
F1.5feed rate (on threading codes, the lead)

Codes people confuse with G32

CodeWhat it does instead
G92 Thread cutting cycle (lathe). Cuts one thread pass and returns, one line per pass.
G76 Threading cycle (multi-pass). Cuts a complete thread in many passes from one or two lines.

Other codes in the motion group

Only one code from a modal group is active at a time. Programming any of these replaces G32.

  • G00 Rapid positioning
  • G01 Linear interpolation (feed move)
  • G02 Circular interpolation, clockwise
  • G03 Circular interpolation, counterclockwise

Meanings follow the common Fanuc-style standard that Haas, Okuma (EIA mode), Mitsubishi, LinuxCNC and most other controls share for this code. Options and parameters change details from machine to machine, so check the manual for your control.

Quick check: G32

  1. What does G32 do? (Lathe)

  2. Which code: Cuts one thread pass, synchronising feed with the spindle.(Lathe)

  3. What does G92 do? (Lathe)

Show the answers
  1. Cuts one thread pass, synchronising feed with the spindle.
  2. G32
  3. Cuts one thread pass and returns, one line per pass.

Drill this code with the rest of the core set

More practice hubs

Frequently asked questions

What does G32 mean in CNC programming?
Thread cutting (single pass). Cuts one thread pass, synchronising feed with the spindle.
Is G32 modal?
Yes. G32 belongs to the motion group and stays active until another code from that group is programmed.
What is the difference between G32 and G92?
G32 (thread cutting (single pass)): cuts one thread pass, synchronising feed with the spindle. G92 (thread cutting cycle (lathe)): cuts one thread pass and returns, one line per pass.
What is the difference between G32 and G76?
G32 (thread cutting (single pass)): cuts one thread pass, synchronising feed with the spindle. G76 (threading cycle (multi-pass)): cuts a complete thread in many passes from one or two lines.

G-Code Sprint is an educational practice tool only. It is not a CNC simulator, machine controller, safety manual, or replacement for instruction. Always follow your instructor, employer, machine manual, and shop procedures.

Free preview · no card Try G-Code Sprint