Works on this device
CNC Work Coordinate Planner
Plan the work offsets of a CNC setup. Type the machine coordinates of each work zero (G54 to G59 or the names your control uses), and see how far apart they are, how far each is from machine zero, and a sheet to print or copy. For parts on a fixture with a regular pitch, the second mode lays out the work zeros for you.
Enter your values
Check these values
This is off unless you turn it on. Saved entries stay in this browser only. Untick the box to delete them.
Your values are worked out in this browser. They are not sent to a server.
Your result will show here
Fill in the values, then choose Calculate.
Your result
How it was worked out
How to use this planner
- Choose Plan the work offsets of a setup, or Work zeros for parts on a regular pitch to fill a row or a grid of vises or fixtures.
- Choose the unit of the coordinates. For each offset type its name (such as G54), the X, Y and Z of the work zero in machine coordinates, and a note on what is set up there.
- Choose Calculate. Print the result, copy the sheet for the setup, or download it. You can tick Save my entries on this device to keep the list in this browser.
- In the pattern mode, choose Use these offsets in the planner to copy the work zeros into the plan.
How it is worked out
G54 to G59 are the six work offsets of the common G-code convention. Extended offsets have other names on other controls, so type them as your control writes them.
- Distance from machine zero = √(X² + Y² + Z²).
- Step from one offset to the next: ΔX = X of the next − X of this one, and the same for Y and Z. Straight distance = √(ΔX² + ΔY² + ΔZ²).
- Spread in an axis = the largest value − the smallest value. Compare it with the travel of your machine.
- Pattern: the part in column i and row j (counted from 0) has its zero at X = X0 + i × pitch X and Y = Y0 + j × pitch Y, with the same Z.
Worked example
Three vises with their work zeros at G54 (−450, −200, −350), G55 (−300, −200, −350) and G56 (−150, −200, −350.5) mm. G54 is √(450² + 200² + 350²) = 604.152 mm from machine zero. G54 to G55 is a step of 150 mm in X. G55 to G56 is 150 mm in X and −0.5 mm in Z, a straight distance of 150.0008 mm. The spread is 300 mm in X, 0 in Y and 0.5 mm in Z.
With the pattern mode, a first zero at (−450, −200, −350) mm and a pitch of 150 mm along X for 3 parts gives the same three zeros in X: −450, −300 and −150 mm.
Limits you should know
- The planner adds up what you type. It does not read or write the offsets of a control, and it does not know the travel or the zero of your machine.
- Check every offset on the machine before you run a program. A wrong sign or a wrong axis can crash the machine.
- Tool length offsets are not part of the work offsets; work them out with the CNC Tool Length Offset Calculator. For holes on a circle, use the Bolt Circle Calculator.