Siemens SINUMERIK codes
Siemens SINUMERIKProgram/G-codeIntermediate30-120 minutes

101604

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

  • Refer to Siemens documentation
  • Ensure qualified technician performs repairs

Causes and Fixes

  1. 1

    Identify the line number in the NC program where the alarm occurred by checking the alarm details and current block display.

  2. 2

    Review the GUD variable definition file (GUD3.DEF, GUD4.DEF, etc.) to verify the actual array dimensions and confirm the valid index range.

  3. 3

    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).

  4. 4

    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

Service Recommended confidence

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.