PioTEngineeringSolutions

PNP or NPN, NO or NC, 2-Wire or 3-Wire?

Before wiring a sensor to a PLC you need to know three things: whether the output is PNP or NPN, whether it is normally open (NO) or normally closed (NC), and whether the sensor is 2-wire or 3-wire. Get one wrong and a healthy sensor either never signals or never stops.

Author: Mehmet Elmacıoğlu, Electrical and Electronics EngineerPublished:

What is the difference between PNP and NPN?

A PNP sensor switches its output to plus (+24 V) when it detects; it connects the load to plus. An NPN sensor pulls its output to minus (0 V) when it detects. A PLC input card is built for one of the two. Wire a PNP sensor to an input that expects NPN and no signal arrives.

What is the difference between NO and NC?

A normally open (NO) sensor signals when it sees the target; a normally closed (NC) sensor signals as long as it does not see the target and drops the signal when it does. NC is preferred where a broken cable should also drop the signal. On teachable types such as the weld nut sensor, NO or NC is chosen during teaching.

What is the difference between 2-wire and 3-wire?

A 3-wire sensor has a separate supply line and a separate output line. A 2-wire sensor is wired in series with the load; supply and signal share the same two wires. 2-wire sensors are common on older systems, and fitting a 2-wire replacement avoids rewiring.

Why does a 2-wire sensor stay on at the PLC input?

A 2-wire sensor is wired in series with the load and passes a small residual current even when off, to power itself; when on, a few volts drop across it. If the PLC input reads that residual current as a signal, the input stays on. Check that the input card suits 2-wire sensors; Senstronic A120200M080111 is 2-wire, non-polarised, with a 10 to 55 V DC supply.

  • Check the off-state current limit in the input card's datasheet.
  • If needed, a load resistor is added in parallel with the input; its value is calculated from the card's data.
  • On a new line, prefer 3-wire sensors where you can.

Before wiring the sensor

Check Where to look
PNP or NPN? Sensor label and datasheet, input card type
NO or NC? Sensor datasheet; teaching order on teachable types
2-wire or 3-wire? Number of wires and datasheet; input card suitability
Supply 10 to 30 V DC is common; some types take 10 to 55 V DC

Let us check the wiring with you

Send the part numbers of the sensor and the PLC input card; we will check compatibility and recommend the right sensor: {phone} · {email}.

Sources