
axismd.ai
Siemens SINUMERIK Controller
Program/G-code · Intermediate · 30-120 minutes
Siemens 840D 104021 - Error on searching for empty location
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.
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
Causes and Fixes
Access tool management screen (HMI: Services > Tool Management) and verify the magazine status display shows available empty locations.
Compare physical magazine contents with the tool list in the control. Note any discrepancies between actual empty pockets and control data.
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.
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.
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.