Skip to content
Industrial Error Code Fixes
Go back

Fanuc Alarm 506 - Servo Following Error Fix

⚡ Quick Answer

Fanuc alarm 506 guide for servo following errors, axis load, encoder feedback, parameter 1828, drive faults, binding, and mechanical checks.

⚡ AT A GLANCEScroll down for full repair guide
What it meansFanuc Alarm 506 means the commanded position and feedback position are too far apart on the named axis, so the CNC stops motion to protect the machine and workpiece.
Most likely causeCommon causes are a binding ballscrew or guide, crash damage, servo amplifier alarm, damaged encoder cable, failed encoder or servo motor, low servo bus voltage, or machine-builder following-error parameters that no longer match the axis.
First checkRecord the faulted axis, note whether it happens during rapid or cutting feed, jog slowly through travel, inspect the servo amplifier display, check encoder connectors and cable bends, and compare PRM1828 or related parameters with the machine backup.
⏱Repair time20-45 minutes for axis identification, jogging, connector checks, and parameter comparison; 1-4 hours for amplifier swaps, encoder-cable replacement, or mechanical binding diagnosis.
🔧Part neededFanuc servo amplifier, encoder cable, servo motor or motor encoder, machine-specific ballscrew nut, and damaged axis hardware.
Repair intent

Need this fixed instead of diagnosed?

Fanuc alarm 506 guide for servo following errors, axis load, encoder feedback, parameter 1828, drive faults, binding, and mechanical checks.

Parts to price first

Check the part before you book service.

Fanuc servo amplifier

Use when the axis amplifier shows its own servo alarm and mechanical or encoder checks do not move the fault.

$500-$2000 Check price

Fanuc encoder cable

Replace a damaged feedback cable rather than splicing shielded servo encoder wiring.

Fanuc servo motor

Match the motor model, feedback type, brake option, and machine builder documentation before ordering.

$800-$3000 Check price

CNC ballscrew nut

Machine-specific mechanical replacement for binding or backlash that triggers following error under load.

$300-$1500 Check price

Fanuc Alarm 506 - Servo Following Error

Fanuc Alarm 506 appears on Fanuc 0i, 16i, 18i, 21i, 30i, and 31i CNC controls and indicates a servo following error. The difference between the commanded axis position and the actual feedback position has exceeded the allowable tolerance. When the control detects that an axis cannot keep up with the commanded trajectory, it stops motion and faults to prevent machining errors or mechanical damage.

The alarm typically displays as:

506 SERVO ALARM: n-AXIS FOLLOWING ERROR

Where n indicates the specific axis (X, Y, Z, A, B, etc.).


What Causes Alarm 506

The following error is the gap between where the CNC thinks the axis is (based on the commanded move) and where the feedback device (encoder or linear scale) reports it actually is. When this gap exceeds the tolerance set in Parameter 1828 (PRM1828), the alarm triggers.

Common causes:


Step-by-Step Diagnosis {#step-by-step-fix}

Step 1: Identify the faulted axis

The alarm message specifies which axis faulted (n-axis). Note whether the fault happens on a specific axis, during a specific motion type (rapid, feed, certain G-code), or at a specific machine position. This information is critical for narrowing the cause.

Step 2: Check for mechanical binding

With the machine powered and the alarm reset (if possible), jog the affected axis slowly through its full travel. Listen and feel for:

If the machine recently crashed, inspect the axis for bent components, broken ballscrew support bearings, or damaged linear guides.

Step 3: Inspect the servo amplifier

Check the servo amplifier (servo drive) for fault indicator LEDs. Fanuc servo amplifiers display their own alarm codes via a 7-segment LED on the front of the unit. Common servo amplifier alarms that accompany Alarm 506 include:

Document any servo amplifier alarm codes displayed before the main CNC control powers down the axes.

Step 4: Check the encoder and feedback cable

  1. Inspect the encoder cable from the servo motor to the servo amplifier for pinching, cuts, or damage at the cable entry points (common failure point is where the cable bends at the machine tool body).
  2. Check the encoder connector at the motor and at the amplifier for bent pins, moisture, or corrosion.
  3. If the machine has a dual feedback system (motor encoder + separate linear scale), check both feedback devices.
  4. With the CNC in diagnostic mode, monitor the feedback position as you manually move the axis. If feedback is jumping or reading zero, the encoder or cable has failed.

Step 5: Review relevant parameters

Key parameters related to Alarm 506:

ParameterFunctionNotes
PRM1828In-position following error toleranceIncrease cautiously if alarm is marginal
PRM1826In-position width
PRM1825Servo loop gain

Caution: Do not increase Parameter 1828 beyond the machine builder’s specification without understanding the root cause. Increasing the tolerance masks a real problem and can lead to parts being cut out of tolerance.

Step 6: Test the servo amplifier swap

If mechanical and encoder checks are clean, the servo amplifier is the prime suspect. Most shops have a spare amplifier for the most common axis. Swap the amplifier for the faulted axis and test. If the alarm moves to the new axis, the amplifier was not the cause. If the alarm clears, the original amplifier has failed.


How to Fix Alarm 506 {#how-to-fix}

Root CauseFix
Mechanical binding (ballscrew, guide)Lubricate or replace the failed mechanical component
Encoder cable damagedReplace the encoder cable — never splice a servo encoder cable
Encoder failedReplace the motor/encoder assembly
Servo amplifier failedReplace the servo amplifier
Parameters incorrect after restoreRestore machine parameters from the machine builder’s parameter backup
Following crashInspect all axis mechanical components; replace damaged parts

Parts That May Need Replacement {#parts-that-may-need-replacement}

PartTypical CostWhere to Buy
Fanuc Servo Amplifier (αi series)$500-$2,000+
Fanuc Encoder Cable$80-$300
Fanuc αi Servo Motor$800-$3,000+
Ballscrew Nut (machine specific)$300-$1,500

Need Replacement Parts?

Before ordering, match the machine-control part to the model number, electrical rating, feedback type, brake option, and failure symptom. Check current prices on Amazon - prices and availability change frequently.

Important on pricing: Fanuc servo drives are precision industrial components. Prices vary widely between new Fanuc-authorized parts, rebuilt units, and used surplus. Always verify part numbers against the machine tool builder documentation before ordering.


When to Call a Technician

Servo amplifier replacement on a Fanuc-controlled machining center requires proper parameter backup, careful hardware installation, and axis tuning after replacement. If you do not have machine parameter backups on file, do not replace the servo amplifier without a Fanuc-certified technician present — a machine that powers up with incorrect parameters can make violent unexpected moves.

Mechanical repairs to ballscrews and linear guides require precision alignment tools and should be performed by the machine tool builder’s service organization or a qualified rebuild shop.

Pro tip: Fanuc Alarm 506 that occurs only at the end of a rapid traverse move (G00) but not during cutting feed (G01/G02/G03) is almost always an acceleration/deceleration parameter issue or a servo loop gain mismatch — not a hardware failure. Check with the machine builder before replacing any hardware.

Quick FAQ

What does Fanuc Alarm 506 mean?

Fanuc Alarm 506 means the commanded axis position and the measured feedback position are too far apart. The control stops motion because the axis is not following the commanded move closely enough.

Is Fanuc Alarm 506 usually a parameter problem?

It can be, especially after a parameter restore or if the fault appears only at the end of rapid traverse. Do not widen following-error parameters until mechanical binding, encoder feedback, amplifier faults, and machine-builder settings have been checked.

What parts can cause Fanuc Alarm 506?

Common hardware causes include a servo amplifier fault, damaged encoder cable, failed motor encoder, weak servo motor, ballscrew or guide binding, and crash damage on the affected axis.


Share this post on:

Previous Post
Yaskawa SGD7S Fault Codes - Sigma-7 Alarm List
Next Post
Hurco CNC Fault Codes - WinMax Servo, Spindle, ATC Alarms