Back to GSM Code List

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.

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

Parameters

F
Paso inicial de la rosca. · mm/rev
K
Variación del paso por vuelta (positiva crece, negativa decrece). · mm/vuelta²
X Z
Punto final de la pasada. · mm

Machine: Turning, Mill-turnRisk: High

Fanuc · Haas

  • Fanuc: lathe code; requires spindle synchronization and correct formatting.
  • Haas: Don't assume support; look for equivalent cycle/function in Haas manual.

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 tools