It depends on valve type. I assume it is a 2/2 valve with an electric vontrol. For this configuration the logics behind are:
- "ON" you must have a current detector of the coil which gives a "true" signal when the coil is energized and the command is on "ON"
-"OFF" it is the logical contrary of "ON" so that you must have a "false" signal from same sensor when the command is on "OFF"
- "Electric failure" is a problem of definition but if the 2 above controls are not giving a "correct" function indication then the valve is from the electric point of view a failure.
- "Air failure" again it depends on the valve type you can use a pressures sensor at outlet and verify that pressure is present when valve is open and electrical function is OK.
As you see obtaining such an information is neither easy low cost.
__________________
"Did you get my e-mail?" - "The biggest problem in communication is the illusion that it has taken place" - George Bernard Shaw, 1856
"Almost" Good Answers: