CNC Machinist Calculator Ultra

Home › G-codes › Mazak (EIA) › G74

G74 Reverse tapping cycle / Z axis peck drilling cycle

Mazak (EIA) G-code · Mill, Lathe

On mills: Reverse tapping cycle

Taps a left hand thread. The spindle runs counterclockwise down and reverses at the bottom.

Format

G74 X Y Z R [P] F

Addresses

AddressWhat it does
X YHole position
ZHole bottom
RR plane
PDwell at the bottom
FFeed, RPM times pitch in G94

How it works

Modal, canned cycle group. Cancel with G80.

Example program

T09 M06 (.500-13 LH TAP)
G90 G54 G00 X1. Y1. S400 M04 (SPINDLE REVERSE)
G43 H09 Z1. M08 (LENGTH OFFSET)
G74 Z-.75 R.2 F30.77 (400 RPM TIMES .0769 PITCH)
…

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

Watch out for

On lathes: Z axis peck drilling cycle

Pecks along Z on center with a short retract after each peck. Also used for face grooving when X moves are given.

Format

G74 R then G74 [X(U)] Z(W) [P] Q F

Addresses

AddressWhat it does
RRetract after each peck
ZFinal depth
QPeck depth in 0.0001 inch, no decimal point
PX step for face grooving, 0.0001 inch
FFeed rate

How it works

Non-modal.

Example program

T0505 (.500 DRILL)
G97 S1500 M03 (CONSTANT RPM)
G00 X0. Z.1 M08 (ON CENTER)
G74 R.02 (RETRACT .02)
…

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

Watch out for

Related codes

G84 · G80 · G75 · G83

G74 on other controls

The same number can mean something different on another control.

ControlMeaning
FanucLeft hand tapping cycle
Haas NGCReverse tapping cycle
Okuma OSPReverse tapping cycle
Mitsubishi M70 M80Reverse tapping cycle
Brother SpeedioLeft hand tapping cycle
Siemens 840D 828DReference point approach
Fagor 8055 8065Home search
LinuxCNC TormachLeft hand tapping cycle
Mach3 Mach4Left hand tapping, Mach4
Centroid CNC12 AcornLeft hand tapping cycle
Hurco WinMax (NC)Left hand tap (ISNC) or single quadrant arc (BNC)
FadalLeft hand tap
Swiss (Citizen Star)Face peck drilling and grooving cycle

Every G-code for Mazak (EIA) 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 G74 in the app All Mazak G-codes

App Store Google Play