Question: why use npn vs pnp?
Answer: PNP sensors produce a positive output to your industrial controls input, while NPN sensors produce a negative signal during an “on” state. ... NPN, or “sinking” output sensors, work in the opposite way, sinking ground voltage to an input when it's on.