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…
| Property | Value |
|---|---|
| Code | G73 |
| Function | Pattern Repeating (Lathe) / High-Speed Peck Drilling (Mill) |
| Modal group | 00/09 |
| Type | One-shot (non-modal) — active only in its own block |
| Used on | Mills and lathes |
| Syntax | Mill: 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
Mill: G73 X_ Y_ Z_ R_ Q_ F_
Lathe: G73 U_ W_ R_ / G73 P_ Q_ U_ W_ F_| Address | Meaning |
|---|---|
Q | Mill: peck depth |
R | Mill: retract plane |
U W R | Lathe: total relief and number of divisions |
G73 example program
(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.
Related codes
- G83 — Peck Drilling Cycle (Deep Hole)
- G80 — Cancel Canned Cycle
- G71 — Stock Removal in Turning (Roughing Cycle)