FANUC codes
FANUCProgram/G-codeIntermediate5-30 minutes

084

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

  • Verify corrected program or parameters before resuming machining

Causes and Fixes

  1. 1

    Review the program block shown in the alarm display and identify which G-code command is active during scaling mode.

  2. 2

    Check for G28, G30, G52, G92, G41, G42, G43, G44, or any canned cycle (G73, G74, G76, G80-G89) between G51 and G50 commands.

  3. 3

    Move the prohibited command outside the scaling block by issuing G50 (cancel scaling) before the command, then reactivate G51 if needed afterward.

  4. 4

    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.

Service Recommended confidence

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.