I’m a bit stuck with this one. I have a FactoryPMI system which has to send a number of control outputs to a PLC. Clicking on an item of plant opens a popup which contains all the controls for that item, plus an Execute button.
I’ve implemented the controls using timer buttons. Pressing a control sets a SQLTags point high for 5 seconds. The Execute button is also a timer button, which sets a point high for 2 seconds.
What I want to happen is another SQLTags point (tied to a PLC output) is set high when both the control and Execute buttons are pressed, then is reset low when either the control or Execute points go low. (This guards against inadvertent operation of the control.)