
axismd.ai
Siemens SINUMERIK Controller
Tool Changer · Intermediate · 30-120 minutes
Siemens 840D 104254 - Illegal magazine or location number
Alarm 104254 occurs when the NC program references a tool magazine number or location number that does not exist in the machine configuration or exceeds the defined limits. This typically happens due to incorrect T-number programming, misconfigured machine data for the tool changer, or attempting to access a magazine/pocket that is not defined in the system.
Siemens 840D 104254 - Illegal magazine or location number
Illegal magazine or location number
Siemens SINUMERIK alarm 104254: Illegal magazine or location number. 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 104254 occurs when the NC program references a tool magazine number or location number that does not exist in the machine configuration or exceeds the defined limits. This typically happens due to incorrect T-number programming, misconfigured machine data for the tool changer, or attempting to access a magazine/pocket that is not defined in the system.
Safety
Causes and Fixes
Review the NC program line where the alarm occurred and identify the T-number or magazine reference that triggered the alarm.
Check machine data MD18090 (MM_NUM_MAGAZINE) and MD18092 (MM_NUM_TOOL_LOCATION) to verify the maximum configured magazine numbers and locations available.
Cross-reference the programmed tool number with the tool management list (offset tables) to ensure the tool location assignment is within valid range.
Correct the NC program to use valid magazine and location numbers within the configured limits, or reassign the tool to a valid location in the tool management system.
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.