06-10-2022 04:48 PM
Hello together
In the EnablingSwitchSelection addon it is necessary to have two different inputs for the signal EnablingSwitchPressed.
Is it possible to change this?
In ATMO1 we have a standard PnozMulti solution to handle until 3 EnablingSwitch. The signal enabling sitch pressed is coming only from the pnozMulti. Inside the pnozMulti it will be handled, that depending on the selection the signal will be setted.
At the moment, I have to define 2 flags and set them in the plc to be able to work with the addon.
Is it necessary to check those inputs to be unequal?
The flag solution works, but it's not looking sexy 😉
Thanks in advance
Solved! Go to Solution.
06-13-2022 09:36 AM
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.