Skip to content
Industrial Error Code Fixes
Go back

Heidenhain Error Code 399 Servo Error — Causes & Fix

⚡ Quick Answer

What Heidenhain TNC 640 error code 399 means, why a servo error occurs, and how to diagnose and recover the axis.

⚡ AT A GLANCEScroll down for full repair guide
What it meansWhat Heidenhain TNC 640 error code 399 means, why a servo error occurs, and how to diagnose and recover the axis.
Most likely causeMost CNC faults come from servo load, spindle load, cabinet cooling, drive power, encoder feedback, or parameter conditions. Start with the lowest-risk checks before replacing parts.
First checkConfirm the exact alarm text, check cabinet cooling and obvious axis or spindle load, then follow the model-specific checks below.
⏱Repair time10-45 minutes for basic checks
🔧Part neededDrive cooling fan
Repair intent

Need this fixed instead of diagnosed?

What Heidenhain TNC 640 error code 399 means, why a servo error occurs, and how to diagnose and recover the axis.

Likely parts to price

Price the common parts before you book service.

Drive cooling fan

Common heat-related VFD and servo-drive failure point.

Keypad operator panel

Useful when the drive display or controls fail.

Braking resistor

Price this on braking, deceleration, and overvoltage faults.

Heidenhain Error Code 399 — What It Means

Error 399 on a Heidenhain TNC 640 (and related iTNC/TNC series) controls indicates a servo error — the control detected a following error (lag error) on a servo axis that exceeded the allowable tolerance. This means the actual axis position fell too far behind the commanded position during motion. The machine stops and this error is displayed to prevent incorrect machining or machine damage from an axis that is not tracking the commanded path.

Jump to Fix

Common Causes

Step-by-Step Fix

  1. Clear the error and inspect for physical obstruction — Check the full travel range of the affected axis for any physical obstruction — clamps, tooling, chip buildup, or way covers that are pinched or jammed.
  2. Manually jog the axis slowly — After clearing the error with the TNC Reset button, manually jog the axis at very low feed rate through its full range. Listen and feel for grinding, binding, or unusual resistance.
  3. Check axis lubrication — Verify the central lubrication system is operating and that the lubrication distributor for the affected axis is supplying oil. Dry guides create dramatically higher friction and following errors.
  4. Inspect the encoder cable and read head — For linear encoders (Heidenhain scales), check the read head for contamination and verify the cable is not damaged. Clean the linear scale with Heidenhain-approved cleaning solution.
  5. Check servo drive parameters — In the Heidenhain machine parameters (MP), verify the following error tolerance (machine parameter MP 1420 or equivalent) is set appropriately for the machine’s speed and acceleration profile. A tolerance set too tight will cause nuisance errors.
  6. Verify servo drive operation — Open the electrical cabinet and check the servo drive for any fault LEDs or displays. A servo drive fault may appear simultaneously with TNC error 399.
  7. Reset and test — After addressing the mechanical or electrical cause, reset the error on the TNC, perform a reference return, and run the machine through a test cycle at reduced feed rate.

Parts Often Needed

PartNotes
Linear encoder read headReplace if contamination or physical damage is found
Encoder feedback cableReplace if intermittent signal is confirmed
Ball screw support bearingReplace if ball screw binding is due to bearing failure
Servo drive moduleReplace if drive has a confirmed hardware fault accompanying error 399

Need Replacement Parts?

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

When to Call a Pro

Heidenhain servo system tuning (following error tolerance, drive gains) requires a Heidenhain-certified machine tool builder or service technician. Encoder calibration after replacement also requires proper alignment tools and Heidenhain service software.


Share this post on:

Previous Post
Heidenhain TNC Error 399 — Causes & Fix
Next Post
Mazak Alarm 100 Spindle Alarm — Causes & Fix