CNC Locating Pins & Part Location
A practical engineering guide to locating pins, 3-2-1 location, datums, hole-based location, fixture repeatability and reliable CNC workpiece positioning.
CNC locating pins establish where the workpiece sits relative to the fixture. Clamps then maintain that relationship against machining forces. For a two-hole location scheme, a full round pin is commonly used as the primary locator and a relieved or diamond pin as the secondary locator, avoiding unnecessary over-constraint.
Where the machining process actually starts
A CNC machine can follow the programmed toolpath perfectly and still produce a dimensionally incorrect component if the part is not physically located in the correct position.
Locating pins, datum surfaces, stops and supports establish that physical relationship. The fixture therefore becomes part of the dimensional chain between the engineering drawing and the finished component.
- What Are CNC Locating Pins?
- Why Part Location Matters
- Six Degrees of Freedom
- The 3-2-1 Locating Principle
- Round vs Diamond Pins
- Hole-Based Location
- Pin/Hole Fit
- Datums & CNC Work Coordinates
- Fixture Design
- Machining Strategy
- Material Considerations
- Tolerance & GD&T
- Inspection
- 3-Axis vs 4-Axis vs 5-Axis
- When NOT to Use Locating Pins
- Step-by-Step Setup
- Engineering Examples
- Troubleshooting
- Common Mistakes
- Cost & Production
- DFM Recommendations
- Shop-Floor Checklist
- FAQ
What Are CNC Locating Pins?
A CNC locating pin is a precision mechanical feature used to establish the position of a workpiece relative to a fixture. The pin does not automatically control every degree of freedom. Its actual function depends on its geometry, position, mating hole and relationship with the rest of the locating system.
| Locator | Typical Function | Primary Engineering Concern |
|---|---|---|
| Round locating pin | Two-axis hole location | Can create redundant constraint when paired incorrectly |
| Diamond / relieved pin | Secondary one-axis location | Orientation must match the intended constraint |
| Rest pad | Primary support | Must remain clean and stable |
| Side stop | Lateral location | Clamp should push the part into the stop |
| End stop | Controls remaining planar movement | Avoid unnecessary over-constraint |
| Nest | Complex-profile location and support | Higher fixture complexity and inspection considerations |
Why Part Location Matters More Than Clamping Force
A clamp should normally maintain a part against the designed locating surfaces. It should not be treated as the primary mechanism that determines where a precision component belongs.
If the part changes position every time it is loaded, moving the CNC work offset can hide the symptom without correcting the physical process.
A repeatable system therefore connects:
Six Degrees of Freedom
A rigid workpiece has six degrees of freedom:
| Type | Degree of Freedom |
|---|---|
| Translation | X |
| Translation | Y |
| Translation | Z |
| Rotation | About X |
| Rotation | About Y |
| Rotation | About Z |
The fixture must constrain the movements that matter for the machining operation without creating unnecessary redundant constraints that make loading difficult or distort the part.
The 3-2-1 Locating Principle
The classical 3-2-1 concept is a useful framework for thinking about complete workpiece location.
| Location Layer | Typical Contact | Purpose |
|---|---|---|
| Primary — 3 points | Three support locations | Establishes the primary plane |
| Secondary — 2 points | Two side/edge contacts | Controls orientation and one planar direction |
| Tertiary — 1 point | One end locator | Controls remaining planar translation |
For a deeper fixture architecture discussion, see CNC Fixture Design .
Round Locating Pin vs Diamond Pin
Round Pin
- Provides two-axis location from a suitable hole.
- Commonly used as the primary hole locator.
- Provides a strong, predictable radial reference.
- Can become over-constraining when paired with another full round pin.
Diamond / Relieved Pin
- Provides the required secondary directional constraint.
- Allows controlled relief in the non-critical direction.
- Reduces binding caused by hole-spacing variation.
- Must be correctly oriented in the fixture.
Why Two Full Round Pins Can Bind
Consider two holes in a machined plate. The fixture also has two locating pins. Neither the part hole spacing nor the fixture pin spacing is mathematically exact. Each has manufacturing tolerance.
Two full round pins attempt to impose a rigid relationship in both radial directions at both holes. The result can be binding, difficult loading or forced seating.
Using Holes as CNC Locating Features
Existing part holes can make excellent locating features when their size, position and functional relationship are properly controlled.
Before using a hole as a locator, ask:
- Is the hole dimensionally controlled?
- Is its position controlled relative to a functional datum?
- Can the hole tolerate repeated loading?
- Is there sufficient pin engagement?
- Will the pin damage a finished bore?
- Can the component be loaded and unloaded without force?
For broader hole design considerations, see the CNC Hole & Thread Design Guide .
How Tight Should a Locating Pin Fit Be?
There is no single clearance value that is correct for every locating-pin application.
The fit must account for pin tolerance, hole tolerance, repeatability requirements, loading method, material, temperature, engagement length and production frequency.
| Condition | Typical Risk | Engineering Response |
|---|---|---|
| Too tight | Binding, difficult loading, hole damage | Review fit, chamfer, alignment and thermal condition |
| Too loose | Location variation and part rocking | Review hole/pin tolerance and locating architecture |
| Appropriately controlled | Repeatable loading with acceptable clearance | Validate actual production repeatability |
A production fixture should never depend on an operator forcing a component onto a locating pin.
Datums, Locating Pins & CNC Work Coordinates
A fixture locator is a physical reference. The drawing datum is an engineering reference. The CNC WCS is the machine coordinate system used to execute the programmed geometry.
If these three systems are unrelated, the manufacturing process can accumulate unnecessary datum-transfer error.
See CNC Datum Selection and CNC Work Coordinate System (WCS) for the broader coordinate strategy.
Design the Fixture Around the Locator
A locating pin is only one part of the dimensional chain. Its accuracy depends on the fixture body, installation method, mounting interface, part hole and the machine reference.
| Interface | Potential Variation | What to Control |
|---|---|---|
| Machine → Fixture | Mounting and alignment error | Controlled mounting and inspection |
| Fixture → Locator | Installation / wear | Precision mounting and replaceability |
| Locator → Part | Pin/hole clearance and hole variation | Controlled fit and datum scheme |
| Part → Support | Distortion and debris | Clean, stable support surfaces |
For the broader fixture architecture, see CNC Fixture Design .
Machining Strategy Around Located Parts
Location and machining sequence should be designed together. A perfectly located part can still move or deform if the cutting force is directed away from the fixture’s load path.
| Operation | Location Concern | Practical Response |
|---|---|---|
| Rough milling | Higher cutting forces | Direct forces into positive supports and locators |
| Finishing | Deflection becomes visible in final geometry | Support flexible areas and control tool engagement |
| Drilling | Axial thrust and breakthrough | Provide support beneath the drilling region where required |
| Tapping | Torque reaction | Provide positive reaction against rotation |
| Deep pocketing | Tool deflection and vibration | Control unsupported part sections and tool reach |
For complex workholding and force-management considerations, see CNC Workholding and CNC Workholding-Induced Distortion .
Material Considerations
| Material | Location Concern | Practical Consideration |
|---|---|---|
| Aluminium | Relatively soft contact surfaces | Avoid excessive local pressure and hole damage |
| Stainless steel | Higher cutting loads | Rigid location and support become more important |
| Carbon / alloy steel | High machining forces | Ensure positive load paths into fixture supports |
| Titanium | High cutting resistance | Minimize movement and maintain rigid support |
| POM / Delrin | Low stiffness | Avoid crushing or distorting the locating hole |
| Nylon | Flexibility and thermal sensitivity | Consider temperature and distributed support |
| PEEK | High-value precision polymer | Control contact pressure and thermal effects |
Tolerance, Repeatability & GD&T
A correctly sized hole can still be incorrectly located. Likewise, a precisely manufactured fixture pin can still produce the wrong part geometry if the fixture datum scheme does not reproduce the drawing’s functional datums.
For a detailed treatment of geometric controls and datum references, see GD&T for CNC Machining .
For dimensional tolerance planning, see CNC Machining Tolerances .
How to Inspect a Located Part
Inspection should reproduce the engineering characteristic being controlled. A CMM is useful for many positional relationships, but it is not automatically the best instrument for every feature.
| Requirement | Potential Inspection Method | Why |
|---|---|---|
| General external dimension | Caliper / micrometer | Fast direct measurement where uncertainty is acceptable |
| Precision hole size | Pin gauge / bore gauge | Directly evaluates hole size and functional condition |
| Hole-to-hole position | CMM / suitable coordinate measurement | Evaluates the actual positional relationship |
| Height relationship | Height gauge / CMM | Suitable for controlled datum-to-feature relationships |
| Threads | Go / No-Go gauge | Fast functional verification |
3-Axis vs 4-Axis vs 5-Axis Location
| Machine | Location Priority | Typical Consideration |
|---|---|---|
| 3-axis | Stable planar location | Vice, fixture plate, pins, stops and supports |
| 4-axis | Rotary clearance | Pin and clamp projection must clear rotary motion |
| 5-axis | Multi-angle access | Locator and clamp envelope must permit tool tilt and rotation |
More machine axes do not eliminate the need for good part location. In many cases, they make fixture accessibility and datum control even more important.
See CNC Workholding for 5-Axis Machining for the broader multi-axis workholding strategy.
When NOT to Use Locating Pins
Locating pins are useful, but they are not automatically the best solution for every component.
- The part has no suitable controlled hole.
- The locating hole is a critical finished functional bore.
- The workpiece is too flexible around the hole.
- The hole can be easily damaged by repeated loading.
- A broad nest would provide substantially better support.
- The fixture blocks the required cutter or holder access.
- The part is a one-off and a standard vice provides sufficient control.
- Thermal expansion makes a tight locating arrangement unsuitable.
Step-by-Step CNC Locating Pin Setup
Read the drawing
Identify functional datums, critical holes, position tolerances, finished surfaces and no-clamp zones.
Select the locating features
Decide whether holes, machined edges, shoulders, nests or other surfaces provide the best datum.
Establish primary location
Use the primary support and, where appropriate, the primary round locating pin.
Establish secondary location
Use the secondary locator or diamond pin to control the remaining required direction without redundant constraint.
Check seating
Clean all datum surfaces and confirm the part seats completely before applying clamp force.
Clamp toward the locators
The clamp should maintain contact with the designed locator system without distorting the workpiece.
Check tool and holder clearance
Verify the complete tool assembly, not only the cutter diameter.
Establish the WCS
Relate the CNC work coordinate system to the intended fixture and drawing datum structure.
Prove the first part
Inspect critical features before releasing the setup for production.
Practical Engineering Examples
Example 1 — Two-Hole Aluminium Plate
A plate contains two controlled holes used to establish the manufacturing location.
Using two full round pins can create a binding condition because the actual hole-to-hole distance contains manufacturing variation. A round primary pin plus a correctly oriented relieved secondary pin allows the fixture to establish position and orientation without demanding impossible geometric coincidence.
Example 2 — Thin-Wall Housing
The locating holes may establish XY position correctly, but aggressive clamping around a flexible housing can distort the walls.
The better solution is to combine hole location with distributed support and controlled clamp loading. Location accuracy alone does not guarantee geometric accuracy if the workpiece bends.
Example 3 — Recurring Production Fixture
A recurring component may justify dedicated locating hardware when repeated manual indication is consuming setup time or when operator-to-operator loading variation is creating rework.
The engineering case should consider setup time, scrap, inspection, fixture cost, maintenance and annual production volume rather than quantity alone.
CNC Locating Pin Troubleshooting Guide
| Problem | Likely Cause | How to Check | Corrective Action |
|---|---|---|---|
| Part will not load | Over-constraint from two round pins | Test loading with secondary locator removed | Review round + diamond arrangement |
| Part binds halfway onto fixture | Diamond pin incorrectly oriented | Inspect locator orientation | Correct the locator orientation |
| Part position varies | Excessive clearance or poor seating | Reload the same part repeatedly | Review fit, support and datum condition |
| Part moves during roughing | Cutting force not directed into the locating system | Inspect witness marks and load path | Change support or clamp direction |
| Hole edge is damaged | Excessive interference or side loading | Inspect hole entrance and pin contact | Review fit, chamfer and loading path |
| Part changes after unclamping | Clamp-induced deformation | Measure clamped vs released condition | Reduce/distribute clamping force and improve support |
| Repeatability degrades over time | Locator or fixture wear | Inspect pin and bushing condition | Replace locator or wear component |
| Part loads differently by operator | Ambiguous loading sequence | Observe loading behaviour | Add positive location and foolproofing |
| Fixture is accurate but part position is wrong | Incorrect datum relationship | Measure fixture locator coordinates | Re-establish datum and WCS relationship |
Common Locating-Pin Mistakes
| Mistake | Why It Causes Problems |
|---|---|
| Automatically using two round pins | Can create redundant constraint and loading problems. |
| Locating from an uncontrolled hole | The hole may not represent the intended functional datum. |
| Using clamps as primary location | Clamp friction is less repeatable than positive location. |
| Ignoring chips beneath datum surfaces | A small particle can change part seating. |
| Incorrect diamond-pin orientation | The intended degree of freedom is not controlled correctly. |
| Ignoring thermal conditions | Thermal growth can become relevant in tight location schemes. |
| Locating near a flexible edge | The locator can move or deform the component instead of establishing a stable reference. |
Cost & Production Impact
Locating hardware affects manufacturing economics through setup time, repeatability, inspection, scrap and production labour.
| Production Stage | Typical Strategy | Economic Priority |
|---|---|---|
| Prototype | Vice, modular fixture or standard locating hardware | Low tooling investment |
| Low volume | Simple repeatable locating fixture | Reduce setup variation |
| Recurring production | Dedicated fixture with replaceable locators | Repeatability and cycle-time control |
| High volume | Dedicated / automated locating system | Loading time, error-proofing and maintenance |
The correct fixture is not necessarily the most sophisticated fixture. It is the simplest solution that provides the required technical performance at the required production volume.
DFM Recommendations for Locating Features
- Use controlled locating holes when the design genuinely benefits from repeatable hole-based location.
- Relate locating features to functional drawing datums.
- Avoid unnecessary precision on holes that have no functional or manufacturing requirement.
- Provide accessible surfaces for fixture supports.
- Avoid placing critical features where clamps or locators block tool access.
- Consider inspection access during the fixture-design stage.
- For recurring production, consider how the locator will be maintained and replaced.
For broader machining DFM considerations, see the CNC DFM Checklist .
Shop-Floor Locating Pin Checklist
Before Machining
- Drawing revision verified
- Functional datums identified
- Critical holes identified
- Hole tolerances reviewed
- Locating method selected
- Round/diamond pin arrangement verified
- Fixture support checked
- Tool access checked
- Clamp zones checked
- Inspection method defined
Before Cycle Start
- Fixture cleaned
- Locating surfaces cleaned
- Part seated completely
- Pins fully engaged
- Diamond pin orientation checked
- Clamp direction verified
- WCS verified
- Tool lengths verified
- Fixture collision points checked
- First cycle safely proved
After First Part
- Critical dimensions inspected
- Hole positions inspected
- Datum relationships verified
- Fixture marks checked
- Burrs checked
- Part deformation checked after unclamping
- Repeat loading verified where required
CNC Locating Pin FAQ
What are CNC locating pins used for?
They establish the physical position of a workpiece relative to a fixture and help make repeated loading predictable.
Why use one round pin and one diamond pin?
A round pin can provide two-axis location from the primary hole, while a diamond pin can provide the required secondary constraint without unnecessarily constraining the hole in both directions.
Can I use two round pins?
It can be appropriate in some engineered applications, but two full round pins can over-constrain a two-hole location scheme when hole spacing and fixture spacing contain manufacturing variation.
How tight should a locating pin fit be?
There is no universal clearance. The fit should provide the required repeatability while allowing reliable loading under actual tolerance, material and temperature conditions.
Are locating pins the same as clamps?
No. Locators establish position. Clamps primarily maintain the workpiece against the locating and supporting surfaces.
Can locating pins distort a part?
Yes. Excessive interference, poor support, unsuitable hole geometry or aggressive clamp loading can deform the workpiece.
Are locating pins useful for 5-axis machining?
Yes. They can establish a repeatable datum while the machine accesses multiple faces, provided the fixture permits the required tool and holder movement.
Should every CNC fixture use locating pins?
No. Vises, stops, nests, soft jaws and machined fixture surfaces can be better choices depending on geometry, tolerance, quantity and production requirements.
Continue the CNC Workholding & DFM Series
Locating pins are only one element of the complete machining system. These Manufyn resources cover the related fixture, datum, setup and machining decisions.
Go Beyond Locating Pins
Continue exploring practical engineering resources, real manufacturing projects and manufacturing insights from Manufyn.
Precision Machining Where Setup Strategy Matters
Manufyn’s precision linear guide rail project is a useful example of how machining sequence and setup strategy can influence dimensional stability in a slender component.
Precision Linear Guide Rail Machining for High-Performance Motion Systems
The project used a single-setup 4-axis machining strategy for a slender aluminium component with deep internal geometry, reducing the opportunity for setup-to-setup positional variation.
Have a CNC Machining Drawing?
Send your drawing and CAD model to Manufyn for a manufacturability review. The engineering review can consider part location, fixture requirements, datum strategy, tooling access, machining orientation, tolerances and inspection.
Send Your CNC Requirement