Heidenhain codes
HeidenhainDriveIntermediate30-120 minutes

231-A021

HEIDENHAIN 231-A021 - A021 Cancelation of brake line test. Guard door open

A021 Cancelation of brake line test. Guard door open

This TNC 640 error relates to the motor brake system. The control has detected an issue with brake operation or testing.

Root Cause Summary

HEIDENHAIN alarm 231-A021 occurs when guard doors are detected open during the automatic brake control test or brake line test sequence. The TNC system cancels the brake test as a safety precaution since proper enclosure integrity is required during spindle brake verification procedures.

Safety

  • Refer to Heidenhain service manual
  • Ensure qualified technician performs repairs

Causes and Fixes

  1. 1

    Check door interlock status in TNC diagnostics

    Navigate to MOD > Service > Diagnosis > PLC and check input status for door interlock switches (typically I0.x inputs).

    Use the TNC's real-time I/O display to watch switch states while manually operating door latches.

  2. 2

    Verify physical door closure

    Ensure all guard doors are fully closed and latched properly. Check door alignment and latch engagement.

    Never bypass safety interlocks - repair faulty switches instead.

  3. 3

    Test interlock switch continuity

    With power off, use multimeter to verify switch contacts change state when door is opened/closed. Check wiring to TNC input terminals.

    Common failure points are worn switch actuators and corroded terminals in the door hinge area.

  4. 4

    Replace faulty interlock switches

    Install new safety-rated interlock switches matching original specifications. Update PLC program if input assignments change.

    Use only safety-certified switches rated for the application's safety category.

DIY Feasiblehigh confidence

Call a technician if:

  • ·PLC programming modifications required
  • ·Safety system certification needed
  • ·Multiple interlock switches failing simultaneously

Prevention

  • Regular door interlock switch inspection and cleaning
  • Maintain proper cable routing separation
  • Periodic PLC program backup and validation
  • Monitor brake test execution timing regularly

Common Mistakes

  • Bypassing safety interlocks instead of repairing
  • Ignoring EMI shielding requirements
  • Modifying PLC timing without safety analysis
  • Not documenting parameter changes

Seeing Multiple Alarms?

Seeing another alarm with this one? Enter the code.

Get machine-aware diagnosis

AxisMD logs alarms against your actual machines, tracks patterns, and gives AI context your manual doesn't have.

Start free

Was this guide helpful?

Always verify with your machine manual or a certified technician before performing service procedures.