MOULDLKnowledge BaseElectrical Knowledge Base3D Model DownloadsMembership
中文版Model Store »
Knowledge Base › Electrical Knowledge Base › Two-wire versus three-wire photoelectric switches
HomeModels
Table of contents

On this page

Sensors & Detection (100 articles)

Quick Reference

  • PLC & Programming
  • Electrical & Electronic Basics (monthly)(每月更新中)
  • Electrical Control & Drawings (monthly)(每月更新中)
  • Drives & Actuators (monthly)(每月更新中)
  • Sensors & Detection (monthly)(每月更新中)
  • Industrial Communication & Networks (monthly)(每月更新中)
  • HMI & Host Systems (monthly)(每月更新中)
  • Industrial Robots & Motion Control (monthly)(每月更新中)
  • Mechatronic System Integration (monthly)(每月更新中)
  • Fault Diagnosis & Standards (monthly)(每月更新中)

Two-wire versus three-wire photoelectric switches

Choosing between two-wire and three-wire photoelectric switches involves wiring cost, response speed, leakage constraints and compatibility. Principle differences, parameter comparison and a selection rule below.

1. How it works

A two-wire photoelectric switch sits in series with the load: supply, switch and load form one loop, current through the load carries the signal, and the terminal voltage marks the state. It wins on wiring simplicity and cost, but pays with three constraints: an ON-state residual voltage up to 3V that the load must tolerate; an OFF-state leakage up to 1.5mA through the load, enough to ghost sensitive inputs; and slower response. The three-wire type separates power from signal - brown and blue supply, black or white output - and an NPN or PNP transistor drives the load directly with low drop, near-zero leakage and fast response, the mainstream for direct PLC drive.

2. Practice and pitfalls

The numbers: residual voltage up to 3V two-wire versus about 2V three-wire; leakage 1.5mA versus far less; response typically 5~20ms versus 0.5~5ms; and load matching, where two-wire demands a check of load impedance, relay holding current and PLC input thresholds. Selection rule: PLC inputs and small relays take three-wire for peace of mind; a single hefty relay, long runs saved on cores, or simple loops without PLC take two-wire; AC supply effectively leaves only two-wire. Wiring notes: DC two-wire units are polar, brown positive and blue negative in series with the load - reversal usually harmless but silent; three-wire follows brown positive, blue negative, black signal, with the output type matched to the downstream common logic. The classic mistakes: a two-wire unit wired straight across the supply without a load - the overcurrent kills it, so always keep the load in series; leakage ghosting the PLC input - move to three-wire or add a bleeder resistor; and two two-wire units in one series loop - stacked residual voltage starves the load, keep one and mind the arithmetic. Copy leakage, residual voltage and load impedance onto the drawing note whenever two-wire is chosen.

3. Two-wire versus three-wire comparison

ItemTwo-wireThree-wire
Conductors2, in series with the load3, power and signal separated
ON residual voltageWithin 3V, borne by the loadWithin 2V, gentler
OFF leakageWithin 1.5mAFar less, near zero
Response timeTypically 5~20msTypically 0.5~5ms
Load matchingCheck leakage and holding currentUniversal for PLC and relays
Cost and routingFewest coresOne extra core, least worry

4. Notes

The trade-off mantra: speed and precision take three-wire, economy and simplicity take two-wire, AC supply allows only two-wire. Whenever two-wire is chosen, copy three numbers onto the drawing - leakage, residual voltage, load impedance - and wiring errors drop nine tenths.

5. References

The quantities and component characteristics discussed here follow current national standards and the corresponding IEC documents: Photoelectric switch characteristics and tests per GB/T 14048.10 (IEC 60947-5-2); control circuits per GB/T 5226.1. Always check the device datasheet and the product design file for ratings and derating.

6. Cautions

⚠️ Three common pitfalls:
① A two-wire unit across the supply without a load:Overcurrent kills it on the spot - the load always stays in series
② Leakage ghosting the PLC input:Move to three-wire or fit a bleeder resistor - do not bend the program around a hardware flaw
③ Two two-wire units in one series loop:Stacked residual voltage starves the load - keep one and check the arithmetic

Locate the issue with the approach above, then confirm with measurements; safety-related circuits must follow the standards and manufacturer requirements.

Related reading

Related 3D models: Ready to build it? Download free 3D models & CAD drawings at MOULDL »
MOULDL · Electrical Knowledge Base · free self-study reference for electrical & automation engineers, 3D CAD models at MOULDL