PNP and NPN Sensors | Short Description

22-11-2022

We will use an example that will help understand the differences between PNP and NPN.

Controlling a traditional relay with a 24 VDC coil.

PNP - After the sensor is triggered, we get a PLUS signal at the output, e.g. +24 VDC

NPN - After the sensor is triggered, we get a MINUS signal, 0, GND at the output.

Most of the sensors that can be found on the market today (inductive sensors, capacitive sensors, optical, ultrasonic) belong to semiconductor devices, so-called (SOLID STATE). The term semiconductor (SOLID STATE) refers to the type of transistor used to build the sensor. Transistor, or semiconductor elements, is used as a switch and, in the case of the sensor being triggered, for example, when the sensor head is close to the housing, "CLOSES THE CIRCUIT" and causes a signal to appear at the NO normal open output. We can distinguish sensors with 3 or 4 wires of the NPN and PNP type.

-3-wire sensors have a "+" power line, a "GND" ground line and an output signal line in a normally closed OR normally open configuration depending on the sensor configuration.

-4-wire sensors have a "+" power line, a "GND" ground line and TWO output signal lines, both NO normally open and NC normally closed.To understand the operation of both types of sensors, it is important to note that the type of sensor (PNP/NPN) has nothing to do with the type of contact at the output, whether normally closed (NC normal closed) or normally open (NO normal open). This information is important, however, as it informs the user of the state of the output when the sensor is in a low or "inactive" state (i.e. no object detected, logical 0) as well as in a high state (i.e. object detected, logical 1). Controlling the inputs in the PLC controller

The first step is to select the appropriate type of sensor for the type of inputs (INPUT I/P) of the controller. For the PNP type, labeled as "SINK", and for the NPN type as "SOURCE". It is important to standardize the types of inputs as not all manufacturers use the same nomenclature:

-PNP - SINK

-NPN - SOURCE

The type of input must be looked for in the catalog card for the specific PLC used by us. The most popular type of input in Europe is the PNP input. Many PLC controllers support two types of PNP and PNP sensors. However, one type of input is still required to be maintained as used during installation.

Featured products

Inductive Sensor I18-PNP Plug

Inductive Sensor I18-PNP Plug

18mm Inductive Sensor, PNP, NO/NC, M12 Connector
Inductive Sensor I18-NPN Plug

Inductive Sensor I18-NPN Plug

18mm Inductive Sensor, NPN, NO/NC, M12 Connector
Inductive Sensor I12-NPN Plug

Inductive Sensor I12-NPN Plug

Inductive Sensor 12mm, NPN, NO/NC, M12 Connector
Capacitive Sensor C12-N

Capacitive Sensor C12-N

12mm NPN Integrated Connection Cable
Capacitive Sensor C12-P

Capacitive Sensor C12-P

12mm PNP Integrated Connection Cable
Optical Sensor - Diffuse EN33-D1T100PA

Optical Sensor - Diffuse EN33-D1T100PA

Power 12-24VDC / Detection Distance 100cm / PNP NO
Optical Sensor - Diffuse EN18P-D1T50NC-W

Optical Sensor - Diffuse EN18P-D1T50NC-W

Power 12-24VDC / Detection Distance 50cm / NPN NO/NC
Optical Sensor - Diffuse EN33-D1T100NA

Optical Sensor - Diffuse EN33-D1T100NA

Power 12-24VDC / Detection Distance 100cm / NPN NO