Heidenhain TNC Error 399 — What It Means
Error 399 on Heidenhain TNC controls (TNC 640, TNC 530, TNC 620) indicates an axis error — the control detected a position or velocity discrepancy on one of the controlled axes beyond the allowable tolerance. Heidenhain’s digital drive system monitors position feedback continuously; Error 399 fires when the following error (difference between commanded and actual position) exceeds the threshold set in the machine parameters.
Common Causes
- Mechanical binding or excessive load — A binding axis guideway, over-tightened ballscrew preload, or heavy cutting load prevents the servo from tracking the commanded path within tolerance.
- Drive or motor fault — A degraded servo amplifier or motor reduces available torque, causing following error on demanding moves.
- Encoder feedback problem — A damaged Heidenhain linear encoder, angle encoder cable, or dirty encoder scale causes position feedback errors that trigger Error 399.
- Contaminated linear encoder scale — Heidenhain linear encoders are sensitive to coolant contamination on the glass scale, which causes erratic position readings.
Step-by-Step Fix
- Identify the affected axis — The TNC display shows which axis generated Error 399. Note it.
- Check for mechanical binding — Move the affected axis by hand (with E-stop engaged if safe). Smooth motion with no rough spots is expected. Any resistance indicates a mechanical issue.
- Inspect linear encoder — Visually inspect the Heidenhain scale and read head for contamination, damage, or debris. Clean the scale with Heidenhain cleaning solution if dirty. Check the read head mounting and gap.
- Check encoder cable — Inspect from the encoder/read head to the control for damage or loose connectors. Heidenhain uses a proprietary EnDat or 1Vpp interface.
- Reset and test — After addressing the root cause, press [CE] to clear the error, re-execute reference return, and run a slow test move through the full axis travel.
Parts Often Needed
| Part | Notes |
|---|---|
| Heidenhain encoder cable | Replace if damaged; must match encoder interface type |
| Encoder read head | Replace if contaminated beyond cleaning |
| Linear scale cleaning kit | Heidenhain-approved cleaning solution and lint-free cloth |
Related Resources
- Browse all CNC machine error codes — Fanuc, Haas, Mazak, Siemens, and more
- Cincinnati CNC Fault Codes — Complete Troubleshooting Guide
- CNC Alarm Reset Guide: How to Clear Alarms Safely
- CNC Machine Error Codes: Complete Troubleshooting Guide
Need Replacement Parts?
Finding the right replacement parts for your equipment is critical to getting it running again. Check current prices on Amazon — prices and availability change frequently.
When to Call a Pro
Heidenhain encoder replacement requires precise alignment and gap setting. Heidenhain-trained service engineers handle scale and read head replacement on precision machine tools.