The EnablingSwitchSelection add-on just sets an PLC output if the corresponding operating panel (TokenId) is active. So just about 3 lines of code 😀
That means, either your PNOZmulti program needs an activate/selection input for each enabling switch. Additionally there must be a PNOZmulti input to activate enabling switch in general (SafetyDoor parameter EnableEnablingSwitch).
I can't imagine that your PNOZmulti program knows which operating panel is active. But if your program knows that, then you don't need the EnablingSwitchSelection add-on.
... View more