G-code reference

G73 G-Code: Pattern Repeating (Lathe) / High-Speed Peck Drilling (Mill)

Pattern Repeating (Lathe) / High-Speed Peck Drilling (Mill) — Lathe: repeats the profile offset step by step, which is ideal for forgings and castings that already have a near-net shape. Mill: canned cycle for peck…

By cnccode · Updated
PropertyValue
CodeG73
FunctionPattern Repeating (Lathe) / High-Speed Peck Drilling (Mill)
Modal group00/09
TypeOne-shot (non-modal) — active only in its own block
Used onMills and lathes
SyntaxMill: G73 X_ Y_ Z_ R_ Q_ F_ Lathe: G73 U_ W_ R_ / G73 P_ Q_ U_ W_ F_

What does G73 do?

Lathe: repeats the profile offset step by step, which is ideal for forgings and castings that already have a near-net shape. Mill: canned cycle for peck drilling with small retracts (chip-break) instead of full retracts.

G73 is a one-shot code: it only acts in the block where it is written, and the previously active modal codes take over again afterwards.

Syntax and parameters

Format
Mill: G73 X_ Y_ Z_ R_ Q_ F_
Lathe: G73 U_ W_ R_ / G73 P_ Q_ U_ W_ F_
AddressMeaning
QMill: peck depth
RMill: retract plane
U W RLathe: total relief and number of divisions

G73 example program

Example
(Mill)
G98 G73 X10.0 Y10.0 Z-25.0 R2.0 Q3.0 F150.
X30.0
G80

▶ Open this example in the G-code viewer

Tips and common mistakes

  • Mill G73 breaks chips but does not clear them; use G83 for deep holes.
  • Retract amount for G73 is a parameter (Fanuc 5114).

Controller compatibility

G73 follows the ISO/Fanuc dialect used by Fanuc, Haas, Brother, Doosan, Hurco (ISO mode), Mazak (EIA/ISO mode), Okuma (G-code mode) and Siemens in ISO dialect mode. Parameters, option packages and builder-specific behaviour can differ, so confirm the details in your machine's programming manual before running a new program.

Frequently asked questions

Is G73 modal?
No. G73 is a one-shot (group 00) code and only acts in the block where it appears.
What does G73 mean in CNC?
G73 means Pattern Repeating (Lathe) / High-Speed Peck Drilling (Mill). Lathe: repeats the profile offset step by step, which is ideal for forgings and castings that already have a near-net shape. Mill: canned cycle for peck drilling with small retracts (chip-break) instead of full retracts.
What is the difference between G73 and G83?
G73 is Pattern Repeating (Lathe) / High-Speed Peck Drilling (Mill), while G83 is Peck Drilling Cycle (Deep Hole). See the G83 page for its syntax and examples.
Can I use G73 on a lathe?
Yes, G73 is used on both mills and lathes, although some parameters differ between them.