Sensor output types – PNP vs. NPN?

PNP or NPN? The question as to the kind of output type is always fundamental when it comes to selecting sensors. So what exactly is the difference between PNP and NPN sensors and which one is right for your application?


In probably over 95% of cases, the answer to this question is provided by the location where the sensor is to be deployed. PNP sensors are used mainly in Europe. NPN sensors are still used to some extent in Asia. However, the basic question is: Do you need a sourcing-type output or a sinking-type output? A transistor is used in sensors to trigger a signal change. The transistor operates somewhat like a switch, and it uses either PNP switching or NPN switching. 'P' stands for 'Positive' here and 'N' stands for Negative, and the terms indicate how the transistor is designed and doped.

Skizze der Ausgabeart PNP
PNP sourcing current

PNP sensor:

With PNP sensors, the load is connected to the switching output and V−. This makes V− the reference point. If a signal change occurs at the sensor, the transistor switches through. The current flows from V+ through the transistor and via the load to V-, which closes the circuit.

Skizze der Ausgabeart NPN
NPN sinking current

NPN sensor:

With NPN sensors, the load is connected to the switching output and V+. This makes V+ the reference point. If a signal change occurs at the sensor, the transistor switches through, current flows from V+ via the load and through the transistor to V-, which closes the circuit.

Sensor
The transistor operates somewhat like a switch, and it uses either PNP switching or NPN switching. 'P' stands for Positive; 'N' stands for Negative.
Patrick Targonski, Product Manager at autosen
Sensor Sensor
 

For connection to a PLC, it should be borne in mind that the sensor must have an output type that the PLC expects. Usually, the input stage of a PLC detects the state of the sensor (on or off). But then it will be specifically expecting either a PNP or an NPN sensor. As described above, Asian manufacturers often use NPN sensors, whereas the majority of European machines are operated using PNP sensors.

 

Products with different output types

 
In stock
Online -5,5 %
PNP-NPN converter 5 m PUR M12 BKout
AA033PNP-NPN converter 5 m PUR M12 BKout
Go to customer reviews(17)
  • M12, 3-pin
  • 5 m
  • PUR cable
  • DC PNP
  • for sensors with normally open function
13.33
12.60
In stock
Online -5,5 %
PNP-NPN converter 5 m PUR M12 WHout
AA034PNP-NPN converter 5 m PUR M12 WHout
Go to customer reviews(4)
  • M12, 3-pin
  • 5 m
  • PUR cable
  • DC PNP
  • for sensors with normally closed function
13.33
12.60
In stock
Online -5,5 %
Inductive sensor High Resistance Class IP67
AI001Inductive sensor High Resistance Class IP67
Go to customer reviews(72)
  • Stainless steel housing (V4A) M8 thread
  • M8 connector (3-pin)
  • Flush
  • sensing range 2 mm
  • Normally open (NO)
42.16
39.84
In stock
Online -5,5 %
Inductive sensor High Resistance Class IP69k
AI005Inductive sensor High Resistance Class IP69k
Go to customer reviews(19)
  • Metal housing M30 thread
  • M12 connector (3-pin)
  • Flush
  • sensing range 15 mm
  • Normally open (NO)
44.50
42.05
io Cloudkompatibel Cloud compatible
In stock
Online -5,5 %
Programmable flow sensor G1/2M
AS002Programmable flow sensor G1/2M
Go to customer reviews(16)
  • magnetic-inductive measuring principle (mid)
  • 0.1...25 l/min
  • -20...80 °C
  • conductive liquid media
  • 2x antivalent & analogue output
449.70
424.97
io Cloudkompatibel Cloud compatible
In stock
Online -5,5 %
Flow sensor Programmable M18x1 , 5I
AS005Flow sensor Programmable M18x1 , 5I
Go to customer reviews(16)
  • calorimetric measuring principle
  • 0.04...3 m/s
  • -20...90 °C
  • Water, air, glycol solutions, oils
  • 2x antivalent & analogue output
263.93
249.41