How to Properly Set Tool Z Zero in CNC: Tool Setter, Touch Off, and Manual Methods
Correctly setting the Z zero in CNC machining is critical for part accuracy and tool safety. A small mistake in Z height can break tools, damage workpieces, or ruin precision.
This guide walks you through three main Z-zero setting methods:
- Manual Touch-Off
- Tool Setter (Automatic or Manual)
- Touch Plate (for CNC routers)
🔧 What is Z Zero?
Z Zero defines the tool’s vertical reference point — where the Z axis is considered “zero” relative to the workpiece.
You can define Z-zero in:
- The top of the stock (common in milling)
- The bottom of the part (used in finishing or second ops)
- The machine table (for consistent setups)
🛠️ 1. Manual Touch-Off Method
This is the traditional and most common way to set Z zero without special equipment.
🔹 Steps:
- Install the tool and move close to the part surface.
- Place a feeler gauge or piece of paper (0.05mm thick) on top of the part.
- Slowly jog Z down until the tool just touches the paper.
- Set Z to 0 in your controller (e.g.,
G54 Z0or via touchscreen).
💡 Tip:
- Subtract the paper thickness to get exact Z zero:
Z touch = 0.05mm ⇒ Set Z = -0.05
⚙️ 2. Using a Tool Setter
Tool setters provide precision Z zeroing — especially useful when using multiple tools.
There are two types:
- 🧱 Fixed Tool Setter on machine bed (mechanical or probe-based)
- 🔩 Tool Length Probe (automatic, built-in on high-end machines)
🔹 How It Works:
- Tool descends and contacts the setter.
- Machine records exact length (
Hoffset). - Z-zero is automatically calculated.
🔧 Example:
G43 H3 Z10 ; Apply tool length offset for Tool 3
G49 ; Cancel tool length offset
✅ Best for repeatability, high-precision jobs, and tool libraries.
🧲 3. Touch Plate / Electrical Probe (for CNC Routers)
Touch plates are common in CNC routers and hobbyist setups.
🔹 How It Works:
- Conductive plate is wired to the controller.
- When the tool touches the plate, the circuit closes.
- Controller sets Z zero automatically.
🧰 Typical Setup:
Plate thickness = 15.00mm
Controller sets Z = 15.00 after contact
⚠️ Make sure the plate thickness is correctly set in the software.
📏 Tool Length Offsets and G-Codes
Z-zero setting is tied to tool length compensation. CNC controllers use this data to adjust Z movement per tool.
🔑 G-Codes:
| Code | Description |
|---|---|
| G43 | Apply tool length offset |
| G49 | Cancel tool length offset |
| H# | Calls the length offset number |
💡 Example:
T5 M6 ; Load Tool 5
G43 H5 Z10 ; Apply offset for Tool 5
M30 ; End program
🧠 Choosing the Right Z-Zero Method
| Method | Accuracy | Cost | Best For |
|---|---|---|---|
| Manual Touch | Medium | Free | One-off jobs, hobbyists |
| Tool Setter | High | Medium–High | Shops, production runs |
| Touch Plate | Medium | Low | CNC routers, woodworkers |
🧪 Common Mistakes
- ❌ Forgetting to apply tool offset (
G43) - ❌ Mixing different Z-zero references (top vs bottom)
- ❌ Miscalculating touch-off material thickness
- ❌ Not setting offset for each tool in multi-tool jobs
✅ Best Practices
- Always note Z reference point in CAM setup
- Use the same method consistently
- Check tool length offsets for every tool
- Re-check Z zero after tool change or crash
- Consider adding a tool touch-off routine to your post-processor
🔚 Final Words
Z zero isn’t just a setup step — it’s a foundation of precision. Whether you’re a hobbyist or professional machinist:
- Get in the habit of verifying Z-zero for every tool
- Choose a method that suits your machine, job, and accuracy needs
- Use G-codes (
G43,G49) correctly to avoid mistakes
One wrong Z-zero can ruin the entire job — but one accurate Z-zero can guarantee perfect parts every time.
Leave a comment