
axismd.ai
Siemens SINUMERIK Controller
Program/G-code · Intermediate · 30-120 minutes
Siemens 840D 101604 - Faulty subindex
Alarm 101604 indicates that a GUD (Global User Data) variable or machine data parameter has been accessed with an incorrect or non-existent subindex. This occurs when NC program code or PLC references an array element that is outside the defined range or uses a subindex where none exists for a scalar variable.
Siemens 840D 101604 - Faulty subindex
Faulty subindex
Siemens SINUMERIK alarm 101604: Faulty subindex. 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
Alarm 101604 indicates that a GUD (Global User Data) variable or machine data parameter has been accessed with an incorrect or non-existent subindex. This occurs when NC program code or PLC references an array element that is outside the defined range or uses a subindex where none exists for a scalar variable.
Safety
Causes and Fixes
Identify the line number in the NC program where the alarm occurred by checking the alarm details and current block display.
Review the GUD variable definition file (GUD3.DEF, GUD4.DEF, etc.) to verify the actual array dimensions and confirm the valid index range.
Check the NC program line for the variable reference and verify the subindex value does not exceed the defined array size (e.g., if VAR[10] is defined, valid indices are 0-9).
Correct the program syntax to use valid subindex values or modify the GUD definition to accommodate the required array size, then reload the GUD file.
After modifying GUD definitions, a control restart may be required to activate changes
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.