
Sensor Leakage Current Explained for 2-Wire and 3-Wire Sensors
An electronic sensor can pass a small current even when its output is OFF. If that current prevents the PLC input from resetting, the machine may still see an active signal. Compare the exact sensor’s maximum leakage with the input’s guaranteed OFF limits, then check ON-state load and timing.
What does leakage current mean on a sensor datasheet?
Leakage current is the current that can still flow through a solid-state switching path when the output is OFF. OFF therefore does not mean a perfect open circuit. A small specified current can be normal; the problem starts when the connected input or load cannot reliably reset with that current present.
This guide covers ordinary electronic proximity and photoelectric switches connected to discrete control inputs. Here, OFF means the electrical output state—not necessarily “no target.” A normally closed sensor can be electrically ON when no object is detected.
Do not confuse output leakage with current leaking to a metal housing or protective earth, moisture across a connector, or the intentional signal in a 4–20 mA loop. Those are different conditions requiring different checks.
The practical question: can the exact sensor and PLC input produce both a guaranteed OFF state and a reliable ON state throughout the intended operating conditions? Neither a sensor LED nor one successful bench cycle answers that alone.
Why are 2-wire and 3-wire leakage currents different?
The difference is where the electronics get their power. Wire count helps identify that arrangement, but the actual output circuit remains the authority.
2-wire: operating power and load current share a path
A conventional 2-wire electronic switch is connected in series with its load. Even while OFF, its electronics need energy, so a limited current continues through that shared loop. Replacing a mechanical contact with a 2-wire sensor can therefore change the input’s behavior without changing the number of conductors.
For a concrete example, OMRON lists 0.8 mA maximum leakage for the E2E-X3D1-M1GJ 0.3M DC 2-wire sensor. That is a specification for this exact model, not a universal value for every 2-wire device.
3-wire: distinguish the supply branch from the output branch
A 3-wire sensor has dedicated supply and return conductors plus a switched output. Its normal electronics current belongs to the supply budget; its specified output OFF-state current belongs to the PLC reset check. A separate output does not guarantee zero leakage.
2-wire electronic switch — OFF
DC supply → Sensor electronics → PLC input / load → Supply return
The shared loop carries the sensor’s OFF-state operating current through the load.
3-wire PNP example — OFF
Supply branch: +V → Sensor electronics → 0 V
Output branch: +V → OFF-state output leakage → PLC input → 0 V
Pepperl+Fuchs publishes the distinction explicitly for its NEN20-18GM50-E2-V1 3-wire PNP sensor: no-load supply current is at most 11 mA, while output OFF-state current is at most 10 µA (0.010 mA). Comparing 11 mA with a PLC’s OFF-current limit would compare the wrong branches. These values do not transfer to another model or suffix.
How do you check whether the PLC input will turn OFF?
Start with the sensor’s maximum leakage and the input module’s guaranteed state-0 region. Use the manufacturer’s voltage and current criteria together with the documented input circuit. A typical leakage value or a general “24 V input” label is not enough.
Check OFF, ON and timing separately
| Check | Sensor information | Input or load information |
|---|---|---|
| OFF-state reset | Maximum OFF leakage under the specified operating conditions. | Guaranteed OFF voltage/current region, or an explicit compatible-sensor leakage limit. |
| ON-state voltage | Maximum residual voltage at the relevant load; supply and cable losses. | Guaranteed ON voltage and permitted input-voltage range. |
| ON-state load | Minimum load, where specified, and maximum output current. | Actual input current over the resulting voltage range—not only the nominal value. |
| Transitions | Startup behavior, output pulses and response time. | Input delay/filter, pulse requirements and relevant diagnostics. |
For the ON-state voltage check, the basic budget is supply voltage minus sensor drop minus wiring loss. Use values applicable to the actual load and circuit. Low leakage cannot compensate for insufficient ON voltage or a load below the sensor’s operating requirement.
Likewise, a published input impedance is not automatically a constant resistance near the OFF threshold. Input electronics can contain diodes, protection networks and current conditioning. Use a manufacturer-approved calculation or input current–voltage data before treating I × R as an actual PLC terminal voltage.
Worked document review: 0.8 mA does not complete the approval
Illustrative engineering review using published specifications—not a manufacturer-approved pairing or a reported customer test. Consider the OMRON E2E-X3D1-M1GJ 0.3M and a Schneider Electric TM3DI8 input.
| Document | Relevant published values |
|---|---|
| OMRON E2E-X3D1-M1GJ 0.3M | DC 2-wire; leakage ≤0.8 mA; switching load 3–100 mA. Residual voltage is listed as ≤3 V at 100 mA with a 2 m cable. |
| Schneider TM3DI8 | State 0: voltage <5 V and current <1 mA. State 1: voltage >15 V and current >2.5 mA. Rated input current: 7 mA; listed impedance: 3.4 kΩ. |
What clears the first check: 0.8 mA is below the listed 1 mA OFF-current boundary. That supports continuing the review; it is not complete compatibility evidence.
What is still missing: establish the OFF voltage from the actual input characteristic or approved compatibility information. Then check that the input draws at least the sensor’s 3 mA minimum when ON after voltage losses. The nominal 7 mA input current is not a guaranteed minimum at every operating point.
Decision: do not approve from these summary figures alone. Obtain the remaining input/load characteristics, confirm the wiring and rating conditions, and validate the defined operating envelope. This is an evidence gap—not a claim that this pair must fail.
Outside guaranteed OFF does not mean guaranteed ON. An input can enter an unspecified region or remain in its previous state. Use the exact thresholds and hysteresis behavior; do not turn a failed OFF-margin check into a predicted output state.
What changes when several sensors share one input?
Check the complete circuit, not just one sensor. Series and parallel arrangements change different parts of the electrical budget and are permissible only where the manufacturers support the exact connection.
Parallel branches can add their OFF currents
Where an approved topology feeds several OFF-state leakage paths into one input, screen with the sum of their maximum currents. Two hypothetical 0.8 mA branches give 0.8 + 0.8 = 1.6 mA. Against the example input’s <1 mA OFF criterion, the combined worst-case current no longer supports guaranteed reset—even if each branch appeared satisfactory alone.
This calculation is an illustration, not permission to parallel these particular products. Branch interaction and pulses can impose further restrictions. Separate PLC inputs with the required logic in the controller also preserve individual sensor status for troubleshooting.
Series connections reduce the available ON voltage
Series electronic switches can accumulate ON-state voltage drops. They can also power one another unevenly and introduce startup pulses. Combining their states in wiring is therefore not equivalent to joining ideal mechanical contacts. A leakage-current check alone cannot validate a series chain.
Should you add a bleeder resistor or change the interface?
A bleeder resistor can help in a manufacturer-approved circuit, but it is not a universal repair. Connected across the input/load, it provides another current path so less leakage is available to hold that input above its reset region.
The trade-off appears when the sensor turns ON: the resistor still draws current and dissipates heat. The design must check resistance tolerance, maximum supply voltage, resistor rating and thermal derating, total output current, mounting, and failure behavior. A value copied from a different PLC manual does not establish those conditions.
Before adding hardware, consider the available options:
- A compatible input: a module explicitly supporting the selected 2-wire sensor’s leakage and load requirements.
- A different sensor output: for example, a suitably specified 3-wire output if another conductor is available and the PNP/NPN arrangement matches.
- An approved interface or bleeder: designed and documented for the actual sensor/load combination.
Different interface, different rules. Do not transfer this ordinary DC-input remedy to an OSSD safety circuit, NAMUR input, intrinsically safe loop or AC circuit. Follow that system’s approved interface and diagnostics; do not bypass protection to make an input indicator go out.
How can you tell leakage from a wiring fault or a pulse?
First confirm which signal is wrong: the sensor indication, the module’s physical input, or the value used by the PLC program. A forced input, latched variable, inverted logic or incorrect address can imitate a sensor that never turns OFF.
Check the installed load and the correct reference
For a voltage check, use the input terminal and its documented common—not an assumed chassis or earth reference. Keep the intended input/load in the circuit. An open-circuit measurement on a 2-wire sensor changes the circuit you are trying to assess.
A high-impedance voltmeter can show a voltage sustained by very little current. Capacitive coupling can also produce a misleading reading. Neither proves that the input has enough current to be ON, and neither proves a conductor is safe to touch. A low-impedance meter mode can disturb sensitive control electronics; use it only where the circuit and instrument instructions permit it.
Isolate power and prevent unexpected motion before changing wiring. Energized checks should be performed by qualified personnel under the site’s electrical procedure. If a current measurement is needed, it requires the correct series connection, fused input and range: never place a meter in current mode directly across the supply. Meter burden and resolution also matter when measuring small leakage currents.
Separate a steady level from a short event
| Observation | What to check next |
|---|---|
| Input remains active after the sensor output should be OFF | Confirm NO/NC behavior, PNP/NPN wiring, input common and actual OFF voltage/current. Look for another feed into the channel. |
| Problem began after adding another sensor or branch | Recheck permitted topology, combined leakage, backfeed and series voltage loss. |
| Input changes briefly at startup or when a drive switches | Compare time-resolved output behavior with startup specifications, input filtering, supply quality and cable routing. A steady meter reading may miss the event. |
| Module input is OFF, but the program still reports ON | Inspect the addressed channel, forcing, latches and program logic before replacing the sensor. |
A longer input filter can reject some short events, but it cannot make excessive steady leakage disappear. It can also suppress legitimate short pulses. Change filtering only after identifying the waveform and the machine’s required response.
What should you confirm before accepting a replacement?
Match the replacement to the input module, not just the old sensor’s voltage, housing and detection distance. Ask for the exact order code and output diagram, maximum OFF-state current, ON-state voltage drop, load-current range, and startup/output-pulse information. Identify the PLC module and channel configuration in the same review.
Then document the result with the intended cable and load: OFF and ON behavior, startup and shutdown, and the relevant extremes of supply, temperature and machine operation. A test demonstrates the conditions actually exercised; it does not replace missing ratings for conditions that were never tested.
The acceptance rule is simple: use the right current specification, keep both states inside the supported sensor–input operating window, and retain enough evidence to repeat the decision when a model, cable, input module or configuration changes.
Sources and method references
- OMRON: leakage-current definition and 2-wire DC current consumption — terminology and the shared operating-current path.
- OMRON E2E-X3D1-M1GJ 0.3M ratings — exact-model leakage, switching-load range and residual-voltage test condition.
- Pepperl+Fuchs NEN20-18GM50-E2-V1 technical data — separate no-load supply-current and output OFF-state-current specifications.
- Schneider Electric TM3DI8 / TM3DI8G characteristics — input thresholds and nominal data used in the illustrative review; document EIO0000003125.01.
- OMRON: series and parallel proximity-sensor connections — accumulated leakage, voltage drops and topology-dependent cautions.
- Rockwell Automation: photoelectric sensor and controller interface manual — leakage and bleeder principles, printed page 102 onward. Its legacy module-specific resistor tables are not generic sizing recommendations.
- Fluke: dual-impedance digital multimeters and ABCs of DMMs — meter loading, capacitive coupling, sensitive-control-circuit limitations and current-measurement precautions.
The current-path illustration is conceptual. The worked document review is an engineering interpretation of the cited data, not a certification, compatibility endorsement or test report. Manufacturer examples are not specifications for xsz sensor products.