FANUC codes
FANUCProgram/G-codeIntermediate5-30 minutes

191

Fanuc 191 - Illegal command in helical interpolation

ILLEGAL COMMAND IN HELICAL INTERPOLATION

Fanuc PS program alarm 191: ILLEGAL COMMAND IN HELICAL INTERPOLATION. 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 191 occurs when the CNC detects an improperly formatted helical interpolation command (G02/G03 with I, J, K arc parameters combined with a third axis for helical motion). The most common causes are mixing incompatible G-code commands in the same block, incorrectly specifying the helical axis, or programming a helical move that violates the control's geometric constraints.

Safety

  • Verify corrected program or parameters before resuming machining

Causes and Fixes

  1. 1

    Locate the block number shown in the alarm display and review the part program at that line.

  2. 2

    Verify the helical block contains ONLY G02 or G03, arc center parameters (I, J, K or R), the circular plane axes (e.g., X, Y), and ONE additional axis for the helix (e.g., Z).

  3. 3

    Remove any canned cycles, rapid positioning commands, coordinate system commands, or cutter compensation calls from the helical interpolation block.

  4. 4

    If tool offset or work coordinate changes are needed, program them in a separate block before or after the helical move.

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.