FANUC codes
FANUCProgram/G-codeIntermediate5-30 minutes

335

Fanuc 335 - Illegal command in boring cycle

ILLEGAL COMMAND IN BORING CYCLE

Fanuc PS program alarm 335: ILLEGAL COMMAND IN BORING CYCLE. 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 335 occurs when the control detects an improperly formatted or illegal command within a boring cycle (G85, G86, G87, G88, G89). This typically involves incorrect positioning commands, feedrate issues, or unsupported G-codes being programmed while a boring cycle is active.

Safety

  • Verify corrected program or parameters before resuming machining

Causes and Fixes

  1. 1

    Review the boring cycle block (G85-G89) in the program and verify that an F word (feedrate) is present in the same block or is modal from a previous line.

  2. 2

    Check that the feedrate value is within the machine's acceptable range (typically 1-10000 mm/min or 0.01-400 in/min depending on machine specifications).

  3. 3

    If feedrate is missing, add an appropriate F word to the boring cycle block (e.g., G89 X__ Y__ Z__ R__ F__).

  4. 4

    Reset the alarm, return to the start of the program or the affected block, and restart the cycle to verify the correction.

    Ensure the tool is clear of the workpiece before restarting

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.