Shenzhen Alu Rapid Prototype Precision Co., Ltd.
Industry News
- Home
- News
- CNC Datum Selection: Reference Frames, GD&T and Inspection Guide
CNC Datum Selection: Reference Frames, GD&T and Inspection Guide
CNC datum selection connects design intent, machining setups and dimensional inspection. A well-designed datum reference frame tells the manufacturer how a part should be oriented and located, how geometric tolerances relate to functional interfaces and how inspection results should be reproduced. A poor datum scheme can make a simple component expensive, difficult to fixture and impossible to inspect consistently.
Datums are often misunderstood as ordinary dimensions, arbitrary zero points or whichever surfaces are easiest to touch with a probe. In geometric dimensioning and tolerancing, a datum is theoretically exact. The physical part contains imperfect datum features from which the datum is established. The distinction matters because real surfaces are never perfectly flat, straight, round or square.
This guide explains datum features, datum reference frames, primary-secondary-tertiary order, degrees of freedom, datum targets, features of size, CMM alignment and practical datum selection for CNC-machined parts. It also gives designers and buyers an RFQ checklist for avoiding costly interpretation problems.
What Is a Datum in CNC Machining?
A datum is a theoretically exact point, line, axis or plane used as a reference for geometric requirements. It does not have surface roughness, waviness or manufacturing error because it is conceptual.
A datum feature is the real feature on the part that is identified by a datum feature symbol. It may be a planar mounting surface, a cylindrical bore, a shaft diameter, a slot width, a pattern of holes or another feature allowed by the selected tolerancing standard.
A datum feature simulator is the theoretically perfect or physical boundary that contacts or is derived from the datum feature to establish the datum. A surface plate, fixture plane, gauge pin, expanding mandrel and mathematically fitted CMM feature can act as practical or mathematical representations, depending on the standard and inspection method.
These terms should not be used interchangeably:
| Term | Meaning | Example |
|---|---|---|
| Datum | Theoretically exact reference | Ideal mounting plane A |
| Datum feature | Actual imperfect part feature | Machined bottom mounting face |
| Datum feature symbol | Drawing identification | Boxed letter A attached to the feature |
| Datum feature simulator | Perfect boundary used to establish the datum | Granite plane, fixture pad set or mathematical plane |
| Datum reference frame | Complete coordinate reference established by ordered datums | A primary, B secondary, C tertiary |
The applicable standard controls the exact interpretation. ASME Y14.5 establishes dimensioning and tolerancing rules for many U.S. drawings, while ISO 5459:2024 specifies terminology, rules and methods for datums and datum systems in ISO geometrical product specifications.
What Is a Datum Reference Frame?
A datum reference frame, commonly abbreviated DRF, is the coordinate system established by the datum features referenced in a feature control frame. In a common three-plane system, it consists of three mutually perpendicular theoretical planes.
The DRF gives geometric tolerances a stable origin and orientation. A position tolerance on a hole pattern is not evaluated merely from the nearest edge. The basic dimensions locate the theoretically exact hole positions relative to the specified datums, and the feature control frame defines the allowable zone.
The order of datum references matters. A feature control frame that references A|B|C does not normally create the same setup as C|B|A. The primary datum is established first, the secondary next and the tertiary last. Each later datum constrains only the remaining available motion.
Multiple feature control frames on one drawing may use different DRFs when different functions require them. This can be valid, but every additional frame increases manufacturing and inspection complexity.
The Six Degrees of Freedom
A rigid part in space can move in six independent ways:
Translate along the X axis.
Translate along the Y axis.
Translate along the Z axis.
Rotate about the X axis.
Rotate about the Y axis.
Rotate about the Z axis.
A datum reference frame constrains the degrees of freedom needed for the toleranced feature. In a simple planar 3-2-1 arrangement:
The primary plane contacts three separated points and commonly constrains one translation and two rotations.
The secondary plane contacts two points and commonly constrains one translation and one rotation.
The tertiary plane contacts one point and commonly constrains the final translation.
This familiar model is helpful for fixture design, but not every datum scheme literally uses three pads, two pads and one pad. A cylindrical primary datum, a conical datum, a datum feature of size or a complex surface can constrain a different combination of degrees of freedom. The applicable standard and feature geometry determine the result.
The goal is not always to lock all six degrees of freedom. A tolerance may intentionally leave translation or rotation free when the part’s function permits it.
Primary, Secondary and Tertiary Datums
Primary Datum
The primary datum establishes the first and most influential orientation. It is often a broad, stable mounting surface, but “largest surface” is only a starting heuristic. The primary should represent how the component functions, seats or is controlled in assembly.
For a gearbox cover, the gasket face may be primary because it mounts against the housing. For a rotating component, the axis of a precision bore may be primary because rotation and concentric relationships dominate function.
Secondary Datum
The secondary datum orients and locates the part after the primary has been established. A side face, bore, slot or pin hole may serve this role. It should represent the second most important functional interface and remain measurable after the part is seated on the primary.
Tertiary Datum
The tertiary datum constrains the final remaining motion in a common three-plane frame. It may be an end face, another hole or a center plane. Although it is referenced last, it still affects feature location and inspection repeatability.
Datum Precedence
Datum letters do not define precedence by alphabet alone. The order in the feature control frame defines the sequence. A can be tertiary in one frame, primary in another or absent entirely.
When the drawing contains several DRFs, inspectors must follow the exact order and any modifiers for each tolerance. Reusing one convenient CMM alignment for every feature can create incorrect results.
Functional Datums vs Manufacturing Datums
Functional Datums
Functional datums represent how a part interacts with its assembly. They may correspond to mounting planes, pilot diameters, bearing seats, locating pins, sealing faces or fastener patterns.
Starting from function improves interchangeability. If a housing is located by a mounting face and two dowels, those interfaces are strong candidates for the drawing datum scheme.
Manufacturing Datums
Manufacturing datums are surfaces or features used to locate work during machining. They may match the drawing datums, but they do not have to. A machinist may use sacrificial stock, fixture holes or an oversize outside profile for an early setup before the functional features exist.
Inspection Datums
Inspection establishes the drawing-defined DRF using physical gauges, surface plates, CMM software or other methods. An inspection alignment should not replace a functional datum with a convenient machining surface unless engineering has approved the change.
Why the Three May Differ
A raw block cannot be located on a finished bore that has not yet been machined. The process may therefore create temporary manufacturing references, machine the functional datum features and then re-establish the part from those features for critical operations.
The important requirement is traceability: manufacturing choices must ultimately produce and verify the part relative to the drawing datums.
How to Select Datums for a CNC Part
Start with Assembly Function
Ask how the part is located in service:
Which surface seats first?
Which diameter pilots the mating component?
Which holes contain dowel pins?
Which faces carry load?
Which features control alignment, sealing or rotation?
Which degrees of freedom remain intentionally free?
The answers usually identify the most important datum candidates.
Choose Stable and Accessible Features
A datum feature should have enough size and quality to establish a repeatable reference. A tiny cast pad, flexible wall, rough flame-cut edge or inaccessible internal surface may be functionally relevant but impractical as the only inspection reference.
If function requires a difficult feature, datum targets or a well-defined fixture may provide a more repeatable solution.
Match Datum Order to Contact Sequence
The drawing order should reflect how the part seats in the assembly. If the component rests on a flange, then slides over a pilot diameter and finally engages an anti-rotation pin, the datum sequence should be reviewed against that contact order.
Control the Datum Features Themselves
Referencing every feature to datum A does not guarantee that feature A is flat enough to establish a stable reference. Datum features may need form, orientation or size control so they function as intended.
The selected tolerancing standard determines what controls are allowed and how they are applied. Avoid redundant or self-referential callouts.
Avoid Convenience-Only Datums
A surface that is easy to machine or probe is not automatically a good datum. If it does not represent assembly function, inspection results may not predict whether the part fits.
Hexagon’s introduction to coordinate metrology explains how CMM software measures drawing datums to establish the part coordinate system and relates it mathematically to the machine coordinate system.
Consider Repeatability Across Suppliers
The datum scheme should lead two competent suppliers to the same interpretation. Ambiguous tangent points, irregular cast surfaces, incomplete contact areas and unspecified target sizes create variability.
Planar Datum Features
A planar face is the most familiar datum feature. A physical fixture may contact it through a surface plate or separated pads. A CMM may sample points or scan the surface and calculate an associated plane according to the chosen evaluation method.
The actual surface contains high points and low points. How the simulator contacts or how software associates a plane can affect the result. A least-squares plane is not automatically equivalent to a physical high-point simulator.
For critical applications, the inspection plan should state the applicable standard, sampling strategy and association method. The drawing defines the requirement; the inspection plan defines a valid way to verify it.
Planar Datum Design Tips
Provide adequate contact area.
Avoid placing a datum symbol ambiguously on a centerline or dimension.
Control excessive flatness error when it causes rocking.
Keep burrs and coatings from changing seating behavior.
Identify whether masking or post-finish machining is required.
Use datum targets for large, uneven or partially contacting surfaces.
Cylindrical Datum Features
A bore or outside diameter can establish a datum axis. Typical examples include a bearing bore, pilot diameter, shaft journal or precision locating pin hole.
The datum is not the physical cylinder itself. The imperfect feature establishes a theoretically exact axis through the applicable simulator or association process.
Cylindrical datums are useful when rotation, coaxiality or radial location is functional. They may leave translation along the axis or rotation about the axis unconstrained unless another datum removes that motion.
Practical Issues
A short bore can create unstable angular alignment.
A tapered or lobed bore may produce different axes with different evaluation methods.
Burrs at the entry can prevent a gauge pin from seating.
A flexible thin-wall bore can deform under an expanding mandrel.
Coating can change the size and contact condition.
The drawing should control bore size and relevant form sufficiently for the intended datum function.
Datum Features of Size
A datum feature of size may be a hole, shaft, slot or width feature that establishes an axis or center plane. These features can be referenced at regardless of material boundary or with an applicable material boundary modifier, depending on the standard and callout.
When a datum feature is referenced at maximum material boundary, a fixed-size simulator may permit datum shift as the actual mating feature departs from the maximum-material condition. This can represent assembly clearance and may increase usable tolerance.
Material boundary concepts require careful application. The modifier belongs in the datum reference compartment of the feature control frame and changes how the datum is established. It is not simply “bonus tolerance” added to every dimension.
If the design team, supplier and inspector do not share the same standard edition and interpretation, a modifier can create major disagreement. Include the applicable drawing standard and review unusual datum boundaries before production.
Datum Targets
Datum targets identify specific points, lines or areas on a datum feature that establish the datum. They are useful when the complete surface is too large, irregular, flexible, cast, forged or intentionally contacts the assembly only at discrete locations.
Examples include:
Three mounting pads on a large casting.
Defined contact zones on a contoured aerospace skin.
Small support areas on a flexible plastic cover.
Spherical fixture contacts on a rough surface.
Selected regions that reproduce an assembly interface.
Target location and area must be completely defined. A target symbol without adequate basic dimensions, size or orientation leaves the fixture designer guessing.
Datum targets influence both fixture construction and CMM simulation. If the production fixture contacts different areas from the inspection fixture, the part may seat differently.
Hole Patterns as Datum Features
A pattern of holes can establish a datum feature when the assembly is located by multiple fasteners or pins. The pattern may control orientation and translation more robustly than one hole alone.
The relationship between the holes, their size tolerances, material boundary modifiers and the simulator must be understood. A functional gauge may use multiple fixed pins, while a CMM establishes a mathematical pattern.
Do not assume that selecting one hole as B and another as C is equivalent to treating the pair as a pattern datum. The tolerance standard defines different behaviors.
For a two-dowel assembly, designers should decide whether one round pin and one diamond pin are intended, whether both holes share equal locating responsibility and how thermal or manufacturing variation is accommodated.
Common Datums and Simultaneous Requirements
A common datum can be established from two or more datum features considered together at the same priority. It is different from a sequential datum system in which one feature is primary and the next is secondary.
Coaxial bearing bores, separated journals or two mounting pads may form a common datum when function requires a shared axis or plane. The notation and inspection method must follow the applicable standard.
The common feature set should be manufacturable and measurable. Widely separated bores can create a stable axis but may require long gauges, advanced CMM strategies or multiple machining setups.
Basic Dimensions and Feature Control Frames
Basic dimensions define theoretically exact geometry. They locate or orient features relative to datums and other features, while the feature control frame supplies the geometric tolerance.
A boxed basic dimension by itself does not impose an allowable variation. It must work with a geometric tolerance. Conversely, a position or profile tolerance without complete basic location may leave the nominal geometry undefined.
For a hole pattern controlled by position:
Basic dimensions establish the exact hole locations.
The position tolerance defines the allowed zone.
The datum references establish the coordinate frame.
Size tolerance controls the hole diameter.
Material condition modifiers, when present, affect the zone or datum simulation.
Avoid adding plus/minus dimensions that conflict with basic dimensions and the position tolerance. Duplicate controls can create contradictory acceptance criteria.
Datum Selection for Common CNC Parts
Machined Housing
A logical scheme may use the main mounting face as primary, a pilot bore as secondary and a dowel hole or side face as tertiary. Critical bearing bores and hole patterns can then be located to the functional interface.
Flat Mounting Plate
The broad mounting face may be primary. Two perpendicular edges can be secondary and tertiary if the assembly locates from edges, or a hole pattern may be more functional if pins locate the plate.
Shaft
The functional rotational axis may come from one or more journals. A shoulder face can control axial location. A keyway center plane or cross hole may establish angular orientation.
Flange
The seating face often serves as primary, the pilot diameter or center bore as secondary and one clocking hole as tertiary. Reversing the face and bore order can change which error dominates.
Bracket
The mounting surface and locating holes should normally drive the datum scheme. A free outside profile is rarely a good primary reference unless it locates the assembly.
Casting or Forging
Datum targets can represent discrete mounting pads on an irregular surface. The supplier needs adequate machining allowance from those targets to finished features. Raw-part and finished-part datum structures may differ.
Thin or Flexible Cover
The drawing should state whether the part is inspected free-state or restrained. Target areas or a defined restraint condition may reproduce bolted assembly behavior. Unspecified clamping can hide warpage.
Datum Selection and CNC Setup Planning
First Operation
The first setup usually locates from raw stock. Its purpose may be to create functional datum features for later operations. Extra material, saw-cut edges or cast surfaces require enough tolerance and support to avoid instability.
Re-Establish Functional Datums
After the primary datum features are machined, critical features should be produced from a setup that represents the drawing DRF as closely as practical. This reduces stack-up between setups.
Minimize Datum Transfers
Every time a part is relocated from one reference scheme to another, fixture and measurement error can accumulate. Five-axis machining may reduce setups, but it does not eliminate the need for a stable initial reference and verified machine accuracy.
Use In-Process Probing Carefully
A spindle probe can locate a part, update work offsets and check intermediate features. Probe alignment is a manufacturing tool; it is not automatically final acceptance inspection. Probe calibration, stylus access, temperature and the difference between work offsets and drawing DRFs must be controlled.
Design Fixtures Around Force Direction
Locators establish position; clamps hold the part against them. Clamping force should push the component into datum simulators, not pull it away or overconstrain it.
A classic fixture uses three primary supports, two secondary locators and one tertiary locator. Redundant supports can rock or distort the part unless they are adjustable or equalized.
Datum Reference Frames in CMM Inspection
A CMM measures features in its machine coordinate system and constructs a part coordinate system through alignment. The alignment should reproduce the drawing datum reference frame.
Alignment Sequence
For a common planar DRF, the CMM may:
Measure the primary datum feature and level the coordinate system.
Measure the secondary datum feature and rotate or orient the axes.
Measure the tertiary feature and set the remaining origin.
Evaluate controlled features relative to the established frame.
The exact mathematical method depends on feature type, standard, software and datum modifiers.
Sampling Strategy
Three points can mathematically define a plane, but they may not represent a large or imperfect surface. More points or scanning can improve knowledge of form, yet the association method must still correspond to the specification.
Sampling locations should cover the functional contact region and avoid burrs, damage or inaccessible zones. An inspection plan should define point count, distribution, scanning path and filtering when results are sensitive.
CMM vs Functional Gauge
A functional gauge physically simulates assembly boundaries and can check many related features at once. A CMM provides numerical data and flexibility. The two methods may not produce identical results if datum simulation, filtering or boundary conditions differ.
Use the method defined by the drawing, quality plan and applicable standard. Correlation studies are valuable before replacing an accepted gauge with CMM inspection.
Best-Fit Alignment Is Not a Datum Alignment
A best-fit alignment minimizes overall deviation between measured points and the CAD model. It can be useful for process investigation, additive parts or profile analysis, but it may hide functional error.
Do not use best fit for final acceptance when the drawing requires a datum reference frame unless the specification explicitly permits it.
Datum Modifiers and Datum Shift
Datum references may include material boundary modifiers for features of size. Under the correct conditions, clearance between the actual datum feature and its simulator permits translation or rotation called datum shift.
This shift is not arbitrary. It is limited by the established boundary and the actual feature. It also depends on datum order and remaining degrees of freedom.
Designers use datum shift to represent assembly clearance and avoid rejecting functionally acceptable parts. Inspectors need software or gauges that apply the boundary correctly. Manufacturers need to understand that a part may pass even when a direct coordinate value appears outside a simple plus/minus expectation.
Because ASME and ISO systems differ in terminology and some rules, never transfer a modifier across standards without review.
Coatings, Burrs and Datum Condition
Anodizing, plating, paint, powder coating and conversion coatings can change datum feature size and contact. A coating on a mounting plane can also add local thickness variation.
The drawing and purchase order should state whether datums are established before or after finishing and which areas are masked. Inspection after finishing is normally necessary when the finished surface performs the function, but some processes require protected precision interfaces.
Burrs can prevent a part from seating on a simulator or entering a gauge. Datum surfaces and holes must be clean without altering their geometry through aggressive deburring.
Common Datum Selection Mistakes
Choosing the Largest Surface Without Considering Function
Large surfaces are often stable, but function comes first. A broad cosmetic face may have no relationship to the mounting interface.
Using an Inaccessible Datum
An internal surface that cannot be probed, gauged or fixtured may make verification expensive. Provide access, datum targets or another functional reference when possible.
Referencing a Rough or Flexible Feature
Cast skin, a thin wall or a small stamped edge can produce unstable alignment. Control it adequately or define target contacts.
Ignoring Datum Order
A|B|C and B|A|C can create different results. The drawing, fixture and CMM program must use the same precedence.
Overconstraining the Part
Too many locators or conflicting datum schemes can force the part into a distorted condition. The design should constrain only the motion required for function.
Failing to Control Datum Feature Form
A warped primary surface makes every related measurement unstable. Add a form control when function requires better contact.
Mixing Standards or Revisions
ASME Y14.5 and ISO GPS are not interchangeable. State the standard and revision in the drawing title block or specification.
Using Best Fit for Acceptance
Best fit can make profile deviation appear smaller by moving the coordinate system away from the functional datums. Use the specified DRF.
Creating Too Many Datum Reference Frames
Multiple DRFs may be necessary, but each one adds fixtures, alignments and reporting complexity. Consolidate around functional interfaces when possible.
Treating a Machining Zero as the Drawing Datum
G54 or another work offset is a machine coordinate setting. It may be derived from a datum feature, but the terms are not equivalent. Final inspection must establish the drawing requirement.
Datum-Related Inspection Disputes
When a supplier and customer obtain different results, review:
Drawing standard and revision.
Datum feature identification and order.
Material boundary modifiers.
Physical or mathematical simulator.
CMM alignment sequence.
Association method for planes, cylinders and slots.
Point count, scanning and filtering.
Burrs, cleanliness and surface damage.
Temperature and stabilization.
Free-state or restrained condition.
Coating or finishing stage.
Gauge calibration and uncertainty.
Do not begin by averaging the two measurements. First determine whether both methods implement the same specification.
Design Review Checklist
Before releasing a drawing, verify that:
The datum scheme represents assembly function.
Primary, secondary and tertiary order matches the contact sequence.
All required degrees of freedom are constrained without unnecessary restraint.
Datum features are accessible for manufacturing and inspection.
Datum feature form and size are controlled sufficiently.
Basic dimensions completely define nominal geometry.
Feature control frames reference the intended DRF.
Material boundary modifiers are intentional and supported by function.
Datum targets are fully located and sized.
Flexible parts have a defined inspection condition.
Coating and masking requirements preserve datum function.
The title block identifies the tolerancing standard and revision.
An early supplier DFM review can identify expensive datum problems before tooling and CMM programs are created.
Cost Drivers Related to Datums
Datum choices influence quotation cost through:
Number of machining setups and datum transfers.
Custom fixture and gauge requirements.
Access to internal or obstructed datum features.
Need for datum targets or contoured nests.
Tight form tolerance on datum surfaces.
Multiple datum reference frames.
Features of size with material boundary simulation.
Large or widely separated datum patterns.
Flexible-part restraint fixtures.
Post-coating reinspection.
CMM programming, scanning and reporting.
Functional gauge design, manufacture and calibration.
A functional, stable datum scheme often reduces cost even when its tolerances appear more sophisticated, because it removes ambiguity and supports repeatable setup.
RFQ Checklist for Datum-Controlled CNC Parts
Send the supplier:
Native 3D CAD model and controlled 2D drawing.
Applicable ASME, ISO or company tolerancing standard and revision.
Complete datum feature symbols and feature control frames.
Basic dimensions and tolerance classes.
Assembly description or mating-part information for critical interfaces.
Free-state or restrained inspection condition.
Material, alloy, temper and stock form.
Heat treatment and stress-relief sequence.
Coating, masking and post-finish acceptance requirements.
Prototype and production quantities.
Required CMM report, first-article report or functional gauge.
Measurement uncertainty or decision-rule requirements when applicable.
Approved inspection methods for unusual datum features.
Any supplier-owned fixture or gauge expectations.
Contact information for technical questions before production.
For the full quotation package, use our CNC Machining RFQ Checklist.
Sample Datum-Controlled RFQ
Please quote the attached 7075-T7351 aluminum housing to ASME Y14.5-2018. Datum A is the finished mounting plane, datum B is the main bearing-bore axis and datum C is the indicated dowel hole. The two bearing bores and connector hole pattern require a full CMM report relative to A|B|C after Type III anodizing. Datum A and bore B must be masked. Please include prototype pricing for 5 parts, production pricing for 300 parts, fixture cost, first-article inspection and your proposed method for establishing the datum reference frame during machining and final inspection.
This information connects the drawing controls to material, finishing, quantity and verification.
Frequently Asked Questions
Is a datum the same as a surface on the part?
No. The surface is a datum feature. The datum is the theoretically exact plane, axis, line or point established from that imperfect feature.
Does the primary datum always need to be the largest face?
No. A large stable face is often convenient, but the primary should represent the most important functional orientation. A bore axis may be primary on a rotating part.
What does A|B|C mean in a feature control frame?
It establishes datum precedence: A is primary, B is secondary and C is tertiary for that tolerance. Changing the order can change the alignment and result.
Is the 3-2-1 rule required for every part?
No. It is a useful model for three planar datums and fixture design. Cylinders, cones, patterns and complex surfaces constrain degrees of freedom differently.
Can machining datums differ from drawing datums?
Yes. Temporary manufacturing references may be needed before functional datum features exist. The finished features must ultimately be produced and inspected relative to the drawing-defined DRF.
Can a CMM use a best-fit alignment instead of drawing datums?
Not for ordinary final acceptance unless the specification permits it. Best fit can hide functional error by moving the coordinate system.
Why do two CMM reports give different position results?
They may use different datum order, association methods, point distributions, filters, material boundary settings or software evaluation. Confirm that both programs implement the same standard and DRF.
What is datum shift?
Datum shift is permitted movement resulting from clearance between a datum feature of size and its applicable material-boundary simulator. It is controlled by the callout and is not arbitrary extra tolerance.
When should datum targets be used?
Use them when only defined portions of a large, irregular or flexible surface contact the assembly or when using the complete surface would create unstable simulation.
Should datum surfaces be inspected before or after coating?
The drawing should define the functional condition. If the finished surface establishes assembly location, post-finish inspection is generally important. Precision datum areas may instead be masked when specified.
Final Recommendations
Good CNC datum selection begins with function. Identify how the part seats, pilots, rotates and locks in the assembly; select datum features that reproduce those interfaces; order them by functional precedence; and ensure they can be manufactured and inspected repeatably.
Treat machining fixtures, CMM alignments and functional gauges as implementations of the drawing requirement, not substitutes for it. State the tolerancing standard, define modifiers and target areas completely, and review unusual datum structures with the supplier before production.
AluPrototype manufactures and inspects datum-controlled CNC parts for prototypes and production. Explore our CNC machining article library or request a quote with your CAD model, drawing, material, quantities and inspection requirements.