CNC Machinist Calculator Ultra

Home › G-codes › Haas NGC › G84

G84 Tapping canned cycle

Haas NGC G-code · Mill, Lathe

On mills: Tapping canned cycle

Rigid taps a right hand thread. The spindle feeds in at the pitch, reverses at the bottom, and feeds out. Haas needs no M29 before G84.

Format

G84 X Y Z R F [S] [J] [L]

Addresses

AddressWhat it does
X YHole position
ZHole bottom
RR plane where tapping starts
FFeed rate, RPM times pitch in G94, or the pitch in G95
SSpindle speed
JRetract speed multiple, J2 retracts twice as fast as tapping in
LNumber of holes for repeats in G91

How it works

Modal, canned cycle group 09. Cancel with G80.

Example program

T5 M06 (.250-20 TAP)
G90 G54 G00 X1. Y1. S500 M03 (HOLE POSITION)
G43 H05 Z1. M08 (APPROACH)
G84 G99 Z-.75 R.1 F25. J2 (25 IPM EQUALS 500 RPM TIMES .05 PITCH)
…

The full 6-line example is in the app. Example is in inch. Check offsets and clearances first.

Watch out for

On lathes: Tapping canned cycle

Rigid taps a hole on center with the main spindle. The control starts the spindle forward and reverses it at the bottom. Feed equals the thread lead in G99.

Format

G84 Z R F [X] [Q]

Addresses

AddressWhat it does
ZHole bottom
RR plane
FFeed, equal to the lead in G99
XX position, normally 0
QPeck depth, incremental, optional

How it works

Modal, group 09. Cancel with G80.

Example program

T0505 (.500-13 TAP)
G99 (FEED PER REV)
G00 G54 X0 Z.25 M08 (CENTERLINE)
G97 S300 (TAP RPM, NO M03 NEEDED)
…

The full 7-line example is in the app. Example is in inch. Check offsets and clearances first.

Watch out for

Related codes

G74 · G80 · G95 · G98 · G99 · G184 · G195

G84 on other controls

The same number can mean something different on another control.

ControlMeaning
FanucTapping cycle
Mazak (EIA)Tapping cycle
Okuma OSPTapping cycle
Mitsubishi M70 M80Tapping cycle
Brother SpeedioTapping cycle
Fagor 8055 8065Tapping canned cycle
LinuxCNC TormachRight hand tapping cycle
Mach3 Mach4Tapping cycle
Centroid CNC12 AcornRight hand tapping cycle
Hurco WinMax (NC)Tapping cycle
FadalRight hand tap, floating holder
Swiss (Citizen Star)Face tapping cycle

Every G-code for Haas NGC 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 Haas NGC G-codes

App Store Google Play