
axismd.ai
FANUC Controller
Overtravel/Limit · Intermediate · 15-30 minutes
Fanuc Alarm 204 - ILLEGAL AXIS OPERATION
Alarm 204 occurs when the NC detects axis movement commands between the rigid tapping preparation block (M29 or similar rigid tap M-code) and the actual tapping cycle execution block (G84 or G74). The rigid tap synchronization requires these blocks to be consecutive without intervening axis motion to maintain spindle-axis lock integrity.
Fanuc Alarm 204 - ILLEGAL AXIS OPERATION
Axis Overtravel HW
In rigid tapping, an axis movement is specified between the rigid M code (M29) block and G84 (or G74) block.
Root Cause Summary
Alarm 204 occurs when the NC detects axis movement commands between the rigid tapping preparation block (M29 or similar rigid tap M-code) and the actual tapping cycle execution block (G84 or G74). The rigid tap synchronization requires these blocks to be consecutive without intervening axis motion to maintain spindle-axis lock integrity.
Safety
Causes and Fixes
Review the NC program at the alarm occurrence point. Press RESET, then navigate to PROGRAM > check the active program line number displayed when alarm triggered. Look for any G00, G01, G02, G03, or other axis move commands between M29 and G84 (or G74) blocks.
Modify program to remove all axis positioning between M29 and G84/G74. Correct format is either: separate consecutive blocks 'N10 M29 S___ ; N20 G84 X_ Y_ Z_ R_ F_ ;' or combined single block 'N10 G84 X_ Y_ Z_ R_ F_ M29 ;'. No G-code motion commands between these.
Verify parameter 5200 bit 6 (RGT) = 1 to enable rigid tapping mode. Check SYSTEM > PARAM > search parameter 5200, confirm rigid tap function is enabled for the machine configuration.
After program correction, reset alarm with RESET key, return spindle to position mode if necessary (M19), and restart cycle from a safe block before the rigid tap sequence.
Ensure spindle orientation is correct before re-executing rigid tap 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.