Closed-loop machining

Automatic CNC Offset Correction

Measure the part, calculate the right correction and write it to the CNC wear offset automatically. No manual calculation, no typing mistakes, and a full record of every decision.

Measurement screen showing four part parameters, each with its live value on a green tolerance bar.
0.000Offset written while the process stays in the green zone
CLAMPMaximum correction limit before every write
1–NCorrect after every part or after a set number of parts
100%Of measurements, decisions and CNC writes recorded
How it works

The closed loop, step by step

  1. 01

    Inspection

    The part leaves the machine and is loaded on the gauge.

  2. 02

    Digital gauge

    Piezo, probe or LVDT sensors measure each dimension.

  3. 03

    Measurement

    Each value is compared with nominal, control limits and tolerance.

  4. 04

    Correction calculation

    Direction, frequency and maximum clamp are applied.

  5. 05

    CNC wear offset

    The approved correction is written to the selected offset register.

  6. 06

    Closed-loop record

    Measurement, decision and machine outcome are stored.

Correction logic

Five zones, one rule for every shift

Each parameter has its own nominal, control limits and tolerance. The response depends only on where the measured value falls.

RedOutside tolerance
YellowDrifting
GreenInside control limits
YellowDrifting
RedOutside tolerance
Green: zero offset written. A stable process is left alone.
Yellow: good part, process drifting. Correction written, limited by the clamp.
Red: part rejected and recorded. Correction written; alerts and red-bin interlock can follow.

Why manual offset correction costs you parts

A good gauge tells the operator that a diameter is 0.020 mm undersize. What happens next depends on the person at the machine. They must compare the value with nominal and limits, decide whether to correct, work out the size and sign of the correction, choose the right offset register and type the number into the CNC.

Every one of those steps can go wrong:

  • Sign and decimal mistakes move the process in the wrong direction.
  • The wrong register corrects a tool that was not drifting.
  • Delayed correction during a busy shift lets more parts drift before anyone acts.
  • Over-correction of normal variation makes a stable process unstable.
  • No record remains of what was measured, what was decided or what the machine received.

How automatic offset correction works

Automatic offset correction closes the loop between the gauge and the machine. The gauge result goes straight to a decision engine, and the decision goes straight to the CNC’s tool wear offset, with the same rules on every shift.

Measurement screen with four parameters on green tolerance bars

Each part parameter carries its own setup: nominal, upper and lower tolerance, upper and lower control limits, correction direction, offset register, offset frequency and maximum correction clamp. The operator only measures the part. The system does the rest.

Tolerance and control zones

Every measured value falls into one of five zones. The response depends on the zone:

  • Green (inside the control limits): a zero correction is written. A stable process is left alone, so normal variation never causes adjustments.
  • Yellow (between control limit and tolerance): the part is good, but the process is drifting. A correction is calculated and written before the next part goes out of tolerance.
  • Red (outside tolerance): the part is rejected. The correction is written, the rejection is recorded, and alerts and red-bin interlocking can be triggered.

Correction limits and safeguards

Automatic does not mean uncontrolled. Before any write, the system applies:

  1. Control-limit gate. A non-zero correction only starts after a result leaves the green zone.
  2. Maximum correction clamp. A large calculated correction is limited to the configured maximum.
  3. Offset frequency. Correct after every part, or only after a selected number of measured parts.
  4. Direction per parameter. Positive or negative setup handles different tool and feature behaviour.
  5. Bad-file protection. Results without a valid part number are ignored.
  6. Connection test. The CNC connection can be tested before production, and every failed write is logged with its return code.

Traceability for every part

Each measured part leaves a complete record: part number, source and time; nominal, tolerance, control limits and measured value; raw and clamped correction, direction and register; and whether the CNC write succeeded, was skipped or failed. Reports can be filtered by date and exported to CSV for customer audits.

Measurement report listing date, shift, part, parameter, measured value, deviation and status

Quality dashboard and alerts

Connected to TnG Machine Monitoring, every reading also feeds the online quality dashboard and SPC, the OEE quality rate and part-wise reports. Optional SMS and WhatsApp alerts cover CNC communication failure, an idle gauge and repeated NG parts.

Compatibility

  • CNC controls: FANUC, Siemens, Mazak and other controls, assessed per machine.
  • Gauges: TnG smart digital gauges (piezo, probe, LVDT), and digital gauges of other manufacturers through TnG Offset Master.
  • Machines: CNC turning, grinding and other processes where a measured dimension is controlled by a tool wear offset.

Two ways to get it

Questions

Frequently asked questions

Which CNC controls can receive automatic offsets?

FANUC, Siemens, Mazak and other CNC controls. Each machine is checked during a short assessment before installation.

Do I need to buy new gauges?

No. TnG smart gauges include automatic correction, and TnG Offset Master adds it to digital gauges you already own, of any make.

What stops a wrong measurement from moving the machine too far?

Three safeguards. Nothing is written inside the green zone, every correction is limited by a maximum clamp, and the offset frequency controls how often a write can happen. Bad result files are rejected.

Does it need internet?

No. The correction loop runs locally in the production cell. Internet is only needed for optional online dashboards and remote alerts.

Can operators change the settings?

No. Operators see live results and reports. Nominal, limits, direction, clamp and register are set by the administrator.

Talk to us about auto offset correction

Share your machine list and controller details. We will review compatibility and propose a pilot scope for your plant.