FANUC CN C Machining Center: Step-by-step Guide
This guide walks through a full setup cycle on a FANUC cn c machining center, from power-up and referencing to first-article inspection. It is written for machinists and process engineers who already know G-code but want a repeatable order of operations. After reading, you should be able to judge where a setup typically goes wrong and which checks catch it before the first cut.

In this article
- 1
- 2
- 3
- 4
- 5
- 6
- 7
Key takeaways
What a FANUC cn c machining center actually controls
A FANUC cn c machining center is a machining center whose motion, spindle, tool changer and auxiliary functions are governed by a FANUC control. The control reads a part program, resolves it into axis commands, and closes the loop on position feedback. Everything a machinist does at setup is really about telling that loop where the part is and where the tool tip sits.
The practical consequence is that setup errors rarely look like setup errors. A wrong work offset shows up as a dimensional shift. A wrong tool length offset shows up as a crash or a gouge. A missed zero return shows up as a rapid move to a position that made sense in the last session. Knowing which variable causes which symptom is most of the job.
This guide assumes a vertical or horizontal machining center with a FANUC control, a tool magazine, and at least three linear axes. The same order of operations holds for a 3-axis mill, a 4-axis machine with a rotary table, and a simultaneous 5-axis center. The parameters change; the sequence does not.
We run 127 high-precision CNC machines across three plants in Dongguan, including 16 simultaneous 5-axis machining centers and 12 four-axis mills. The steps below are the ones our operators follow on every job, from a single prototype to a 10,000-part run.
- 1ControlFANUC motion, spindle and tool-change logic
- 2FeedbackEncoder or scale position loop on each axis
- 3OffsetsWork offset + tool length offset = where the cut happens
- 4ProgramGeometry, feeds, speeds and safe Z levels
Pre-checks that prevent most FANUC crashes
Before you load a program, confirm the machine state. Air pressure should sit in the range the builder specifies, usually 0.5–0.7 MPa. Check the way lube level and the spindle chiller if the machine has one. A dry way lube reservoir will alarm mid-cut, and recovery costs more time than the check.
Look at the tool magazine positions against the tool list in the program. If the program calls T07 and T07 is a face mill while the setup sheet expects a 6 mm end mill, stop there. On a FANUC control, tool data lives in the offset page, and a mismatched tool number is one of the fastest ways to scrap a fixture.
Confirm the work offset number matches the setup sheet. G54 through G59 are standard; extended offsets are common on machines with many fixtures. If the setup sheet says G55 and the program calls G54, the part will be cut in the wrong place by exactly the distance between the two origins.
Finally, check the program's safe Z. A clearance plane of 50–100 mm above the highest stock point is normal for the first rapid move. If the program's first Z rapid sits at the part surface, edit it before you run anything.
- 1Air pressure0.5–0.7 MPa, per machine spec
- 2Way lubeFull reservoir, pump cycles normally
- 3Tool listProgram tool numbers match the setup sheet
- 4Work offsetG54–G59 match the fixture layout
Work offsets, tool offsets and what they mean for tolerance
The work offset tells the control where the part datum sits in machine coordinates. You set it by touching a known surface with a tool or a probe and entering the machine position. On a FANUC control, you can write the offset directly into the work offset page or use the measure function after touching off.
The tool length offset tells the control how long each tool is relative to the reference position. Every tool in the magazine needs its own H number, and the program must call the matching H value. A tool length error of 0.1 mm is enough to break a small drill or cut a 0.1 mm deep witness mark into a finished face.
For work that has to hold ±0.005 mm, do not rely on touch-off alone. Use a probe or an indicator on a ground surface, and verify the offset by moving to a known coordinate and checking the readout. Repeat the check after the first tool change, because thermal growth in the spindle moves the reference between cold and warm states.
Thermal drift is real on any machining center. On a FANUC cn c machining center running aluminium at 8,000 rpm, the spindle can grow 10–20 μm in the first hour. If the job holds ±0.005 mm, either warm up the spindle for 15–20 minutes before setting offsets, or plan a mid-run re-check.
- 1Work offsetPart datum in machine coordinates
- 2Tool length offsetOne H number per tool, called in the program
- 3VerificationMove to a known coordinate and read the position
- 4Thermal drift10–20 μm spindle growth in the first hour
Dry run, air cut and first-article inspection
Run the program with the spindle stopped and the tool 50–100 mm above the stock. Use single block for the first pass, then continuous with a feed override around 25%. Watch the distance-to-go display on the FANUC control; it tells you how far the axis still has to travel, which is the fastest way to spot a wrong offset before contact.
After the dry run, run one part in air with the spindle turning but the stock raised or the Z offset shifted up by the clearance amount. This catches tool-change collisions, spindle orientation issues and any code that moves below the programmed safe plane. It costs a few minutes and saves fixtures.
Cut the first part at reduced feed, typically 50–70% of the programmed value. Check the first feature with calipers or a micrometer as soon as the tool clears. If the first dimension is off by a constant amount, the work offset is wrong. If the error grows across the part, suspect tool deflection or thermal drift.
Measure every critical dimension on the first article against the drawing. Record the values. On runs where we hold ±0.005 mm, the first article goes to inspection before the operator releases the rest of the batch. In-process checks follow at a frequency set by the feature's tolerance band.
- 1Dry runSingle block, 25% override, distance-to-go display
- 2Air cutSpindle on, stock raised by the clearance amount
- 3First part50–70% feed, measure as soon as the tool clears
- 4Constant errorPoints to a work offset problem
Step by step: setting up a FANUC cn c machining center
Follow the order. Skipping a step is how setups fail.
- 1Power up and reference every axisSwitch on, release E-stop, then zero return X, Y, Z and any rotary axis. Confirm the reference LED or position readout on each axis. Do not jog or run a program before referencing; the control's position is not trustworthy until it has seen the reference mark.
- 2Warm up the spindleRun a warm-up cycle for 15–20 minutes at increasing speeds, up to the maximum you will use. On jobs holding ±0.005 mm this is not optional. A cold spindle grows 10–20 μm in the first hour of cutting.
- 3Load and check the toolsPut each tool in the magazine position the setup sheet lists. Confirm the tool number, diameter and corner radius. Measure tool length with a presetter or on the machine, and write the value into the correct H offset.
- 4Set the work offsetTouch off or probe the part datum. Write the value into the G54–G59 offset the setup sheet names. Verify by moving to a known coordinate and comparing the position display to the expected value.
- 5Dry run the programRaise Z by 50–100 mm. Run in single block at 25% feed override. Watch distance-to-go on each axis. Stop on any move that does not match the setup sheet.
- 6Air cut one partSpindle on, stock offset up by the clearance amount. This catches tool-change collisions and any code below the safe plane. Fix the program before real cutting.
- 7Cut the first part and inspectRun at 50–70% feed. Measure every critical dimension against the drawing. Record the values. If a dimension is off by a constant amount, re-check the work offset before adjusting the program.
- 8Release the run with in-process checksSet a check frequency based on the tolerance band. For ±0.005 mm work, check the first part, then at intervals that catch drift before the batch is at risk. Trend the readings; do not just pass or fail them.
Common setup errors: symptom, cause, fix
Match the symptom before you touch an offset.
| Symptom | Likely cause | What to do |
|---|---|---|
| Every dimension shifted by the same amount | Work offset wrong or wrong G54–G59 | Re-verify the datum and the offset number |
| First tool cuts too deep or crashes | Tool length offset missing or wrong H number | Check the H value against the tool list |
| Rapid move goes to an unexpected position | Axis not referenced after power-up | Zero return all axes, then re-run |
| Dimensions drift during the run | Spindle thermal growth | Warm up longer, re-check offsets mid-run |
| One feature out of position, others fine | Fixture moved or part not seated | Re-clamp, check the fixture stops |
| Poor finish on one face only | Tool wear or wrong feed on that tool | Measure the tool, check the feed and speed |
| Alarm on tool change | Wrong tool in the magazine pocket | Match pocket numbers to the setup sheet |
The setup is a sequence, not a checklist
Reference, warm up, load tools, set offsets, dry run, air cut, inspect. When a part comes out wrong, the fix is almost always upstream of where the error showed up.
Questions engineers ask before a setup
Do I need to reference the machine every time I power it up?
Yes, on most FANUC-controlled machining centers the axes need a zero return after power-up so the control knows where it is. If your machine has absolute encoders and a battery backup, it may hold position, but confirm that in the machine documentation rather than assuming it.
How long should the spindle warm up before I set offsets?
For general work, 10 minutes at moderate speed is usually enough. For jobs holding ±0.005 mm, run 15–20 minutes and step the speed up to the maximum you will cut at. Then set your offsets. A cold-to-hot spindle can move 10–20 μm, which is more than the tolerance band on tight work.
What is the difference between a work offset and a tool length offset?
The work offset places the part datum in machine coordinates. The tool length offset places the tool tip relative to the reference position. Both are needed for every cut. A wrong work offset shifts the whole part; a wrong tool length offset changes how deep that one tool cuts.
How high should the safe Z be for a dry run?
50–100 mm above the highest point of the stock is a practical range. Higher is safer but slower to watch. If the part has tall clamps or a rotary table, measure the highest obstruction and add the clearance to that, not to the part surface.
When should I stop and re-check offsets during a long run?
Check after the first part, then at intervals set by the tolerance band. On ±0.005 mm work, a check every 20–30 parts is common on aluminium. If you see a trend rather than random scatter, stop and re-measure the tool and the spindle condition.
Can I run a program written for one machine on another FANUC control?
Often yes, if both machines use the same G-code dialect and the same work offset structure. Check the tool list, the work offset numbers and the safe Z before running. Differences in option packages, rotary axis configuration or tool change macros can change the behavior.
Send us your drawing before the setup debate starts
Upload a STEP file and we return a quotation with a free DFM analysis within 12 hours. Production can start within 24 hours, and parts ship in 3–5 days.
12-hour quote100% inspectionNo minimum order quantityNDA on request