Setup · 5 min read

How to set the work offset (G54) on a CNC mill

Three ways to find part zero on a CNC mill: paper, edge finder and probe. Why you add the tool radius and how to avoid the classic offset mistakes.

The program does not know where your part is on the table. The work offset (G54, G55…) tells the control where the part zero is, in machine coordinates. Get it wrong and every part comes out shifted by the same amount.

Method 1: paper and end mill

Spin the tool slowly, bring it toward the side of the part with a strip of paper between them, and stop when the paper just drags. The tool center is now one radius plus the paper thickness away from the edge.

Edge = tool center position ± (tool radius + paper)

The sign depends on which side of the part you touched

Method 2: edge finder

An edge finder kicks sideways when it reaches the edge. With a Ø10 mm edge finder touching the left side of the part, the edge is 5 mm to the right of the spindle center. Most controls let you enter the measured position and apply the radius for you.

Method 3: touch probe

A probe touches the part and writes the offset automatically. It is the fastest and most repeatable method, and it can find the center of a bore or a boss in one cycle.

Z zero

Z usually goes on top of the part. With tool length compensation (G43), each tool’s length is measured once (presetter or tool setter) and the Z offset only stores where the part top is.

Classic mistakes

  • Forgetting the tool or edge finder radius: the part comes out shifted by exactly that amount.
  • Using the wrong sign on the side you touched.
  • Writing the value in G55 while the program calls G54.
  • Not checking: after setting, jog to X0 Y0 and look before you run.
!

After setting the offset, run the first part with single block and the rapid override low. Watch the first approach move.