Inductive proximity switch three-wire NPN normally open how to control 24V relay
Upstairs is right, but you need to match a 24V power supply
The remaining one is the output signal line, usually black. NPN output signal is low, that is, and the positive pole constitutes a loop.
Your middle relay coil, a line connected to the power supply 24V +, from the switch out of the black signal line, connected to the relay the other end of the coil on it.
Three-wire NPN proximity switch, if it is working power 24V DC. among them
A line connected to the work of the positive power, usually brown, received 24V power positive
There is a negative power supply is connected to the negative, generally blue, received 24V power supply negative