GreatLight CNC Machining Factory logo
CNC Machining
Rapid Prototyping
Materials
Industries
News
About GL

Get Instant Quote

CNC setup guide

Movement of the Knife Method in a Machine Tool Treatment Center

This page is for machinists and setup engineers who need to bring every tool in a machine tool treatment center onto the same Z datum. We walk through the reference-tool method, the block gauge method, and the touch-off method, then show how each one drifts. After reading it you can pick a method, set the offsets, and know which checks catch a bad number before the first cut.

Reference tool firstZero on the spindle noseRepeat within 0.01 mm
CNC Knowledge: Movement of the knife method of the machine tool treatment center
Quick answer

Key takeaways

One reference tool per programSet the longest tool first, then measure every other tool against it.
Z zero belongs on the part, not the tablePick the datum that the drawing calls out and keep it fixed.
Block gauge gives the most repeatable numberA 50 mm gauge block plus a dial indicator holds ±0.01 mm.
Check before the first cutRun one air pass and compare the readout with the drawing.
The basics

What Z tool offset means in a machine tool treatment center

Every tool in the magazine sits at a different length. A 12 mm flat end mill in a shrink holder may be 40 mm shorter than a Ø20 mm face mill in a shell holder. The control cannot know that on its own. The Z tool offset is the number that tells the machine how far each tool must travel down before its tip reaches the programmed Z zero.

When we say movement of the knife, we mean the act of bringing the tool tip down to a known surface and recording the machine position at that moment. In a machine tool treatment center with a horizontal spindle, the axis that moves may be the column rather than the head. The logic is the same. You touch a known surface, read the position, and store the difference.

Get this number wrong by 0.5 mm and a finishing pass either rubs the floor of a pocket or leaves 0.5 mm of stock. Both scrap the part in most jobs. That is why the method matters more than the speed at which you set it.

The three common methods are the reference tool method, the block gauge method, and the direct touch-off method. Each has a different error budget. Below we cover when each one is worth the time.

Method 1

Reference tool method: set the longest tool first

The reference tool method picks one tool as the master and measures every other tool against it. Choose the longest tool in the program, because a long tool gives you the largest travel window and the smallest relative error. This is the option most shops use on a machine tool treatment center running a fixed family of parts.

Set the reference tool by touching its tip to the part datum or to a 100 mm gauge block on the table. Store that Z value in the work offset, for example G54 Z. Then bring each remaining tool down to the same surface, read the machine Z, and subtract the reference value. The result is that tool's length offset.

The weakness is stack-up. If the reference tool is set 0.03 mm high, every other tool inherits that 0.03 mm. On a ±0.05 mm bore depth that is more than half your tolerance. Re-check the reference tool whenever a holder is re-clamped or a collet is swapped.

Keep a written log of the reference tool number and its Z value. On a machine with 16 or more tools in the magazine, an unlogged reference change is the most common cause of a whole batch running shallow.

Method 2

Block gauge and dial indicator checks

The block gauge method removes the part from the loop. You place a hardened gauge block, usually 50 mm or 100 mm, on the table or on a magnetic base, then bring the tool tip down until a 0.01 mm dial indicator shows contact. The gauge block height plus the machine readout gives you a repeatable Z number.

This method is slower but it is the one we trust for deep pockets and for thin floors where 0.02 mm matters. A worn carbide insert or a chipped corner will show up immediately on the indicator, which the touch-off method hides. Expect about 30 to 60 seconds per tool once you have the routine.

Wipe the gauge block and the tool tip before every touch. A single chip under the block is worth 0.05 mm to 0.2 mm of false reading. Keep the block in a closed box, not loose in a drawer with cutters.

For five-axis work, set the block on a known surface of the fixture, not on the rotary table face, unless the table face itself has been indicated. The rotary table on our 5-axis centers is Ø400 mm, and its face is a reliable datum only after a sweep check.

Method 3

Touch-off method and where it drifts

Direct touch-off means jogging the tool down until it just contacts the part or a feeler shim, then zeroing that axis. It is the fastest method and the one most operators learn first. It is also the least repeatable, because the operator is judging contact by eye or by the sound of the spindle.

On aluminum, an operator can feel contact within about 0.03 mm. On hardened steel or on a coated tool, the same operator may be off by 0.1 mm. The error is not random; it is biased. The same person tends to stop early or late in a consistent direction, so the whole batch runs off by the same amount.

Use touch-off only for roughing stock, for soft jaws, or when the tolerance on that Z feature is wider than ±0.15 mm. For anything tighter, move to the block gauge method before you cut.

A 0.01 mm feeler shim costs little and cuts the touch-off error by roughly half. If you must use this method on a machine tool treatment center, add the shim thickness into the offset and subtract it in the program note.

Thermal effects

Warm-up, thermal drift, and when to re-check offsets

A cold machine grows as it runs. The spindle and the ballscrews warm up over the first 30 to 60 minutes, and Z can move 0.02 mm to 0.05 mm on a machine that has been sitting overnight. If you set offsets at 6:00 am and cut a tight feature at 7:30 am, the number you stored may no longer be true.

The fix is simple. Run a 20 to 30 minute warm-up cycle at moderate speed before you set any offset. Then re-check the reference tool after the first hour of production and note any change. On our own 3-axis and 4-axis centers, this is a standard step, not an optional one.

Ambient temperature matters too. A shop that swings from 18 °C at night to 30 °C in the afternoon will see more drift than a climate-controlled cell. If your parts carry a ±0.005 mm callout, the room is part of the process.

Write the re-check interval into the setup sheet. Twice per shift is enough for most jobs. Once per hour is safer for long roughing cycles where the spindle load stays high.

Procedure

Step by step: setting Z offsets on a machine tool treatment center

  • 1
    Warm up the spindleRun the warm-up program for 20 to 30 minutes at 3,000 to 6,000 rpm. A cold machine can drift 0.02 to 0.05 mm in Z after start-up.
  • 2
    Clean the datum surfaceWipe the part face, the gauge block, and the tool tip. A chip under the block reads as 0.05 to 0.2 mm of false height.
  • 3
    Pick the reference toolChoose the longest tool in the program. Record its number and holder. Longer tools give a larger safe travel window.
  • 4
    Touch the reference tool to the datumBring it down until a 0.01 mm indicator shows contact on a 50 mm or 100 mm block. Store the machine Z in G54 Z.
  • 5
    Measure every other toolRepeat the touch on the same block for each tool. Subtract the reference Z. Keep the difference as the length offset.
  • 6
    Enter and lock the offsetsType each value into the offset page. Lock the page or write-protect the offsets so a stray keystroke cannot change them mid-run.
  • 7
    Run an air passRun the first tool 20 mm above the part and compare the control readout with the drawing Z. This catches a sign error before the cutter does.
  • 8
    Re-check after one hourMeasure the reference tool again. If Z moved more than 0.02 mm, update the offsets and log the change.
Method comparison

Which Z setting method fits your job

Pick the method from the tolerance on the Z feature, not from habit.

MethodTypical repeatabilityTime per toolBest for
Reference tool±0.02 mm15–20 sFixed part families, 8–20 tools
Block gauge + indicator±0.01 mm30–60 sDeep pockets, thin floors, tight Z
Direct touch-off±0.10 mm5–10 sRoughing, soft jaws, open tolerance
Touch-off with shim±0.05 mm10–15 sMixed lots, no gauge block on hand
Probe on machine±0.005 mm20–30 sComplex fixtures, first article

Set the reference tool, then trust the block

For anything tighter than ±0.15 mm on Z, skip touch-off and use a gauge block with an indicator. Warm the machine first, log the reference tool, and re-check after an hour. That routine is what keeps a machine tool treatment center cutting to the drawing instead of to the last setup.

FAQs

Common questions

Should Z zero sit on the part face or on the table?

Put it where the drawing puts it. Most drawings dimension from a machined face, so that face becomes Z zero.

If the part sits on a fixture with a known height, you can zero on the fixture and add the offset in the program. Either way, write it down so the next setup repeats it.

How often do I need to re-check tool offsets?

Check the reference tool after the first hour of running and then twice per shift.

On long roughing cycles with high spindle load, check once per hour. Thermal growth moves Z more than most operators expect.

Why does my Z dimension drift over a long run?

Heat is the usual cause. The spindle and ballscrew expand as the machine warms, so the tool sits lower than when you set it.

A loose holder or a collet that was not torqued to spec is the second cause. Check both before you touch the offsets.

Can I use the same offsets after a tool change?

Only if the new tool is the same part number, the same stick-out, and the same holder.

A different stick-out changes the length offset. Re-measure it. Never copy a number from a similar tool.

What tolerance can this method hold on a production run?

With the block gauge method and a warm machine, ±0.02 mm on Z is realistic across a shift.

Tighter than that needs a probe, a temperature-controlled room, and a re-check schedule. Our own work holds ±0.005 mm on critical features with those controls in place.

Does the method change on a horizontal machine?

No. The axis that moves may be the column instead of the head, but you still touch a known surface and store the difference.

The one difference is gravity. On a horizontal spindle, a long boring bar can sag, so indicate the tip rather than the shank.

Send us the drawing and we will set it up right

Upload your part and get a quotation plus free DFM analysis within 12 hours. We machine from one prototype to 10,000+ part runs, with 100% inspection before shipment.

12-hour quote100% inspectionNo minimum order quantity

Follow us

More from the shop floor

We publish setup notes, tooling trials and inspection data from the factory floor.

FacebookTikTokYouTubeLinkedInInstagramThreadsPinterest

Trusted by engineers and manufacturers worldwide

Tesla Ford Motor Company BYD Auto Denso Magna International Boeing Airbus Medtronic KUKA FANUC