CNC Accuracy, Calibration and Inspection · KB-047
Using a CNC Probe to Find an Edge and Set a Work Offset
Plan probe direction, clearance, trigger behavior, stylus radius and result handling before using contact to establish a CNC work reference.

A probe routine converts a contact event into measured position. Finding an edge requires more than moving until a signal changes: the probe input, stylus geometry, approach, overtravel, retract and offset calculation must all match the controller routine.
Define what the test can establish
Straight probing motion moves toward a destination and stops on a defined contact state. Some variants signal an error when contact is not found. The raw trigger position describes the probe center or control point; the work edge requires the appropriate calibrated radius and direction relationship.
Control the measurement
Inspect and test the input with motion controlled according to the manufacturer. Use a clean, stable surface and approach normal to it. Repeat from the same direction, then compare several contacts. Probe calibration and stylus runout affect the resulting edge position.
Read the error pattern
A constant edge offset can indicate stylus radius or routine logic. Different results by approach direction suggest probe lobing, runout, backlash or calibration. Scattered triggers suggest surface contamination, electrical behavior or mechanical repeatability.
Use a repeatable test plan
Record machine state, warm-up condition, location, direction, tool or probe, stock, instrument and operator method. Repeat the measurement rather than keeping only the best result. For using a cnc probe to find an edge and set a work offset, compare magnitude and pattern with the intended tolerance. A result without conditions cannot distinguish a configuration change from temperature, compliance, measurement force or setup variation.
Correct one layer at a time
Begin with the evidence supported by the test. Writing a work offset from an unverified trigger can shift every later toolpath while still looking numerically plausible. After a mechanical or configuration change, return to the same artifact and measurement sequence. Avoid stacking CAM offsets, controller compensation and drawing changes because several corrections can cancel at one size while making another size worse.
Separate measurement error from machine error
Repeat the reading without moving the machine, then repeat after returning to the feature through the same path and through the opposite direction when appropriate. This helps distinguish instrument and contact variation from positioning behavior. Compare a second instrument or reference only when its capability and setup are understood. For this topic, A constant edge offset can indicate stylus radius or routine logic. Different results by approach direction suggest probe lobing, runout, backlash or calibration. Scattered triggers suggest surface contamination, electrical behavior or mechanical repeatability. Preserve all raw readings because deleting inconvenient values without an identified cause can make an unstable process look calibrated.
Safety and verification boundary
Follow the machine, controller, spindle, probe and instrument manufacturers’ procedures. Isolate energy before mechanical adjustment, keep body parts clear of motion and verify probe inputs and travel limits at controlled speed. Calibration motion and indicator sweeps can still collide with clamps, stock or fixtures. Keep a new routine under direct supervision.
Decision table
| Stage | Question | Control |
| Precheck | Does input change? | Manual/status verification |
| Approach | Is destination safe? | Clearance and limit |
| Contact | Is direction normal? | Geometry selection |
| Result | Is radius applied? | Calibrated routine |
Worked situation
Probing the left and right sides of a block produces inconsistent width. Check stylus calibration, approach direction and reversal behavior before averaging the edges into a new work zero.
Practical checklist
- Inspect probe and stylus.
- Verify input state.
- Set safe approach.
- Repeat contact before writing offset.
Frequently asked questions
Can a probe routine safely find any unknown surface?
No. It needs a defined search direction, reachable destination, clearance and supported failure behavior.
Can one successful test prove the machine is calibrated?
No. Repeat the test, vary position where relevant and retain measurements so drift and direction-dependent behavior can be distinguished.
Should compensation be the first response to an error?
No. Inspect mechanics, measurement method, setup and configuration before using compensation to address a diagnosed residual error.
Sources and editorial use
Sources support the technical facts in this original explanation. Their text and images have not been republished.
- LinuxCNC G-code Quick Reference — LinuxCNC
- LinuxCNC G-Code Examples: Grid, Hole and Tool-Length Probing — LinuxCNC
- Generate a Probe Geometry Operation — Autodesk Fusion