
axismd.ai
FANUC Controller
Program/G-code · Intermediate · 15-30 minutes
Fanuc Alarm 145 - ILLEGAL USE OF G12.1/G13.1
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.
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
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.
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.
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.
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
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.