FANUC codes
FANUCProgram/G-codeBasic15-30 minutes

345

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

  1. 1

    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.

  2. 2

    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.

  3. 3

    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.

  4. 4

    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.

DIY Feasiblehigh confidence

Call a technician if:

  • ·Servo system malfunction detected
  • ·Parameter changes required beyond operator authority
  • ·Physical limit switch replacement needed

Prevention

  • Always use G28 reference return before tool changes
  • Regularly verify tool change position parameters
  • Include proper Z-axis positioning in all tool change sequences

Common Mistakes

  • Forgetting G28 command before M06
  • Using work coordinates instead of machine coordinates for tool change positioning
  • Ignoring tool length compensation effects on Z-axis position

Related Alarms

Seeing Multiple Alarms?

Seeing another alarm with this one? Enter the code.

Get machine-aware diagnosis

AxisMD logs alarms against your actual machines, tracks patterns, and gives AI context your manual doesn't have.

Start free

Was this guide helpful?

Always verify with your machine manual or a certified technician before performing service procedures.