Home › G-codes › LinuxCNC Tormach › G33
G33 Spindle synchronized motion
LinuxCNC Tormach G-code · Mill and lathe
Moves in a straight line locked to spindle rotation, K distance per revolution. Used for single pass threading on a lathe.
Format
G33 X Y Z K [$]
Addresses
| Address | What it does |
|---|---|
X Y Z | End point |
K | Distance per spindle revolution, the thread pitch |
$ | Spindle number, default 0 |
How it works
Modal, motion group.
Example program
G20 G18 G7 G40 G80 G90 G94 (INCH, XZ PLANE, DIAMETER MODE)
T4 M6 G43 (THREADING TOOL)
G97 S500 M3 (THREAD SPEED)
G0 X0.44 Z0.2 (FIRST PASS DIAMETER)
…
T4 M6 G43 (THREADING TOOL)
G97 S500 M3 (THREAD SPEED)
G0 X0.44 Z0.2 (FIRST PASS DIAMETER)
…
The full 7-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- Needs a spindle encoder. The spindle must be turning.
- Start each pass from the same Z so the passes line up on the thread.
- For full threads with infeed passes use G76.
Related codes
G33 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Fanuc | Thread cutting, constant lead |
| Okuma OSP | Fixed thread cycle, longitudinal |
| Siemens 840D 828D | Thread cutting with constant lead |
| Fagor 8055 8065 | Electronic threading |
Every G-code for LinuxCNC Tormach 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 G33 in the app All LinuxCNC Tormach G-codes