SensorCatalog

NAMUR vs PNP vs NPN: discrete sensor outputs, wiring and CSV reference

Use PNP (3-wire sourcing) for modern 24 V DC PLC cabinets because a ground short cannot cause a false ON. Use NPN (3-wire sinking) only when matching legacy sourcing PLC cards. Use 2-wire NAMUR (IEC 60947-5-6, 1.2/2.1 mA) with a switch amplifier for Ex ia hazardous areas and built-in wire-break/short diagnostics.

NAMUR (IEC 60947-5-6) vs PNP vs NPN vs Push-Pull discrete sensor outputs

Output type & wiresSwitching & PLC input matchSignal & fault thresholdsHazardous area & ground faultTypical use
NAMUR (2-wire current) (2-wire (brown +, blue −))Modulates DC loop current (no hard voltage switch); NAMUR switch amplifier / isolated Ex barrier (8.2 V DC, 1 kΩ source)≤ 1.2 mA damped (OFF) · ≥ 2.1 mA undamped (ON) · hysteresis 0.2 mA; Built-in: open circuit ≤ 0.1 mA · short circuit ≥ 6.0 mA (per IEC 60947-5-6)Intrinsically safe Ex ia (Zone 0/1/2, 20/21/22) with certified barrier; Detected as short-circuit fault (≥ 6.0 mA) by switch amplifierChemical, oil & gas, pharmaceutical, valve position & Ex proximity switches
PNP (3-wire sourcing) (3-wire (BN +V, BU 0 V, BK signal))Sources +V (+24 V DC) to load; load returns to 0 V; Sinking PLC digital input (common connected to 0 V / M)ON ≈ Vsupply − 1.5 to 2.5 V · OFF ≈ 0 V (< 0.1 mA leakage); None natively (requires IO-Link or external monitoring)Safe area or Zone 2/22 unless separately Ex-certified; Safe: signal short to 0 V/chassis trips short-circuit protection (no false ON)European & modern global factory automation, IEC 61131-2 PLC panels
NPN (3-wire sinking) (3-wire (BN +V, BU 0 V, BK signal))Sinks load current to 0 V (GND); load tied to +V; Sourcing PLC digital input (common connected to +24 V)ON ≈ 0.2–1.5 V · OFF ≈ Vsupply (< 0.1 mA leakage); None nativelySafe area or Zone 2/22 unless separately Ex-certified; Risk of false ON: signal wire shorted to grounded machine frame pulls input LOWLegacy machinery, Asian/Japanese OEM equipment, mixed-voltage interfaces
Push-Pull (HTL / complementary) (3-wire (BN +V, BU 0 V, BK signal))Actively drives BOTH +V (high) and 0 V (low); Compatible with both sinking (PNP) and sourcing (NPN) PLC inputsActive high ≈ Vsupply − 2 V · Active low ≈ 0.5–1.5 V; None natively (short-circuit protection typical)Safe area or Zone 2/22 unless separately Ex-certified; Active drive trips output short-circuit protection on hard ground faultIncremental encoders, flow pulse meters, long-cable high-speed counters
2-wire DC (non-NAMUR) (2-wire (series with load))Closes series path like a solid-state switch (polarity-sensitive or non-polarized); PLC DI tolerant of 0.5–1.5 mA off-state leakage (check Type 1/2/3 spec)ON drop ≈ 3–5 V across sensor · OFF leakage ≈ 0.5–1.5 mA; None (no IEC 60947-5-6 fault window)Safe area only unless separately Ex-certified; Depends on load side; high residual drop limits series-chainingRetrofit replacement of mechanical limit switches where only 2 wires exist
Relay / dry contact (SPST/SPDT) (4- or 5-wire (separate supply + COM/NO/NC))Electromechanical galvanic contact closure; Any AC or DC PLC input, contactor coil or mixed-potential circuitON < 0.1 Ω contact resistance · OFF 0 mA leakage (galvanic open); None natively (monitor contact weld/open via safety relay if required)Requires Ex d/e/m housing or hermetically sealed Ex nC for Zone 2; Galvanically isolated from sensor supply; follows external circuit groundingHigh-current loads, AC/DC isolation, slow level/pressure alarm switches (< 10 Hz)

NAMUR thresholds per IEC 60947-5-6 (8.2 V DC / 1 kΩ nominal source): ≤ 0.1 mA open-circuit fault, ≤ 1.2 mA damped, ≥ 2.1 mA undamped, ≥ 6.0 mA short-circuit fault. PNP/NPN/Push-Pull per IEC 60947-5-2 and IEC 61131-2.

Try it with the calculators

The short answer

PNP, NPN, and NAMUR are the three dominant discrete (on/off) output standards for industrial proximity, photoelectric, level, and valve-position sensors:

  • PNP (3-wire sourcing) switches +24 V DC to the load and pairs with a sinking PLC digital input (common wired to 0 V). It is the modern IEC 61131-2 global default because a signal wire shorted to grounded machine steel cannot cause a false ON signal.
  • NPN (3-wire sinking) switches 0 V (GND) to the load and pairs with a sourcing PLC digital input (common wired to +24 V). It remains common in legacy Japanese and Asian OEM machines and mixed-voltage logic interfaces, though a ground short can falsely energize an input.
  • NAMUR (2-wire current-modulated, IEC 60947-5-6) does not switch full 24 V at all. Powered through an 8.2 V DC / 1 kΩ switch amplifier or intrinsically safe barrier, it signals state by changing loop current (≤ 1.2 mA damped vs ≥ 2.1 mA undamped) while automatically flagging wire break (≤ 0.1 mA) and short circuit (≥ 6.0 mA). That makes NAMUR the standard discrete sensor interface for Ex ia hazardous areas (Zone 0/1/20/21) and safety-monitored process valves.

How PNP (sourcing) and NPN (sinking) wiring actually work

Confusion between “sourcing” and “sinking” causes more commissioning delays on 24 V DC PLC cabinets than almost any other wiring detail. The rule is straightforward when you track conventional current (from +24 V toward 0 V):

  • PNP sensor (sourcing output) → Sinking PLC input: Inside a PNP sensor, a P-channel/PNP transistor sits between +24 V (brown) and the black signal output. When the target is detected, the sensor sources current out of the black wire into the PLC input terminal, and current returns to 0 V (blue) through the PLC input common (M / COM−).
  • NPN sensor (sinking output) → Sourcing PLC input: Inside an NPN sensor, an N-channel/NPN transistor sits between the black signal output and 0 V (blue). The PLC input common is tied to +24 V, so when the target is detected, current flows out of the PLC input terminal into the sensor’s black wire and sinks to 0 V.

Standard IEC 60947-5-2 3-wire cable colors are identical for both PNP and NPN: brown = +V (+24 V DC), blue = 0 V (GND), black = NO signal output (and white = NC signal output on 4-wire complementary sensors). Because the wire colors are identical, never assume polarity from cable colors alone — check the sensor housing marking (PNP vs NPN) and the PLC input card wiring diagram before energizing.

Why PNP won in modern IEC 61131-2 plants: ground-fault safety

In an industrial machine with a grounded 0 V power-supply rail (PELV per IEC 60204-1), a pinched or abraded sensor cable eventually shorts the black signal conductor to the grounded metal frame:

  • With a PNP sensor, shorting the black wire to ground (0 V) clamps the PLC input to 0 V (OFF) and triggers the sensor’s built-in short-circuit protection (or blows the branch fuse). The machine sees a safe OFF state and stops or alarms.
  • With an NPN sensor, the PLC input is waiting for the black wire to be pulled down to 0 V. Shorting the black wire to the grounded frame looks identical to a valid ON signal — a valve limit switch, safety guard, or start-cycle proximity sensor can falsely trigger without a target present.

For this reason, European and North American machine builders standardized on PNP sensors with sinking IEC 61131-2 Type 1/2/3 PLC inputs. NPN survives primarily in legacy Japanese/Asian panels, high-speed TTL/open-collector circuits, and systems where a 5 V microcontroller must switch a 24 V relay coil without level shifting.

How NAMUR (IEC 60947-5-6) works — and why it dominates hazardous areas

A NAMUR discrete sensor contains no power-switching transistor and no output load driver. Defined by IEC 60947-5-6 (originally DIN 19234), it is a simple two-wire variable-impedance device powered from a dedicated switch amplifier or intrinsically safe (Ex ia) galvanic barrier whose nominal open-circuit voltage is 8.2 V DC with an internal 1 kΩ series resistance.

Instead of toggling between 0 V and 24 V, the sensor’s internal oscillator shifts the loop current across four strictly defined bands:

  1. Open-circuit / wire-break fault (≤ 0.1 mA): A broken cable, loose terminal, or failed sensor drops loop current near zero. The switch amplifier energizes its fault relay or sets a PLC diagnostic bit.
  2. Damped / target present (≤ 1.2 mA, typically ~0.5–1.0 mA): Metal in front of an inductive NAMUR switch damps the oscillator and reduces current draw below 1.2 mA.
  3. Undamped / target absent (≥ 2.1 mA, typically ~2.5–3.5 mA): With no target present, the oscillator draws more than 2.1 mA. Switching hysteresis between 1.2 mA and 2.1 mA (minimum 0.2 mA) prevents chatter on slow targets.
  4. Short-circuit fault (≥ 6.0 mA, typically > 6.5 mA): Crushed cable insulation or a shorted sensor draws high current limited by the barrier’s 1 kΩ resistor (~8.2 mA max), triggering the amplifier’s short-circuit alarm.

Because the barrier limits both voltage (~8.2 V) and current (~8.2 mA, < 70 mW), a NAMUR circuit stores negligible electrical and thermal energy. Certified Ex ia NAMUR sensors can therefore be mounted directly inside Zone 0 / Zone 20 (or NEC Class I, Division 1) explosive atmospheres with simple two-wire unarmored instrumentation cable. Verify your hazardous-area zone and marking requirements with the Ex marking decoder and compare international zones in the ATEX / IECEx vs NEC Class/Division guide.

NAMUR IEC 60947-5-6 vs NAMUR NE 43: do not mix them up

“NAMUR” is an association of chemical and process-industry users (Normenarbeitsgemeinschaft für Mess- und Regeltechnik), so the word appears in two completely different sensor standards:

  • NAMUR IEC 60947-5-6 (this guide) defines 2-wire discrete on/off proximity and limit switches operating at 8.2 V DC with 1.2 mA / 2.1 mA switching and ≤ 0.1 mA / ≥ 6.0 mA line-fault limits.
  • NAMUR NE 43 defines analog 4–20 mA transmitter diagnostic bands: normal measurement sits between 3.8 mA and 20.5 mA, while ≤ 3.6 mA (low fail) or ≥ 21.0 mA (high fail) signals a transmitter fault.

If you are scaling or troubleshooting an analog transmitter rather than a discrete proximity switch, use the 4–20 mA converter, PLC analog scaling calculator, or the 4–20 mA vs 0–10 V comparison.

Push-Pull, 2-wire DC, and relay outputs: when to choose alternatives

Three other discrete outputs solve specific edge cases where standard PNP, NPN, or NAMUR is not ideal:

  • Push-Pull (HTL / complementary 3-wire): Combines both a PNP and an NPN transistor in a totem-pole stage, actively pulling the output to +24 V when HIGH and to 0 V when LOW. It works with both sinking and sourcing PLC inputs, eliminates passive pull-down RC decay on long cables, and is the preferred output for high-speed flow pulse meters and incremental encoders. Check pulse frequency, cable capacitance, and PLC scan limits with the pulse output calculator.
  • 2-wire DC (non-NAMUR, IEC 60947-5-2): Wires in series with the PLC input like a mechanical switch, saving one conductor on long retrofit runs. However, the sensor steals power through the load, creating a 3–5 V residual drop when ON and 0.5–1.5 mA leakage current when OFF. Always check your PLC input card’s IEC 61131-2 Type 1/2/3 OFF-state current limit — high-impedance inputs can stay falsely latched ON from a 2-wire sensor’s leakage current unless you add a parallel bleed resistor.
  • Relay / dry contact (SPST or SPDT): Provides true galvanic isolation, zero off-state leakage, and the ability to switch AC mains or multi-amp solenoid valves directly. Trade-offs are slow switching (< 10 Hz), contact bounce, and finite mechanical/electrical life.

Cable length, voltage drop, and switching frequency limits

For long field runs, supply voltage drop and cable capacitance behave very differently across these interfaces:

  • 3-wire PNP / NPN: Supply current for the sensor electronics plus load current flows through the brown (+24 V) and blue (0 V) conductors. Over hundreds of meters of thin 0.25–0.5 mm² wire, voltage drop can starve a 10–30 V sensor or raise the 0 V reference. Check your cable resistance and terminal voltage margin with the sensor supply voltage drop calculator.
  • NAMUR (2-wire): Because the signal is a current (1.2 mA / 2.1 mA) rather than a voltage, series cable resistance up to 50–100 Ω (typically 500–1,000 m of 0.5 mm² twisted pair) causes zero threshold error as long as total loop resistance and cable capacitance/inductance stay within the Ex barrier’s entity parameters ($C_o$, $L_o$). For general 2-wire loop resistance checks, see the loop power calculator.
  • High-speed pulses: Open-collector PNP or NPN outputs rely on the PLC input resistance to discharge cable capacitance, which rounds off square waves above a few kilohertz on long runs. Switch to Push-Pull (HTL) or differential RS-422 for high-frequency encoders and turbine flowmeters.

Common mistakes

Wiring a NAMUR sensor directly to a standard 24 V DC PLC digital input. A standard 24 V PLC input expects > 11–15 V for logical HIGH and will either permanently damage an 8.2 V NAMUR sensor or never register the 1.2 mA / 2.1 mA current transition. Always insert a certified NAMUR switch amplifier or Ex barrier.

Connecting a PNP sensor to a sourcing (NPN) PLC input card. Even though both run on 24 V DC, the load sits on the wrong rail and no current flows through the PLC optocoupler. Use a Push-Pull sensor, an interface relay, or a dedicated PNP-to-NPN signal converter module if you cannot match the input card.

Ignoring off-state leakage on 2-wire DC sensors. A non-NAMUR 2-wire sensor leaks 0.5–1.5 mA when OFF. On a sensitive PLC digital input (especially older Type 1 cards), that leakage can exceed the OFF threshold and keep the input stuck ON.

Forgetting cable entity parameters on NAMUR Ex ia loops. Even with a certified Ex ia NAMUR sensor and barrier, an excessively long cable with high capacitance ($C_c$) or inductance ($L_c$) can violate the barrier’s $C_o$ / $L_o$ limits and invalidate the intrinsically safe installation.

Confusing NO/NC logic with PNP/NPN polarity. PNP vs NPN defines electrical current direction (sourcing vs sinking); NO (normally open) vs NC (normally closed) defines switching logic when a target is absent. Both PNP and NPN sensors are available in NO, NC, or complementary NO+NC versions.

Frequently asked questions

What is the main difference between PNP and NPN sensors?

PNP sensors are sourcing outputs that switch +24 V DC to the load (requiring a sinking PLC input whose common is tied to 0 V). NPN sensors are sinking outputs that switch 0 V (GND) to the load (requiring a sourcing PLC input whose common is tied to +24 V). PNP is safer against accidental cable-to-ground shorts because a short to machine frame cannot create a false ON signal.

Can I connect a NAMUR sensor directly to a 24 V DC PLC input?

No. A NAMUR sensor per IEC 60947-5-6 is designed for a nominal 8.2 V DC / 1 kΩ supply and signals by changing current between ≤ 1.2 mA and ≥ 2.1 mA. Connecting it directly to a standard 24 V DC digital input can destroy the sensor or fail to switch. You must use either a NAMUR switch amplifier, an intrinsically safe Ex barrier, or a PLC input card explicitly rated for IEC 60947-5-6 NAMUR inputs.

What are the exact IEC 60947-5-6 NAMUR switching and fault currents?

At the nominal 8.2 V DC / 1 kΩ source, IEC 60947-5-6 defines four bands: ≤ 0.1 mA indicates an open-circuit (wire break) fault, ≤ 1.2 mA is the damped (low-current) switching state, ≥ 2.1 mA is the undamped (high-current) switching state (with ≥ 0.2 mA hysteresis), and ≥ 6.0 mA indicates a short-circuit fault.

Is NAMUR the same as 4–20 mA NAMUR NE 43?

No. NAMUR IEC 60947-5-6 is a 2-wire discrete (on/off) proximity and switch standard operating at 8.2 V DC with 1.2 mA / 2.1 mA thresholds. NAMUR NE 43 is a recommendation for analog 4–20 mA process transmitters defining fault currents at ≤ 3.6 mA and ≥ 21.0 mA. Both provide line-fault diagnostics, but they are completely separate electrical interfaces.

Can a Push-Pull sensor replace both PNP and NPN sensors?

Yes, in most 24 V DC PLC applications. A Push-Pull (HTL) output actively drives both +24 V and 0 V, so it triggers both sinking (PNP-compatible) and sourcing (NPN-compatible) PLC inputs. Just verify that the output is not wired in parallel (wired-OR) with another sensor, because active opposing outputs will short-circuit each other.

Why are 2-wire NAMUR sensors preferred in ATEX Zone 0 and Zone 1?

Because a NAMUR sensor has no power output stage and runs through an energy-limiting Ex ia switch amplifier (8.2 V / 1 kΩ), total energy in the hazardous area is too low to ignite flammable gas or dust even under two simultaneous faults. In addition, the built-in wire-break and short-circuit detection satisfies functional-safety and process-plant diagnostic requirements without extra wiring.

How do I tell whether my PLC digital input card needs PNP or NPN?

Check where the PLC input card’s common terminal (COM, M, or 1M) is connected. If the common terminal is wired to 0 V (−), the PLC input is sinking and requires a PNP (sourcing) sensor. If the common terminal is wired to +24 V (+), the PLC input is sourcing and requires an NPN (sinking) sensor. Many modern bidirectional IEC 61131-2 cards accept either depending on how you wire the common terminal.

↑ ↓ choose · Enter open · Esc close