Home › G-codes › LinuxCNC Tormach › G33.1
G33.1 Rigid tapping
LinuxCNC Tormach G-code · Mill and lathe
Feeds to depth locked to the spindle, reverses the spindle and backs out along the same path. Needs a spindle encoder.
Format
G33.1 X Y Z K [I] [$]
Addresses
| Address | What it does |
|---|---|
X Y Z | End point of the tap move |
K | Distance per spindle revolution, the tap pitch |
I | Optional speed multiplier for a faster retract |
$ | Spindle number, default 0 |
How it works
Non modal for the tap move. Motion mode returns to before.
Example program
G20 G17 G40 G49 G54 G80 G90 G94 (INCH, SAFE START)
T5 M6 G43 (.250-20 TAP)
S500 M3 (TAP SPEED)
G0 X1 Y1 Z0.1 (OVER HOLE)
…
T5 M6 G43 (.250-20 TAP)
S500 M3 (TAP SPEED)
G0 X1 Y1 Z0.1 (OVER HOLE)
…
The full 6-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- Start with the spindle running M3 for right hand taps. The tap returns to the starting point.
- Position X and Y first, then give only Z in the G33.1 block.
- Feed and speed override do not apply during the move.
Related codes
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.1 in the app All LinuxCNC Tormach G-codes