Combined Element Interlockings
After creating a combined element, assigning the variables, and a function, the interlocking is no longer active after the function is assigned. Zenon version 6.51 SP0.
For instance:
A Combined Element has three variables assigned but no function: The variables are ENABLE, ON, and FEEDBACK. The colors and flashing of various combinations of the variables work as expected. The Interlocking is using only the ENABLE value. The Interlocking prohibits use as expected.
When the same Combined Element is then also assigned a function, the Interlocking will no longer prevent use. Despite the value of the ENABLE variable, the ON variable is always set after pressing the element. The colors and flashing still work as expected.
In this instance, a function must be used (to call a script), because more than one variable assignment must occur. But it does not matter which function is assigned. Any function assignment disables the interlocking.
It does not appear to matter whether the interlocking uses only the ENABLE variable or a logical combination of all three variables. Or whether the interlocking uses a Math variable. Anytime a function is assigned, the interlocking is disabled.
One work around is to create an internal variable instead of using the direct hardware ON variable. Then create a REMA that calls the function and then assign that REMA to the internal variable. The REMA then calls the function and sets the appropriate hardware values.
Is there a more direct approach, or some combination of the Combined Element configuration that has been overlooked, to enable the interlocking and function assignement at the same time?
This is a migrated post! Originally posted on 19.05.2011 by user tantalum. Please be aware that information can be outdated.