Question: what is npn and pnp sensor?
Answer: As they are normally referred, PNP and NPN sensors are both supplied with positive and negative power leads, then produce a signal to indicate an “on” state. PNP sensors produce a positive output to your industrial controls input, while NPN sensors produce a negative signal during an “on” state.