Home › Videos › NPN vs PNP Wiring

NPN vs PNP Sensor Wiring Explained

Video · 0:58 · Published 2026-10-05 · SEGMENsensor Engineering Team · Last updated

Send your PLC input type and the target distance — we confirm NPN or PNP and the sensor size.

SEGMENsensor inductive proximity sensors
NPN or PNP, NO or NCM8, M12, M18 and M30 housingsFlush or non-flush mounting
Qualification samples: 1–5 pcs in 5–7 days · production lead time and MOQ confirmed with the quotation.

NPN or PNP — which proximity sensor do you need? This one-minute animation shows 3-wire DC sensor wiring (brown +V, blue 0 V, black output), how a PNP output sources and an NPN output sinks current, and how to match the sensor to the PLC input.

Chapters

  1. 0:00Introduction
  2. 0:04The three wires
  3. 0:12PNP: sourcing output
  4. 0:26NPN: sinking output
  5. 0:40Matching the PLC input
  6. 0:48Summary

Key points

  • 3-wire DC sensor: brown = +V, blue = 0 V, black = output.
  • PNP sources current: on detection the output switches to +24 V and current flows through the load to 0 V.
  • NPN sinks current: on detection the output switches to 0 V; the load sits between +24 V and the output.
  • Match the sensor to the PLC input: PNP for sinking inputs, NPN for sourcing inputs.

Transcript

NPN or PNP: which sensor do you need?

A 3-wire DC sensor has a brown wire for +V, a blue wire for 0 V, and a black wire for the output.

A PNP sensor sources current. When it detects the target, the output switches to +24 V, and current flows through the load to 0 V.

An NPN sensor sinks current. When it detects the target, the output switches to 0 V. The load sits between +24 V and the output.

So match the sensor to the PLC input: PNP for sinking inputs, NPN for sourcing inputs.

SEGMENsensor proximity sensors: NPN or PNP, NO or NC. Learn more at segmensensor.com.

Standards and references

Related pages

Send your PLC input type and the target distance — we confirm NPN or PNP and the sensor size.Get a quote →

Request a Quote — SEGMENsensor inductive proximity sensors

Send your PLC input type and the target distance — we confirm NPN or PNP and the sensor size. Engineers reply within 24 hours.

Samples 1–5 pcs in 5–7 days · lead time and MOQ confirmed with the quotation · info@segmensensor.com

info@segmensensor.com