rta53 said:
ok what I have is a valve that has feedback contacts that indicate if the valve is open or closed. These are 2 of the tags. The 3rd tag (and yes these are digital tags) is an alarm tag that is activated after 10 seconds if my machine is running and I am not getting an input from either of the 2 feedback contacts. 3 tags, 3 states. The valve is an air to open/fail close. Unless something mechanically fails in the valve it is always going to be either open or closed.
I don't agree that this device has 3 states. With two limit switches, you have four states for the valve and you should indicate all four. It will help in troubleshooting failures. The failure alarm is really an independant indication separate from the valve position. This is a very common HMI graphic element. I generally see it done like this:
Open (open ZS = 1, closed ZS = 0)
Closed (open ZS = 0, closed ZS = 1)
Travel (open ZS = 0, closed ZS = 0)
Fault (open ZS = 1, closed ZS = 1) stuck or broken limit - rare but very useful when it happens.
The valve graphic changes color depending on the state. Typically green = open, white = closed, yellow = travel, blue = fault. Colors vary depending on the plant, but I like these.
If the valve is not in the commanded position after 10 secs, then a different graphic element is activated. Maybe a red box around the valve graphic which is only visible if the valve is failed.
The reason this is a separate indication is that you do not want to lose the limit switch information if the valve failed to move when commanded. If you command a valve to open and it sits there showing a closed limit, perhaps you have a blown fuse or someone turned the air off. If you command a valve to open and the closed limit drops out but the open limit never shows (it indicates travel), you most likely have an open limit out of adjustment.