Spindle probing: the link between verified G-code and the real setup

CloudNC
August 25, 2026
Spindle probing: the link between verified G-code and the real setup

A CNC program can be perfectly verified and still fail if the physical setup does not match the assumptions behind it. Spindle probing provides the checks that connect the programmed process to what is actually inside the machine.

For example: a toolpath can be correct, the CAM strategy can be optimised, the G-code can be verified against an accurate digital twin, and every tool can be checked against the programmed geometry….

And then the wrong billet is loaded. The stock may be oversize, rotated through 90 degrees or sitting on a chip. The wrong workholding may be fitted. A vice jaw may have picked up one thread ahead of the other. A work offset may have been set while an old coordinate transformation was still active.

Simulation cannot see any of this. It verifies the process it has been given, based on the assumption that the real setup matches the digital one.

A spindle probe tests that assumption.

At CloudNC, probing is used across four main areas:

  1. Verifying the setup before machining starts
  2. Monitoring the process while parts are being produced
  3. Setting datums and measuring difficult features
  4. Checking machine calibration, particularly on five-axis equipment

Together, these checks reduce the risk of collisions, broken tools, scrapped components and long periods of unplanned downtime.

Here’s our probing process, in detail:

1. Verify the setup before cutting

A setup probing cycle should establish whether the machine contains the stock and workholdings.

Depending on the job, that may include checking:

  • Billet height, length and width
  • Stock orientation
  • Grain direction of the material
  • Position within the vice or fixture
  • Riser and fixture height
  • Vice location
  • Jaw orientation
  • Available material around the finished component

These are simple checks, but they catch a wide range of practical errors.

Wrong stock and wrong orientation

An operator may select a billet intended for another part, or load a rectangular billet in the wrong orientation. Material can also arrive oversize, undersize or cut out of square.

For aerospace components, the direction of the material grain may also be critical. One way to reduce the risk is to specify asymmetric billet dimensions so that the stock cannot easily be loaded in the wrong direction. Probing then confirms that the expected dimensions are present.

This creates two layers of protection: the stock is designed to guide correct loading, and the machine checks that the loading is correct before cutting begins.

Position and workholding errors

The correct billet can still be in the wrong place.

Some parts are intentionally positioned away from the centre of the vice because of machine travel, a prepared edge, an overhanging section or a multi-part setup. The probing routine needs to verify the intended location rather than assume that every billet should be centred in relation to what has been programmed.

There are also less obvious causes of positional error.

Self-centring vice jaws only self-centre when both jaws engage correctly. If one side picks up a thread pitch ahead of the other, the vice may clamp securely while shifting the billet by a millimetre or more.

A billet may also ride up on a jaw, drop into a step or sit on debris. If the stock has been cut at an angle, tightening the vice can cause it to tilt. That changes the stock position in both Z and the horizontal axes.

The part may still look acceptable from a visual check. The probe turns these unnoticed setup errors into measurable deviations.

Unexpected stock changes cutting conditions

High-performance toolpaths depend on controlled engagement.

A dynamic or trochoidal milling path may be programmed for a small, consistent radial depth of cut. If the billet is larger than expected and has also been loaded off-centre, the first pass can encounter far more material than the cutter was intended to remove.

The same issue applies in Z. A facing operation programmed for a 3 mm cut may encounter 6 mm because the stock is thicker than specified or the wrong riser has been installed.

Possible results include:

  • Broken inserts or cutter bodies
  • Holder contact with the stock
  • Excessive spindle load
  • The billet being pulled from the vice
  • Damage to the spindle or machine

A practical approach is to define a maximum stock allowance and a maximum positional allowance. The probing cycle confirms that the real billet remains inside that envelope.

The first machining operation can then bring the outside of the stock to a known condition before engagement-sensitive toolpaths begin. Once the billet has been normalised, each cutter encounters the amount of material the CAM strategy expects.

Check Z first

The first probing move should usually check the top of the setup from a safe position.

This quickly detects major errors such as:

  • An incorrect billet thickness
  • The wrong riser
  • A badly set work offset
  • An active coordinate shift
  • A part loaded significantly higher than expected

A 100 mm riser fitted in place of a 60 mm riser should be discovered by a protected probing move, rather than by a cutter or spindle travelling at machining speed.

2. Monitor the process while parts are being produced

Setup probing protects the start of the job. In-process probing protects the rest of the batch.

A conventional process may rely on an operator machining a component, removing it, measuring it manually and adjusting an offset. This works during prove-out, but it provides limited protection between inspections.

Tool wear, edge damage, temperature and material variation can gradually move a feature out of tolerance. In-process probing allows the machine to detect that movement before a large quantity of bad parts is produced.

Go or no-go checks

The simplest in-process strategy is a tolerance check.

The machine probes a critical bore, wall, boss or surface and compares the result with defined limits. Production continues while the feature remains acceptable. If the measurement falls outside the permitted range, the machine follows a predetermined response.

Depending on the equipment, it may:

  • Stop the cycle
  • Flag the part for inspection
  • Remove the pallet from production
  • Load a different job
  • Mark a tool as unavailable
  • Call a sister tool
  • Notify an operator

Consider an unattended run of 200 components. If a feature moves out of tolerance on part five, stopping at that point protects the remaining 195 blanks and the machining hours attached to them.

Allowing the full batch to run creates a much larger problem. Every part must be inspected, the failed feature may need reworking, and some components may already have passed through additional operations. In many cases, the feature cannot be recovered at all.

Automatic wear compensation

Probing can also be used to update tool wear offsets automatically.

A typical closed-loop process might:

  1. Machine the feature
  2. Clean the measurement surface
  3. Probe the feature
  4. Calculate the deviation from nominal
  5. Apply a small wear correction
  6. Continue until the tool reaches a defined wear limit
  7. Stop or switch to a sister tool

This can keep a feature close to nominal throughout a long production run.

The value is particularly clear in materials that wear cutting edges quickly, including titanium, duplex stainless steel and high-silicon aluminium. A tool may remain capable of cutting for many parts while its size changes by several microns. Automatic compensation allows more of that usable tool life to be consumed without allowing the process to drift out of tolerance.

The correction logic needs firm limits. The machine should only make small, plausible adjustments within a defined total wear range. A large or inconsistent result should trigger a stop rather than an automatic offset change.

Clean before measuring

A probe can only measure the surface it touches.

Chips, burrs and coolant can create false readings. This matters even more when the measurement is being used to update a tool offset.

Cleaning should therefore be a precursor to the probing cycle. Through-spindle air, coolant, a cleaning tool or repeated measurement can be used to clear the feature before the result is accepted.

This will not remove every possible source of contamination, but it greatly improves measurement consistency.

Probing supports the inspection process

Machine probing provides process feedback. Formal inspection still has its own role.

The feature is being measured by the same machine that produced it, using the same kinematic and thermal system. The result depends on the condition and calibration of the machine, probe and stylus.

First-off inspection, CMM measurement and customer-specific quality requirements still apply. In-process probing adds continuous control between those inspection stages and gives the production team earlier warning when the process begins to move.

3. Set datums and measure difficult features

Work offset setting is the most familiar use of a spindle probe, but the value extends beyond saving a few minutes with a dial indicator.

Probing allows the coordinate system to be established from the component’s actual datum features.

Set from the component

A part can be loaded in a roughly aligned position and measured in place.

Two touches along an edge can establish angular alignment. A bore, boss, plane or corner can establish the remaining datum coordinates.

This is useful when working with modular workholding. A programmer may be able to use an existing matrix plate, clamps and dowels instead of designing and machining a dedicated fixture. The operator loads the part within an acceptable window, and the probing routine calculates its precise position.

That reduces the time spent:

  • Designing fixtures
  • Finding fixture material
  • Programming and machining workholding
  • Clocking parts manually
  • Tapping components into alignment
  • Adjusting setups to compensate for small loading variations

It also simplifies the work required at the machine. The operator can load the part and establish a standard starting datum, while the program performs the fine alignment.

Protect against control-state errors

Five-axis machines frequently use coordinate rotations and translations to manage different machining orientations.

If one of these transformations remains active while an operator resets a work offset, the new datum may be shifted by a large amount. A 200 mm translation in the background can produce a 200 mm error in the next setup.

The program may then try to machine far below the actual top of the billet.

An early Z probing move provides a direct check against this type of error. The machine compares the expected surface position with the real one before committing a cutting tool.

Measure features that are difficult to inspect manually

Some geometry is awkward or impossible to measure reliably with conventional hand tools.

One example is a partial cylindrical feature made from two short arcs positioned opposite each other. There may not be enough continuous surface for a bore micrometer to achieve stable three-point contact. A two-point linear measurement provides a distance, but it does not fully establish the diameter or centre of the feature.

A spindle probe can collect multiple points along the available arcs. The control or measurement software can then calculate a best-fit centre and radius, using an approach similar to a CMM inspection strategy.

The machine already has a repeatable motion system around the component. Probing makes that system available for setup and process measurement as well as cutting.

4. Check five-axis kinematics

On a five-axis machine, probing is also an important part of maintaining the relationship between the linear and rotary axes.

Rotary centre positions and kinematic parameters can change through temperature, service work, collisions and normal machine behaviour. If those changes are not detected, the machine may produce accurate individual surfaces that fail to match when machined from different orientations.

Common symptoms include:

  • Steps between indexed faces
  • Positional differences after rotary movement
  • Features that align in one orientation but not another
  • Parts that appear correct at the control but fail external inspection

Modern controls can use a spindle probe and a calibrated artefact to check and update the machine’s kinematic condition. The equivalent manual process involves mounting a reference block, indicating several surfaces, calculating errors and entering corrections by hand.

Automated cycles make the check faster, more repeatable and easier to perform regularly.

For a five-axis operation, the spindle probe is part of the equipment needed to maintain confidence in the machine’s coordinate transformations.

The economics of probing

A comprehensive probing routine adds cycle time. On a stable, high-volume production line with dedicated workholding, that time should be reviewed and optimised.

The calculation looks different in a high-mix environment.

A machine may run dozens of unrelated jobs in a shift, each with a different billet, fixture, riser and datum structure. Every setup creates another opportunity for a small error to be introduced.

A few minutes of probing can protect:

  • A cutter body worth hundreds of pounds
  • A full set of inserts
  • A high-value billet
  • Hours of machining already invested in the component
  • A spindle costing tens of thousands of pounds
  • Production capacity on a machine worth hundreds of thousands
  • Every job waiting behind a damaged machine

The repair bill is only part of the cost. Machine downtime affects delivery dates, customer commitments and the utilisation of the whole factory.

Or in other words, every bit you get closer to the top of the machine becomes more expensive to break.

A stylus is cheaper than a probe body. A probe body is cheaper than a spindle. Good process design catches errors at the least expensive layer possible.

Connecting the digital process to the machine

CAM, simulation and G-code verification can create a highly accurate model of the intended machining process. Tool-management checks can confirm that the expected cutter is present and that its measured length matches the program.

The remaining uncertainty is the physical setup.

The machine still needs to confirm that:

  • The correct billet has been loaded
  • The stock is in the expected position
  • The workholding is correct
  • The active coordinate system matches the part
  • Critical features remain within tolerance
  • The machine itself remains properly calibrated

Spindle probing provides those checks.

Used systematically, it becomes a core part of process assurance. It prevents avoidable crashes, supports unattended production, reduces scrap and gives manufacturers greater confidence that the real machining process matches the verified one.

Complete up to 80% of your CAM program in minutes

CAM Assist integrates with your CAM package to generate machining strategies and toolpaths. Takes  just 1 hour to learn. Same day set-up.