CNC Machinist Calculator Ultra

Home › G-codes › Fanuc › G34

G34 Variable lead thread cutting

Fanuc G-code · Lathe

Cuts a thread whose lead grows or shrinks by a set amount each spindle revolution. Used for special screws and feed worms.

Format

G34 X(U) Z(W) F K

Addresses

AddressWhat it does
X ZThread end point, X as a diameter
FLead at the start point
KChange in lead per spindle revolution, plus or minus

How it works

Modal, group 01.

Example program

G97 S300 M03 (CONSTANT RPM)
G00 X1.95 Z.5 (START POINT)
G34 Z-3. F.25 K.002 (LEAD GROWS .002 PER REV)
G00 X2.2 (RETRACT)

Example is in inch. Check offsets and clearances first.

Watch out for

Related codes

G32 · G97

G34 on other controls

The same number can mean something different on another control.

ControlMeaning
Okuma OSPVariable lead thread, increasing

Every G-code for Fanuc in your pocket. The app has the full example programs, search by number or shop word, a line decoder and calculators for tapping, threading and drilling.

Open G34 in the app All Fanuc G-codes

App Store Google Play