Quote Originally Posted by hub View Post
At power loss/fail, for example a photocell won't "output" anything, no matter if its NPN or PNP.
I would wire a relay for example to "monitor" power. Power on = relay on; power off = relay off.

Hub
Exactly, we are not discussing arbitrary logic, but devices used or connected as a safety devices, then they would be wired active low, IOW at Hi, system normal, if low then fault, which would also co-inside with power failure, otherwise it would be futile to connect them any other way.
This is the reasoning behind the industry norm for E-stop and O.T. etc.
Al.