FANUC codes
FANUCProgram/G-codeIntermediate5-30 minutes

271

Fanuc 271 - Illegal command in high speed skip

ILLEGAL COMMAND IN HIGH SPEED SKIP

Fanuc PS program alarm 271: ILLEGAL COMMAND IN HIGH SPEED SKIP. 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 271 occurs when the CNC detects an incompatible or illegal G-code command within a high-speed skip function block (G31). This typically happens when commands that require axis deceleration, mode changes, or tool operations are programmed during active skip signal monitoring, which conflicts with the high-speed probing cycle requirements.

Safety

  • Verify corrected program or parameters before resuming machining

Causes and Fixes

  1. 1

    Review the program block containing G31 and identify all G-codes and M-codes on the same line or in the same modal group.

  2. 2

    Remove or relocate incompatible commands such as M06, G04, G10, G52, G53, coordinate system changes (G54-G59), or canned cycles (G73-G89) to blocks before or after the G31 skip function.

  3. 3

    Ensure only linear interpolation (G01) or G31 itself is programmed during the skip operation with appropriate feed rate and axis movements.

  4. 4

    Test the modified program in single block mode to verify the G31 skip cycle executes without alarm and properly responds to the skip signal input.

    Ensure probe or skip signal is properly connected before testing to prevent unexpected machine movement.

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.