Home › G-codes › LinuxCNC Tormach › G84
G84 Right hand tapping cycle
LinuxCNC Tormach G-code · Mill
Feeds a right hand tap to depth, reverses the spindle to counterclockwise, dwells and feeds out. Not synchronized to the spindle.
Format
G84 X Y Z R [P] [L] F
Addresses
| Address | What it does |
|---|---|
X Y | Hole position |
Z | Hole bottom |
R | Retract plane where feed starts |
L | Repeat count, used with G91 |
F | Feed rate |
P | Dwell in seconds at the bottom |
How it works
Modal, motion group. Cancel with G80 or another motion code.
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.5
…
T5 M6 G43 (.250-20 TAP)
S500 M3 (TAP SPEED)
G0 X1 Y1 Z0.5
…
The full 7-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- F equals RPM times pitch. Use a floating or tension compression tap holder.
- Feed and speed overrides are off during the cycle.
- For locked rigid tapping use G33.1. On Tormach mills check if your machine supports rigid tapping before skipping the tap holder.
Related codes
G84 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Fanuc | Tapping cycle |
| Haas NGC | Tapping canned cycle |
| Mazak (EIA) | Tapping cycle |
| Okuma OSP | Tapping cycle |
| Mitsubishi M70 M80 | Tapping cycle |
| Brother Speedio | Tapping cycle |
| Fagor 8055 8065 | Tapping canned cycle |
| Mach3 Mach4 | Tapping cycle |
| Centroid CNC12 Acorn | Right hand tapping cycle |
| Hurco WinMax (NC) | Tapping cycle |
| Fadal | Right hand tap, floating holder |
| Swiss (Citizen Star) | Face tapping cycle |
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 G84 in the app All LinuxCNC Tormach G-codes