Skip to content

G73: peck drilling with a short retract

G73 drills in short pecks separated by a small retract of just a few tenths of a millimeter, whose only job is to break the chip: the drill never leaves the hole. That makes it much faster than G83, which does pull the drill back to the R plane on every peck. The tradeoff is that the chips stay inside the hole, so G73 works for holes of moderate depth and short-chipping materials, and it stops working right where G83 territory begins.

For reference only: syntax changes with the control, the post-processor and the machine parameters. Check the official manual and run a simulation before cutting. Legal notice.

The brands and control names mentioned belong to their owners and are used only to identify the equipment. GetGCode is not affiliated with or endorsed by any manufacturer, ISO or ASME: this is our own content, not official documentation. Legal notice.

Family
Cycles
Machine
Milling, Mill-turn
Risk
Medium
Example
G73 X10 Y10 Z-20 R2 Q1 F120

Syntax by control

Fanuc (milling)
G99 G73 X20. Y20. Z-30. R3. Q5. F180
Q is the depth of each peck, always positive and incremental. The distance the drill retracts between pecks is not programmed: it is set by a control parameter, and you have to look it up in the machine's parameter manual.
Haas (milling)
G99 G73 X20. Y20. Z-30. R3. Q5. F180
Same syntax. On Haas the retract between pecks comes from a control setting (the one for the canned cycle Z increment); change it from the settings screen, not from the program.
Fanuc / Haas (lathe)
G74 R1. / G74 Z-40. Q5000 F0.12
On a lathe, face peck drilling is not G73 but the G74 cycle, with a different format and with Q usually in microns with no decimal point. Do not carry the milling block over as is.
Siemens 840D / 828D
CYCLE83(...)
Siemens does not use G73: deep hole drilling is CYCLE83, and inside the cycle you choose between chip breaking mode (equivalent to G73) and chip removal mode (equivalent to G83). The parameter that decides it is selected in the cycle screen form.
Heidenhain TNC (Klartext)
CYCL DEF 203 UNIVERSAL DRILLING
On Heidenhain, chip breaking is done with the universal drilling cycle and its retract parameters, or with the deep hole drilling cycle. There is no single code equivalent to G73.

Address letters used with it

LetterWhat it setsUnit
X YHole position. As in every canned cycle, each following block that carries only X and Y repeats the cycle at the new position until G80 appears.mm / in
ZHole bottom position. Under G90 it is an absolute dimension; under G91 it is the depth measured from the R plane.mm / in
RApproach plane: the height at which the cycle switches from rapid to feed. Set it one to three millimeters above the face, and above any extra stock on the raw part.mm / in
QDepth of each peck, always positive and always incremental. Check the format on your control: some machines expect it with a decimal point and others in microns without one.mm / in
FDrilling feed. The same one the drill's table would give you; pecking does not change it.mm/min under G94
K / LNumber of cycle repeats at the same position or at incremental positions, depending on the control. It is rarely used, and you should check the letter in the control manual.integer

Worked example

Four Ø8 holes, 30 mm deep, in an F-114 steel plate, drilled with a carbide drill and external coolant. The depth-to-diameter ratio is nearly 4:1, which is the range where G73 still works well: the carbon steel chip with a carbide drill comes off short and the small retract is enough to break it.

O0173 (CUATRO AGUJEROS D8 CON G73)
( Program header. )
G21 G17 G40 G49 G80
( Millimeters, XY plane and a clean state, with canned cycles cancelled. )
G91 G28 Z0.
( Z to the reference point in incremental before the change. )
T7 M06
( Ø8 carbide drill. )
G90 G54 G00 X20. Y20.
( Absolute, work offset and positioning over the first hole. )
G43 H07 Z50. M03 S2800
( T7 length offset and spindle on at a cutting speed of about 70 m/min. )
M08
( Coolant on. With G73 the coolant does not reach the bottom, so it only helps evacuation in the upper part of the hole. )
G99 G73 X20. Y20. Z-30. R3. Q5. F180
( The cycle. Rapids down to Z3, drills five millimeters, retracts whatever the control parameter says, goes back down and repeats until Z-30. G99 makes it return only to the R plane between holes. )
X60.
( Second hole. Position only: the cycle stays active and repeats in full. )
Y60.
( Third hole. )
X20.
( Fourth hole. )
G80 G00 Z50. M09
( Cancels the cycle and moves up. Without the G80, the next block with coordinates would drill again. )
G91 G28 Z0. M05
( Z to the reference point and spindle stop. )
G90 M30
( Back to absolute and end. )
Open the simulator to check the example

Practical keys to using G73 in the workshop

G73 or G83: the chip decides, not the depth

Both cycles peck drill; the difference is what the drill does between pecks. G73 retracts a few tenths, just enough to break the chip, and carries on. G83 comes out to the R plane, lets the chips fall out and the coolant get in, and goes back in. As a shop rule, use G73 up to about four times the diameter in materials that make short chips, and G83 past that or as soon as the material makes long chips, such as stainless steel or ductile aluminum. If the drill has through-tool coolant, you usually do not need either one.

The retract is not programmed: it is configured

The number people look for most with this cycle is how far the drill retracts, and the answer is an awkward one: it is not in the block. It is a machine value, stored in a parameter on Fanuc controls and in a setting on Haas, which is why the same program behaves differently on two machines in the same shop. Typical values run from one to five tenths of a millimeter. If the retract is too small, the chip does not break and it wraps up; if it is too large, the cycle starts to look like G83 and you lose the time advantage. Before you trust it, check the value on your machine.

What the cycle does not solve

G73 breaks the chip but does not clear it: the broken chips stay at the bottom of the hole and the drill keeps working on top of them. As soon as the hole gets deep or the material is ductile, that turns into rising torque, heat and, in the end, a broken drill. It does not fix a bad entry either: if the face is inclined or the spot is off center, the cycle drills just as crooked. And on through holes you should program Z one or two millimeters below the bottom face, or the cone stays uncut.

Mistakes that cost you a part (or a tool)

  • Using G73 on deep holes or in long-chipping materials: the broken chip stays inside, the torque climbs and the drill breaks near the bottom.
  • Programming Q as negative or as an absolute value: Q is always a positive, incremental depth, and a negative value gives an alarm or unexpected behavior.
  • Copying the block from one machine to another and assuming the retract: that value lives in a parameter or setting on each control, not in the program.
  • Leaving the cycle uncancelled with no G80: the next block that carries coordinates drills again, even if it was meant as a positioning move for something else.
  • Setting the R plane right against the face when the raw part has extra stock: the drill enters the material at rapid.
  • Forgetting that under G91 the Z of the cycle is the depth from R and not a dimension: the hole comes out much deeper than planned.
  • Confusing it with the lathe G74, which is a different cycle with a different format and with Q usually in microns with no decimal point.

Frequently asked questions

What is the difference between G73 and G83?

In G73 the drill retracts only a few tenths between pecks, just enough to break the chip, and it does not leave the hole. In G83 it comes out to the R plane on every peck, which clears the chips and lets the coolant in, at the cost of quite a bit more cycle time.

How far does the drill retract on each G73 peck?

Whatever the parameter or setting on your machine says, because it is not programmed in the block. Typical values run from one to five tenths of a millimeter. It is the number to check before you sign off on a program that comes from another machine.

What value do I put in Q?

A peck depth the material can take without loading up the drill: a reasonable starting point is between half a diameter and a full diameter per peck, adjusting according to how the chip comes off. Q is always positive and incremental.

How deep can I use G73?

As a guideline, up to about four times the drill diameter in short-chipping materials. Beyond that, or with ductile materials, the chips piling up at the bottom start to take over and you should switch to G83 or to a drill with through-tool coolant.

Does G73 exist on Siemens and Heidenhain?

Not under that number. On Siemens deep hole drilling is CYCLE83, and inside the cycle you choose between chip breaking and chip removal. On Heidenhain it is handled with the universal drilling or deep hole drilling cycles and their retract parameters.

Related codes

G81G83G80G98/G99G74/G75

Other codes in Cycles

See the full list of G and M codes

Related apps