
axismd.ai
FANUC Controller
Program/G-code · Intermediate · 5-30 minutes
Fanuc 84 - Illegal command in scaling
Alarm 84 occurs when the control detects an incompatible G-code command within a scaling (G51) mode block or between G51 activation and G50 cancellation. Certain commands such as canned cycles, tool length compensation, or reference point returns cannot be executed while scaling is active. The alarm protects against geometric calculation errors that would result from scaling operations applied to these restricted commands.
Fanuc 84 - Illegal command in scaling
ILLEGAL COMMAND IN SCALING
Fanuc PS program alarm 84: ILLEGAL COMMAND IN SCALING. This alarm is triggered by an illegal or incorrectly formatted command in the part program, or a programming condition that the Fanuc control cannot execute.
Root Cause Summary
Alarm 84 occurs when the control detects an incompatible G-code command within a scaling (G51) mode block or between G51 activation and G50 cancellation. Certain commands such as canned cycles, tool length compensation, or reference point returns cannot be executed while scaling is active. The alarm protects against geometric calculation errors that would result from scaling operations applied to these restricted commands.
Safety
Causes and Fixes
Review the program block shown in the alarm display and identify which G-code command is active during scaling mode.
Check for G28, G30, G52, G92, G41, G42, G43, G44, or any canned cycle (G73, G74, G76, G80-G89) between G51 and G50 commands.
Move the prohibited command outside the scaling block by issuing G50 (cancel scaling) before the command, then reactivate G51 if needed afterward.
Verify program execution in single block mode to confirm the alarm is cleared and machining coordinates are correct.
Always verify scaled dimensions with a dry run or first article inspection after program modifications.
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.