Safety relays and monitoring devices