Skip to content

How to Wire a Sensor to PLC: NPN vs PNP

How to Wire a Sensor to PLC: NPN vs PNP

Sensor to PLC wiring

Sensor output type (NPN/PNP) must match PLC input type (sink/source).

NPN vs PNP

PNPNPN
Output+24V0V
StandardEuropeanAsian

Not sure — PNP NO.

Wiring

  • 3-wire PNP: brown +24V, blue 0V, black → DI
  • Analog 4-20 mA: 2-wire → AI module

Temperature sensors are the exception: Pt100 outputs resistance, a thermocouple outputs millivolts, so both need an RTD or TC module rather than a plain AI. Which to pick: Pt100 or thermocouple.

FAQ

Identify NPN/PNP?

Marking, or a multimeter — but measure under load: testing a proximity sensor with a multimeter.

NPN to Siemens?

Yes, switch to sink.

How many sensors?

As many as DI/AI inputs.

4-20 mA vs 0-10 V?

4-20 mA for industrial, long cables. Measuring distance sensors add a load-resistance limit on top of that: a 0-10 V output is not on every model, and the datasheets cap the current loop at a few hundred ohms. Worked examples are in our distance sensor comparison.

Separate PSU?

With 10+ sensors — yes.

Summary

Sensors: inductive, pressure. PLCs: Delta, Siemens. Matching a new sensor to an existing mount: inductive sensor replacement. A neighbouring topic is the outputs of safety devices: safety light curtains and OSSD.

⚡

Need a variable frequency drive for your motor?

We'll find the right solution by power, voltage and load type

Browse catalog Consultation

Frequently asked questions

Marking or multimeter.