
axismd.ai
Siemens SINUMERIK Controller
Spindle · Intermediate · 30-120 minutes
Siemens 840D 21665 - Channel $AA_TOFF cleared
Alarm 21665 is an informational message indicating that the tool offset register $AA_TOFF (tool length offset) was active and has been cleared due to a RESET command executed while the offset was engaged. This occurs in the spindle/tool management subsystem when the NCK receives a RESET instruction during active tool offset compensation.
Siemens 840D 21665 - Channel $AA_TOFF cleared
Channel $AA_TOFF cleared
Siemens SINUMERIK 840D alarm 21665: Channel $AA_TOFF cleared. This alarm indicates a program or channel-level error on the SINUMERIK control. The part program or machine function cannot be executed as commanded.
Root Cause Summary
Alarm 21665 is an informational message indicating that the tool offset register $AA_TOFF (tool length offset) was active and has been cleared due to a RESET command executed while the offset was engaged. This occurs in the spindle/tool management subsystem when the NCK receives a RESET instruction during active tool offset compensation.
Safety
Causes and Fixes
Verify RESET source: Check PLC variable NC_RESET (or NC_RESET_COMMAND in Operate mode) in the Diagnostics > PLC > Input/Output menu to confirm RESET was intentionally triggered.
Review NC program flow: Confirm whether the RESET was expected (e.g., end of program, operator intervention). Check program structure and M02/M30 commands which trigger automatic RESET.
Inspect $AA_TOFF state before RESET: Use MDI to query the offset value with command 'MSG $AA_TOFF' or monitor via Machine > Tool Management > Current Offsets in the HMI before executing RESET.
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.