FANUC codes
FANUCProgram/G-codeIntermediate15-30 minutes

145

Fanuc Alarm 145 - ILLEGAL USE OF G12.1/G13.1

SYSTEM ALARM 145

Fanuc alarm 145: SYSTEM ALARM 145. 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 145 occurs when G12.1 (polar coordinate interpolation ON) or G13.1 (polar coordinate interpolation OFF) is programmed with an invalid axis specification or plane selection that doesn't match the machine configuration. This typically happens when the specified axes for polar interpolation are not properly configured as a valid plane, or when attempting polar interpolation on an axis combination not supported by the control parameters.

Causes and Fixes

  1. 1

    Review the program line causing the alarm. Verify G12.1/G13.1 syntax matches format: G12.1 or G12.1 I__ J__ (center coordinates). Check that axis addresses specified exist in machine configuration.

  2. 2

    Navigate to SYSTEM > PARAM and check parameter 1022 (number of controlled axes). Verify the axes referenced in polar interpolation command do not exceed this value.

  3. 3

    Verify plane selection G-code (G17/G18/G19) is active before G12.1 command. G12.1 uses the currently selected plane. Check parameters 1022-1025 for valid plane axis assignments.

  4. 4

    Correct program to use valid axis combination. Standard: G17 (X-Y plane), G18 (Z-X plane), G19 (Y-Z plane) before issuing G12.1. Ensure only two axes are involved in the polar interpolation plane.

    Never use G12.1 without first selecting a valid plane with G17, G18, or G19

DIY Feasiblehigh confidence

Call a technician if:

  • ·Parameter changes don't resolve the issue
  • ·Software options are missing or expired
  • ·Axis configuration requires hardware changes

Prevention

  • Always specify plane selection (G17/G18/G19) before using G12.1/G13.1
  • Verify axis names match machine configuration before programming polar interpolation
  • Test polar coordinate programs in single block mode first

Common Mistakes

  • Using axis names not configured on the machine
  • Forgetting to specify working plane before polar interpolation
  • Mixing up axis numbers and axis names in polar commands

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.