The Three Core Drilling Canned Cycles
CNC machining center drilling programs typically use one of three G-code canned cycles, and choosing the right one for the application makes a measurable difference in both cycle time and drill life. Using G83 everywhere is safe but slow; using G81 everywhere is fast but can break drills in deep holes. The right choice depends on material, hole depth, and drill condition.
G81 — Standard Drilling Cycle: Rapid to position, feed at programmed rate to depth, rapid retract. No pecking, no dwell. Appropriate for: holes shallower than 3x drill diameter in free-machining materials, through-holes where the breakthrough clears chips automatically, and any application where you've verified chip evacuation isn't a problem. Fastest possible cycle time. Zero additional logic required.
G83 — Full Retract Peck Drilling: Feeds to first peck depth (Q value), rapids back to R-plane (clear of hole), rapids back to current hole depth minus a clearance value (typically 0.050"), feeds to next peck depth, repeats. The full retract allows chips to fall clear of the hole and coolant to flood in completely on each peck cycle. Safest chip evacuation. Slowest cycle time due to full retract distances on each peck. Use for: holes deeper than 5x diameter in any material, holes in stainless or titanium regardless of depth, any material that produces long stringy chips, and any application where drill breakage in a deep hole would damage an expensive part.
G73 — High-Speed Peck (Chip Break) Cycle: Similar to G83 but retracts only a small distance (typically 0.050") rather than full clear. This retract breaks the chip without evacuating it from the hole. Cycle time much faster than G83; chip evacuation less complete. Use for: holes 3–6x diameter in free-machining steel, aluminum, and materials that produce short chips naturally. Not appropriate for stainless, titanium, or any material producing long chips — the short retract won't evacuate those chips and packing will occur.
Calculating Peck Depth: The Q Value
The Q value in G83 and G73 sets the peck increment — how far the drill advances on each feed cycle before retracting. This is not arbitrary; correct Q value is material and diameter dependent.
General starting point formula: Q = Drill diameter × Material factor
Material factors:
- Free-machining steel, aluminum, brass: 1.5 to 2.0x diameter
- Mild and medium-carbon steel: 1.0 to 1.5x diameter
- Alloy steel, heat-treated steel: 0.75 to 1.0x diameter
- Stainless steel (304/316): 0.5 to 0.75x diameter
- Titanium: 0.3 to 0.5x diameter
- Nickel alloys (Inconel): 0.25 to 0.4x diameter
Example: 1/2" drill in 4140 pre-hard (32 HRC). Q = 0.500 × 0.85 = 0.425". Round to nearest 0.001": Q0.425. The program block reads: G83 X0.500 Y-1.250 Z-1.500 R0.100 Q0.425 F4.5 (where 4.5 IPM is the feed rate calculated from RPM × IPR).
Start conservative and optimize by testing. If chips are evacuating cleanly and the drill is running cool, the Q value can often be increased by 25% for faster cycle time. If chip packing or drill wear is problematic, reduce Q by 25%.
R-Plane Setting and Its Effect on Cycle Time
The R-plane (R value in G83/G81) defines the rapid retract height above the part surface. On a flat part with no clamps in the way, the R-plane can be as close as 0.050 to 0.100 inches above the surface — the drill rapids to this height, then switches to feed rate to enter the material.
Many CNC programs use R0.100 (0.100" above the surface) as a default for all holes regardless of part geometry. On a 30-hole pattern in a 2" thick part using G83, every hole requires rapid moves to and from the R-plane on each peck cycle. If average peck depth is 0.300" and average hole is 1.5" deep, there are roughly 5 pecks per hole, 30 holes = 150 retract cycles. At 200 IPM rapid rate, each 0.100" retract takes 0.03 seconds. 150 × 0.03 = 4.5 seconds — trivial. But at 0.500" R-plane (common in programs transferred from fixturing-heavy setups), that becomes 22 seconds per part. In a 500-part run, that's 3 hours of unproductive spindle time.
Review R-plane settings on every program, especially programs written generically or imported from previous setups. The correct R-plane is as close to the work surface as the part geometry and workholding safely permit. On a flat clean surface, 0.050" is reasonable. On irregular castings with surface variation, 0.150 to 0.200" provides margin. There is no reason to use 0.500" R-plane on a flat machined surface — it's a cycle time tax that compounds across every peck in every deep hole across every part in the run.
Ready to Sharpen Your Production Edge?
Mail in your dull HSS drills. We'll sharpen them on our WinsloMatic — back to spec, ready to cut.
Get a Quote →