
axismd.ai
FANUC Controller
Program/G-code · Intermediate · 15-30 minutes
Fanuc Alarm 142 - ILLEGAL SCALE RATE
Fanuc Alarm 142 occurs when the G51 scaling command is programmed with an invalid scale factor. The system detects a scaling rate (P value) that is either 0, negative, or equal to/greater than 10000, which are outside the permissible range for coordinate scaling. This is a program-side error that prevents execution until the scale value is corrected.
Fanuc Alarm 142 - ILLEGAL SCALE RATE
SYSTEM ALARM 142
Fanuc alarm 142: SYSTEM ALARM 142. 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 142 occurs when the G51 scaling command is programmed with an invalid scale factor. The system detects a scaling rate (P value) that is either 0, negative, or equal to/greater than 10000, which are outside the permissible range for coordinate scaling. This is a program-side error that prevents execution until the scale value is corrected.
Causes and Fixes
Press RESET to clear the alarm. Note the program name and line number (N number) displayed when the alarm occurred.
Navigate to EDIT mode and search for G51 commands in the active program. Check the P parameter value immediately following G51 (format: G51 X__ Y__ Z__ P____). Typical valid range is P1 to P9999 where P1000 = 1.0 scale factor.
Correct the P value to a valid scaling factor. For example, P2000 = 2x scale, P500 = 0.5x scale. If scaling is not needed, remove G51 and add G50 (scale cancel) instead.
Verify parameter 5004 bit 4 (SCL) is set to 1 to enable scaling function. Navigate to SYSTEM > PARAM and check parameter 5004. If bit 4 = 0, scaling commands will cause errors.
Parameter modification requires parameter write enable (PWE) switch and may require machine restart.
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.