
axismd.ai
FANUC Controller
Program/G-code · Basic · 15-30 minutes
Fanuc Alarm 345 - TOOL CHANGE ILLEGAL Z AXIS POS
Alarm 345 occurs when the machine attempts a tool change with the Z-axis positioned outside the allowable range defined in machine parameters. This is a safety interlock to prevent tool changer interference or collision. The alarm checks the actual Z-axis position against parameter-defined safe zones before allowing ATC (Automatic Tool Changer) operation.
Fanuc Alarm 345 - TOOL CHANGE ILLEGAL Z AXIS POS
SYSTEM ALARM 345
Fanuc alarm 345: SYSTEM ALARM 345. 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
Alarm 345 occurs when the machine attempts a tool change with the Z-axis positioned outside the allowable range defined in machine parameters. This is a safety interlock to prevent tool changer interference or collision. The alarm checks the actual Z-axis position against parameter-defined safe zones before allowing ATC (Automatic Tool Changer) operation.
Causes and Fixes
Check current Z-axis position on POSITION screen (POS key). Compare absolute machine coordinate against parameter 7071 (Z-axis tool change position) accessible via SYSTEM > PARAM > search for parameter number 7071.
Verify parameter 7073 (Tool change position tolerance) is not set too narrow. Typical value is 0.5-2.0mm. If set to 0, some systems require exact position match which may cause nuisance alarms.
Check ladder logic for ATC sequence (PMC > LADDER or use FAPT Ladder if available). Verify signal X-axis in position (typically G27.4) and Z-axis in position (G27.6) are both active before M06 execution. Use SYSTEM > PMC > PMCDGN to monitor these signals in real-time.
Review part program for proper tool change positioning. Ensure G28 Z0 (or G30) is commanded before M06, or that Z-axis moves to parameter-defined position. If using canned cycle, verify G80 cancellation before tool change.
Always establish machine zero reference (G28) before testing tool change sequences to ensure accurate position checking.
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.