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

104021

Siemens 840D 104021 - Error on searching for empty location

Error on searching for empty location

Siemens SINUMERIK alarm 104021: Error on searching for empty location. 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 104021 occurs when the control system cannot locate an available empty memory location for tool management or magazine operations. This typically happens during automatic tool change sequences when the system attempts to find a free slot in the tool magazine but encounters configuration errors, full magazine conditions, or corrupted tool management data.

Safety

  • Refer to Siemens documentation
  • Ensure qualified technician performs repairs

Causes and Fixes

  1. 1

    Access tool management screen (HMI: Services > Tool Management) and verify the magazine status display shows available empty locations.

  2. 2

    Compare physical magazine contents with the tool list in the control. Note any discrepancies between actual empty pockets and control data.

  3. 3

    Check machine data MD18090 (MM_NUM_MAGAZINE_LOCATION) to verify magazine capacity matches physical magazine pocket count.

    Incorrect machine data modification can cause machine malfunction. Document original values before changes.

  4. 4

    If mismatches exist, perform a complete tool magazine inventory update or execute a magazine initialization routine to synchronize control data with physical reality.

    Magazine initialization will reset all tool location data. Document current tool positions before proceeding.

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.