Heidenhain codes
HeidenhainParameterIntermediate30-120 minutes

126-0113

HEIDENHAIN 126-0113 - PLC output for shutdown has multiple definitions

PLC output for shutdown has multiple definitions

A PLC output for post-shutdown machine switch-off is declared in both the IOC file and the machine parameters. Because the configuration data entry takes precedence, the duplicate definition causes a conflict.

Root Cause Summary

This alarm is triggered by the TNC control's PLC compiler detecting multiple assignments to the same safety-critical shutdown output. The control enforces strict rules that emergency shutdown and safety-related outputs can only have one controlling assignment point to prevent logic conflicts that could compromise machine safety.

Safety

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

Causes and Fixes

  1. 1

    Access PLC programming environment

    Press MOD key, navigate to PLC PROGRAMMING MODE. Enter PLC password (typically machine-builder or service-level). Select EDIT PLC PROGRAM to access the PLC source code.

    Only authorized personnel should modify PLC programs. Incorrect changes can affect machine safety systems.

  2. 2

    Search for shutdown output assignments

    Use the SEARCH function in the PLC editor to find all instances of the output marker shown in the alarm text (typically ESTOPM, M4700, or similar safety marker). Document each location where this output is assigned.

    Use 'Search All Files' function to scan both the main plc.plt and all included module files in one operation.

  3. 3

    Identify duplicate assignments

    Review each found instance and determine which is the primary/correct assignment (usually in the main safety logic section) and which are duplicates. Check modification dates and comments to understand when duplicates were introduced.

    Machine manufacturer's original code is typically in lower-numbered module files or marked with manufacturer comments.

  4. 4

    Remove duplicate definitions

    Delete or comment out the duplicate assignments, retaining only the primary shutdown output definition. Ensure the remaining assignment is in the appropriate safety logic section with proper interlocks.

    Never remove all instances. Exactly one shutdown output assignment must remain for proper safety function.

  5. 5

    Compile and verify PLC program

    Select COMPILE PLC PROGRAM from the PLC menu. Verify compilation completes with 0 ERRORS. Review any warnings to ensure they are acceptable. Save the modified program.

    Create a backup of the working PLC program to the TNC:PLC directory with a dated filename before testing.

  6. 6

    Test shutdown functionality

    Exit PLC programming mode and restart the control. Verify emergency stop and safety shutdown functions operate correctly. Test all E-STOP buttons and safety interlocks per machine safety checklist.

    Full safety system validation is required after any PLC changes affecting shutdown logic.

DIY Feasiblehigh confidence

Call a technician if:

  • ·If emergency stop function fails after changes
  • ·If unsure about which shutdown definition to keep
  • ·If IOC file appears corrupted or unreadable

Prevention

  • Always backup configurations before software updates
  • Document PLC output assignments in machine logbook
  • Use consistent configuration method (either IOC or machine parameters, not both)
  • Verify configuration integrity after any restore operation

Common Mistakes

  • Modifying both IOC and machine parameters simultaneously
  • Not restarting system after configuration changes
  • Assuming IOC definitions override machine parameters (opposite is true)
  • Forgetting to test emergency stop function after 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.