
axismd.ai
FANUC Controller
Program/G-code · Intermediate · 15-30 minutes
Fanuc Alarm 370 - G31P/G04Q ERROR
Alarm 370 G31P/G04Q ERROR occurs when the P value specified in a G31 skip signal command or Q value in a G04 dwell command exceeds the allowable range defined by system parameters. For G31, P typically ranges from 1-4 (or 1-8 on some systems) to designate skip signal numbers; for G04, the Q value must be within the dwell time limits. This is a programming error that prevents execution until the out-of-range value is corrected.
Fanuc Alarm 370 - G31P/G04Q ERROR
SYSTEM ALARM 370
Fanuc alarm 370: SYSTEM ALARM 370. This alarm indicates a fault condition detected by the Fanuc control. Refer to the alarm number and name to identify the specific system or function involved.
Root Cause Summary
Alarm 370 G31P/G04Q ERROR occurs when the P value specified in a G31 skip signal command or Q value in a G04 dwell command exceeds the allowable range defined by system parameters. For G31, P typically ranges from 1-4 (or 1-8 on some systems) to designate skip signal numbers; for G04, the Q value must be within the dwell time limits. This is a programming error that prevents execution until the out-of-range value is corrected.
Causes and Fixes
Check the program line causing the alarm. Look for G31 commands and verify the P value (e.g., G31 P5 would fail if only 4 skip signals are available).
Navigate to SYSTEM > PARAM and check parameter 6200#0 (SKP) and parameter 6201 bits to verify multi-stage skip function is enabled and how many skip signals are configured (typically 4 standard, 8 extended).
Verify the physical skip signal configuration matches parameter settings by checking DIAGNOSIS > I/O screen for skip signal inputs X0.0-X0.3 (or X0.0-X0.7 for extended) are properly wired and recognized.
Correct the G31 P value in the program to match available skip signals (P1-P4 standard or P1-P8 extended). If more skip signals are needed, enable extended skip in parameters 6200-6201 and verify hardware connections.
Changing skip signal parameters requires machine restart and verification of probe/sensor hardware configuration
Call a technician if:
Prevention
Common Mistakes
Seeing Multiple Alarms?
Seeing another alarm with this one? Enter the code.
AxisMD logs alarms against your actual machines, tracks patterns, and gives AI context your manual doesn't have.
Start freeWas this guide helpful?
Always verify with your machine manual or a certified technician before performing service procedures.