
axismd.ai
Siemens SINUMERIK Controller
Safety · Intermediate · 30-120 minutes
Siemens 840D 27220 - PROFIsafe: Number of NCK F modules <> Number of S7 F modules
Alarm 27220 indicates a mismatch between the number of F (safety) modules configured in the NCK via machine data $MN_PROFISAFE_IN_ADDRESS and $MN_PROFISAFE_OUT_ADDRESS versus the actual number of F modules present in the S7 PLC PROFIBUS configuration. This configuration discrepancy prevents proper PROFIsafe communication establishment between the NCK and safety-rated I/O modules.
Siemens 840D 27220 - PROFIsafe: Number of NCK F modules <> Number of S7 F modules
PROFIsafe: Number of NCK F modules <> Number of S7 F modules
Siemens SINUMERIK alarm 27220: PROFIsafe: Number of NCK F modules <> Number of S7 F modules. This alarm indicates a fault or error condition on the SINUMERIK 840D control. Refer to the Siemens SINUMERIK alarm documentation for the complete description and remedy.
Root Cause Summary
Alarm 27220 indicates a mismatch between the number of F (safety) modules configured in the NCK via machine data $MN_PROFISAFE_IN_ADDRESS and $MN_PROFISAFE_OUT_ADDRESS versus the actual number of F modules present in the S7 PLC PROFIBUS configuration. This configuration discrepancy prevents proper PROFIsafe communication establishment between the NCK and safety-rated I/O modules.
Safety
Causes and Fixes
Access NCK machine data via SINUMERIK Operate: Menu > Customize > Machine Data. Locate $MN_PROFISAFE_IN_ADDRESS (input F module count) and $MN_PROFISAFE_OUT_ADDRESS (output F module count). Document both values.
Requires HMI access level 3 (manufacturer) or higher.
In TIA Portal or STEP 7, open the PROFIBUS configuration (GSD files) under the S7-1200/1500 CPU node. Count the actual number of F modules (type ET 200 F, F-I/O modules, or equivalent PROFIsafe nodes) in the slave list.
Ensure PROFIBUS GSD files are updated to match installed hardware versions.
Correct the NCK machine data values to match the S7 PROFIBUS configuration count. Set $MN_PROFISAFE_IN_ADDRESS and $MN_PROFISAFE_OUT_ADDRESS to the actual number of F modules configured in the PLC. Transfer to NCK via Operate Menu > Machine Data > Transfer.
Save and backup machine data before modification. A warm restart may be required.
Perform a PROFIsafe safety validation cycle: Switch to automatic mode, trigger a controlled PROFIsafe handshake test, and verify alarm 27220 is cleared in the alarm history (Menu > Diagnostics > Alarms).
Do not operate the machine in manual modes until PROFIsafe initialization completes successfully.
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.