
axismd.ai
FANUC Controller
Program/G-code · Intermediate · 15-30 minutes
Fanuc Alarm 221 - ILLEGAL COMMAND IN SYNCHRO-MODE
Fanuc Alarm 221 (ILLEGAL COMMAND IN SYNCHRO-MODE) occurs when a move command is issued to a synchronous control axis via the NC program or PMC axis control interface during active synchronous operation. The slave axis cannot accept independent motion commands while synchronous control is active. Fix by modifying the program to avoid commanding the synchronous slave axis directly, or cancel synchronous control before issuing the move.
Fanuc Alarm 221 - ILLEGAL COMMAND IN SYNCHRO-MODE
ILLEGAL COMMAND IN SYNCHRO-MODE
Fanuc PS221: Same as PS220 — an illegal command was detected in synchronous control mode. The specific sub-error indicates a different restricted function was attempted.
Root Cause Summary
Fanuc Alarm 221 (ILLEGAL COMMAND IN SYNCHRO-MODE) occurs when a move command is issued to a synchronous control axis via the NC program or PMC axis control interface during active synchronous operation. The slave axis cannot accept independent motion commands while synchronous control is active. Fix by modifying the program to avoid commanding the synchronous slave axis directly, or cancel synchronous control before issuing the move.
Safety
Causes and Fixes
Identify the Synchronous Axis Pair
Check parameter No. 8180 (synchronous control axis assignment) to identify which axes are in master-slave synchronous relationship.
Document axis assignments before troubleshooting.
Review the NC Program
Find the block generating the alarm. Check if it commands motion on the slave axis. Remove or modify the command so only the master axis is addressed.
Use the diagnostic screen to identify which block triggered the alarm.
Cancel Synchronous Control if Needed
If independent slave axis motion is required, cancel synchronous control first using the appropriate synchronous control axis selection signal (PMC), then command the move.
Ensure synchronous control is re-enabled after the independent move if required.
Canceling synchronous control while axes are in motion can cause mechanical damage.
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.