
axismd.ai
FANUC Controller
Program/G-code · Basic · 10-20 minutes
Fanuc Alarm 320 - ILLEGAL MOVEMENT AMOUNT IN DRILLING CYCLE
Alarm 320 occurs when the CNC detects a negative value for the cutting depth (Q word) or shift amount (P word) in high-speed peck drilling cycle G74 or back boring cycle G75. The control cannot execute these canned cycles with negative movement values as they violate the fundamental logic of these drilling operations.
Fanuc Alarm 320 - ILLEGAL MOVEMENT AMOUNT IN DRILLING CYCLE
SYSTEM ALARM 320
Fanuc alarm 320: SYSTEM ALARM 320. 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 320 occurs when the CNC detects a negative value for the cutting depth (Q word) or shift amount (P word) in high-speed peck drilling cycle G74 or back boring cycle G75. The control cannot execute these canned cycles with negative movement values as they violate the fundamental logic of these drilling operations.
Causes and Fixes
Review the active program block that triggered the alarm. Check the G74 or G75 line for the Q word value - it must be a positive value representing incremental depth.
In EDIT mode, navigate to the alarm-triggering block. For G74, verify Q__ is positive (typical range 0.1-50.0mm or 0.005-2.0 inch). For G75, verify Q__ represents positive retract/shift amount.
Correct the Q value to a positive number appropriate for the material and tool. Example: Change 'G74 R3. Z-50. Q-5. F100' to 'G74 R3. Z-50. Q5. F100'.
Reset the alarm using RESET key, verify program syntax in background edit, and test cycle in single block mode with feed rate override at 50%.
Ensure Z-axis final depth (Z word) is also correctly programmed as negative value below initial R plane for proper drilling direction
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.