Home › G-codes › Siemens 808D ISO › G34
G34 Thread cutting, variable lead
Siemens 808D ISO G-code · Lathe
Cuts a thread whose lead grows or shrinks by K every spindle revolution. F is the lead at the start point.
Format
G34 X(U) Z(W) F K
Addresses
| Address | What it does |
|---|---|
X Z | Thread end point, absolute |
U W | Thread end point, incremental |
F | Lead at the start point |
K | Lead change per spindle revolution, plus or minus |
How it works
Modal, G group 01.
Example program
G99 G97 S300 M03 (FEED PER REV, CONSTANT RPM)
G00 X38.0 Z5.0 (START POINT)
G34 Z-60.0 F4.0 K0.05 (LEAD 4 MM, GROWS 0.05 PER REV)
G00 X45.0 (RETRACT)
…
G00 X38.0 Z5.0 (START POINT)
G34 Z-60.0 F4.0 K0.05 (LEAD 4 MM, GROWS 0.05 PER REV)
G00 X45.0 (RETRACT)
…
The full 5-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- Make sure the lead at the end point does not come out negative with a minus K.
- Same code in G code systems A, B and C. Use G99 and G97 as for G32.
Related codes
G34 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Fanuc | Variable lead thread cutting |
| Okuma OSP | Variable lead thread, increasing |
| Siemens 808D | Thread cutting with increasing lead |
Every G-code for Siemens 808D ISO 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 Siemens 808D ISO G-codes