
axismd.ai
Siemens SINUMERIK Controller
Program/G-code · Intermediate · 30-120 minutes
Siemens 840D 100413 - Error var. access: Value illegal
SIEMENS alarm 100413 occurs when an illegal value is written to or read from a system variable, typically during NC program execution or HMI operations. This alarm indicates that a variable access operation has failed due to invalid data type, out-of-range values, or attempting to write to read-only system variables.
Siemens 840D 100413 - Error var. access: Value illegal
Error var. access: Value illegal
Siemens SINUMERIK alarm 100413: Error var. access: Value illegal. This alarm indicates an error condition in the NC program or control configuration that must be resolved before the operation can continue.
Root Cause Summary
SIEMENS alarm 100413 occurs when an illegal value is written to or read from a system variable, typically during NC program execution or HMI operations. This alarm indicates that a variable access operation has failed due to invalid data type, out-of-range values, or attempting to write to read-only system variables.
Safety
Causes and Fixes
Check NC program line causing alarm
Navigate to Diagnostics > Alarms > Detail view to identify the specific NC block and variable mentioned in %1 parameter.
Use single block mode (SBL1) to isolate the exact program line causing the issue
Verify variable value ranges
Check if assigned values are within valid ranges for the specific system variable using SINUMERIK documentation or HMI variable monitor.
Never assign values outside documented ranges as this can cause system instability
Validate data type compatibility
Ensure the assigned value matches the expected data type (INTEGER, REAL, STRING) for the target variable using variable list in HMI.
Use DEF statements to explicitly declare variable types in subroutines
Test with corrected values
Modify the NC program with valid values and test in single block mode before full execution.
Call a technician if:
Prevention
Common Mistakes
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.