Homing, machine zero, and work zero describe different reference systems. Confusing them can shift a toolpath, ruin a fixture, or send the spindle toward a travel limit. Once the hierarchy is clear, repeatable fixtures, job recovery, multiple work offsets, and safe retracts become much easier to manage.
Quick answer: Home the machine to establish its repeatable machine coordinate system, keep machine zero fixed by the machine design, then set a separate work zero on the stock or fixture that matches the CAM setup origin.
Table of Contents
The Coordinate-System Hierarchy
The controller tracks machine position in its machine coordinate system. A work coordinate system applies an offset so the program can treat a convenient point on the stock or fixture as X0 Y0 Z0. Tool-length and probing offsets may add another layer.
The machine does not physically move its machine origin when you set work zero. The controller stores a relationship between coordinate systems. That distinction explains why a DRO can display zero while the machine is nowhere near its home switches.
What Homing Does
Homing moves each axis through a defined sequence to a switch, sensor, or hard reference. The controller then establishes a repeatable machine position. Homing gives the machine context after startup and enables soft limits, saved fixture locations, and reliable return positions when supported.
A home switch is not automatically a precision probe. Repeatability depends on the switch, approach direction, speed, mechanics, and controller routine. Keep the area clear and follow the machine manufacturer’s sequence.
What Machine Zero Means
Machine zero is the fixed origin of the machine coordinate system established by the builder or configuration. It is normally tied to the homing procedure and travel limits, not to the current workpiece.
Use machine coordinates for known safe positions, tool changes, parking, and fixtures only when your controller and post processor handle them correctly. Do not casually edit the machine origin to make a job easier; use a work offset instead.
What Work Zero Means
Work zero is the program origin chosen in CAM and set on the machine. It may be the stock corner, stock center, top surface, spoilboard surface, fixture pin, or another repeatable reference. X, Y, and Z do not have to use the same physical feature.
The best origin is accessible after workholding is installed, easy to locate repeatedly, and consistent with the CAD/CAM setup. For through-cut work, referencing Z from the spoilboard can control remaining material; referencing from the stock top can be simpler when thickness varies. The choice must match the toolpath.
Work Coordinate Systems
Many controllers support G54 and additional work coordinate systems. Each stores a different offset from machine coordinates. This allows several fixtures or workpieces to remain referenced on one table. Hobby-control software may present the same idea with simpler names.
Record which coordinate system the program expects. Loading a file prepared for one offset while another is active can create a dangerous shift. A preflight should confirm active work system, displayed position, and physical origin.
Safe Startup and Recovery
After power-up, home before relying on soft limits or stored fixture coordinates. Set or verify the work origin, load the correct tool data, raise Z to a safe clearance, and run a boundary or air-cut check when appropriate.
After a pause or power interruption, do not assume position remains valid. Determine whether motors lost position, whether the controller retained offsets, and whether the workpiece moved. Re-home and re-probe according to the machine’s recovery procedure.
Common Origin Strategies
| Origin | Strength | Risk |
|---|---|---|
| Front-left stock corner | Easy to understand and probe | Corner may disappear during machining |
| Stock center | Good for symmetric parts | Must locate center accurately |
| Fixture pin | Excellent batch repeatability | Fixture must remain stable |
| Spoilboard Z | Controls through-cut depth | CAM must use the same Z reference |
Practical Workflow
- Home the machine and confirm that each axis completed normally.
- Load the correct program, post processor, and work coordinate system.
- Match the CAM origin to a physical stock or fixture reference.
- Set X and Y with an edge, probe, center, or known fixture location.
- Set Z using the intended stock-top, spoilboard, or tool-setter reference.
- Raise the tool and verify displayed coordinates against physical position.
- Run a boundary check or safe air cut before the first material cut.
Common Mistakes to Avoid
- Calling the stock corner machine zero.
- Skipping homing while relying on soft limits.
- Setting Z from the stock top when CAM expects the spoilboard.
- Re-zeroing after every tool change when a tool-length system is in use.
- Using the wrong work coordinate system.
- Assuming offsets survived a crash or power loss.
Accuracy rule: Home establishes the machine; work zero establishes the job. Keep those two references separate.
Frequently Asked Questions
Is home position the same as machine zero?
Homing is the procedure that establishes a known machine reference. Machine zero is the origin defined within that machine coordinate system.
Does setting work zero erase machine zero?
No. Work zero is stored as an offset from machine coordinates.
Should Z zero be on the stock or spoilboard?
Either can work if CAM and the machine use the same reference. Stock top is intuitive; spoilboard reference helps control through-cut depth.
Do I need to home before every job?
Follow the machine manufacturer’s guidance. Homing after startup is normally required before relying on machine coordinates and soft limits.
What happens after changing tools?
Z reference must account for the new tool length. Use the controller’s supported manual zeroing, touch plate, or tool-length workflow.
Why did my toolpath shift?
Common causes include the wrong work coordinate system, a changed origin, lost position, moved stock, an incorrect probe routine, or a CAM origin mismatch.
Related CNC Guides
- CNC Accuracy and Precision: Complete Guide
- How to Set CNC X, Y, and Z Zero
- CNC Preflight Checklist
- Square, Tram, and Calibrate
- CNC Workholding Complete Guide
Authoritative References
Final Takeaway
A reliable CNC setup begins with a repeatable machine reference and a deliberate work reference. Home first, select the correct coordinate system, match the CAM origin, and verify before cutting.
Build a Repeatable CNC Coordinate System
Correct homing and zeroing establish repeatable references. Continue with the CNC Accuracy and Precision Complete Guide to verify the entire machine, and use How to Calibrate CNC Steps per Millimeter or Inch only when a measured travel test proves a scale error.
Disclosure: The Workshop Life may earn a commission from qualifying purchases made through merchant links. This does not increase the price you pay.