The invention belongs to the technical field of safety relays, and particularly relates to a
safety relay with a switch valve diagnosis function, which comprises an MCU (Microprogrammed
Control Unit), the input end of the MCU is connected with an optocoupler 1, an optocoupler 2, an optocoupler 3, an optocoupler 4 and a current detection
amplifier, and the output end of the MCU is connected with an
EEPROM (Electrically Erasable Programmable Read-Only Memory); the optocoupler 1 is connected with a DCS power supply V1, the DCS power supply V1 is also connected with a power supply protection circuit, and the output end of the power supply protection circuit is connected with a K1
relay power supply protection circuit, a K2
relay power supply protection circuit, a K3
relay power supply protection circuit and a K4 relay power supply protection circuit. The execution state of a valve action command and the
valve opening and closing state are monitored. Acquisition of valve action data is achieved through digital technical operation, the valve action data are sent to an upper
monitoring system in a communication transmission mode in real time, whether the valve needs to be maintained or replaced off line or not is judged in advance, and device shutdown caused by valve faults is avoided.