CNC cycle processing: a guide to success in processing
CNC cycle processing is the controlled repeat of a programmed motion until a feature reaches size. This guide covers how canned cycles and run cycles actually cut metal, which parts suit them, and where they stop making sense. Written for engineers and buyers who need to judge a process before it reaches the shop floor.

In this article
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
What matters most
What CNC cycle processing actually does
A cycle is a block of programmed motion the controller repeats until a condition is met. In turning, G71 and G70 remove stock in passes and then finish the profile. In milling, G81, G83 and G84 drill, peck and tap at a list of coordinates. The machine handles retract, depth and dwell. The programmer still picks the tool, the feed and the safe plane. That division of labor is the whole idea.
The repeat is what separates a cycle from a single move. One G01 takes the tool from A to B and stops. A cycle takes the tool from A to B, pulls back, indexes across, and does it again. On a Ø400 mm rotary table with a shaft mounted horizontally, that loop can run for hours without an operator touching the control. The operator watches load, chip evacuation and coolant instead.
Cycle processing shows up in three places. Canned cycles are built into the controller and called by a G-code. Cutter compensation loops repeat a contour at different offsets. Full part cycles repeat an entire program across a pallet or bar feeder. The mechanics differ, but the logic is the same: define the motion once, repeat it predictably.
That predictability is the engineering value. If the loop is correct, part 1 and part 400 sit inside the same tolerance band. If the loop is wrong, every part is wrong in the same way, and the scrap bin fills fast. This is why cycle setup gets more attention than almost any other programming step.
- 1Canned cycleController macro for drilling, boring, tapping or grooving. Called with G-codes.
- 2Contour loopRepeated passes at increasing offsets to clear a pocket or profile.
- 3Run cycleWhole program repeated across pallets, bar stock or a fixture array.
How the controller executes a loop
The controller reads the cycle call, stores the parameters, then executes the motion block for each position in the list. On a Fanuc-style control, G83 stores a peck depth and a retract plane. Each hole in the coordinate list gets the same treatment until the list is exhausted. The control then cancels the cycle with G80. Forget the G80 and the next move becomes another hole.
Rapid positioning between positions is where most cycle crashes come from. If the R plane sits below the top of the workpiece, the tool feeds into stock at rapid rate. We set the R plane 2–5 mm above the highest obstruction. On tall fixtures, that gap grows. The rule is simple: never let the rapid plane sit inside material.
Tool changes break the loop. A cycle runs with one tool, so a part needing drill, tap and ream is three cycles with two tool changes between them. Each change adds a few seconds and a small positioning error. On short runs, those seconds can outweigh the savings of a canned cycle. On long runs, they disappear into the total.
Chip evacuation decides whether a deep cycle survives. Peck drilling at 0.5–1.5 × diameter per peck clears chips on aluminum and mild steel. On 316L or Inconel, pecks get shorter and retracts get longer. If chips pack in the flutes, torque spikes and the tool snaps. Coolant pressure and peck depth matter more than spindle speed here.
- 1Cancel the cycleG80 before any non-cycle move. Skipping it drills the next feature.
- 2Set the R plane2–5 mm above the highest point of the fixture or stock.
- 3Match peck to material0.5–1.5 × diameter for aluminum, less for stainless and nickel alloys.
Cycle time, tool life and cost per part
Cycle time is the sum of cutting time, rapid moves, tool changes and dwell. Cutting time drops when you raise feed or step-over, but tool life drops with it. On a 6061-T6 bracket, a 12 mm end mill at 3,000 rpm and 1,200 mm/min clears a pocket quickly. Push the same tool into 17-4PH and the edges round off in a few parts.
The loop changes tool life in a way that is easy to miss. A constant-engagement path keeps radial depth steady, so heat enters the edge at a predictable rate. A conventional zig-zag pocket spikes radial engagement at the corners. The corners wear first, and the whole tool gets replaced. Adaptive paths cost more code but return more parts per edge.
Setup time is the other half of the budget. A cycle that runs unattended for 40 minutes justifies a longer setup. A cycle that runs for 3 minutes does not. For prototypes and small batches, we often skip canned cycles and program the features directly. It is faster to write and easier to change when the design moves.
Cost per part is where the decision lands. At 10,000 pieces, saving 20 seconds per part is 55 hours of spindle time. At 50 pieces, the same saving is 17 minutes. That is why cycle optimization pays on production runs and rarely pays on one-offs.
- 1Constant engagementSteadier radial depth, longer edge life, more code to write.
- 2Conventional pocketingFaster to program, corner wear, shorter tool life.
- 3Batch size decidesBelow a few hundred parts, setup usually dominates cycle time.
Which parts suit cycle processing
Round and repeating features are the natural fit. Bolt circles, drilled flanges, tapped holes, bearing bores and turned shafts all share one geometry repeated at different positions. A cycle handles the repetition and keeps the spacing exact. On a shaft with 24 equally spaced grooves, one loop produces all 24 with no cumulative error.
Pocketed plates also suit cycles when the pocket is simple. A rectangular pocket with straight walls and a flat floor is a clean loop: plunge, step over, retract, repeat. Add a fillet, a tapered wall or a thin floor and the loop needs more care. Thin floors deflect under tool pressure, so depth of cut comes down and the loop gets longer.
Some parts resist cycles entirely. Sculpted surfaces with no repeating geometry need continuous 5-axis paths, not loops. Deep narrow slots with a high depth-to-width ratio favor EDM or a small-diameter tool with a long reach, both slow. One-off features on an otherwise simple part are often faster to program directly.
Material adds another boundary. Aluminum and brass tolerate aggressive pecks and high feed. Titanium, Inconel and hardened tool steel need conservative loops with more retracts and lower surface speed. A cycle that works on 6061 may fail on TC4 (Ti-6Al-4V) at the same parameters. There is no universal loop.
- 1Good fitBolt circles, flanges, turned shafts, simple rectangular pockets.
- 2Needs careThin floors, tapered walls, deep slots, high-aspect-ratio features.
- 3Poor fitSculpted surfaces, one-off features, very deep narrow slots.
Setting up a cycle that holds tolerance
Start with the stock model, not the part model. Cycle passes are planned from the material you actually have, including the saw cut and any previous operation. If the stock model is optimistic, the first pass takes too much load and the tool complains. We measure the blank before programming when the tolerance is tight.
Pick the tool by feature size, then check the reach. A 10 mm end mill clearing a 40 mm deep pocket has a 4:1 reach, which is workable but not rigid. A 6 mm tool at the same depth is 6.7:1 and will chatter. Reducing step-over and depth of cut helps, but a shorter tool or a different process often helps more.
Set the cutting parameters from the tool maker data and adjust on the first part. Surface speed for aluminum sits far above steel. Feed per tooth scales with the chip load the edge can take. We log the first part, measure it, and correct offsets before releasing the cycle. One measured part beats a table of guesses.
Verify before cutting metal. Run the program above the part with a single block, then with rapid override down. Check the R plane, the retract height and the tool change positions. Most cycle crashes happen on the first run, and almost all of them are visible in a dry run.
- 1Model the real stockInclude saw cut and prior operations, not just the finished part.
- 2Check tool reachKeep depth-to-diameter under about 4:1 where rigidity matters.
- 3Tune on part oneMeasure, correct offsets, then release the cycle.
- 4Dry run firstSingle block and reduced rapid override before the first cut.
When to run a cycle and when to step away
A cycle earns its keep when the same motion repeats many times. Bolt circles, tapped patterns, stepped shafts and simple pockets all qualify. The more repetitions, the better the return. A 60-hole flange is an obvious cycle job. A bracket with two holes is not.
Step away from cycles when the geometry stops repeating or the feature is fragile. Sculpted ribs, thin webs and deep slots need continuous paths with controlled engagement. So do parts that will be redesigned next week, because a cycle is only cheap when it does not change.
There is a middle ground. A hybrid program uses canned cycles for the simple features and continuous paths for the rest. That is how most production parts run here. The programmer picks per feature, not per part. The result is shorter code, fewer crashes, and a program that survives a revision.
The decision is not about which method is better in general. It is about which method fits this part, this batch and this material. Answer those three questions and the choice is usually obvious.
- 1Use a cycleMany identical features, stable design, production quantity.
- 2Use continuous pathsSculpted surfaces, thin walls, deep slots, design still moving.
- 3Mix bothCycles for bolt holes, adaptive paths for pockets and profiles.
Cycle processing compared with direct tool paths
Use this to pick a method per feature, not per part.
| Factor | Cycle processing | Direct tool paths |
|---|---|---|
| Best geometry | Repeating holes, pockets, turned profiles | Sculpted surfaces and one-off features |
| Code length | Short, one call per feature group | Long, one line per move |
| Programming time | Higher setup, lower per-feature cost | Lower setup, higher per-feature cost |
| Batch size fit | Hundreds to 10,000+ parts | One prototype to a few hundred parts |
| Tool life | Predictable if depth and peck are set right | Depends on path smoothing and step-over |
| Crash risk | Rapid plane, missing G80, wrong offset | Collision on linking moves and retracts |
| Easiest to revise | Hard once the loop is tuned | Easy, edit the move |
| Typical tolerance | ±0.005 mm with good fixtures | ±0.005 mm with good fixtures |
The trade-off in one line
If the feature repeats and the batch is real, run a cycle and spend the setup time. If the geometry is sculpted, thin, deep or still changing, skip the cycle and program the moves directly. Mixing both in one program is normal practice here, not a compromise.
Common questions
Is CNC cycle processing the same as CNC turning?
No. Turning is one machine type; cycle processing is a programming method used on lathes, mills and mill-turn centers. A turning center runs cycles, but so does a 3-axis mill drilling a bolt circle.
The confusion comes from older texts that call turning 'cyclic processing' because the workpiece rotates. The rotation is the process. The cycle is the code that repeats the cut.
What tolerance can a cycle hold?
Tolerance depends on the machine, fixture and tool, not on the cycle itself. On our machines we hold ±0.005 mm (±0.0002 in) on features with a stable setup and a rigid tool.
A cycle makes that tolerance repeatable. It does not make it tighter. If the first part is out of band, every part will be out of band until the offset changes.
Why do deep holes need peck drilling?
Chips pack in the flutes as depth increases. Once the flutes fill, friction rises, torque spikes and the drill snaps. Pecking retracts the tool so chips clear before the next cut.
A common starting point is 0.5–1.5 × diameter per peck on aluminum and mild steel, less on stainless and nickel alloys. Through-coolant helps and often allows a longer peck.
Can a cycle run unattended?
Yes, within limits. A tuned cycle with a bar feeder or pallet changer can run for long stretches. What stops it is chip buildup, tool wear and coolant level.
We still check the first parts and monitor load. Unattended does not mean unwatched, especially on the first run of a new program.
Do you charge extra for cycle programming?
Programming is part of the quoted price, not a separate line. For a production run, the cycle setup spreads across the parts and costs little per piece.
For a single prototype, direct tool paths are usually faster to program and cheaper overall. We pick the method that costs you less for the quantity you order.
What information do you need to quote a cycled part?
Send the 3D model, the 2D drawing with tolerances and finish callouts, the material, and the quantity. A STEP file plus a PDF drawing is enough for most parts.
We return a quotation and a free DFM analysis within 12 hours. Uploads stay secure and confidential, and an NDA is available on request.
Send the drawing, get a cycle plan and a price
We review the geometry, pick the method per feature, and quote the part. Quotation and free DFM analysis within 12 hours. No minimum order quantity, from one prototype to 10,000+ parts.
12-hour quote±0.005 mm tolerance100% inspectionISO 9001 / IATF 16949