Matching Sensor Outputs to PLC Inputs: Two-Wire, Light-On/Dark-On and Leakage

  • time:2026-12-03 14:09:03
  • Click:0

Ask how much current the two-wire sensor lets through while it is off, and compare that figure with the current at which your controller input or relay is guaranteed to read off. A two-wire sensor powers itself through the load, so a small leakage current always flows; if the input is very sensitive, it may never fully release. KJT Sensors recommends putting that question, together with the on-state voltage drop, next to output type and switching logic on the selection sheet.

Why does a two-wire sensor never switch completely off?

A two-wire sensor has no separate supply line, so it has to keep its own electronics alive through the same path that carries the load current. When the output is off, a small current still passes to run the oscillator or optics inside; when it is on, the sensor itself takes up a little of the supply voltage. Neither effect is a defect. Both are part of the design, and both have to suit the input they feed.

The practical question is margin. A standard controller input has a current below which it reads off, and a voltage above which it reads on. If the sensor's leakage sits close to the off threshold, or its voltage drop leaves too little for the on threshold, the input can hover between states. A very low-power relay coil or an electronic input with high sensitivity is the usual case where this matters.

How do two-wire and three-wire designs compare at the selection stage?

They differ in how the sensor gets its power, and that changes which questions you ask. A three-wire sensor has its own supply and a separate output, so leakage in the off state is very small and voltage drop is set by the output stage. A two-wire sensor saves a conductor and suits retrofit work, but its leakage and voltage drop become part of the input match.

QuestionTwo-wire sensorThree-wire sensor
How is the sensor powered?Through the load, in series with itFrom a separate supply
Off-state leakageAlways present; must be below the input's off levelVery small
On-state voltage dropTaken from the supply the load seesSet by the output stage
Output polarity choiceUsually not applicableNPN (sinking) or PNP (sourcing)
Typical selection concernInput sensitivity and series loadsMatching sinking or sourcing to the input

What separates an NPN choice from a PNP choice?

The choice follows the input, not the sensor. An NPN output sinks current, switching the signal towards the negative side; a PNP output sources current, switching it towards the positive side. A controller input is built to accept one of these. When replacing a sensor, confirm which type the existing input expects before ordering, because a sensor of the other polarity will simply not produce a usable signal there.

Normally open and normally closed are a separate choice again. Normally open turns on when the target is present; normally closed does the opposite. A replacement should match the original's polarity and its normal state.

How should light-on and dark-on behaviour be specified?

Specify it from the controller's point of view: should the input be on when light reaches the receiver, or when the beam is blocked? Light-on means the output switches when the receiver sees light; dark-on means it switches when light is interrupted. For a through-beam pair, a part breaking the beam is a dark event; for a diffuse sensor, the part reflecting light back is a light event. Many photoelectric models let you select the mode, so state the required logic on the order rather than relying on a default.

KJT photoelectric sensors cover presence, location, distance, colour and transparency tasks, and colour sensors combine colour identification, light-strength judgment, sensitivity adjustment and output signal control. Where the detection point is tiny or there is no room for a sensor body, fiber-optic sensors carry the light to a small head, and the same light-on or dark-on question applies to their amplifier.

Sensor accessories including brackets, cables and connectorsrfq-sensor-accessories-and-cables

Which sensing family should come before the output question?

The target decides the family, and the family then narrows the output options. Inductive proximity sensors are based on electromagnetic induction: the sensor face forms an alternating field, and when metal targets enter the sensor area the change is converted to a switching output or other output signals. They are built for non-contact metal detection of position, in-position status and motion status, and serve presence detection, counting and equipment-status monitoring. Because they do not depend on direct contact movements, they suit frequent switching and long-term operation.

Capacitive sensors handle non-metallic materials, transparent containers, powder silos and liquid tanks. Their design includes sensitivity adjustment, signal processing and output control modules, so ask which output variants the chosen body offers.

Frequently asked questions

Can a two-wire sensor drive two inputs at once?

Treat that as a question for the supplier. Leakage and voltage drop are shared across the loads, so a combination that suits one input may not suit two.

What is the difference between voltage drop and leakage current?

Voltage drop applies when the sensor is on; leakage applies when it is off. Both should be compared with the input's on and off thresholds.

Does light-on or dark-on change the sensor's sensing range?

No. It only inverts the output logic; range and margin stay the same.

Recommended products

×

Contact us

I agree to the Privacy Policy and consent to the processing of my personal information for responding to my inquiry.