top of page
Search

CNC Machining Order of Operations: How Machinists Decide

carystraley
1 day ago
10 min read

Two machinists can open the same drawing, run the same machine, and end up with parts that differ by a few thousandths. The gap is rarely the cutter. It is usually the CNC machining order of operations: which features get cut first, which wait, and how each setup hands its geometry to the next one. At Summit City Precision Machining in Fort Wayne, we see this decide whether a bore lands true to a face or drifts out of position after three flips. Feature prioritization is the planning step most shops rush. Below is how we decide what comes first, what waits, and what the inspection plan needs to see.


Table of Contents



Quick Takeaways


Key Insight

Explanation

Establish datums before any finishing cut

Every later feature is measured from them, so a datum built on rough stock carries its error through the whole job.

Rough the part, then finish the critical features

Roughing removes stock unevenly and releases internal stress, so tight features should be finished after that movement settles.

Group operations by setup, not by feature

Each fixture flip adds a locating error, so features reachable from one orientation should be cut together.

Bore holes after the faces they reference

A hole cut before its mating face is milled has its position tied to a surface that will still move.

Put threads and thin walls late in the sequence

These features are the easiest to damage in handling and the most sensitive to later clamping.

Check each datum right after it is created

A shifted datum caught at the datum step costs minutes, while the same error found at final inspection costs the part.


Why Operation Order Decides Part Accuracy


Every cut in a CNC program is measured from something. The machine does not know the intent of the drawing. It knows the coordinates you set in the controller, and those coordinates come from the surfaces you touched first. The CNC machining order of operations determines which surfaces exist when each feature is cut, which is why the sequence matters as much as the toolpath.


Machinist reviewing a drawing beside a 5-axis CNC mill holding a clamped part, planning the CNC machining order of operations.

A common mistake is treating the process plan as a list of tasks instead of a chain of dependencies. If the first setup leaves a face slightly out of square, every hole, pocket, and slot cut from that face inherits the error. The part can pass its program simulation perfectly and still fail on the CMM.


What the sequence actually controls


Sequence controls three things: the reference geometry available at each step, the stock left to move as material relaxes, and the number of times the part is clamped and reoriented. Each of these affects position and form. We settle these three questions on paper before we open the CAM software.


The cheapest place to fix a locating error is at the first operation. Every later correction adds a setup, a reference, and another chance for the part to move.

Where errors enter the chain


Errors usually enter at fixture changes, not inside the cuts themselves. A part reseated in a vise or on a rotary table carries a small offset that no spindle compensation will remove. Plan the number of flips before you plan the number of features, because flips are the expensive part of any sequence.


Setting the Datum Scheme First


A datum scheme is the set of faces, bores, or edges that every other dimension references. Before choosing any tool, we name the primary, secondary, and tertiary datums from the drawing and confirm that each can be machined in the first setup. If a datum cannot be produced cleanly on the first setup, the rest of the sequence is built on sand.


Choosing the primary datum face


The primary datum should be the largest stable face that the fixture can grip without distortion. In practice, that is usually a flat face that will survive into the finished part. We avoid datums on cast skin, forging parting lines, or stock that will be thinned later.


Pro tip: Mark each datum on the setup sheet with the operation number that creates it. Operators who see "datum created in OP10" make fewer mistakes when a later setup needs a re-probe.


Transferring the datum from rough to finish


Rough machining often locates on a different feature than the finish operation, because raw stock is irregular. The sequence needs a step that transfers the datum to a machined surface, usually by facing or boring a reference the finish setup can clamp to. Skipping that transfer is the most common reason a finished part shows a stack-up the drawing did not predict.


Roughing, Stress Relief, and Stock Allowance


Roughing removes most of the material, and that removal changes the part. Stock taken from one side releases internal stress, and the part can bow or twist as the balance shifts. Sequencing decides whether that movement happens before or after your critical features are cut.


Balancing material removal


Remove material in a way that keeps the part roughly symmetric. A block machined heavily on one side and lightly on the other will move when it is clamped and released. We rough in passes that alternate sides where geometry allows, then leave uniform stock for finishing.


Stock allowance is the amount left for finishing. It needs to be enough to clean up roughing marks and any movement, but not so much that the finish tool works in heavy cut. The right number depends on the material and the tolerance, so it belongs in the written process plan rather than in the operator's memory.


Stress relief on difficult alloys


Titanium, nickel alloys, and tool steel respond to heat and cutting forces in ways that aluminum often does not. On these materials, we separate roughing from finishing with a stress-relief pause or a semi-finish pass when the geometry or the drawing calls for it. Material choice and sequencing are linked, and our guide on material selection for precision machined components explains why the alloy changes the plan.


Grouping Operations by Setup


Operations should be grouped by orientation first and by tool second. A setup is the period when the part stays clamped in one position, and it is the most reliable unit of accuracy in the whole job. Grouping features by setup reduces how often the part has to be located again.


Older process-planning methods describe concentrated tool division, where one tool completes every feature it can reach before a tool change. That cuts tool changes, but it can scatter features across several setups. In our shop, the setup is the main constraint, and tool grouping comes second unless tool changes are the bottleneck.


Machined metal part with datum faces on a surface plate, checked with a height gauge before the next operation.

When a flip is unavoidable


Some parts need the opposite face machined, and no fixture avoids that. When a flip is required, machine the features that depend on the common datum first, then flip and finish the features that reference the new face. Write the datum transfer into the flip step itself, not as a note added after the program is written.


Comparing Sequencing Strategies


Three strategies cover most of what we see in production planning. None is right for every part, but each fails in a predictable way, and the table below shows where each one fits.


Sequencing Strategy

Best Fit

Main Risk

Concentrated tool division

Parts with many features reachable by one tool in a single orientation, such as a drilled pattern on one face

Features split across several setups when the tool cannot reach the datum-dependent faces

Datum-first, then rough-to-finish by feature

Precision parts with tight location tolerances, such as manifold blocks and gauge bodies

More tool changes and some air cutting between passes

Setup-grouped with a documented datum transfer

Multi-face parts that need flips, such as aerospace brackets and housings

Accumulated error if the datum transfer at each flip is not recorded and checked


For a precision part with a clear datum scheme, we default to the third strategy and use the second inside each setup. The first strategy is useful for simple parts, but it is the one most likely to hide a locating problem until inspection.


Tolerance-Critical Features: First or Last?


The question of whether tight features should go first or last trips up many planners. The answer depends on what the feature references. A feature that relies on a datum should come after that datum exists, and it should be finished after any operation that could move it.


Holes and bores after the faces they reference


A bore cut before the mating face is milled inherits whatever squareness error the face picks up later. Put the face first, establish the reference, then bore. This applies to bolt patterns, dowel holes, and bearing bores, where position is measured from the faces that will mate with the part.


Threads and thin walls near the end


Threads, thin walls, and small pockets are the first features damaged by burrs, handling, and clamping. We try to place them late in the sequence, close to final inspection, and protect them with soft jaws or support fixtures. Cutting them early means they must survive every later setup.


How 5-Axis and Turning Change the Sequence


Machine type changes the order before a single toolpath is written. A part turned on a lathe establishes its primary features in one chucking, while a 5-axis mill can reach several faces in one setup. Choosing the machine is part of the sequencing decision, not a separate question.


Turning first on round stock


For shafts, bushings, and fittings, turning often comes first because it creates the concentric datum that milled features reference. Flats, cross holes, and keyways follow once the turned diameter and centerline are set. Our overview of CNC turning versus multi-axis machining for precision parts covers where each process earns its place.


Fewer setups with 5-axis machining


A 5-axis machine can complete contoured features that would otherwise need several 3-axis setups, which removes the flips where error builds. The tradeoff is that the sequence must be planned around tool reach and collision clearance, not only around datums. For a closer look at when that tradeoff pays off, see our comparison of 5-axis vs 3-axis CNC machining.


Building Inspection Points Into the Sequence


An inspection plan is part of the process plan, not an afterthought. Every datum the CMM will use must exist before the inspection program runs, and every feature that drives a dimension should be checked before a later operation can change it.


Row of machined components arranged in production sequence across a workbench in a precision machining shop.

In-process checks at datum changes


Check the datum after the operation that creates it, before the next setup depends on it. Catching a shifted datum at that point costs minutes. Catching it after the final operation costs the part.


Feeding the CMM program from the process plan


The CMM program should mirror the datum scheme in the process plan. If the plan establishes datums A, B, and C in the first setup, the inspection should build its alignment from those same features. Our article on CMM programming for precision parts explains how that alignment is written. Our in-house laboratory is A2LA accredited to ISO/IEC 17025:2017, which keeps the measurements that close the loop under the same quality system as the machining.


Prototype and Production Sequences Differ


A prototype and a production run of the same part should not share a process plan by default. Prototypes prioritize learning and fast changes, while production prioritizes repeatability and cost per part. The sequence should match the goal you are paying for.


Prototype sequences that accept more setups


In a prototype, you may accept extra setups to verify geometry, fit, or assembly. That can mean machining the outer profile first to test a fit, even if it costs time. The plan should flag which features will change in the production version so the prototype does not lock in a poor order.


Pro tip: Ask for a first article before the production sequence is locked. If the first article shows a datum problem, you change one operation instead of re-tooling the whole run.


Production sequences built for repeatability


Production sequences minimize flips and fixture changes, because each one is a point where variation can enter. Fixtures are designed around the sequence, and the sequence is validated on the first article before the run scales. Our piece on production machining versus prototype machining cost and process covers how these choices change the quote.


Common Mistakes When Sequencing Features


Most sequencing errors are not exotic. They come from planning the features that are easy to see and skipping the ones that depend on invisible references. These are the patterns we check on every new job.


Starting with the most visible feature


Planners often start with the largest pocket because it is the most obvious feature. Starting with the largest feature is not wrong, but it becomes wrong when that feature removes the stock or the datum the precision features need. Always check what each early operation removes from the part.


Ignoring fixture reach and clearance


A sequence can look correct on the drawing and still fail at the machine. If the last operation needs a clamp that blocks the tool, the plan has to change. Check fixture reach against the toolpath before the sequence is final.


Pro tip: Write a short setup sheet before programming. For each operation, list the datum it uses, the datum it creates, and the material it removes. If you cannot name the datum for an operation, that operation is probably in the wrong place.


Frequently Asked Questions


What is the CNC machining order of operations?


It is the sequence in which a part's features are machined, from establishing datums and removing bulk stock through finishing critical features and final inspection. The order is set by how each feature depends on reference geometry created earlier in the process.


Should holes be drilled before or after milling the faces?


Drill or bore after the faces they reference, especially when position tolerance is measured from those faces. Drilling first lets the later face cut shift the hole's position relative to the datum.


How many setups should a precision part need?


As few as the geometry allows. Each flip adds a locating error, so the goal is to reduce orientations rather than to hit a fixed number. The right count is the one your datum scheme can support within the drawing tolerance.


Does sequencing change the cost of a machined part?


Yes. Extra setups, fixture changes, and tool changes add time, and poor sequencing can force scrap or rework. Good sequencing usually lowers total cost even though it adds a planning step up front.


How do I choose between 3-axis and 5-axis for sequencing?


Choose 5-axis when contoured or multi-face features would otherwise need several 3-axis setups that introduce error. Stay with 3-axis when the features are reachable from one or two orientations and the extra cost of 5-axis time is not justified.


What should I send with a quote request so the sequence can be planned?


Send the drawing, the 3D model, the specifications, and the estimated quantity through the Request a Quote button, or call (260) 459-7031. Datum callouts and critical tolerances on the drawing make the sequencing review faster.


What sequencing problem has cost your shop the most time on a precision job, and how did you fix it?


References


Comments


 Precision Machined Components - Fort Wayne, IN                                                      

Join our Email List

  • facebook
  • youtube

©2020 by Summit City Precision Machining Inc. SCPM. • ISO 9001:2015 Certified

bottom of page