A CNC machine has one physical reference and several logical ones. Machine zero is fixed by the scale and the reference switch. The part, the fixture and the tool are all somewhere else, and the offsets are the arithmetic that connects them. When a part is machined in the wrong place, the geometry is rarely the culprit; the offset chain is.
Understanding the chain is the difference between an operator who adjusts offsets by trial and one who can predict, in one pass, what a number should be.
The offset chain, from machine zero to tool tip
Every position the control displays is the result of a chain:

- Machine coordinate — the fixed reference.
G53moves in this system and ignores offsets. - Work offset (
G54–G59,G54.1 P1–P48) — the translation and, on five-axis and turning machines, rotation from machine zero to the part datum. - Tool length offset (
G43 H) — the difference between the spindle gauge line and the tool tip. - Cutter radius or tool radius compensation (
G41/G42) — the lateral shift that puts the tool edge, not the centre, on the programmed path.
Each stage is stored in a different place, cleared by different events, and set by a different workflow. That is why "the offset is wrong" is never a complete diagnosis.
The practical invariant is worth memorising: the control does not know where the part is, only where it thinks the part is. A missing G43 moves the assumed tip by the length of the tool. A work offset entered in the wrong axis rotates the error into a direction the operator is not looking at. A stale offset from the previous job shifts everything by the difference between two fixtures.
G54–G59 and the extended offsets
The six standard work offsets cover the ordinary case: one fixture, a few datums, or pallet positions. Their limits matter in production:
| Offset | Typical use | Notes |
|---|---|---|
G54 | Primary fixture, default active offset | Reset returns the control to G54 on most machines |
G55–G59 | Additional fixtures, pallets, sub-datums | All six are always available |
G54.1 P1–P48 | Extended offsets, pallet pools, tombstone faces | Count is an option; not all machines have all 48 |
G53 | Machine coordinate move — not an offset | Non-modal, valid for one block only |
Two operational consequences follow. First, because reset returns to G54, a program written for G55 will not resume correctly — this is the most common restart failure in multi-fixture work. Second, the extended offsets are frequently an option that is licensed and sometimes not licensed, so CAM posts that emit G54.1 can produce a program the machine rejects. Post-processor configuration should match the option list of the specific machine, not the generic post.
For five-axis machines, work offsets also carry rotation (Euler angles or axis vectors), and the interaction between the offset rotation and the kinematic transformation is where RTCP behaviour becomes unintuitive. Rotating a work offset on a five-axis machine changes the singularity locations, not just the position.
Programmable offsets with G10
G10 writes offset values from inside the program. It is powerful and easy to misuse.
The two common forms:
G10 L2 P1 X.. Y.. Z..— write work offsetG54(L2 = work offset, P = offset number).G10 L20 P1 X.. Y.. Z..— set the offset so that the current position becomes the given coordinate value (L20 is control-dependent in syntax and naming).
G10 L20 is the useful one in automation: a probe or operator jogs to a datum, the program writes the offset so that this position is the datum, and no arithmetic is required. That eliminates a whole class of sign and addition errors.
The risks are equally real. A G10 write persists in the offset table and silently overwrites whatever was there — including values another job depends on. On many controls the write is not protected by the panel lock, so a wrong P number edits a different fixture. And because G10 is a normal block, block delete or a mid-program restart can skip it or execute it twice.
Recommended practice: keep G10 writes in a dedicated setup program, log what they wrote, and do not embed them in cutting programs unless the machine has probe verification immediately afterwards.
Probe-driven setup
Touch probes turn offset setting from arithmetic into measurement. The typical cycle: probe contacts a datum surface, the control reads the skip position (G31 motion, which stops on the probe signal), computes the offset, and writes it with G10 L20 or to the table directly.
What probing actually improves:
- Repeatability of setup, not accuracy of the machine. A probe removes operator judgement; it does not remove machine error.
- Cycle time in high-mix work. The savings come from fewer trial cuts and less first-article inspection.
- Auditability. The measured values are logged, which matters in regulated work.
What probing does not fix:
- Probe calibration. Stylus length, ruby ball diameter and pre-travel are calibrated values; if they are wrong the offsets are consistently wrong, and the result is a part that is in tolerance to a measurement that is not.
- Datum quality. Probing a rough or burred surface measures the burr.
- Thermal drift. On a machine that is still warming up, a probed offset is a snapshot, not a constant.
The one hard rule: probe calibration should be verified on a known artefact (a ring gauge or a setting master) before a probe result is trusted to write a production offset.
Setup verification checklist
- Active work offset on the position display matches the setup sheet, and the setup sheet names the fixture, not just the number.
G43and theHnumber match the tool physically in the spindle, verified by a Z reference touch on a known surface.- Tool radius values in the table match the tool actually loaded; an oversized
Rfrom a previous regrind produces an undersized part with no alarm. - Offsets written by
G10are logged, and the log is checked against the offset table after a restart. - Extended offsets (
G54.1) confirm the machine has the option, and the post is configured to match. - Probe calibration verified on a reference artefact at least at the start of each shift.
Work offsets are the least glamorous part of machining and the one most often responsible for a scrapped first article. The arithmetic is simple; the discipline of verifying it is not. Shops that treat offset verification as a checklist item rather than a skill recover the time in scrap and setup hours within a week.



