I have a state driven equipment module to move a set of valves into various positions. When a new A_COMMAND is set, it generates an error (via the A_ERROR parameter) if any of the valves fail to move into the correct position within the time set for each state, which is expected. However, once a state change is complete (A_STATE is equal to Complete) if any valves change their readback state to one that is incorrect, no error is generated. In other words an error is only generated if a valve fails in the process of moving, but not subsequently. For example, instrument air failure causing a valve to close unexpectedly some time after opening.
Is there another module parameter that shows if any items readback is no longer equal to target? I can create custom logic to look for Targets not being equal to Readbacks, but I would have thought there was a built-in feature for this.
In reply to Matt Stoner: