Skip to content

G34: Variable-lead threading

Threading with progressive pitch variation on the lathe depending on the control.

For reference only: syntax changes with the control, the post-processor and the machine parameters. Check the official manual and run a simulation before cutting. Legal notice.

The brands and control names mentioned belong to their owners and are used only to identify the equipment. GetGCode is not affiliated with or endorsed by any manufacturer, ISO or ASME: this is our own content, not official documentation. Legal notice.

Family
Lathe cycles
Machine
Turning, Mill-turn
Risk
High
Example
G34 Z-30 F1.5 K0.02

How to write it on each control

Example
G34 Z-30 F1.5 K0.02
Fanuc · Haas—

Fanuc: lathe code; requires spindle synchronization and correct formatting.

Haas: Don't assume support; look for equivalent cycle/function in Haas manual.

Parameters

F
Initial thread pitch. · mm/rev
K
Pitch change per revolution (positive increases, negative decreases). · mm/rev²
X Z
End point of the pass. · mm

Machine: Turning, Mill-turn

Sources

  • Official manual: FANUC Series 0i-MODEL F Operator's Manual, Lathe System (B-64604EN-1/01) · G34

Other codes in Lathe cycles

See the full list of G and M codes

Frequently Asked Questions (FAQ)

What does G34 mean in a CNC program?

Threading with progressive pitch variation on the lathe depending on the control. In the catalogue it appears as "Variable-lead threading", within the Lathe cycles family.

Can you give me an example of G34?

G34 Z-30 F1.5 K0.02 — Threading with progressive pitch variation on the lathe depending on the control.

Which machines use G34?

G34 is used in: Turning, Mill-turn.

What should you watch out for with G34?

High risk: a mistake here can cause a crash, a broken tool or an out-of-tolerance part. Simulate the program and dry-run it before cutting.

Related apps