Siemens SINUMERIK codes
Siemens SINUMERIKSpindleIntermediate30-120 minutes

401702

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

  • Refer to Siemens documentation
  • Ensure qualified technician performs repairs

Causes and Fixes

  1. 1

    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).

  2. 2

    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.

  3. 3

    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.

  4. 4

    Execute a dry run to confirm the alarm no longer fires and the correct spindle is addressed.

Service Recommended confidence

Seeing Multiple Alarms?

Seeing another alarm with this one? Enter the code.

Get machine-aware diagnosis

AxisMD logs alarms against your actual machines, tracks patterns, and gives AI context your manual doesn't have.

Start free

Was this guide helpful?

Always verify with your machine manual or a certified technician before performing service procedures.