Sinking and Sourcing in PLC: 4 Reliable Rules to Avoid Wiring Mistakes

Share:

Industrial 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.

Sinking vs Sourcing Inputs Sinking vs Sourcing Outputs PNP vs NPN Sensors Connection Type Helper

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.

Advertisement
Advertisement

How a Sinking Input Circuit Completes: 4 Steps

1
🔌
Common Is Wired to Negative

The input module's common point is connected to the negative side of the power supply.

2
Positive Is Supplied Externally

A positive potential is sent out to the field device from an external source in the panel.

3
🔘
Field Device Closes

When the sensor or switch activates, it closes the path and lets the positive signal return.

4
Circuit Completes and Input Sees Voltage

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

🔵 Sinking Input

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.

Positive fed externally
🟢 Sourcing Input

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.

Negative fed externally
🟠 Sinking Output

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.

PLC switches positive
🟣 Sourcing Output

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.

PLC switches negative
Advertisement
Advertisement
Sinking-and-Sourcing

Where the Voltage Actually Comes From

Sinking vs Sourcing Current Path
Sinking Connection
Common (negative)
Field Device (gets positive)
Back to Input
Sourcing Connection
Common (positive)
Field Device (gets negative)
Back to Input
Sinking sends positive potential out to the field device, which is why it pairs with PNP sensors.
Sourcing sends negative potential out to the field device, which is why it pairs with NPN sensors.
Neither sinking nor sourcing is universally better. The right choice depends entirely on what your sensor expects and how critical grounding safety is at your site. There Is No Single Correct Answer, Only the Right Fit
Advertisement
Advertisement

4 Rules for Choosing Sinking or Sourcing

1
Match connection type to sensor type: a PNP sensor needs a sinking connection, while an NPN sensor needs a sourcing connection.
2
Prefer sinking where grounding faults are a concern: it reduces the chance that an accidental ground contact creates a false signal.
3
Check your country or site standard first: some regions default to sinking, others default to sourcing, and panels should stay consistent with that standard.
4
Remember sourcing keeps high voltage inside the panel: only the common wire carries the full supply voltage, while field wiring carries the lower return potential.

Quick Reference: Sensor Type to Connection Type

Simple matching rule: PNP sensor: use a sinking connection
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

Point Sinking Sourcing
Common polarity Negative Positive
Field device receives Positive potential Negative potential
Sensor type match PNP NPN
Ground fault risk Lower Higher

Where Sinking and Sourcing Show Up in Real Panels

🔘
Proximity Sensor Wiring

Connection type must match whether the sensor is PNP or NPN before it will work.

🔲
Push Button Input Wiring

Simple field buttons still need the common polarity checked before wiring.

Relay Output Wiring

Output connection type decides whether the relay coil sees positive or negative switching.

🚰
Solenoid Valve Output Wiring

A mismatched output type can leave a solenoid valve unable to energize at all.

🏭
Panels With PNP Sensors

These panels are typically wired with sinking inputs throughout.

🌍
Panels With NPN Sensors

These panels are typically wired with sourcing inputs throughout, common in some regions.

Wiring Sinking and Sourcing Correctly

✅ Do
  • 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
  • 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.
Advertisement
Advertisement

Sinking or Sourcing? Quick Helper

Select your sensor type to see which connection type it needs.

🔌
Connection Type Helper
A simple guide for students and new panel technicians
✔ Result

Quick FAQs: Sinking and Sourcing in PLC

Does sinking and sourcing apply to analog IO?
No, this concept applies only to digital inputs and outputs. Analog signals like 4 to 20 mA work on a different principle entirely.
Can I mix a PNP sensor with a sourcing input?
No, a PNP sensor is built to work with a sinking connection. Mixing it with a sourcing input usually means the circuit will not complete properly at all.
Why is sinking often preferred for safety critical grounding?
With sinking, an accidental ground fault on the field wiring is less likely to create a false signal, which matters most in areas where safety depends on accurate input readings.
What is the difference between common and return in a PLC IO circuit?
Common is the reference point the module measures against, while the return path is simply how current makes its way back to complete the circuit through that common point.
Do sinking and sourcing standards differ by country?
Yes, some countries and industries default to sinking as their standard practice, while others default to sourcing, so it is always worth confirming local convention before designing a panel.

External References

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.
"I hope you like above blog. There is no cost associated in sharing the article in your social media. Thanks for Reading !! Happy Learning"
📲 Stay Updated: Join Our Community

Leave a Reply

Your email address will not be published. Required fields are marked *