How to Set Up a CNC Machine
Setting up a CNC machine means preparing it to cut a specific part correctly: the right fixture and tools, known positions for every tool and for the part, and safe clearances before the cycle starts. Setup work splits into preparing the machine, mounting the work, and proving out positions on the control. Lathe and milling setups follow the same logic, but the details of workholding and offsets differ.
- A setup sheet that lists fixture, tools, offsets and program number keeps the job repeatable.
- Workholding and the fixture decide how rigidly the part sits, so check them before touching offsets.
- Tool offsets and work offsets describe two different positions and both must be measured and verified.
- A warm-up cycle brings the spindle and axes to a stable state before the first cut.
- Dry run and single block the program, then check the first part before running production.
Read the setup sheet before touching the machine
The setup sheet is the document that tells you what the job needs, and it is the first thing a machinist reads. It names the program number, the fixture, the tools in their positions, and the offsets to load or measure. Without it, every setup becomes a guessing game that costs time and scrap.
Check the sheet against the job packet and the tool list before you start. Confirm the program revision matches the drawing and that every listed tool is available and in good condition. If something on the sheet does not match reality, resolve it before the machine is touched so the correction happens once.
Plan the order of work on paper or in your head: machine preparation, workholding, tool loading, offsets, proving the program, and the first part. A planned sequence keeps you from clamping a part before you realize a tool is missing. The setup sheet should be updated after the job if anything changed.
Prepare the machine and warm up the spindle
Machine preparation means cleaning the work area, checking the way covers and the chip conveyor, and confirming lubrication and air supply. A clean table or chuck face helps a fixture seat flat and repeat. Do this before any clamping so contamination never sits under the part.
Spindle warm-up is a short programmed cycle that runs the spindle and axes through their range at increasing speeds. It brings bearings and ballscrews to a stable temperature so positions measured cold stay close after cutting. Follow the warm-up routine kept with the machine rather than inventing one on the spot.
Check the coolant level, the condition of the nozzles, and the air pressure at the machine. Confirm the door interlocks and the emergency stop work as intended. A CNC machine moves fast under program control, so a machine that is not ready to run is a hazard before it is an accuracy problem.
Mount the workholding and the fixture
Workholding is the system that holds the part, and the fixture is the dedicated device that locates it. In a milling setup the fixture usually sits on the table with a known zero point; on a lathe the chuck or collet holds the blank on the spindle axis. A rigid, clean mount is the base every later step depends on.
Clean the table or chuck face and the fixture base, then seat the fixture and tighten in a pattern that avoids tipping it. Check the fixture against a dial indicator where the part location depends on it. On a lathe, check that the jaws grip the blank on a sound surface and that the part does not protrude beyond the intended stick-out.
Verify clearance for the tool path and the machine head, and confirm the part cannot move under cutting force. Thin walls and unsupported sections need support, or they will deflect and chatter. Where the setup needs a special fixture or a heavy lift, bring in a trained specialist instead of improvising.
- Clean the mounting face and the fixture base before seating.
- Tighten in a cross pattern to keep the fixture flat.
- Check the locating feature with a dial indicator.
- Confirm part stick-out and tool clearance.
- Test that the part cannot shift by hand before cutting.
Load the tools and measure tool offsets
Tool offsets tell the control where the tip of each tool sits relative to the machine reference, and every tool needs its own value. Load each tool in the position the program expects, as the setup sheet lists it. A tool in the wrong station cuts with the wrong offset and ruins the part.
Measure each tool on the machine with a touch-off, a tool setter, or a presetter, then enter the value in the offset table. Confirm the tool number, the length and the radius or tip geometry match the program's expectations. Check the offset sign, because a negative length where a positive belongs drives the tool into the work.
After measuring, call each tool in the air and watch the position display move as expected. A quick visual check of the tool tip against a known point catches a wrong number before the first cut. Keep the offset page as the single record, and clear or reload it when the job changes.
Set the work offset and the zero point
The work offset defines the zero point of the part in machine coordinates, and every program is written around that point. In a milling setup the zero often sits at a corner or the center of the part top; on a lathe the zero is tied to the spindle face and centerline. Setting it correctly makes the program's coordinates land on the part.
Touch off the part on each axis the program needs, then store the values in the correct work offset page such as G54. On a lathe, set the Z zero against the face and confirm the X value against a known diameter. Verify the zero by moving to a safe height and checking the position display against the drawing.
Check the relationship between the work offset and the part once more before cutting. A zero point set on the wrong face shifts every feature, and the error shows up in the first part. Write the measured values on the setup sheet so the next run can compare.
Prove the program before the first cut
Proving the program means running it with no cutting risk, and it is the step that catches setup mistakes. Run a dry run with the tool above the part or use the machine's graphics and distance-to-go display. Watch the clearance planes, the tool changes and the retract moves at a slow feed.
Use single block and a feed override low enough to stop the machine if something looks wrong. Confirm the first tool approaches from the right side and that the work offset sends it to the part. Keep a hand near the feed hold until the first feature is cut.
Check the program number and the revision once more before the cycle runs in automatic. A program proven on one setup sheet does not prove the offsets of another. Stop the run if any move differs from the plan, and fix the cause rather than overriding through it.
Check the first part and lock the setup
The first part is the proof of the setup, and measuring it confirms the offsets and the tool data together. Check the features the drawing controls, then compare them with the expected values before releasing the job. If a dimension is off, decide whether the cause is a tool offset, a work offset, or the program.
Record the as-run numbers, the offset values, and any adjustment on the setup sheet. A setup that repeats later depends on those records, especially the fixture position and the tool list. Note anything that needed correction so the next machinist starts from the same known state.
Run the rest of the batch only after the first part passes and the setup is locked in. Keep the setup sheet with the job until it is finished. If the job pauses and restarts, verify the offsets and the zero point again before cutting.
Questions about CNC machine setup
What is the difference between a CNC mill setup and a CNC lathe setup?
A CNC milling setup holds the part on a table fixture and moves a rotating tool around it, while a CNC lathe setup holds the blank in a chuck or collet and turns it against a stationary tool. Milling setup focuses on the work offset at the part and the tool length and radius; lathe setup focuses on the spindle face and centerline for the zero point. Both share the same order: preparation, workholding, tool data, offsets, and proving the program.
Do I need to set tool offsets if the program already has them?
Yes, tool offsets must be verified against the actual tools in the machine, because a loaded tool is rarely identical to the one the program was written for. Measure the length and the radius or tip geometry for each tool in its station. Confirm the values match the setup sheet and check the sign before cutting.
Why does spindle warm-up matter before a setup cut?
Spindle warm-up stabilizes the temperature of the spindle and the machine structure before cutting. Positions measured on a cold machine can shift once the machine heats up, so warm-up keeps the offsets meaningful. Follow the warm-up routine supplied with the machine, and do not skip it on a job that needs tight control.
How do I check that my work offset is correct?
Touch off the part on each axis the program uses and store the values in the correct work offset page. Then move to a safe height and compare the position display with the drawing and the setup sheet. A quick check of a known feature on the part before cutting catches a zero point set on the wrong face.
What should I do before running the program in automatic mode?
Prove the program first with a dry run or graphics, using single block and a low feed override. Confirm each tool approaches from the planned direction and the clearance planes hold. Keep the feed hold ready until the first feature is cut correctly.
Read next
-
Spark Igniter Not Working
-
How to Start Using Fusion 360 for CNC
-
CNC Machine Operating Instructions
-
How to Start a CNC Machine Step by Step
-
How to Grind Tires
-
CNC Program for Taper Turning
-
Milling Machine Operation
-
How to make a homemade cutting board
-
How to Mill Without a Milling Machine
-
How to Use a Manual Milling Machine