How to Setup Workpiece on CNC Machine
A practical sequence for dialing in a blank before the first cut. Written for machinists and process engineers who need repeatable position, not just a tight vise. After reading, you can pick a workholding method, set datums, and know when a setup is not worth running.

In this article
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
Key takeaways
What setup workpiece on cnc machine actually controls
Workholding sets three things at once: position, rigidity, and access. Position is where the part sits relative to the machine datums. Rigidity is how little the blank deflects under cutting force. Access is how many faces the tool can reach without moving the part. Get any of the three wrong and the other two will not save the job.
A vise bolted to a table looks rigid, but the jaw towers flex. On a 20 mm end mill at 3 mm radial depth in 6061, cutting force can reach 500–800 N. If the part sits 60 mm above the vise bed, that force bends the tower and tilts the part. The cut still looks fine on a roughing pass. The error shows up when you measure the wall after finishing.
Rigidity is a stack, not a single item. The blank, the jaws, the vise body, the table, and the spindle all deflect. The weakest link sets the limit. A heavy Kurt-style vise on a thin sub-plate is only as stiff as the sub-plate. Bolt the vise directly to the T-slots when the part allows it.
Access drives cost. Every time you unclamp and re-clamp, you add a position error of roughly 0.01–0.03 mm unless you re-indicate. On a part with four machined faces, that is three extra setups and three chances to lose the datum. Plan the setup order before you write the program.
Before the blank touches the table
Check the stock first. Measure the blank in three places per side with a micrometer. If the saw-cut face is out by 0.5 mm, the first face mill pass may not clean up, or the part may end up undersize after cleanup. For 6061 plate, order stock 1.5–2 mm oversize per machined face. For 17-4PH or Inconel, allow 2.5–3 mm because the material moves more after stress relief.
Decide the datum structure before you clamp anything. A common approach is: face A is Z zero, two edges of face A are X and Y zero, and the first machined face becomes the secondary datum. If the drawing calls out a GD&T datum scheme, use that scheme instead. Do not invent datums that the inspection department cannot reproduce.
Clean the table and the vise. A 0.05 mm chip under the vise base tilts the whole setup. Stone the vise bed, wipe the T-slots, and check the table for burrs with a diamond file. This takes two minutes and prevents the most common setup error we see in incoming inspection.
Think about the order of operations. Rough the top face, then the sides, then the pockets, then the finish pass on the datum face last. If you finish the datum face first, the later roughing passes can stress-relieve the material and pull the datum out of flat. On thin plates under 10 mm, flip this order only when you have a vacuum chuck or a support plate underneath.
- 1Stock allowance1.5–2 mm per face for aluminum, 2.5–3 mm for stainless and nickel alloys.
- 2Datum schemeMatch the drawing GD&T or use three orthogonal faces; never mix the two.
- 3CleanlinessStone the vise bed and wipe the T-slots. A 0.05 mm chip tilts the setup.
Choosing a workholding method for the part
A machine vise suits prismatic parts with two parallel sides and a flat base, up to roughly 400 mm long. Use soft jaws machined in place when the part has a curved or irregular profile. Soft jaws cost 30–60 minutes to bore and give you a repeatable nest for the whole batch. Hard jaws with a step are fine for one-offs, but they mark the sides and only contact on two lines.
A fixture plate or tombstone pays off at 50 parts and above. Drill and tap the plate to match the part's hole pattern, add dowel pins for location, and use swing clamps or toe clamps for hold-down. The first part takes an hour to set up. Parts 2 through 500 take two minutes each. On our 4-axis mills with a Ø400 mm rotary table, a tombstone lets us cut three faces per cycle without re-fixturing.
Vacuum chucks handle thin plates and non-ferrous parts that cannot take clamp marks. They work well down to 1 mm thickness if the plate is flat within 0.05 mm and the surface finish is Ra 1.6 μm or better. The limit is cutting force: a vacuum chuck holds roughly 0.05–0.08 N/mm² on a good seal, so use light radial cuts (0.3–0.5 mm) and high spindle speed to keep the load low.
Magnetic chucks are for ferromagnetic materials only. They shine on grinding and on light milling of steel plates where you need full face access. They do not work on 304 stainless in its annealed state, aluminum, or titanium. Do not try to mill a 6061 plate on a magnetic chuck; it will move on the first pass.
Dialing in the blank and touching off tools
Indicate the part, not the vise. Put a dial test indicator on the spindle and sweep the top face and one side. For a 100 mm long part, aim for 0.01 mm total runout on the side and 0.02 mm flatness on the top. If the part is out, tap it with a dead blow mallet while the clamps are snug but not tight. Tighten in a cross pattern, not around the perimeter.
Touch off tools on the part or on a known reference. Touching off on a rough saw-cut face introduces the surface error into your tool length. Use a Z-setter or a 50 mm gauge block on the vise bed instead. For a 10-tool job, touching off on the part can add 0.05 mm of error to every tool. On a 0.1 mm finish allowance, that is half your margin.
Set the work offset in the control, then verify it. Run the program with the spindle 50 mm above the part and watch the position display. If X0 Y0 Z0 does not land where you expect, stop and re-check. Air-cutting the first 20 lines costs 30 seconds; a crash costs a spindle and a week.
Record the offset numbers. When the job runs again next month, you want the same vise position, the same jaw step, and the same offsets. We keep a setup sheet for every repeat part, with jaw dimensions, clamp torque, and tool offsets. It cuts setup time on the second run by 40–60%.
Setup errors that scrap parts
Clamping on a machined surface with hard jaws is the most common one. The jaw teeth mark the finish, and the inspector rejects the part for cosmetic damage. Use soft jaws, brass shims, or a clamp on a non-critical face. On medical and aerospace parts, even a light jaw mark can be a nonconformance.
Another repeat offender: finishing a thin wall while it is clamped. A 2 mm wall in 6061 deflects 0.03–0.08 mm under a 20 N clamp load. Release the clamp and the wall springs back, and the dimension is out. Rough with the clamp on, then release and take a light finish pass at 0.2 mm radial depth.
Do not trust a vise that was dialed in last week. Thermal growth in the shop, a bumped clamp, or a chip under the base all move it. Re-indicate at the start of every job. Two minutes of checking beats a scrapped batch of 200 parts.
Finally, watch the Z reference. If you touch off on the top of a rough blank and the blank is 0.3 mm high on one corner, your first facing pass will be uneven. Touch off on a gauge block or a Z-setter at a known height, then let the program find the part.
- 1Jaw marksHard jaws on a finished face can fail cosmetic inspection. Use soft jaws or shims.
- 2Clamped thin wallsRelease the clamp before the finish pass, or the wall springs back out of tolerance.
- 3Stale dial-inRe-indicate the vise at the start of every job, not once a week.
Step by step: setup workpiece on cnc machine
Follow this order. Skipping a step moves the error to a place where it is harder to find.
- 11. Inspect and clean the blankMeasure stock in three places per side. Deburr saw-cut edges with a file. Wipe the blank and the vise bed. A 0.05 mm chip under the part tilts the setup.
- 22. Mount and indicate the viseBolt the vise to the T-slots with two clamps minimum. Indicate the fixed jaw parallel to the X axis within 0.01 mm over 100 mm. Re-check after tightening.
- 33. Load the part and seat itPush the part against the fixed jaw and down onto the bed. Tap with a dead blow mallet. For parts over 5 kg, use a support block under the overhang.
- 44. Clamp in a cross patternTighten the movable jaw to 20–30 N·m on a 150 mm vise. Alternate sides. Over-tightening bows a thin part by 0.02–0.05 mm; under-tightening lets it move.
- 55. Indicate position and flatnessSweep the top face and one side with a 0.01 mm indicator. Target 0.02 mm flatness and 0.01 mm side runout. Adjust with a mallet and shim stock, not with more clamp force.
- 66. Set work offsets and touch off toolsUse a Z-setter or gauge block on the vise bed. Enter X0 Y0 Z0, then verify by air-cutting the first 20 lines with the spindle 50 mm above the part.
- 77. Cut a test feature and measureFace the top, then measure thickness and flatness. If the part is out by more than 0.03 mm, stop and re-seat it before running the full program.
Workholding method by part type and batch size
Pick the row that matches your part. The middle column is the practical limit, not the catalog limit.
| Method | Best for | Watch out for |
|---|---|---|
| Machine vise + soft jaws | Prismatic parts, 1–500 pcs | Jaw lift on tall parts; re-bore each batch |
| Fixture plate / tombstone | 50–10,000 pcs, multi-face work | Setup time on part one; needs dowel location |
| Vacuum chuck | Thin plates 1–10 mm, non-ferrous | Low holding force; keep radial cut 0.3–0.5 mm |
| Magnetic chuck | Steel and cast iron, grinding | No holding on 304, aluminum, or titanium |
| Angle plate + toe clamps | Large or irregular blocks, one-offs | Slow to load; indicate every part |
| 5-axis vise / self-centering | Complex parts in one setup | Higher fixture cost; needs clearance check |
Setup is where the tolerance is won or lost
If the part moves, the machine cannot save it. Match the workholding to the batch size and geometry, indicate before every job, and release clamps before the finish pass on thin walls.
Setup questions engineers ask
How tight should I clamp a part in a vise?
For a 150 mm machine vise, 20–30 N·m on the handle is enough for most milling. That is roughly hand-tight plus a quarter turn.
More force does not improve position. It bows thin parts and can crack castings. If the part moves at 25 N·m, the problem is support or jaw contact, not clamp force.
Can I skip indicating if the vise was dialed in yesterday?
No. Thermal shifts in the shop, a bumped clamp, or a chip under the base can move the vise by 0.02–0.05 mm overnight.
Indicating takes two minutes. Scrapping a batch of 200 parts takes a week to recover.
What flatness should I aim for before the first cut?
Aim for 0.02 mm flatness on the seating face and 0.01 mm side runout over 100 mm. That is tight enough for most ±0.005 mm work.
If the part is out by more than 0.03 mm, re-seat it. Cutting will not fix a bad seat.
When is a dedicated fixture worth the cost?
At roughly 50 parts and above, or whenever the part has more than two machined faces. A fixture amortizes across the batch and removes re-fixturing error.
Below 50 parts, soft jaws in a vise are usually faster to set up and cheaper to make.
How do I hold a part with no parallel sides?
Use a fixture plate with dowel pins and toe clamps, or machine soft jaws to match the profile. Castings and forgings often need three-point support plus a clamp on a boss.
Do not rely on a vise alone for an irregular casting. It will rock under cutting load.
Does a 5-axis machine remove the need for good setup?
No. It reduces the number of setups, which is a real gain. But the first setup still has to be dialed in, or every face cut from that datum inherits the error.
One good setup on a 5-axis center is better than three average setups on a 3-axis mill. It is not a substitute for either.
Send us your part and setup requirements
Upload a STEP file and we will review workholding, datums, and tolerances. Quotation and DFM feedback within 12 hours. No minimum order quantity.
12-hour quote100% inspection±0.005 mm capabilityNDA on request