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

Get Instant Quote

CNC knowledge

FANUC CNC parameters: what each group controls and when to change it

Every FANUC-controlled machine keeps its geometry, servo response and safety limits in parameter files, not in the mechanical build. This page explains which parameter groups matter to a machinist, what they physically change, and where changing them stops being a repair and starts being a risk. Written for process engineers and shop supervisors who see alarm codes and dimensional drift on the same machine.

7 parameter groupsBacklash & pitch errorReference positionServo gain
FANUC CNC parameters setting and alarm reference for machine tools
How the parameter file is organised

What FANUC CNC parameters actually store

A FANUC control holds thousands of parameter numbers, but they fall into a small number of jobs. Some describe the machine to the control: how many pulses equal 1 mm of travel, where the reference point sits, how much backlash the ball screw has. Others describe how the servo should behave: gain, filter time, torque limit. A third group is pure safety and option configuration, and touching it can lock a function you paid for.

The control does not know your machine. It only knows the numbers you feed it. That is why two identical-looking VMCs from the same builder can behave differently after a board swap: the new board arrived with default parameters, and the geometry stored in the old board was never written down. The machine still moves, but the pitches, backlash compensation and reference offsets no longer match the iron.

This is the practical reason a parameter backup belongs next to the program library. It is not bureaucracy. A single lost file can turn a machine that holds ±0.005 mm into one that drifts 0.05 mm over a 300 mm cut, and no amount of tool offset tweaking will recover it.

In the sections below we walk through the groups that show up most often on the shop floor: reference position, pitch error, backlash, servo gain, spindle, stroke limits and option bits. For each one we cover what it changes, the symptoms of a wrong value, and the boundary where you should stop and call the builder.

  • 1
    Machine geometryPulses per unit, reference point, pitch error, backlash.
  • 2
    Servo behaviourLoop gain, feed-forward, filter time, torque limits.
  • 3
    Safety and optionsStroke limits, alarm thresholds, function enable bits.
Group 1 and 2

Reference position and pitch error parameters

The reference position parameter tells the control where machine zero physically is. On a typical FANUC mill this is stored per axis as a grid shift value relative to the one-rotation signal from the encoder. Change it by even a few counts and every tool offset in the library becomes wrong by that amount. The symptom is clean, repeatable, wrong parts: bores come out consistently oversize by the same value on all features.

Pitch error compensation is the other half of the geometry story. Ball screws are not perfectly linear. Over 500 mm of travel the actual distance moved can deviate from the commanded distance by tens of microns. Pitch error parameters store a table of correction points along the axis, and the control adds a small offset at each point. A machine with a healthy compensation table holds size across the whole stroke. A machine with a blanked or wrong table holds size only near the point where it was last calibrated.

You can spot a missing pitch table without a laser interferometer. Cut a test bar with steps at 50 mm intervals along the axis and measure each step with a micrometer. If the error grows in a smooth ramp instead of wandering randomly, the compensation table is either absent or belongs to a different machine.

Do not rebuild a pitch table by trial and error. It needs a laser or a ball bar under controlled temperature, and the measurement should be repeated in both directions. On a machine used for ±0.005 mm work this is a scheduled task, not a breakdown task.

  • 1
    Reference positionGrid shift per axis. Wrong value shifts every feature equally.
  • 2
    Pitch errorCorrection table along the stroke. Wrong table gives ramped size error.
Group 3

Backlash parameters and reversal error

Backlash parameters tell the control how much lost motion exists when an axis reverses direction. The control adds that amount as a pulse burst during reversal so the tool reaches the commanded position. Set it too low and climb-milled walls show a visible step at every direction change. Set it too high and the axis overshoots on reversal, which shows up as a bump on the opposite side of the feature.

The right value comes from measurement, not from a datasheet. Mount a dial indicator on the table, touch the spindle nose against it, and jog the axis in one direction, then the other. The difference between commanded and indicated movement is the reversal error. Do this at several points along the travel, because backlash is rarely constant.

Backlash compensation is a patch, not a cure. It works well on a healthy ball screw with a few microns of lost motion. On a worn screw with 40 μm of backlash the compensation becomes unstable: the axis chatters at reversal and surface finish collapses. At that point the screw needs replacement or preload adjustment, and the parameter should be reset after the mechanical repair.

A useful rule: if the measured backlash grows between two quarterly checks, schedule the mechanical inspection. Do not keep raising the parameter value to chase it.

  • 1
    Too lowVisible step on walls at each reversal.
  • 2
    Too highOvershoot bump, chatter, poor finish.
  • 3
    Mechanical limitBacklash above roughly 20–30 μm needs repair, not more compensation.
Group 4

Servo gain and filter parameters

Servo parameters decide how hard the motor pushes to close the position error. Raise the gain and the axis follows the commanded path more tightly, which improves contour accuracy on corners and arcs. Raise it too far and the axis starts to vibrate, then trips an overload or position error alarm. Lower the gain and the machine sounds calm, but corners round off and the tool lags behind on fast moves.

The first gain to check when a machine is retuned is the position loop gain, usually expressed as a velocity loop gain and a position loop gain pair. Most builders publish a starting range, and on a typical VMC the position loop gain sits in the region of 30–60 per second. The exact number depends on the machine mass, the screw pitch and the rigidity of the structure.

Filter parameters matter as much as gain. A low-pass filter in the velocity loop smooths the current command and suppresses resonance from the mechanical structure. Too much filtering and the axis feels sluggish and lags on reversal. Too little and a high-pitched whine appears at certain feed rates. The goal is the smallest filter that removes the resonance peak.

A practical tuning sequence is: set gain to the builder's baseline, run a circular test with a ball bar, raise gain in small steps until the roundness error stops improving, then add filter only if a resonance peak appears. Never tune gain by ear alone. The number that sounds good may not be the number that cuts round.

  • 1
    Higher gainBetter contour accuracy, higher risk of vibration.
  • 2
    Lower gainStable but sluggish, corners round off.
  • 3
    FilterSuppresses resonance. Use the minimum that works.
Group 5

Spindle and tool change parameters

Spindle parameters cover orientation position, acceleration and deceleration ramps, and the speed limits the control will accept. Orientation position matters on machines that use a two-pin drive or a specific keyway alignment for tool holders. If it drifts, tool holders stop seating cleanly and runout increases.

Acceleration ramps decide how fast the spindle reaches commanded speed. A very aggressive ramp shortens cycle time but loads the drive and the belt. On older machines a softened ramp can remove an intermittent spindle alarm that only appears on rapid speed changes. This is a legitimate trade: a small cycle time loss in exchange for a stable spindle.

Tool change parameters are usually stored in the PMC side rather than the CNC parameter page, but they behave the same way: they define positions, timings and interlocks. A wrong tool change position parameter is one of the fastest ways to crash a machine. Never adjust these without the builder's documentation and a dry run at reduced rapid override.

Spindle and tool change parameters are also where the machine's safety interlocks live. If someone has disabled an interlock to make a cycle run, the parameter file will show it. Backups are worth reading, not just storing.

  • 1
    OrientationSets spindle stop angle for tool holder seating.
  • 2
    RampsTrade cycle time against drive load and stability.
  • 3
    InterlocksSafety logic. Never disable to save a few seconds.
Group 6 and 7

Stroke limits and option bits

Stroke limit parameters define the soft limits the control enforces before the hard limit switch is reached. They protect the machine, the fixture and the part. When a fixture is taller than usual, the right move is to verify the soft limit value against the actual travel, not to widen it casually. A soft limit set wider than the physical travel offers no protection at all.

Option bits enable functions such as high-speed machining modes, additional axes or specific canned cycles. These are licensed features. Changing an option bit to enable a function the machine was not sold with is a licensing violation and can also destabilise the control, because the function may depend on hardware that is not installed.

The safe rule for option bits is simple: read them, record them, do not edit them. If you need a function that is not enabled, talk to the machine builder or the control supplier about the proper license path.

One last point that ties the whole page together. Parameter changes are invisible in the finished part. That is what makes them dangerous. A wrong tool offset shows up immediately as an obvious size error. A wrong pitch table shows up as a slow drift across a batch, and by the time the trend is clear you may have shipped parts. Keep the backup current, log every change with a date and a reason, and re-verify with a test cut after any edit.

  • 1
    Soft limitsMust stay inside the physical travel.
  • 2
    Option bitsLicensed features. Record, do not edit.
  • 3
    Change logDate, parameter number, old value, new value, reason.
Quick reference

Which parameter group fixes which symptom

Symptoms listed here are the ones a machinist can measure with a micrometer, a dial indicator or a ball bar.

Parameter groupWhat it changesTypical symptom when wrongSafe to edit?
Reference positionMachine zero per axisAll features shifted by the same amountNo, needs builder data
Pitch errorCorrection table along the strokeSize error ramps smoothly over long travelNo, needs laser calibration
BacklashLost motion at reversalStep or bump on walls at direction changeYes, with measurement
Servo gainHow tightly the axis follows the pathRounded corners or high-pitched vibrationYes, with ball bar test
Spindle rampsAcceleration and deceleration timingIntermittent spindle alarm on speed changesYes, within builder range
Soft limitsTravel the control will allowAlarm before reaching the switch, or no protectionYes, with care
Option bitsLicensed functions and modesFunction missing, or control instability if forcedNo

Where to draw the line

If the symptom is repeatable size error with no vibration, start with geometry parameters: reference position, pitch error, backlash. If the symptom is vibration, poor finish or rounded corners at speed, work on servo gain and filters instead. Do not touch option bits or reference position without a current backup and the builder's value in hand.

FAQs

Questions we hear from the shop floor

How often should we back up the parameter file?

Take a full backup after every commissioning, after any board replacement, and after any tuning session. Between those events, a quarterly copy is enough.

Store it off the machine. A backup that lives only on the control's own memory card is not a backup.

Can we copy parameters from an identical machine?

Only the option bits and a few general settings. Geometry parameters are specific to each machine's iron and encoder, even on a twin built in the same week.

Copying pitch error or reference position between machines usually makes accuracy worse, not better.

The machine holds size at the centre of the table but drifts at the edges. Is that parameters?

It can be pitch error compensation, but check the mechanical causes first: thermal growth, fixture clamping distortion, and table sag on a long overhang.

If the drift follows a smooth curve along one axis and repeats in both directions, the compensation table is the likely cause.

What does a position error alarm usually mean?

The axis could not close the gap between commanded and actual position within the allowed time. Common causes are gain set too high, a mechanical bind, or a drive fault.

Do not simply raise the alarm threshold. That hides the fault and lets the axis run further out of position.

Do parameter changes need to be re-checked after a crash?

Yes. A crash can shift the reference position, damage the ball screw and change the effective backlash. Re-measure backlash and verify reference position before running production again.

A test cut at the start of the next job is cheap insurance.

Is there a way to tell whether servo tuning is the problem or the tool is?

Cut the same feature at two feed rates. If the error grows with feed rate, the servo loop is lagging. If it stays the same, look at the tool, the holder or the workholding.

A ball bar test separates the two quickly when both are suspected.

Need parts cut on a machine that holds its numbers

Send us your drawings and we will quote within 12 hours, with a free DFM review and a clear tolerance statement for every critical feature.

12-hour quote100% inspection±0.005 mm capability3-5 day shipping

Follow

More machining notes

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