Heidenhain codes
HeidenhainSpindleIntermediate30-120 minutes

231-A940

HEIDENHAIN 231-A940 - A940 Path exceeded during restricted spindle operation

A940 Path exceeded during restricted spindle operation

This TNC 640 error indicates an internal control fault. The issue relates to In the limited spindle operation, the maximum permissible pa.

Root Cause Summary

Alarm 231-A940 occurs when the spindle rotates more than 2 complete revolutions (720°) during restricted spindle operation mode. This safety limit prevents excessive spindle movement during positioning operations or when spindle orientation is active.

Safety

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

Causes and Fixes

  1. 1

    Check spindle positioning parameters

    Navigate to MOD → Machine Parameters → Spindle and verify MP7160 (spindle positioning speed) and MP7161 (spindle positioning tolerance) are correctly set.

    Typical positioning speed should be 10-50 RPM for most applications

  2. 2

    Verify spindle encoder feedback

    Check encoder signals in PLC → Inputs/Outputs → Spindle Encoder. Verify clean quadrature signals and proper index pulse detection.

    Ensure spindle is stationary before checking encoder signals

  3. 3

    Test manual spindle positioning

    Use MDI mode and execute M19 commands to test spindle positioning. Monitor actual vs. commanded position in the position display.

    Start with small incremental moves like M19 S0, then M19 S90 to isolate the issue

  4. 4

    Check mechanical spindle condition

    Inspect spindle for mechanical binding, worn bearings, or excessive friction that could prevent proper positioning.

    Perform mechanical inspection only with spindle power OFF and locked out

DIY Feasiblehigh confidence

Call a technician if:

  • ·PLC programming changes required
  • ·Drive amplifier replacement needed
  • ·Encoder hardware replacement required

Prevention

  • Regular spindle encoder calibration
  • Periodic verification of positioning parameters
  • Monitor spindle positioning performance trends

Common Mistakes

  • Ignoring encoder resolution specifications
  • Incorrect gear ratio calculations
  • Skipping spindle calibration after 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.