Heidenhain codes
HeidenhainServo/AxisIntermediate30-120 minutes

320-0047

HEIDENHAIN 320-0047 - Configuration PLC compiler: Enter

Configuration PLC compiler: Enter

A PLC configuration or communication error has been detected. This affects the interaction between the control and the PLC system.

Root Cause Summary

HEIDENHAIN alarm 320-0047 occurs when the PLC compiler configuration file contains incorrect constant values for OMG_COUNT, CHANNEL_COUNT, AXIS_COUNT, or SPINDLE_COUNT that don't match the actual control hardware configuration. This typically happens after software updates, hardware changes, or corrupted configuration files.

Safety

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

Causes and Fixes

  1. 1

    Access machine parameters

    Press MOD key, select 'Machine Parameters' and navigate to MP100-MP199 axis configuration parameters to verify actual axis count.

    Check MP110 (number of axes) first as this is the master axis count parameter

  2. 2

    Check PLC configuration file

    Access Setup menu → PLC → Configuration and verify AXIS_COUNT constant matches the MP110 value exactly.

    Do not modify PLC configuration without proper backup

  3. 3

    Correct and recompile

    Update AXIS_COUNT to match MP110, save configuration, and restart PLC compiler from Setup → PLC → Compile PLC program.

    Always perform a complete PLC compilation after changing configuration constants

DIY Feasiblehigh confidence

Call a technician if:

  • ·PLC configuration file cannot be accessed
  • ·Machine parameters are corrupted
  • ·Multiple related alarms persist after correction

Prevention

  • Regular backup of PLC configuration files
  • Document all custom PLC constants
  • Verify PLC configuration after software updates
  • Monitor PLC compilation logs for warnings

Common Mistakes

  • Not matching constants to actual machine parameters
  • Forgetting to recompile PLC after configuration changes
  • Not backing up working configuration before modifications
  • Ignoring PLC compilation warnings

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.