Short answer

First separate the sensor from the PLC input and observe the output with a suitable test load or meter. If the output remains active without a target, check for an output short or a wiring mistake before changing the sensor.

PNP sensor to PLC input wiring diagramA three-wire PNP sensor sends positive voltage to a PLC input.PNP / SOURCING OUTPUTSENSOR3-wire DCPLC INPUTsinking / common −I0.0+24 V / brownsignal / black0 V / blue Original diagram · Signal Field Guide / field note troubleshooting

Quick reference: PNP 3-Wire Sensor Output States, Failure Modes & Multimeter Diagnostics

PNP 3-Wire Sensor Output States, Failure Modes & Multimeter Diagnostics
Sensor Operating StateOutput Wire (Black) ConditionDMM Reading (to 0V Blue)Target ConditionDiagnostic Root Cause
Normal OFF StateOutput transistor non-conducting< 0.8 V DC (under load)No metallic target within rangeNormal operation; minimal off-state semiconductor leakage
Normal ON StateOutput transistor conducting22.5 V – 23.6 V DCValid target within sensing rangeNormal operation; 0.4 V to 1.5 V internal transistor saturation drop
Internally Shorted ONPermanent junction short-circuit23.8 V – 24.0 V DC constantTarget removed or distantPNP output stage destroyed by inductive surge spike or external load short
Mechanical / Collar Over-sensingOutput transistor conducting23.0 V – 23.5 V DCNon-flush sensor recessed in steelUnshielded sensor face detecting metal mounting bracket as continuous target
High-Z DMM Ghost VoltageHigh-impedance float (>10 MΩ)12.0 V – 18.0 V DC (unloaded)No target presentMultimeter reading off-state leakage; drops to 0.0 V when loaded with 10 kΩ resistor

What to look for

Confirm the supply polarity and the 0 V reference. A floating or shared common can make the input state look permanently true even when the sensor output is behaving as designed.

If the electrical checks pass, inspect target distance, hysteresis, and mounting. A metal target close to the sensing face can keep a proximity sensor inside its active zone.

FIELD CASE / REASONING PATH

When the symptom appears in the plant

A bottling line kept jamming because a bottle present sensor remained triggered even when the conveyor was empty. The technician cleaned the lens, but the LED stayed on. Upon measuring the output, they found 24V regardless of target presence. The sensor's internal solid-state output had failed in a shorted condition due to a previous wiring mistake that exposed it to a voltage spike without a flyback diode on the inductive relay coil it was driving.

Safety & Meter Pitfall

The 10 MΩ Multimeter Off-State Leakage False Alarm

A standard digital multimeter has an input impedance of 10 MΩ. Solid-state sensors (PNP transistors, inductive proximity, optical switches) exhibit a tiny quiescent off-state leakage current (typically 0.1 mA to 0.8 mA). When measuring an open, disconnected output terminal with a 10 MΩ meter, that sub-milliamp leakage current develops an open-circuit voltage reading between 12 V DC and 22 V DC. Technicians routinely mistake this ghost voltage for a shorted, stuck-on sensor. Before condemning the sensor, place a 10 kΩ 1/2W resistor across the black output wire and the blue 0V wire, or measure while connected to the PLC sinking input. If the voltage collapses below 1.5 V DC under load, the sensor output stage is completely healthy.

DIAGNOSTIC SEQUENCE

Five checks before replacement

  1. Disconnect the sensor output wire (black) from the PLC input terminal and measure voltage across black and blue (0V) with the target absent.
  2. If the unloaded wire still reads near supply voltage, place a 10 kΩ burden resistor across black and blue; if it remains at 24V, the PNP output transistor is internally shorted.
  3. Inspect the physical mounting face: verify an unshielded (non-flush) sensor is not recessed into a metal plate, causing the housing to act as a permanent target.
  4. Check the sensor's optical sensitivity potentiometer or teach-in setting; excessive gain can detect conveyor backgrounds, dust accumulations, or ambient light reflections.
  5. Measure the 24V DC power rail with a multimeter set to min/max peak capture to verify inductive loads (coils/brakes) are not generating reverse voltage transients without flyback protection.
PRACTICAL NOTES

Solid-state PNP outputs fail closed (shorted) far more frequently than open when subjected to overcurrent or inductive flyback spikes.

Always install a 1N4007 flyback diode across DC relay coils driven directly by sensor outputs; reverse inductive kickback can exceed 200V in 5 microseconds.

For optical sensors, verify the selector switch is not inadvertently flipped from Light-ON to Dark-ON operation.

BEFORE YOU REPLACE THE PART

Bench checklist

  • Disconnect the Black output wire from the PLC input and measure voltage to Blue 0V with a high-impedance meter.
  • If output stays high with no load, check for an internal transistor short or water ingress inside the sensor housing.
  • Verify that the sensing face is clean: remove metallic chips, swarf, or conductive slurry buildup.
  • Check target mechanical clearance: ensure target fully retracts beyond the release distance (hysteresis threshold).
  • Confirm whether the sensor is configured as Normally Open (NO) or Normally Closed (NC) in the part number.

Reference families

  • IEC 60947-5-2 Standard
  • Sensor Output Circuit Protection Guidelines

Always verify the current edition and the exact device manual for the installation.

READ THE PRIMARY MATERIAL

Official references

These links point to standards bodies, industry organizations, or manufacturer documentation. Standards landing pages may require purchase or institutional access.

MV
FIELD INSTRUMENTATION & CONTROLS SPECIALIST

Marcus Vance, PE

16+ Yrs Field Exp

Marcus is a licensed Professional Engineer specializing in industrial process automation, PLC/DCS I/O commissioning, and instrumentation troubleshooting across petrochemical and manufacturing facilities.

Peer-reviewed for IEC & ISA standards compliance · Editorial methodology →
This note is an educational reference, not a substitute for the equipment manual, site procedures, or qualified electrical work.