
axismd.ai
FANUC Controller
Program/G-code · Intermediate · 15-30 minutes
Fanuc Alarm 318 - ILLEGAL RELIEF AMOUNT IN DRILLING CYCLE
Alarm 318 occurs when using G74 (peck drilling/face grooving) or G75 (OD/ID grooving) multiple repetitive cycles with an escape/relief move direction specified, but the delta-d (incremental relief amount) parameter is programmed as a negative value. The control expects a positive delta-d value to determine the retract distance after each cut when relief is enabled.
Fanuc Alarm 318 - ILLEGAL RELIEF AMOUNT IN DRILLING CYCLE
MISSING ESCAPE DIRECTION IN G74/G75
Although an escape direction is set in a multiple repetitive canned cutting-off cycle (G74 or G75), a negative value is specified for delta-d.
Root Cause Summary
Alarm 318 occurs when using G74 (peck drilling/face grooving) or G75 (OD/ID grooving) multiple repetitive cycles with an escape/relief move direction specified, but the delta-d (incremental relief amount) parameter is programmed as a negative value. The control expects a positive delta-d value to determine the retract distance after each cut when relief is enabled.
Causes and Fixes
Review the active G74 or G75 program block. Check the syntax: G74/G75 R(e) where e is the escape/relief amount, followed by G74/G75 X__ Z__ P__ Q__ R__ F__ where Q is delta-d (incremental cut depth).
Verify that the Q value (delta-d) is programmed as a positive radius/diameter value without a negative sign. Example: G75 R0.5; followed by G75 X30. Z-20. P5000 Q500 F0.15; - the Q500 must be positive.
If relief is required, ensure the first G74/G75 block specifies R(e) with appropriate escape amount, then verify delta-d is positive. If no relief is needed, remove the R parameter from the first G74/G75 block entirely.
Correct the program by changing delta-d to a positive value or removing the relief specification. Reset alarm with RESET key, return to program start position, and restart cycle.
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.