Siemens SINUMERIK codes
Siemens SINUMERIKProgram/G-codeAdvanced20-60 minutes

17020

Siemens 17020 - Block illegal array index 1

Block illegal array index 1

Siemens SINUMERIK alarm 17020: Block illegal array index 1. Detailed remedy is being verified against the current Siemens diagnostics manual.

Root Cause Summary

SIEMENS alarm 17020 occurs when the tool magazine indexing system fails to reach the commanded pocket position within the monitoring time defined in MD18080 (TOOL_CHANGE_TIME_MONITOR). The NC waits for position confirmation via DB31.DBX or encoder feedback signals that never arrive before the watchdog timer expires.

Safety

  • Safety Integrated alarm: work may only be carried out by qualified personnel. After any change to Safety Integrated settings or hardware, repeat the Safety Integrated acceptance test before returning the machine to service.

Causes and Fixes

  1. 1

    Check Position Sensor Status

    Navigate to DIAGNOSIS > PLC > I/O Status and verify magazine position sensors in DB31.DBX are switching correctly during manual magazine rotation.

    Use Service Display S7-300/400 to monitor real-time I/O states

  2. 2

    Verify Sensor Wiring

    Check 24VDC supply and signal continuity to position sensors using multimeter. Verify connections at PLC input modules.

    Disconnect power before checking wiring connections

  3. 3

    Test Sensor Response

    Manually trigger each position sensor and confirm corresponding DB31.DBX bit changes state in PLC diagnostics.

    Dirty or misaligned sensors often cause intermittent position detection

DIY Feasiblehigh confidence

Call a technician if:

  • ·PLC program modifications required
  • ·Drive amplifier replacement needed
  • ·Magazine mechanical rebuild required

Prevention

  • Regular magazine position sensor cleaning
  • Periodic verification of MD18080 timeout values
  • Scheduled magazine bearing lubrication
  • Monitor PLC program backup consistency

Common Mistakes

  • Setting MD18080 too low after magazine maintenance
  • Ignoring intermittent position sensor signals
  • Not checking mechanical coupling after drive work
  • Modifying PLC logic without updating documentation

Related Alarms

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.