Appearance
A 300 mm deep gun-drilled hole in steel can be produced in 90 seconds of cutting time, but a poorly chosen peck strategy can inflate that to 8 minutes — not because the tool cuts slower, but because the tool spends 80% of its time retracting and re-entering. The difference between an efficient peck cycle and a wasteful one is often a single parameter change.
Pecking — the periodic retraction of the drill during a deep hole cycle — is the single most impactful programming variable in gun drilling beyond 5× diameter. It directly determines chip evacuation efficiency, tool temperature exposure, and cycle time. Yet many production shops treat peck depth as a fixed value set once and forgotten, leaving 30–60% productivity improvement on the table.
This article provides a systematic framework for selecting and optimising pecking parameters specifically for gun drilling applications, covering the physics of chip evacuation, CNC programming options (G83 IJK, CYCLE83, G73), cycle time calculation, and material-specific strategies.
Why Pecking Matters in Deep Gun Drilling
The Chip Evacuation Problem
In gun drilling, the cutting edge generates chips that must travel the entire length of the flute or chip groove to exit the hole. As depth increases:
- Friction accumulates: Each chip sliding along the flute adds frictional resistance. At 10× diameter, the cumulative friction force can exceed the cutting force.
- Chip packing occurs: When flute volume is insufficient for the chip volume generated, chips compress into a packed mass that blocks evacuation entirely.
- Torque spikes: Packed chips increase torque on the drill body, leading to torsional overload and tool breakage.
- Coolant access degrades: Chips blocking the flute restrict high-pressure coolant flow to the cutting edge, accelerating tool wear.
| Depth Ratio | Chip Evacuation Risk | Pecking Required? |
|---|---|---|
| < 3×D | Low — chips exit naturally | Not required |
| 3×D to 5×D | Moderate — chip packing begins | Recommended |
| 5×D to 10×D | High — flute friction dominates | Mandatory |
| > 10×D | Critical — torque accumulation risk | Essential |
| > 30×D | Extreme — coolant access limited | Full retract every peck |
The Pecking Time Penalty
Every retraction is non-productive time. The tool is not cutting during retract, rapid traverse, and re-entry. At high peck counts (50–200 pecks per hole), the rapid-traverse component dominates total cycle time.
| Number of Pecks | Feed Time (3 IPM) | Rapid Time (150 IPM) | Total Cycle Time | Overhead vs. Continuous |
|---|---|---|---|---|
| 10 | 8.3 min | 0.3 min | 8.6 min | 4% |
| 50 | 8.3 min | 1.7 min | 10.0 min | 20% |
| 100 | 8.3 min | 3.3 min | 11.6 min | 40% |
| 200 | 8.3 min | 6.7 min | 15.0 min | 81% |
Tip: For a 25 mm diameter × 500 mm deep hole (20:1 ratio), reducing peck count from 200 to 50 by optimising peck depth can cut cycle time by 33% without changing cutting parameters at all.
Peck Depth Strategies
Fixed Peck Depth (Q Method)
The simplest approach: each peck advances the same distance before retracting.
text
G83 G99 Z-500.0 R2.0 Q25.0 F0.12| Advantage | Disadvantage |
|---|---|
| Simple to program | Same peck at shallow depth (wasted time) and deep (may be too aggressive) |
| Predictable chip load | No adaptation to increasing torque at depth |
| Universal controller support | Most conservative approach — leaves productivity on table |
Variable Peck Depth with Degression (I, J, K Method)
The first peck is the largest, and each subsequent peck decreases by a fixed amount until a minimum is reached. On Haas and compatible controls:
| Parameter | Description | Typical Setting |
|---|---|---|
| I | First peck depth | 3–4× drill diameter |
| J | Reduction per peck | 1–2× drill diameter |
| K | Minimum peck depth | 0.5–1× drill diameter |
text
G83 G99 Z-50.0 R1.0 I4.0 J2.0 K1.0 F0.12How it works (25 mm drill, 500 mm depth):
- Peck 1: 100 mm (4×D)
- Peck 2: 50 mm (2×D) — reduced by J
- Peck 3: 25 mm (1×D) — reduced to minimum K
- Peck 4 onward: 25 mm each — held at minimum K
Total pecks: 14 vs. 20 with fixed 25 mm pecking, a 30% reduction in retraction events.
Dynamic / Adaptive Peck Depth
The most advanced approach, available on some CAM systems and custom macros. Peck depth varies based on process signals:
- Torque-controlled pecking: Retract when spindle torque exceeds a threshold (indicating chip packing)
- Depth-based scheduling: Shallow initial pecks (0.5×D), mid-range deeper pecks (1.0×D), progressively reducing in the final third of the hole
- Learning-based optimisation: The 2018 Han et al. iterative learning method uses Chip Evacuation Torque Coefficients (CETCs) to model the relationship between extended drilling depth per step and cumulative chip accumulation. Using a modified Newton's method, it maximises each peck depth while avoiding drill breakage, achieving <10% error in maximum safe depth prediction.
Warning: Dynamic pecking requires either a CNC controller with real-time torque monitoring or post-process optimisation. It is not available on standard G-code controls without custom macro programming or CAM integration.
Retraction Frequency and Two-Level Systems
Chip Break vs. Chip Clear
Modern CNC controls implement two distinct retraction types within a single cycle:
| Type | Retraction Distance | Purpose | Time Cost |
|---|---|---|---|
| Chip break | 0.1–0.5 mm above cut | Fracture the chip, short pause | Minimal |
| Full chip clear | Retract to R-plane | Evacuate all chips from flute | High |
The Siemens CYCLE83 parameter VARI controls this distinction:
- VARI = 0 (Chip breaking): Retract only 1 mm after each peck. Fastest cycle, suitable when chip formation is stable and flute volume is adequate.
- VARI = 1 (Swarf removal): Full retraction to reference plane after each peck. Slower but essential when chip packing is a known risk.
Hybrid Retraction Strategy
The most productive approach combines both retraction types:
- Most pecks use chip break retraction (short, fast, minimal time)
- Every Nth peck uses full chip clear (complete evacuation)
ACU-RITE G87 parameters for this strategy:
| Parameter | Function | Typical Value |
|---|---|---|
| W | Chip break increment | 0.2 mm |
| U | Full retract interval | Every 3–5 pecks |
text
G87 Z-500.0 I100.0 J50.0 K25.0 U4 W0.2This produces: chip break after every peck (0.2 mm retract), full retraction to R-plane every 4th peck.
Practical Retraction Frequency by Material
| Material | Full Retract Interval | Chip Break Interval | Rationale |
|---|---|---|---|
| Aluminium (6061) | Every 3–5 pecks | Every peck | Gummy chips need frequent clearing |
| Low-carbon steel | Every 3–4 pecks | Every peck | Moderate chip formation |
| Alloy steel (4140) | Every 2–3 pecks | Every peck | Higher torque at depth |
| Stainless steel | Every 2 pecks | Every peck | Work-hardening risk |
| Titanium | Every 1–2 pecks | Every peck | Heat-sensitive, prevent chip welding |
| Cast iron | Every 5–6 pecks | Every peck | Brittle chips, less packing |
CNC Programming Options
G83 with IJK (Haas and Compatible)
text
G90 G00 X0 Y0
G43 Z10.0 H01 M08
G83 G99 R1.0 I4.0 J2.0 K1.0 Z-50.0 F0.12
G80 Z10.0 M09| Parameter | Value | Basis |
|---|---|---|
| I (first peck) | 4.0 mm | 4× drill diameter (1 mm drill) |
| J (reduction) | 2.0 mm | 2× drill diameter |
| K (minimum) | 1.0 mm | 1× drill diameter |
| F (feed) | 0.12 mm/rev | Gun drilling typical for steel |
Siemens Sinumerik CYCLE83
text
CYCLE83(RTP, RFP, SDIS, DP, DPR, FDEP, FDPR, DAM, DTB, DTS, FRF, VARI)| Parameter | Function | Typical Setting |
|---|---|---|
| FDEP | First drilling depth | 4× drill diameter |
| DAM | Degression amount | 2× drill diameter |
| DTB | Dwell at final depth (chip break) | 0.2 s |
| DTS | Dwell at start point (swarf removal) | 0.5 s |
| FRF | Feed rate factor for first peck | 0.8 (reduce feed for first peck) |
| VARI | 0 = chip break, 1 = swarf removal | 1 for deep holes > 10×D |
G73 Chip Break Cycle (Moderate Depth Only)
For depths from 3×D to 8×D where full chip evacuation is not needed:
text
G73 G99 Z-30.0 R1.0 Q3.0 F0.12G73 retracts only a small distance (parameter d on Fanuc, typically 0.1–0.5 mm) after each peck. This breaks the chip without fully retracting the tool. It is 2–3× faster than G83 for the same peck depth but carries risk of chip packing at depth.
When to use G73: Short-to-moderate deep holes (3–8×D) in free-cutting materials (low-carbon steel, cast iron, aluminium) with through-coolant. Do not use for stainless steel, titanium, or any material prone to chip welding.
Cycle Time Calculation
Formula
The total cycle time for a peck drilling operation is:
T_total = T_feed + T_rapid
T_feed = (D + A) / (F × N)
T_rapid = Σ(P_retract_i + P_entry_i) / RWhere:
- D = hole depth
- A = approach distance
- F = feed per revolution
- N = spindle speed
- P_retract_i = retract distance for peck i
- P_entry_i = entry distance for peck i
- R = rapid traverse rate
Example Calculation
Workpiece: 20 mm diameter × 400 mm depth, 4140 steel Parameters: F = 0.06 mm/rev, N = 3,000 rpm, R = 12,000 mm/min
G83 fixed peck (Q = 10 mm):
- Number of pecks = 40
- Feed distance = 400 mm + 2 mm approach = 402 mm
- Feed rate = 0.06 × 3,000 = 180 mm/min
- Feed time = 402 / 180 = 2.23 min
- Average retract per peck = 10 mm (to R-plane)
- Rapid time = (40 pecks × 10 mm × 2) / 12,000 = 0.067 min
- Total = 2.30 min
G83 variable peck (I = 60, J = 20, K = 10):
- Pecks: 60, 40, 10, 10, 10... = 12 total
- Average retract = 30 mm
- Rapid time = (12 × 30 × 2) / 12,000 = 0.060 min
- Feed time = same 2.23 min
- Total = 2.29 min
Excessive pecking (Q = 2 mm):
- Number of pecks = 200
- Average retract = 10 mm
- Rapid time = (200 × 10 × 2) / 12,000 = 0.333 min
- Feed time = same 2.23 min
- Total = 2.56 min
Tip: The rapid-traverse time penalty only becomes significant at high peck counts. For 20 pecks or fewer, rapid time is typically <5% of total cycle. For 100+ pecks, rapid time can exceed 30%. The optimisation lever is peck count reduction, not rapid speed.
The Case for Fewer, Smarter Pecks
| Strategy | Peck Count | Cycle Time | Risk Level |
|---|---|---|---|
| Conservative (Q = 0.5×D) | 40 | 2.30 min | Very low |
| Optimised variable (I, J, K) | 12 | 2.29 min | Low |
| Aggressive (Q = 3×D) | 7 | 2.28 min | Moderate |
| Excessive peck (Q = 0.1×D) | 200 | 2.56 min | Very low (but slow) |
The cycle time difference between 12 pecks and 40 pecks is negligible in this case because feed time dominates. The benefit of optimised pecking is not cycle time reduction — it is risk reduction at the same cycle time. Larger pecks earlier in the hole save no meaningful time but increase chip packing risk in the critical deep section.
Material-Specific Strategies
Aluminium Alloys
| Parameter | Recommendation |
|---|---|
| Peck type | Variable degression (I = 4×D, J = 2×D, K = 1×D) |
| Full retract | Every 3–5 pecks (hybrid) |
| Coolant pressure | 40–70 bar |
| Feed rate | 0.08–0.15 mm/rev |
| Special consideration | Parabolic flute drills for chip clearance |
Aluminium produces long, stringy chips that pack easily. The key is creating "C"-shaped chips through appropriate feed rate and chip breaker geometry rather than relying on frequent pecks to clear stringers.
Steel Alloys (4140, 4340)
| Parameter | Recommendation |
|---|---|
| Peck type | Variable degression (I = 3×D, J = 1.5×D, K = 0.5×D) |
| Full retract | Every 2–3 pecks |
| Coolant pressure | 50–70 bar |
| Feed rate | 0.04–0.10 mm/rev |
| Special consideration | Reduce feed by 15% after 10×D |
Stainless Steel
| Parameter | Recommendation |
|---|---|
| Peck type | Shallow variable (I = 2×D, J = 1×D, K = 0.3×D) |
| Full retract | Every 2 pecks |
| Coolant pressure | 70+ bar |
| Feed rate | 0.02–0.06 mm/rev |
| Special consideration | TiAlN coating essential; avoid dwell at bottom |
Titanium Alloys
| Parameter | Recommendation |
|---|---|
| Peck type | Very shallow (I = 0.5×D, no degression needed) |
| Full retract | Every 1–2 pecks |
| Coolant pressure | 70+ bar (mandatory) |
| Feed rate | 0.02–0.05 mm/rev |
| Special consideration | G83 only (full retract every peck preferred); never use G73 |
Advanced Optimisation Approaches
Iterative Learning Method (Han et al., 2018)
The most rigorous published approach to peck depth optimisation uses Chip Evacuation Torque Coefficients (CETCs):
- Torque model: CETC₁ (cutting torque coefficient) and CETC₂ (chip evacuation torque coefficient) are experimentally calibrated for the tool-material pair.
- Depth prediction: The extended depth coefficient by chip removal (EDCbCR) establishes the relationship between extended depth in each drilling step and cumulative drilling depth.
- Optimisation: Modified Newton's method solves for the maximum safe peck depth at each step, constrained by the tool's torque limit.
- Validation: Experimental testing showed <10% error in predicting maximum safe drilling depth.
Practical application: For a given tool diameter, material, and machine torque limit, the method generates a custom peck depth schedule that maximises material removal rate while preventing chip-clogging breakage.
Chip Evacuation Force Model (Mellinger et al., 2002)
This model predicts the depth at which chip clogging occurs based on:
- Friction coefficients for chip-flute interaction
- Chip compression ratio (dependent on feed and material)
- Flute cross-sectional geometry
The model enables pre-determination of the maximum safe peck depth without experimental calibration, though it is less accurate than the iterative learning method for specific tool-material combinations.
Predictive Thermomechanical Model (2025)
Recent work combines Oxley's machining theory with the Johnson-Cook material model and an analytical thermal model using transient heat conduction. Validation showed:
- 4.66% error for cutting power prediction
- 7.45% error for cutting forces
- 8% error for temperature prediction (finite volume method)
This enables prediction of optimal retraction frequency based on thermal thresholds — retracting when the cutting edge reaches a critical temperature rather than at fixed depth intervals.
Practical Optimisation Framework
Tier 1: Quick Wins (No Programming Change)
- Reduce G83 return clearance (Fanuc parameter 532): From default 0.100" to 0.015" — saves ~3 seconds per peck
- Set R-plane as low as possible: Reduce air cutting on re-entry
- Verify feed rate is appropriate: Running below 0.03 mm/rev in steel is rubbing, not cutting — increases heat and chip packing
Tier 2: Program Optimisation (G-code Change)
- Switch from fixed Q to IJK variable peck: Reduces peck count 30–50%
- Implement hybrid retraction: Chip break on every peck, full retract every 3–5 pecks
- Add dwell at peck bottom: G04 P0.2 (0.2 s) allows coolant pressure to stabilise before retract
Tier 3: Process Optimisation (Engineering Change)
- Calibrate CETCs for your tool-material pair: Run torque-monitored test holes at varying peck depths
- Generate optimal peck schedule: Use iterative learning method or empirical testing
- Implement dynamic peck control: Real-time torque monitoring with conditional retract
| Optimisation Level | Cycle Time Improvement | Implementation Effort | Risk of Tool Breakage |
|---|---|---|---|
| Tier 1: Quick wins | 5–10% | Hours | No change |
| Tier 2: G-code | 15–30% | Days | Slight increase |
| Tier 3: Engineering | 30–50% | Weeks–months | Managed |
FAQ
What is the difference between G83 and G73 peck cycles?
G83 performs a full retraction to the R-plane after each peck, fully clearing chips from the flute. G73 retracts only a small distance (typically 0.1–0.5 mm) to break the chip without fully clearing the flute. G83 is safer for deep holes and materials prone to chip packing; G73 is faster but limited to moderate depths (3–8×D) in free-cutting materials.
How do I choose the first peck depth (I) in a variable peck cycle?
Start with 3–4× the drill diameter as the first peck depth. The rationale is that at shallow depths, chip evacuation is easy — the chip travel distance is short, and coolant pressure at the cutting edge is highest. As the hole deepens, reduce peck depth progressively to account for increasing chip evacuation friction.
What is the optimum peck reduction (J) value?
Typically 1–2× drill diameter. The reduction should be aggressive enough to reduce peck depth meaningfully in the first few pecks but not so aggressive that the peck depth drops to the minimum before reaching the mid-section of the hole. A good starting point is J = 0.5×I.
Can pecking be too frequent?
Yes. Excessive pecking (peck depths below 0.2×D) increases cycle time without proportional benefit and introduces thermal cycling that can accelerate tool wear in carbide gun drills. Each retraction and re-entry also creates a momentary coolant pressure drop at the cutting edge, which can cause thermal shock in heat-sensitive materials.
How does material affect pecking strategy?
Aluminium requires frequent full retracts (every 3–5 pecks) because it produces long, stringy chips that pack easily. Titanium requires very shallow pecks (0.5×D max) with full retract every 1–2 pecks because chip welding and heat generation are the primary failure modes. Cast iron can tolerate infrequent full retracts (every 5–6 pecks) because its chips are brittle and do not pack.
What coolant pressure is needed for deep peck drilling?
For depths beyond 5×D, through-coolant pressure of at least 50–70 bar is recommended. At high depth ratios (>20:1), 70+ bar is essential to overcome the frictional pressure drop along the flute. Coolant pressure below 40 bar in deep holes risks chip packing regardless of peck strategy.
How do I calculate cycle time for a peck drilling operation?
The total cycle time is the sum of feed time (hole depth divided by feed rate) and rapid-traverse time (total retract and re-entry distance divided by rapid rate). At low peck counts (<20), feed time dominates and the retraction overhead is negligible. At high peck counts (>100), the rapid-traverse component can exceed 30% of total cycle time.
What is the iterative learning method for peck optimisation?
Developed by Han, Luo, Zhang, and Wu (2018), this method uses Chip Evacuation Torque Coefficients (CETCs) to model the relationship between drilling depth and chip accumulation torque. A modified Newton's method solves for the maximum safe peck depth at each step, constrained by the tool's torque limit. Experimental validation showed <10% error in predicting maximum safe drilling depth.
Summary
| Parameter | Recommendation | Rationale |
|---|---|---|
| Peck cycle type | G83 with IJK (variable) or CYCLE83 | Reduces peck count 30–50% vs. fixed Q |
| First peck depth (I) | 3–4× drill diameter | Maximises productivity at shallow depths |
| Peck reduction (J) | 1–2× drill diameter | Gradual transition to conservative pecking |
| Minimum peck (K) | 0.5–1× drill diameter | Balances risk and cycle time at depth |
| Full retract interval | Every 2–6 pecks (material-dependent) | Hybrid strategy minimises time penalty |
| Chip break increment | 0.1–0.5 mm | Breaks chip without full retract |
| G83 return clearance | 0.015–0.030" | Minimises air cutting on re-entry |
| Coolant pressure for deep holes | 50–70 bar (70+ for >20:1) | Ensures chip evacuation at depth |
| Material: Aluminium peck | I = 4×D, full retract every 3–5 | Stringy chips need frequent clearing |
| Material: Steel peck | I = 3×D, full retract every 2–4 | Moderate chip formation |
| Material: Titanium peck | I = 0.5×D, full retract every 1–2 | Heat-sensitive, prevent chip welding |
| Optimisation: Quick wins | Tier 1 (5–10% improvement) | Return clearance, R-plane height |
| Optimisation: Program | Tier 2 (15–30% improvement) | IJK variable peck, hybrid retraction |
| Optimisation: Engineering | Tier 3 (30–50% improvement) | CETC calibration, dynamic control |
| Advanced method | Iterative learning (Han 2018) | <10% error in max safe depth prediction |