
axismd.ai
Heidenhain Controller
Parameter · Intermediate · 30-120 minutes
HEIDENHAIN 126-0115 - PLC output for switch-off is improperly defined
The root cause is an improper or missing definition of the PLC output marker responsible for controlling NC power shutdown functions. This is typically due to PLC programming errors, incomplete PLC compilation, or corrupted PLC files where the control cannot identify a valid, uniquely assigned output for safe machine switch-off operations.
HEIDENHAIN 126-0115 - PLC output for switch-off is improperly defined
PLC output for switch-off is improperly defined
The output used to turn off the machine after shutdown is configured incorrectly. It may point to a non-existent internal PL, or its address lies outside the valid O0–O30 range.
Root Cause Summary
The root cause is an improper or missing definition of the PLC output marker responsible for controlling NC power shutdown functions. This is typically due to PLC programming errors, incomplete PLC compilation, or corrupted PLC files where the control cannot identify a valid, uniquely assigned output for safe machine switch-off operations.
Safety
Causes and Fixes
Access PLC programming environment
Press MOD key, enter password if required, select 'PLC' and then 'EDIT'. Open the file SYS_PLC.P which contains the main PLC program and system marker definitions.
Always create a backup copy of the PLC program before making any modifications using the PLC SAVE function.
Locate switch-off output definition
Search for 'NC_POWER_OFF' or 'NC_SWITCH_OFF' using the PLC search function. This marker should be defined and assigned to a physical output or internal marker consistent with your machine configuration.
Common assignments are M4000-M4999 range for system functions. Check your machine manufacturer's PLC documentation for the specific marker number.
Verify correct marker syntax
Ensure the marker definition follows correct Heidenhain PLC syntax: the output must be properly declared (e.g., 'M4010 = NC_POWER_OFF') and the logic must set this marker appropriately for shutdown conditions.
Improper configuration of shutdown logic can prevent emergency stop functions from working correctly.
Compile and test PLC program
Select 'PLC COMPILE' from the PLC menu to compile the program. Check for compilation errors. If successful, exit PLC mode and cycle power to the control to reload the PLC program.
Review the PLC compilation report for warnings or errors that might indicate other related issues.
Call a technician if:
Prevention
Common Mistakes
Related Alarms
Seeing Multiple Alarms?
Seeing another alarm with this one? Enter the code.
AxisMD logs alarms against your actual machines, tracks patterns, and gives AI context your manual doesn't have.
Start freeWas this guide helpful?
Always verify with your machine manual or a certified technician before performing service procedures.