Siemens SINUMERIK codes
Siemens SINUMERIKProgram/G-codeBasic5 - 15 minutes

12020

Siemens 12020 - Block illegal address modification

Block illegal address modification

Siemens SINUMERIK alarm 12020: Block illegal address modification. Detailed remedy is being verified against the current Siemens diagnostics manual.

Root Cause Summary

SINUMERIK alarm 12020 'Invalid Address' occurs when the control system attempts to access a memory address or data location that is not properly configured or accessible. This typically happens during data transfer operations between the NCK, PLC, or HMI components when addressing parameters, variables, or memory locations that are outside valid ranges or improperly defined.

Safety

  • Only qualified personnel should diagnose and clear control alarms; follow the machine builder's safety procedures and lockout/tagout where hardware work is required.

Causes and Fixes

  1. 1

    Check R-Parameter Range

    Navigate to HMI > Commissioning > Machine > Machine Data and verify MD18118 (MM_NUM_USER_DATA_REAL) and MD18120 (MM_NUM_USER_DATA_INT) to confirm available R-parameter and user variable ranges.

    R-parameters are numbered from R0 to the value defined in MD18118-1

  2. 2

    Verify Variable Declaration

    In the part program, check that all R-parameters, GUD variables, and LUD variables are within the configured limits. Use HMI > Diagnostics > Service > Variables to view current variable allocations.

    Accessing undefined variables can cause system instability

  3. 3

    Review System Variable Access

    If accessing system variables like $AC_PARAM or $TC_PARAM, verify the syntax and ensure the requested parameter number exists in the current SINUMERIK version using the variable list in the programming manual.

DIY Feasiblehigh confidence

Call a technician if:

  • ·Memory configuration changes required
  • ·PLC program modifications needed
  • ·Persistent errors after parameter verification

Prevention

  • Regularly backup machine data and tool management
  • Validate all variable addresses during program development
  • Monitor memory usage trends
  • Keep PLC and NCK interface configurations synchronized

Common Mistakes

  • Assuming R-parameter ranges without checking MD18118
  • Not accounting for tool 0 in tool management
  • Modifying memory parameters without system restart
  • Using outdated variable syntax from older SINUMERIK versions

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.