WindFire CAMWindFire ERP Open CAM

Drilling cycles and shaft & holder

How the tool goes into each hole and back out, in which order, what your control receives - and how the shaft and holder are kept clear of the part.

No section matches your search.

What a drilling cycle is

A drill operation machines the selected holes one after the other. Its Motion tab decides how the tool goes into each hole and back out: straight in and out, in pecks to break or clear the chips, with a dwell, at a reduced feed where it breaks through, synchronised with the spindle for tapping, or milled with an end mill or thread mill.

Canned cycles are written as your control's own cycle (G81, G83, G84 ...). Where a control has no such cycle, WindFire writes the same motion as plain moves when that is safe, and refuses the cycle with a clear message when it is not (fine boring, back boring and tapping are never approximated).

The Motion tab of a drill operation
Figure 1. The Motion tab of a drill operation
  1. Motion tab
  2. Cycle type
  3. Pecking depth
  4. "?" opens this guide
DrillingDeep drillingChip breakingReamingBreak through R planeblue = feed, dashed = rapid, orange = reduced feed
How the tool moves in five cycles

Drill holes step by step

The demo plate is used for the pictures.

  1. Add or select a drill operation. Drilling, Drill in the ribbon, or click it in the CAM tree.
    Step 1: the drill operation is selected
    Figure 2. Step 1: the drill operation is selected
    1. The operation in the CAM tree
    2. Its name and type
    3. The holes in the view
  2. Choose the holes. Geometry tab: holes are found automatically; click a hole wall to add or remove it, or use All holes / Through holes / Same size as first.
    Step 2: the holes on the Geometry tab
    Figure 3. Step 2: the holes on the Geometry tab
    1. Geometry tab
    2. Selected holes
    3. All holes
  3. Choose the hole order. Nearest next is the order of before; shortest path, by depth, as selected and the others are below. Reverse order turns any of them round.
    Step 3: the hole order
    Figure 4. Step 3: the hole order
    1. Order
    2. Reverse order
    3. The path between the holes
  4. Check the heights. Heights tab: the retract height is the R plane of the cycle; From "Hole top" gives every hole its own R plane.
    Step 4: the heights
    Figure 5. Step 4: the heights
    1. Heights tab
    2. Retract height (R plane)
    3. Bottom height
  5. Choose the cycle. Motion tab, Cycle type. A note says when the tool does not suit the cycle.
    Step 5: choose the cycle
    Figure 6. Step 5: choose the cycle
    1. Motion tab
    2. Cycle type
  6. Set the cycle parameters. Only the parameters of the chosen cycle are shown, with sensible defaults.
    Step 6: the pecking parameters
    Figure 7. Step 6: the pecking parameters
    1. Pecking depth
    2. Pecking depth reduction
    3. Chip breaking distance
  7. Turn on the shaft and holder check if the part is deep. Tool tab, Shaft & holder: choose what happens when the shaft or holder would come too close.
    Step 7: shaft and holder
    Figure 8. Step 7: shaft and holder
    1. Tool tab
    2. Check the shaft and holder
    3. Shaft and holder mode
  8. Post. The post dialog shows the program, with every cycle in your control's own form or as moves.
    Step 8: the posted program
    Figure 9. Step 8: the posted program
    1. Post dialog
    2. The cycles in the program

Every cycle type

The list follows the reference order. The code in brackets is what Fanuc-style controls receive; the table further down shows every control.

CycleWhat it does and when to use it
Drilling - rapid outFeed to depth, rapid out (G81). Spot and centre drilling, holes up to about 3 x the diameter.
Counterboring - dwell and rapid outFeed to depth, dwell, rapid out (G82). Flat-bottomed counterbores and spot faces.
Chip breaking - partial retractPecks with a short retract to break the chip (G73). Deeper holes in long-chipping material.
Deep drilling - full retractPecks with a full retract out of the hole to clear the chips (G83). Deep holes.
Break through - reduced feed at the exitDrills at the normal feed, then the last part at a reduced feed and spindle speed so the drill does not grab or push a burr when it breaks through. Written as moves on every control.
Guided deep drilling (gun drill)Gun drilling: enters a pilot hole at the positioning feed and speed, runs up to full speed, drills to depth, dwells, slows down and feeds out. Written as moves.
Tapping (right hand)Right-hand tapping (G84), feed = speed x pitch. Rigid (synchronised) or with a floating holder; a floating holder writes no rigid tapping code (no M29). A tap whose hand does not match the cycle blocks Post.
Left tappingLeft-hand tapping (G74): the spindle runs M4.
Tapping with chip breakingTapping in steps that go deeper each time (G84 with Q) where the control can.
Reaming - feed outFeed in and feed out (G85). Precision holes with a reamer.
Boring - dwell and feed outFeed in, dwell, feed out (G89).
Stop boring - spindle stop, rapid outFeed in, stop the spindle, rapid out (G86). The insert drags along the wall on the way out.
Fine boring - shift away from the wallOriented stop and a shift away from the wall before the retract (G76).
Back boringBack boring from below the part (G87): the tool passes through the hole shifted, then cuts upwards.
Circular pocket millingMills a round pocket with an end mill: a helix at the centre, then circles out to the wall, level by level.
Bore milling (helical)Helical interpolation of the hole wall with an end mill, then a clean-up circle.
Thread millingMills an internal thread with a thread mill: one helix per start, the lead is the number of starts x the pitch.
Custom cycle (your own text)Your own text at each hole, for a probing macro or a control cycle WindFire does not write. The text is posted as typed, with the hole values filled in.
Tapping
Figure 10. Tapping
  1. Cycle type
  2. Tap holder
Thread milling with two starts
Figure 11. Thread milling with two starts
  1. The helices in the hole
  2. Number of threads
  3. Thread pitch

Cycle parameters

Lengths are in the project's units. A value of 0 for a feed or speed means "the operation's own".

Dwelling period
Time the tool waits at the bottom (seconds).
Pecking depth
How deep each peck goes.
Pecking depth reduction
Each peck is this much shorter than the one before.
Minimum pecking depth
Pecks never get shorter than this.
Accumulated depth before a full retract
Chip breaking: after this much depth the tool retracts fully once.
Chip breaking distance
How far the tool lifts between pecks.
Dwell before retract
Time the tool waits at the bottom of every peck.
Break-through depth
The last part of the hole drilled at the reduced feed.
Break-through feedrate
Feed for that last part.
Break-through spindle speed
Spindle speed for that last part.
Guided depth (pilot hole)
Depth of the pilot hole the gun drill enters slowly.
Positioning feedrate
Feed while entering the pilot (and for trimmed holes).
Positioning spindle speed
Spindle speed while entering the pilot.
Tap holder
Rigid: the control synchronises spindle and feed (M29 on Fanuc). Floating: no rigid tapping code, for a tension / compression holder.
Shift (oriented stop)
How far the boring bar moves away from the wall at the oriented stop.
Back bore depth
Height of the back counterbore above the bottom of the hole.
Bar (neck) diameter
Diameter of the bar above the cutter.
Head height (cutter top to bar)
From the top of the cutter to the bar.
Stepover (fraction of the diameter)
Circle spacing as a fraction of the tool diameter.
Maximum stepdown
Depth of each level.
Helix pitch (per turn)
Z per turn of the helix.
Thread pitch (0 = from the tool)
Thread pitch; 0 takes it from the tool.
Thread diameter (0 = from the hole and pitch)
Major diameter of the thread; 0 works it out from the drilled hole and the pitch.
Number of threads (starts)
Number of thread starts.
Thread hand
Right- or left-hand thread.
Radial passes
Number of radial passes to the full thread depth.
Cycle text ({x} {y} {z} {r} {top} {q} {p} {feed} {rpm})
Custom cycle text; {x} {y} {z} {r} {top} {q} {p} {feed} {rpm} are filled in for each hole.
Direction
Stock to leave
Retract feedrate (0 = plunge feed)
Feed out of the hole for guided deep drilling; 0 uses the plunge feed.

Hole order

The order holes are drilled in. Holes of a different depth or R plane always restate the whole cycle, so every hole is drilled to its own depth.

Nearest next (as before)
The next hole is always the nearest one, starting bottom left (the order of before).
Shortest path
Nearest next, then improved until no two moves can be swapped to make the path shorter.
By depth (highest first)
Holes with the highest top first.
As selected
In the order you clicked them.
By diameter (smallest first)
Smallest holes first.
Rows (along X)
Row by row along X, alternating direction.
Columns (along Y)
Column by column along Y.
Before
Order: nearest next
Figure 12. Order: nearest next
  1. The path between the holes
  2. Order nearest next
After
Order: by depth
Figure 13. Order: by depth
  1. Highest holes first
  2. Order by depth

Predrill and entry positions

A pocket or adaptive normally enters the material with a helix or a ramp. With Predrill (Geometry tab of the pocket) it plunges straight down instead - into holes drilled first.

Make the holes with a drill operation before the pocket: on its Geometry tab choose Drill the entry points of and pick the pocket. The holes are drilled exactly where the pocket will plunge, to its depth. Posting stops if Predrill is on and no earlier drill operation drills the entry points. Use a drill at least as large as the end mill.

Post also checks the drill operation: a drilling cycle, a drill at least as large as the pocket tool, every entry point drilled, and the full drill diameter down to the entry depth (no drill-point cone left where the pocket plunges). If it says the holes are too shallow, turn on "Add drill-tip length" or use a flat-bottomed drill.

Helix entry Predrill: straight plungepredrilled hole
Helix entry and predrilled entry
A drill operation drilling the entry points of a pocket
Figure 16. A drill operation drilling the entry points of a pocket
  1. Drill the entry points of
  2. Holes at the pocket's entry points
Before
Pocket with a helix entry
Figure 14. Pocket with a helix entry
  1. Helix into the material
  2. Predrill off
After
Pocket with Predrill
Figure 15. Pocket with Predrill
  1. Straight plunge into the predrilled hole

Trimmed holes

For holes that an earlier operation has already partly machined, the drill can travel fast through the empty part: turn on Start inside a partly machined hole, set the starting depth offset (below the hole top) and the positioning feed and spindle speed. The tool moves to that depth at the positioning values, then drills at the normal feed and speed.

Trimmed holes
Figure 17. Trimmed holes
  1. Start inside a partly machined hole
  2. Starting depth offset

What each control receives

Generated from the post rules, so it is always what the post really writes.

✓ the control's own cycle · ✓ ! own cycle, check the machine (a warning says what) · → written as moves · ✗ refused with a message (never approximated)

CycleFanucHaasMazakOkumaMach3 / Mach4LinuxCNCSiemens 840DHeidenhainFagor / DMSGrblShopBot
Drilling - rapid out✓✓✓✓✓✓→→→→→
Counterboring - dwell and rapid out✓✓✓✓✓✓→→→→→
Chip breaking - partial retract✓✓✓✓✓✓→→→→→
Deep drilling - full retract✓✓✓✓✓✓→→→→→
Break through - reduced feed at the exit→→→→→→→→→→→
Guided deep drilling (gun drill)→→→→→→→→→→→
Tapping (right hand)✓✓✓ !✓ !✓ !✓✓✗✗✗✗
Left tapping✓✓✓✓✓ !✓✓✗✗✗✗
Tapping with chip breaking✓ !✓ !✓ !✓ !✗→✗✗✗✗✗
Reaming - feed out✓✓✓✓✓✓→→→→→
Boring - dwell and feed out✓✓✓✓✓✓→→→→→
Stop boring - spindle stop, rapid out✓✓✓✓✓✓→→→→→
Fine boring - shift away from the wall✓✓✓ !✗✗✗✗✗✗✗✗
Back boring✓✓✓ !✗✗✗✗✗✗✗✗
Circular pocket milling→→→→→→→→→→→
Bore milling (helical)→→→→→→→→→→→
Thread milling→→→→→→→→→→→
Custom cycle (your own text)→→→→→→→→→→→

Shaft & holder

A deep cut can bring the tool shaft or the holder against the part long before the cutter gouges. With Check the shaft and holder on, every move is checked with the shaft and each holder segment grown by its clearance.

The shaft is the part of the tool between the flutes and the holder; the holder comes from the tool library. A reported collision is real: the check uses shapes that sit inside the real cylinders.

Part Flutes Shaft + clearance Holder + clearance clearance Each part of the tool, grown by its clearance, must stay clear of the part.
Shaft and holder clearances
The Shaft & holder section of the Tool tab
Figure 20. The Shaft & holder section of the Tool tab
  1. Check the shaft and holder
Trim toolpath
For 3D finishing operations only. Leaves out every move, rapids included, where the shaft or holder would come too close; the tool lifts to the clearance height, crosses, comes down to 2 mm above the next safe move and ramps back onto the path. Other operations refuse it and Post is blocked: a trimmed roughing, 2D or drilling path would plunge into material or lose its cycle.
Detect tool length
Works out the shortest stick-out that keeps the holder and its clearance - beside it and under it - clear of the part and of the uncut stock top. Posting stops only if the tool sticks out less than that; the depth-only holder warning of before is replaced by this exact check.
Fail on collision
No toolpath; the operation says where the collision is, and Post is blocked until it is fixed.
Skip colliding holes
Drilling only: holes where the shaft or holder would collide are left out. If every hole would collide, Post is blocked.
Shaft clearance
Distance the shaft must keep from the part (default 1 mm).
Holder clearance
Distance the holder must keep from the part, beside it and under it (default 5 mm).
Safe distance (rapids above the part)
Rapids must stay at least this far above the part; the first one that does not is named in a warning.
Before
Shaft and holder off: the holder would reach the boss
Figure 18. Shaft and holder off: the holder would reach the boss
  1. Passes next to the boss
After
Trim toolpath: the passes near the boss are left out
Figure 19. Trim toolpath: the passes near the boss are left out
  1. Passes where the holder clears

Tool containment

Tool centre on the boundary
The tool centre runs up to the boundary: the edge of the tool goes past it by the radius.
Tool inside the boundary
The whole tool stays inside the boundary.
Tool outside the boundary
The tool may go a radius beyond the boundary, so the edge of the boundary is finished.
Tool containment of a 3D boundary
Figure 21. Tool containment of a 3D boundary
  1. Tool containment
  2. Passes inside the boundary

Worked example

The demo plate: M8 tapped holes and a counterbore.

  1. Spot drill, Drilling cycle, 1 mm deep.
  2. Drill 6.8 mm, Deep drilling, pecking depth 3 mm, pecking depth reduction 0.5 mm, minimum 1 mm - written as moves because G83 cannot reduce the peck.
  3. Tap M8 x 1.25, Tapping (right hand), rigid: G84 with M29 on Fanuc.
  4. Shaft and holder on for the drill with Detect tool length: the stick-out of 30 mm is enough, posting is not stopped.
Example: the operations
Figure 22. Example: the operations
  1. Spot, drill and tap in the view
  2. The operations in the tree
Example: Deep drilling with pecking reduction
Figure 23. Example: Deep drilling with pecking reduction
  1. Cycle type
  2. The drill operation
Example: the posted program
Figure 24. Example: the posted program
  1. Post dialog

Messages and how to fix them

Messages appear under the operation and in the post dialog.

MessageWhat to do
Predrill is on, but no earlier drill operation drills the entry points of this operation: it would plunge into material. Add a drill operation with "Drill the entry points of" this operation before it.Add the drill operation before the pocket, or turn Predrill off.
Shaft and holder: the tool must stick out at least … (it sticks out …).Set a longer stick-out in the tool library, or tick the holder confirmation if you know it clears.
Shaft and holder: the toolpath would bring the … within its clearance of the part (… place(s)), so it was not calculated.Use a longer tool, a smaller clearance, or "Trim toolpath" for a finishing pass.
Shaft and holder: "Trim toolpath" is only for 3D finishing operations (a trimmed roughing, 2D or drilling toolpath would plunge into material or lose its cycle). Use "Fail on collision" or "Detect tool length", or a longer tool.Use Fail on collision or Detect tool length for this operation.
A rapid passes … above the part, closer than the safe distance …: raise the retract or clearance height.Raise the retract or clearance height on the Heights tab.
…: the custom cycle text is written as typed at each hole - check it for this control.Read the posted lines once before running.
This cycle needs a tap.Pick a tap on the Tool tab.
Shaft and holder: every hole would bring the shaft or holder within its clearance of the part, so none was drilled. Use a longer tool or another holder.Use a longer stick-out or a slimmer holder.
Shaft and holder: the toolpath could not be trimmed to a path that keeps the shaft and holder clear, so it was not calculated. Use a longer tool or "Detect tool length".Use a longer stick-out, or Detect tool length to see how long the tool must be.
Predrill: … predrilled hole(s) do not reach the entry depth with the full drill diameter (the drill point leaves a cone). Drill deeper (turn on "Add drill-tip length") or use a flat-bottomed drill.Turn on Add drill-tip length on the drill operation, or drill with a flat-bottomed tool.
This is a right-hand tap: left tapping would strip the thread. Choose a left-hand tap or "Tapping (right hand)".Pick a tap of the right hand on the Tool tab, or change the cycle.

Tips

  • Use Deep drilling for holes deeper than about 4 x the diameter, Chip breaking for long-chipping material.
  • Break through avoids burrs and grabbing at the exit of through holes.
  • Put "From Hole top" on the retract height when holes start at different levels.
  • Turn on Detect tool length on deep parts: it replaces guessing with an exact stick-out.

Related topics