FANUC codes
FANUCProgram/G-codeIntermediate5-30 minutes

397

Fanuc 397 - Smooth interpolation parameter error

SMOOTH INTERPOLATION PARAMETER ERROR

Fanuc PS program alarm 397: SMOOTH INTERPOLATION PARAMETER ERROR. 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 397 occurs when the smooth interpolation (G05.1) command contains invalid parameters, incorrect syntax, or values outside the acceptable range. This is typically caused by programming errors in the Q, P, or tolerance parameters, or attempting to use smooth interpolation on a control that doesn't fully support the specified mode.

Safety

  • Verify corrected program or parameters before resuming machining

Causes and Fixes

  1. 1

    Locate the G05.1 command in the program near the alarm occurrence and verify the Q parameter is 0, 1, or 2 only.

  2. 2

    Check that P parameter (if used) is within 1-10000 range and tolerance values are positive non-zero numbers.

  3. 3

    Review parameter 19500-19547 (AI Contour Control/Smooth Interpolation settings) to confirm the control supports the requested mode.

    Changing system parameters requires proper authorization and can affect all programs.

  4. 4

    Correct the G05.1 command syntax to match control specifications or use G05.1 Q0 to disable smooth interpolation if not needed.

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.