
axismd.ai
Siemens SINUMERIK Controller
Spindle · Intermediate · 30-120 minutes
Siemens 840D 401702 - Impermissible spindle IF no. parameter in FC 17
Alarm 401702 fires when FC 17 (Spindle Function Call) references a spindle interface number that does not exist in the NCK spindle configuration. This occurs because the parameterized spindle IF (Interface) number in the part program or PLC does not match any configured spindle in the machine parameter set.
Siemens 840D 401702 - Impermissible spindle IF no. parameter in FC 17
Impermissible spindle IF no. parameter in FC 17
Siemens SINUMERIK alarm 401702: Impermissible spindle IF no. parameter in FC 17. An impermissible or invalid parameter was passed to PLC function block FC17. This indicates a PLC programming error or configuration mismatch in the machine tool builder ladder program.
Root Cause Summary
Alarm 401702 fires when FC 17 (Spindle Function Call) references a spindle interface number that does not exist in the NCK spindle configuration. This occurs because the parameterized spindle IF (Interface) number in the part program or PLC does not match any configured spindle in the machine parameter set.
Safety
Causes and Fixes
Check the part program or PLC source code for the FC 17 call. Identify the spindle IF number parameter being passed (typically the first parameter in FC 17).
Navigate to Siemens HMI > Diagnosis > Parameters > Machine Data and verify MD 30100 (Number of Spindles). Note the configured count.
Ensure the spindle IF number in FC 17 does not exceed the value in MD 30100.
Correct the spindle IF number in the part program or PLC to match an existing spindle (1 to N, where N = MD 30100). Recompile and reload the NC program.
Execute a dry run to confirm the alarm no longer fires and the correct spindle is addressed.
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.