How to Set Up Milling CNC Machine
This is the sequence we run in our own shop for 3-axis, 4-axis and 5-axis mills. It covers the setup sheet, vise indication, work offsets, tool setting and the first-article check. Read it and you can tell whether a setup is repeatable or just lucky.

In this article
- 1
- 2
- 3
- 4
- 5
- 6
- 7
Key takeaways
How to Set Up Milling CNC Machine Work: The Setup Sheet
Every job in our shop starts as a document, not as a machine motion. The setup sheet lists the raw stock size and condition, the machine model, the fixture or vise, every tool with its number and holder, the programmed work offset, and the critical tolerances the operator must check. If a number is not on the sheet, the operator has to guess, and guessing is where scrap comes from.
The sheet also carries the process notes that a CAM file cannot express. Which face is the datum. Whether the part gets flipped between operations. Which dimensions are reference-only and which are inspection dimensions. On a first run, we add a sketch of the stock in the vise with the zero corner marked.
For a repeat job, the same sheet is reused and the operator only verifies the offsets. That is the difference between a 10-minute setup and a 90-minute setup. We keep setup sheets with the part number, so a job that ran eight months ago can start again without reverse-engineering the program.
One warning that saves real money: never start a setup from a program you have not read. Open the tool list, check that T01 to T10 match the physical carousel, and confirm the work offset number (G54, G55, G56) matches the sheet. Wrong offset number is the single most common cause of a crash on a proven program.
- 1StockMaterial grade, size, and whether faces are sawn, ground or pre-machined.
- 2FixtureVise, soft jaws, modular plate or custom jig, plus clamping points.
- 3ToolsNumber, type, diameter, corner radius, stick-out and holder.
- 4OffsetsWork offset number, tool length method, and which corner is X0 Y0 Z0.
Machine Checks and Fixture Preparation
Before mounting anything, wipe the table, the T-slots and the spindle taper. A chip under a vise is 0.05 mm of error that no offset can fix. Check coolant level and concentration, air pressure, and that the way covers are clear of swarf. On a machine that sat overnight, run a short warm-up spindle program if the shop procedure calls for one.
Fixture choice follows part geometry and volume. A standard vise suits prismatic parts up to roughly 400 mm long with two parallel faces. Soft jaws machined in place suit thin or irregular parts and hold flatness better. A modular fixture plate or tombstone pays off when you run several parts per cycle. Custom jigs are for parts with no reliable clamping face.
When you mount a vise, indicate the fixed jaw along the X axis. We accept 0.01 mm over 150 mm for general work and 0.005 mm for tight work. Then check the jaw is parallel to the table in Z. Tighten the vise bolts in a cross pattern and re-check; bolting down can pull a vise out of alignment.
For 5-axis work, the rotary table adds a step. Indicate the table center in X and Y, and set the table face as a known Z reference. Record those values; they are your machine zero for every job on that trunnion.
- 1Cleanliness firstChips under a vise or in a taper cause errors no offset can correct.
- 2Vise alignment0.01 mm over 150 mm general work, 0.005 mm for tight tolerance parts.
- 3Clamping forceEnough to hold the part, not enough to distort thin walls.
- 4Access checkConfirm the tool can reach every feature without hitting the fixture.
Work Offsets and Tool Length Setting
The work offset tells the control where the part sits in machine coordinates. Pick one corner of the stock or a datum feature, and be consistent across operations. Edge finders and 3D tasters work for X and Y; a taster with a known stylus diameter is faster and less subjective than a mechanical edge finder, especially on rough stock.
For Z, touch off on a surface you trust. A gauge block on the vise bed, the top of a machined face, or the fixture itself all work. Do not touch off on a saw cut face; it can vary 0.2 mm across the length. Set the tool length offset with the same method for every tool in the program so a mid-job tool change does not shift Z.
Tool setting is where small habits pay off. Measure every tool on the presetter or in the spindle, write the value down, and compare it with the value in the offset table. If a tool is re-ground, its length changes; update the offset before the next run. We keep a tool log per job so a broken tool is replaced with the same length and geometry.
Run the program in single block with rapid override reduced to 25 percent on the first pass. Watch the distance-to-go screen, not the cutter. If the Z value does not look like the setup sheet, stop and re-check the offset before the tool reaches the stock.
- 1X and YUse a 3D taster with a known stylus diameter for repeatable edge finding.
- 2Z referenceGauge block or machined face, never a rough saw cut.
- 3Tool logRecord length and diameter so a replacement tool matches the original.
First-Article Inspection and Common Setup Errors
The first article is the proof that the setup is correct. Measure the datum-referenced dimensions that matter, not every dimension on the drawing. We check the critical-to-function dimensions, the ones with the tightest tolerance, and any feature that a previous run had trouble with. Record the actual numbers on the setup sheet so the next run has a baseline.
If a dimension is out, resist the urge to change several things at once. A size error on a pocket floor usually points to the Z tool length offset. A taper on a wall points to vise alignment or tool deflection. A position error on one feature but not another points to the program or a wrong offset number. Change one variable, re-cut, and measure again.
Some errors repeat across shops. Chips under the part or in the vise. Touching off on a rough face. Forgetting to update a tool length after a re-grind. Using G55 while the program calls G54. Clamping thin walls so hard the part springs back after unclamping. None of these are exotic; all of them are prevented by the sheet and a two-minute air cut.
If you run the same family of parts often, build a standard setup. Dedicated soft jaws, preset tool lengths, and a documented offset scheme cut setup time to a fraction of the first run. That is how a shop moves from a 90-minute setup to a 15-minute one without buying a new machine.
- 1Z off by a constantTool length offset error or a chip under the part.
- 2Taper on a wallVise not parallel to X, or tool deflection on a long reach.
- 3One feature off positionWrong work offset number or a program error.
- 4Part springs after unclampingExcessive clamping force or insufficient support under the part.
How to Set Up a Milling CNC Machine: Step by Step
The sequence we use for a new job on a 3-axis or 4-axis mill.
- 1Read the setup sheet and programConfirm stock size, work offset number, tool list and fixture. Check that T01 to T10 in the program match the physical carousel before you load anything.
- 2Clean the machine and mount the fixtureWipe table, T-slots and taper. Bolt the vise or fixture and tighten in a cross pattern. Re-check after tightening.
- 3Indicate the fixtureSweep the fixed jaw along X. Accept 0.01 mm over 150 mm for general work, 0.005 mm for tight work. Check Z parallelism with a dial indicator on the jaw top.
- 4Load the stock and set clampingSeat the part against the fixed jaw and the stop. Clamp with enough force to hold it during a 12 mm end mill cut, not so much that a 3 mm wall bows. Check with a feeler gauge that the part sits flat.
- 5Set X and Y work offsetsUse a 3D taster or edge finder on the datum corner. Enter the values into G54 to G59 as written on the sheet. Verify by moving to X0 Y0 and checking the position with the taster.
- 6Set Z and tool length offsetsTouch off each tool on a gauge block or machined face. Record length and diameter. Compare with the offset table and correct any difference over 0.01 mm.
- 7Run the first pass in airSingle block, rapid override 25 percent, feed override low. Watch distance-to-go for Z. Stop if any value disagrees with the setup sheet.
- 8Cut the first article and inspectMachine the critical features, then measure with calibrated instruments. Record actual values. If a dimension is out, change one offset or one tool value only, then re-cut.
Setup Time and Method by Machine Type
Typical values from our shop floor for parts under 400 mm.
| Machine type | Typical setup time | Best for | Watch out for |
|---|---|---|---|
| 3-axis vise setup | 15–30 min | Prismatic parts, one face | No access to side features |
| 4-axis with rotary | 45–90 min | Multi-face parts, one fixture | Rotary center must be indicated |
| 5-axis simultaneous | 2–4 h | Contoured, complex geometry | Collision checking is mandatory |
| Mill-turn center | 1–2 h | Turned and milled features | Sub-spindle sync and bar pull |
| Tombstone, multi-part | 1–3 h | Runs of 10 to 200 parts | One bad offset scraps a whole load |
The setup decides the part
A good setup is documented, indicated and verified before the first cut. If your job has tight tolerances, multiple faces or a deadline, send us the drawings and we will quote it with a DFM review inside 12 hours.
Frequently Asked Questions
How long does it take to set up milling CNC machine work?
A simple 3-axis vise job takes 15 to 30 minutes once the fixture is indicated. A 4-axis job with a rotary table takes 45 to 90 minutes. A 5-axis simultaneous job with collision checking takes 2 to 4 hours.
Repeat jobs with dedicated soft jaws and preset tools run much faster because the offsets and tool lengths are already documented.
Do I need to indicate the vise for every job?
If the vise was removed and re-mounted, yes. If it stayed bolted down and nothing heavy hit it, a quick sweep once a shift is enough.
For work holding tolerances tighter than ±0.02 mm we indicate every time and record the reading.
What is the best way to set Z on a milling machine?
Touch off on a gauge block sitting on a machined surface, or directly on a machined face of the fixture. Both give a flat, known reference.
Avoid saw cut stock and cast surfaces for Z reference. They can vary 0.2 mm or more and the error transfers straight to the part.
Why does my part come out tapered after a setup?
Most often the vise fixed jaw is not parallel to the X axis, or the part is not seated flat against the jaw and the stop. A 0.02 mm misalignment over 150 mm produces a visible taper on a long wall.
Check the jaw with a dial indicator, then re-seat the part and tap it down with a soft mallet before clamping.
Can I set up a job without a setup sheet?
On a one-off simple part, sometimes. On anything with two or more operations, a setup sheet is cheaper than the scrap it prevents.
The sheet also lets a different operator run the job on the next shift without asking questions that cost an hour.
When should I move a job to a 5-axis machine instead of multiple 3-axis setups?
When the part has features on four or more faces, or contoured surfaces that a 3-axis machine cannot reach without a special fixture. One 5-axis setup often replaces three or four 3-axis setups.
For simple prismatic parts with one critical face, a 3-axis vise setup is still faster and cheaper.
Send your part files for a setup and machining quote
Upload STEP or IGES files and we return a quotation with free DFM analysis within 12 hours. Uploads stay confidential and an NDA is available on request.
12-hour quote100% inspectionNo minimum order±0.005 mm tolerance