Table of Contents
ToggleIndustrial Automation · PLC · IO Wiring · Sinking and Sourcing
Sinking and Sourcing in PLC: 4 Reliable Rules to Avoid Wiring Mistakes
Two panels can look identical and still fail to talk to their sensors correctly, all because of one missed wiring choice. This guide explains sinking and sourcing in PLC systems in plain words, covers inputs and outputs separately, and gives you a simple helper to check which connection your sensor actually needs.
What Do Sinking and Sourcing Mean in a PLC?
Every digital input or output on a PLC has a common point, which is the reference the module measures voltage against. Sinking and sourcing in PLC wiring simply describes which way current flows through that common point and out to the field device. This idea only applies to digital inputs and outputs. Analog signals, like a standard 4 to 20 mA loop, work differently and are not part of this discussion.
Getting this choice right matters because a mismatched connection can mean the circuit simply never completes, even though every wire looks correctly connected. Understanding sinking and sourcing in PLC systems early saves a lot of confused troubleshooting later on site.
How a Sinking Input Circuit Completes: 4 Steps
The input module's common point is connected to the negative side of the power supply.
→A positive potential is sent out to the field device from an external source in the panel.
→When the sensor or switch activates, it closes the path and lets the positive signal return.
→Voltage now appears between the input point and common, and the PLC reads the input as active.
Four Connection Types You Will Wire in a PLC
Common is negative, and positive potential is supplied to the field device from outside the module.
Sensor match: works with PNP type sensors and switches.
Common is positive, and negative potential is supplied to the field device from outside the module.
Sensor match: works with NPN type sensors and switches.
Common is negative, and the PLC output switches positive potential out to the connected field device.
Good for: driving relays, lamps, and similar loads with a PNP style circuit.
Common is positive, and the PLC output switches negative potential out to the connected field device.
Good for: driving loads that expect a negative switched signal.

Where the Voltage Actually Comes From
4 Rules for Choosing Sinking or Sourcing
Quick Reference: Sensor Type to Connection Type
NPN sensor: use a sourcing connection
Sinking input or output: common is negative
Sourcing input or output: common is positive
This rule applies the same way to both inputs and outputs. If a sensor or actuator does not seem to respond even though wiring looks correct, checking whether the connection type actually matches the device type is one of the first things worth verifying.
Sinking vs Sourcing: Full Comparison
Where Sinking and Sourcing Show Up in Real Panels
Connection type must match whether the sensor is PNP or NPN before it will work.
Simple field buttons still need the common polarity checked before wiring.
Output connection type decides whether the relay coil sees positive or negative switching.
A mismatched output type can leave a solenoid valve unable to energize at all.
These panels are typically wired with sinking inputs throughout.
These panels are typically wired with sourcing inputs throughout, common in some regions.
Wiring Sinking and Sourcing Correctly
- Check the sensor type before wiring: PNP or NPN determines the connection type needed, not personal preference.
- Follow the site or country standard: keep panels consistent so troubleshooting stays simple later.
- Use sinking where grounding safety matters: it lowers the risk of a false signal from an accidental ground fault.
- Label common polarity clearly: on the panel so future technicians do not have to guess.
- Don't mix sinking and sourcing on the same card without checking: some modules support mixed wiring, many do not.
- Don't assume every country uses the same standard: always confirm local practice before finalizing a design.
- Don't ignore a PNP or NPN mismatch: it can prevent the circuit from working at all, not just work poorly.
- Don't guess wiring without checking the module datasheet: the correct terminal layout is always specified there.
Sinking or Sourcing? Quick Helper
Select your sensor type to see which connection type it needs.
Quick FAQs: Sinking and Sourcing in PLC
External References
- Wikipedia: PNP and NPN Transistor Basics
- IEC 61131: Programmable Controllers Standard
- Omron: Sensor Output Types Reference Guide
What we learn today
- Sinking and sourcing in PLC wiring describes which direction current flows through a common point, and applies only to digital inputs and outputs.
- Sinking connections use a negative common and supply positive potential to the field device, matching PNP sensors.
- Sourcing connections use a positive common and supply negative potential to the field device, matching NPN sensors.
- Matching sensor type, following the local standard, and considering grounding safety are the four practical rules that prevent most wiring mistakes.
