
axismd.ai
Siemens SINUMERIK Controller
Program/G-code · Intermediate · 30-120 minutes
Siemens 840D 104031 - There is no preselected tool
Alarm 104031 occurs when the CNC program attempts to execute a tool change or tooling operation without a valid tool being preselected. The control system expects a T-word (tool preselection) command to have been executed before the M06 (tool change) or before certain machining operations that require tool data.
Siemens 840D 104031 - There is no preselected tool
There is no preselected tool
Siemens SINUMERIK alarm 104031: There is no preselected tool. This alarm indicates a required configuration element, parameter, or program component is missing or has not been set up.
Root Cause Summary
Alarm 104031 occurs when the CNC program attempts to execute a tool change or tooling operation without a valid tool being preselected. The control system expects a T-word (tool preselection) command to have been executed before the M06 (tool change) or before certain machining operations that require tool data.
Safety
Causes and Fixes
Review the NC program at the point where the alarm occurred and identify the M06 command line number.
Check if a T-word command (e.g., T1, T5) exists in the program lines immediately before the M06 command.
If missing, insert the appropriate T-word command on the line before M06 (e.g., N100 T1 followed by N110 M06).
Ensure the tool number specified matches an existing tool in the tool management system.
Reset the alarm, restart the program from a safe position, and verify the tool change executes correctly.
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.