SIGNALSWIRING / POWER & OUTPUT

2-Wire vs 3-Wire vs 4-Wire Sensors: Wiring & PLC Inputs

In industrial automation, 2-wire, 3-wire and 4-wire usually describe how a sensor's conductors are assigned to power and output, but the conductor count does not identify the electrical interface. A 2-wire device may be a series switching sensor or a loop-powered 4–20 mA transmitter; a 3-wire device commonly uses +V, 0 V and one output; a 4-wire device can use the extra conductor for a second output or a separate signal return.

Identify the function of every terminal before wiring. The same number of conductors can represent different electrical interfaces, and RTD 2/3/4-wire terminology describes lead-resistance compensation rather than the power/output arrangements used by active industrial sensors.

QUICK CHECK

Do not identify a sensor from wire count or colour alone. Confirm the supply terminals, output type, common or return, PLC input requirements and the exact manufacturer's wiring diagram before energising the circuit.

01 · PRINCIPLE

What 2-wire, 3-wire and 4-wire actually mean

Conductor count describes the number of electrical connections leaving the device. The next step is to identify each conductor's function: supply, return/common, switching output, analogue output, signal return or another assigned function.

2-WIREONE SERIES PATH

Power and signal may share the same current path, as in a loop-powered transmitter, or the sensor may act as an electronic switch connected in series with the load.

3-WIRESUPPLY + OUTPUT

Two conductors normally power the electronics and a third carries one output. Common examples are DC PNP/NPN switching sensors and voltage-output sensors.

4-WIREEXTRA FUNCTION

Two conductors may power the device while the other two form a signal pair, or the fourth conductor may provide a second switching output. The wiring diagram defines the assignment.

Important distinction: a “4-wire sensor” is not automatically isolated, and a “2-wire sensor” is not automatically a 4–20 mA transmitter. Both assumptions are common sources of wiring errors.
Visual comparison of two-wire, three-wire and four-wire industrial sensor conductor arrangements
Typical conductor arrangements for active industrial sensors; the product wiring diagram remains authoritative.
02 · TWO-WIRE

Two-wire sensors: one pair can serve very different circuits

An active two-wire industrial sensor can use the same pair for operating power and signal current. Two cases are especially easy to confuse: a loop-powered analogue transmitter regulates current in a measurement loop, while a two-wire switching sensor operates in series with its load or PLC input.

2-WIRE 4–20 mA TRANSMITTER

The transmitter takes operating power from the loop and regulates that same loop current to represent the process value. Supply voltage, input burden and all series drops must fit the 4–20 mA loop voltage budget.

2-WIRE SWITCHING SENSOR

The sensor and load share a series circuit. Because the sensor electronics still need power, an electronic two-wire switch can have OFF-state leakage current and ON-state residual voltage that a mechanical contact would not have.

SUPPLY2-WIRE SENSORPLC INPUT / LOAD

For a switching sensor, check the input's required ON current, maximum OFF current and the sensor's residual voltage. A sensitive PLC input can remain partially energised by leakage current, while a high-burden load can leave too little voltage across the sensor for reliable operation.

Do not substitute blindly: a two-wire proximity switch, a passive limit switch and a two-wire 4–20 mA transmitter may all have two conductors, but they require completely different receiving circuits.
03 · THREE-WIRE

Three-wire sensors: separate supply and one output

A common three-wire DC arrangement is positive supply, 0 V/common and one signal output. The sensor is powered independently of the output state.

ConductorCommon functionWhat to verify
+VPositive DC supply to the sensor.Rated supply range and polarity.
0 VPower return and often the signal reference.Whether PLC common/reference must be tied to this potential.
Q / OUTSwitching, voltage, current or pulse output depending on the device.PNP/NPN, analogue range, output current and receiving input type.

With a discrete output, the third wire is commonly PNP or NPN. A PNP output sources current into the receiving input when ON; an NPN output sinks current toward 0 V. A three-wire analogue sensor may instead use the third conductor for a 0–10 V output or a current output referenced to the supply common.

Shared reference matters: many three-wire analogue circuits depend on a common 0 V between sensor and receiver. A correct signal voltage measured locally at the sensor can still produce a wrong PLC value if the receiving reference is missing or shifted.
04 · FOUR-WIRE

Four-wire sensors: the fourth conductor has no universal function

Four conductors support several circuit arrangements, so “4-wire” is ambiguous without the wiring diagram. Common patterns include separate power and signal pairs, two complementary switching outputs, or a second independently configurable output.

POWER PAIR + SIGNAL PAIRTwo conductors power the device; two carry an analogue or other signal.
Q + /QOne supply pair plus normally complementary switching outputs.
Q1 + Q2One supply pair plus two independently defined outputs.
OTHER FUNCTIONSTeach, control, reference or communication functions can occupy the extra conductor.

Some four-wire transmitters provide galvanic isolation between power and signal circuits, but four conductors do not prove isolation. Other four-wire devices share an internal common. If isolation, common-mode voltage or grounding is important, check the electrical isolation specification rather than inferring it from conductor count.

A four-wire proximity sensor may simply provide both NO and NC outputs. That device is electrically very different from a four-wire analogue transmitter with a separate signal return, even though both have four conductors.

Conceptual overview of power and signal arrangements in two-wire, three-wire and four-wire active sensors
Conceptual power and signal arrangements. Exact terminals, polarity and output functions depend on the sensor model.
05 · PLC INPUTS

Matching the sensor wiring to a PLC or controller input

Start at the receiving module. Identify whether the channel is a digital input, current input, voltage input, counter/frequency input or a configurable universal input. Then trace the complete current or voltage path back through the sensor.

Sensor wiring arrangements and critical PLC-side compatibility checks
Sensor arrangementTypical interfaceCritical PLC-side check
2-wire electronic switchSeries DC or AC switching circuitInput/load current, OFF-state leakage current, ON-state residual voltage and polarity where applicable.
2-wire 4–20 mALoop-powered analogue currentLoop supply, active/passive input, polarity and voltage budget.
3-wire PNP/NPNDC digital inputSourcing/sinking compatibility, DI common and ON/OFF thresholds.
3-wire voltage output0–10 V / other voltage inputSignal reference, input impedance and common-mode limits.
4-wire deviceTwo outputs or separate power/signalFunction of both extra terminals; never assume isolation or complementary logic.

Software inversion cannot fix an electrically incompatible input. For example, changing a PLC tag from normally open to normally closed does not make an NPN input circuit accept a PNP sensor if the required current path is absent.

06 · IDENTIFICATION

Wire colours and connector pins are clues, not proof

Many industrial DC sensors use brown for positive supply, blue for 0 V, black for the primary output and white for a second output or auxiliary function. On many M12 sensors, these functions also appear on familiar pin positions. These conventions are useful during commissioning, but they are not a substitute for the exact product wiring diagram.

BROWN · OFTEN +VCommon on many DC proximity, photoelectric and analogue sensors.
BLUE · OFTEN 0 VCommon power return or reference on many three- and four-wire DC devices.
BLACK / WHITE · OUTPUTSFrequently used for Q, Q1/Q2, NO/NC or auxiliary functions depending on the model.

Connector pin count is also different from the number of electrically used conductors. A sensor may use a four-pin M12 connector but only three pins for power and one switching output. Another device with the same connector shell may use all four pins for two outputs.

Field rule: identify the exact part number first. Then use its terminal diagram to label each conductor before connecting the PLC side.
07 · RTD EXCEPTION

2-wire, 3-wire and 4-wire RTDs mean something different

When the same terminology is used for Pt100 or Pt1000 RTDs, the extra wires are used primarily to compensate for lead resistance. This is a resistance-measurement topology, not the same classification used for powered PNP/NPN sensors or externally powered analogue transmitters.

2-WIRE RTD

The measuring instrument sees the RTD element plus the resistance of both leads. Lead resistance therefore adds directly to the measured resistance.

3-WIRE RTD

The measuring circuit compensates for lead resistance by using the third conductor, typically assuming the corresponding lead resistances are equal or closely matched.

4-WIRE RTD

Separate current and voltage-sense connections allow a Kelvin measurement that largely removes lead resistance from the result.

Do not apply RTD 2/3/4-wire rules to powered sensors. In an RTD, the extra leads support lead-resistance compensation; in an active sensor, extra conductors may carry power, outputs or a signal reference.

08 · REPLACEMENT & CHECKS

Replacing or troubleshooting 2-wire, 3-wire and 4-wire sensors

A replacement sensor must match the electrical interface, not merely the number of wires. Check supply range, output type, polarity, NO/NC or output logic, analogue range, current capability, leakage current, residual voltage, connector pinout and the receiving PLC input before treating two devices as interchangeable.

Sensor wiring selection and replacement checklist for two-wire, three-wire and four-wire devices
Use wire count as one identification clue, then match device type, output function, receiver compatibility and electrical ratings.
  1. Read the exact part number. Identify whether the device is a switch, analogue transmitter, pulse source, RTD or another sensor type.
  2. Label every conductor by function. Mark supply, return/common, primary output, second output or signal return from the manufacturer's diagram.
  3. Confirm the PLC channel type. Check digital versus analogue, current versus voltage, PNP/NPN current path, active/passive loop power and input thresholds.
  4. Measure before reconnecting. Verify supply voltage and reference potentials; for an output conductor, measure it using the reference specified for that output.
  5. Check electrical limits. Include output current, leakage, residual voltage, load impedance, cable resistance and any external barriers or isolators.
  6. Test the complete state change. Confirm both the sensor indication and the actual PLC value or input state rather than relying on the sensor LED alone.
Common sensor wiring symptoms and likely electrical checks
SymptomLikely checks
Same wire count, replacement does not workDifferent PNP/NPN output type, signal type, pinout, NO/NC logic or supply range.
2-wire input never turns fully OFFSensor leakage current versus PLC OFF threshold or load impedance.
2-wire device cannot turn load fully ONResidual voltage, insufficient load current or wrong series connection.
3-wire sensor LED changes, PLC does notPNP/NPN compatibility, missing common, output conductor, threshold or damaged input.
4-wire device behaves unexpectedlyFunction of fourth conductor, complementary versus independent outputs, shared versus isolated return.
RTD reading shifts with cable lengthRTD input configured for the correct 2/3/4-wire mode and lead-resistance compensation.