Why is there a need to produce NO and NC proximity switch? Why not just swap the wires??
So, basically, when buying an inductive proximity switch, you have to choose whether it's gonna be PNP or NPN and whether it's gonna be NO or NC (check the attached drawing).
Regardless of the type of the switch, the following is true (I'll assume 24V power supply):
You apply 24V between brown (+24V) and blue (0V).
You connect the load (usually relay coil) between brown and black in NPN transistor and between blue and black in PNP transistor.
All clear until now.
Now... Say you choose NO NPN proxy switch because it suits your purpose. And you apply power between brown (+24V) and blue (0V) and connect the load between brown and black. Proxy switch is not activated (no metal object detected).
So, the measured voltages right now are:
Between brown and blue: 24V
Between brown and black: 24V (because it is NO type)
Between blue and black : 0V
If the load is connected between brown and black, 24V is applied to the load.
If the load is connected between blue and black, 0V is applied to the load.
When the proxy switch is activated, the voltages are:
Between brown and blue: 24V
Between brown and black: 0V (because NO has just become closed)
Between blue and black :24V (because black is at the same potential as brown)
If the load is connected between brown and black, 0V is applied to the load.
If the load is connected between blue and black, 24V is applied to the load.
So, it seems NO NPN proximity switch should be able to function both as NO and NC. Am I mistaken. I guess I am. Otherwise they wouldn't manufacture NO and NC proxy switches. But I would like to know where is my mistake...