G-code reference

G73: High-speed peck drilling (mill) or Pattern repeating cycle (lathe)

G73 means two different things. On a mill, it is high-speed peck drilling: drills in pecks with a small retract to break the chip. On a lathe (Fanuc G-code system A), it is pattern repeating cycle: repeats the finished profile offset outward, for forgings and castings. Check which machine a program is written for before reading it.

G73 on a mill: High-speed peck drilling

On a mill, G73 drills in steps of Q but only backs off a small amount between pecks, enough to break the chip without leaving the hole. It is faster than G83 but does not clear chips out of deep holes.

TypeG-code
MachineMill
GroupCanned cycle
ModalYes: stays active until replaced by another code from the same group

G73 example (mill)

G73 X10. Y10. Z-20. R2. Q3. F150.

Peck 3 mm at a time to Z-20, breaking chips.

WordWhat it means here
G73High-speed peck drilling
X10.X axis target (on a lathe, the diameter)
Y10.Y axis target
Z-20.Z axis target or depth
R2.arc radius, or the R plane (retract height) in a drilling cycle, or a cycle setting
Q3.peck depth or another cycle setting
F150.feed rate (on threading codes, the lead)

Codes people confuse with G73 on a mill

CodeWhat it does instead
G83 Deep hole peck drilling. Pecks Q deep and retracts fully out of the hole each time.
G73 (lathe) Pattern repeating cycle (lathe). Repeats the finished profile offset outward, for forgings and castings.

Memory hook: G73 breaks the chip, G83 clears it.

Other codes in the canned cycle group

Only one code from a modal group is active at a time. Programming any of these replaces G73.

  • G74 Left-hand tapping cycle
  • G76 Fine boring cycle
  • G80 Canned cycle cancel
  • G81 Drilling cycle (spot drill)
  • G82 Drilling cycle with dwell
  • G83 Deep hole peck drilling
  • G84 Tapping cycle (right hand)
  • G85 Boring cycle (feed out)
  • G86 Boring cycle (spindle stop, rapid out)
  • G89 Boring cycle with dwell (feed out)

G73 on a lathe: Pattern repeating cycle

On a lathe, G73 roughs by repeating the whole profile at shrinking offsets, which suits parts that already have roughly the final shape. On a mill, the same number is a high-speed peck drilling cycle.

TypeG-code
MachineLathe (G-code system A)
GroupLathe cycle
ModalNo: acts only on its own line

G73 example (lathe)

G73 U3. W1. R3
G73 P100 Q200 U0.4 W0.1 F0.25

Three passes shrinking 3 mm in X and 1 mm in Z.

WordWhat it means here
G73Pattern repeating cycle (lathe)
U3.incremental X on a lathe, or an X finishing allowance inside a cycle
W1.incremental Z on a lathe, or a Z finishing allowance inside a cycle
R3arc radius, or the R plane (retract height) in a drilling cycle, or a cycle setting
P100a parameter: dwell time, program number, sequence number or cycle setting, depending on the code
Q200peck depth or another cycle setting
U0.4incremental X on a lathe, or an X finishing allowance inside a cycle
W0.1incremental Z on a lathe, or a Z finishing allowance inside a cycle
F0.25feed rate (on threading codes, the lead)

Codes people confuse with G73 on a lathe

CodeWhat it does instead
G73 (mill) High-speed peck drilling. Drills in pecks with a small retract to break the chip.
G71 Rough turning cycle. Roughs a profile along Z in repeated passes, leaving finishing stock.

Other codes in the lathe cycle group

These also act only on their own line.

  • G70 Finishing cycle
  • G71 Rough turning cycle
  • G72 Rough facing cycle
  • G74 Face peck drilling / grooving (lathe)
  • G75 Grooving cycle (X)
  • G76 Threading cycle (multi-pass)
  • G90 Outside/inside diameter cutting cycle (lathe)
  • G92 Thread cutting cycle (lathe)
  • G94 Facing cycle (lathe)

Meanings follow the common Fanuc-style standard that Haas, Okuma (EIA mode), Mitsubishi, LinuxCNC and most other controls share for this code. Options and parameters change details from machine to machine, so check the manual for your control.

Quick check: G73

  1. What does G73 do? (Lathe)

  2. What does G73 do? (Mill)

  3. Which code: Drills in pecks with a small retract to break the chip.(Mill)

Show the answers
  1. Repeats the finished profile offset outward, for forgings and castings.
  2. Drills in pecks with a small retract to break the chip.
  3. G73

Drill this code with the rest of the core set

More practice hubs

Frequently asked questions

What does G73 mean in CNC programming?
On a mill: High-speed peck drilling. Drills in pecks with a small retract to break the chip. On a lathe: Pattern repeating cycle (lathe). Repeats the finished profile offset outward, for forgings and castings.
Is G73 modal?
Yes. G73 belongs to the canned cycle group and stays active until another code from that group is programmed.
What is the difference between G73 and G83?
G73 (high-speed peck drilling): drills in pecks with a small retract to break the chip. G83 (deep hole peck drilling): pecks Q deep and retracts fully out of the hole each time. A way to remember it: g73 breaks the chip, G83 clears it.

G-Code Sprint is an educational practice tool only. It is not a CNC simulator, machine controller, safety manual, or replacement for instruction. Always follow your instructor, employer, machine manual, and shop procedures.

Free preview · no card Try G-Code Sprint