In PLCnext Engineer, when editing a user-defined Function Block, clicking the " Remove unused variables" button in the Variables tab removes the **EN** and **ENO** magic variables if they are not explicitly referenced in the ST code.
However, these magic variables are an essential part of the Function Block interface and should be retained regardless of their usage in ST. Their presence is critical for integration with FBD or LD, and their removal can cause unexpected behavior or errors.
Expected Behavior: EN and ENO should be protected and not removable via the „Remove unused variables“ feature.
PLCnext Engineer Version: 2024.6 (Build 7.2.258.0, Revision 570b0d99)


