
axismd.ai
FANUC Controller
Program/G-code · Basic · 5-15 minutes
Fanuc Alarm 347 - TOOL CHANGE ILLEGAL COMMAND IN SAME BLOCK
Fanuc Alarm 347 occurs when the CNC detects multiple tool change commands (M06) or conflicting tool selection/change operations within a single NC program block. This is a programming error where the part program violates the fundamental rule that only one tool change operation can be executed per block.
Fanuc Alarm 347 - TOOL CHANGE ILLEGAL COMMAND IN SAME BLOCK
SYSTEM ALARM 347
Fanuc alarm 347: SYSTEM ALARM 347. This alarm indicates a fault condition detected by the Fanuc control. Refer to the alarm number and name to identify the specific system or function involved.
Root Cause Summary
Fanuc Alarm 347 occurs when the CNC detects multiple tool change commands (M06) or conflicting tool selection/change operations within a single NC program block. This is a programming error where the part program violates the fundamental rule that only one tool change operation can be executed per block.
Causes and Fixes
Navigate to the program screen (EDIT or MEM mode), press the ALARM key, and verify the exact block number causing alarm 347.
Review the flagged block for duplicate M06 codes or multiple T-code/M06 combinations (e.g., 'T01 M06 T02 M06' or 'M06 M06').
Edit the program to separate tool changes into individual blocks. Proper format should be one block with T-code, followed by a separate block with M06 (e.g., 'N100 T01;' then 'N110 M06;').
Reset the alarm (RESET key), return to program start or correct block, and perform dry run to verify proper tool change sequence execution.
Call a technician if:
Prevention
Common Mistakes
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.