Master CNC
Blog · 5 min read · 26 Oct 2026

Fanuc G74 face peck drilling and face grooving

G74 is G75 turned through 90°: it pecks along Z instead of X. Without an X word it is a peck drilling cycle on the lathe centre line. With X, it cuts a face groove wider than the tool.

The format (two blocks)

G74 R(e)
G74 X(U)_ Z(W)_ P(Δi) Q(Δk) R(Δd) F_
WordMeaning
R (first block)Retract after each peck, mm
Z / WBottom of the hole or groove
X / ULast X position for a face groove. Leave out for drilling
QPeck depth in Z, in microns, no decimal point
PStep in X between plunges, radius, microns
FFeed, mm/rev
G74 peck drilling on the lathe centre: G74 R1, G74 Z-40 Q5000 F0.1
Without X, G74 is a peck drilling cycle.

Example 1: peck drilling on the centre line

A Ø12 drill, 40 mm deep, pecking 5 mm at a time:

T0505  (D12 DRILL)
G97 S900 M03
G00 X0 Z3. M08
G74 R1.
G74 Z-40. Q5000 F0.1
G00 Z50. M09

G97 is a must: at X0, G96 would run the spindle to its limit. The drill pecks 5 mm, backs off 1 mm to break the chip, and goes on. For a chip-clearing peck that returns all the way out, many programmers use G83 with a live-tool cycle setting, or simple G01 moves.

Example 2: a face groove

A face groove from Ø40 to Ø60, 5 mm deep, with a 4 mm face grooving tool referenced on its inner corner:

G97 S600 M03
G00 X40. Z2.
G74 R0.5
G74 X52. Z-5. P3000 Q2000 F0.05
G00 Z50.

The tool plunges 2 mm at a time to Z-5, then steps 3 mm (radius = 6 mm on diameter) outward and plunges again, until X52 (+ 2 × 4 mm tool = Ø60). Face grooving tools are curved to fit the groove diameter: check that the tool's diameter range covers Ø40 – 60.

Common mistakes

  1. G96 for centre drilling.
  2. Q and P written with decimal points.
  3. Face grooving tool outside its diameter range: the back of the tool rubs the groove wall.
  4. P bigger than the tool width: rings left in the groove.

Older controls use a one-block G74. For OD grooves see G75.

Try it in Master CNC

Calculators, process sheet to program, simulation, codes and lessons. Free to start, no sign-in, on phone and laptop.

Open the app