The single most common "why doesn't this input work" call in industrial automation isn't a broken wire — it's a sourcing module wired to a sourcing sensor, and neither side able to complete the loop.
This is the exact same underlying idea as NPN vs. PNP sensors — but looked at from the PLC module's side of the wire instead of the field device's side. A digital input (or output) module doesn't just accept any 24VDC signal — it's internally built to provide one specific half of the circuit, and it needs the field device on the other end to provide the other half. Get that pairing backward, and the input never sees a valid signal at all — regardless of whether the sensor itself is working perfectly.
A sourcing module internally ties its I/O terminal toward +V (through an internal pull-up), so it hands current out to the field wiring and expects the connected device to sink that current away to ground to register a signal — that's exactly what an NPN (sinking) sensor does. A sinking module internally ties its I/O terminal toward 0V instead, so it expects the connected field device to source +V current intoit — that's exactly what a PNP (sourcing) sensor does. The module provides one half of the loop; the field device has to provide the other, complementary half, or the loop never closes.
A sourcing module's internal pull-up permanently biases its signal terminal toward +V. That's only useful if the field device on the other end can occasionally override it by pulling the terminal down to 0V — which is precisely what an NPN (sinking) sensor's output does when triggered. Pair that same module with a PNP (sourcing) sensor instead, and both ends of the wire are now trying to hold the terminal toward +V at the same time. There's no device anywhere in the loop that ever provides a path down to ground, so the terminal never sees the LOW transition the module is watching for — the input just never registers, no matter how reliably the sensor itself is triggering.
This is exactly why the same physical PLC module isn't "compatible" or "incompatible" in the abstract — it's compatible with one specific complementary device type, and non-functional with the other, even though nothing about the module itself changed between the two scenarios.
Sink and source aren't independent properties of a single device sitting in isolation — they only mean anything relative to whatever is wired to the other end. A sourcing PLC module isn't "good" or "bad" on its own; it works perfectly with a sinking (NPN) field device and doesn't work at all with a sourcing (PNP) field device, using the identical module, identical firmware, identical wiring terminals, with nothing changed except which sensor is plugged in. The exact same statement is true in reverse for a sinking module paired against sourcing vs. sinking field devices. What actually determines whether a circuit works is whether the two ends complement each other— one end providing the +V-side connection, the other end providing the GND-side connection. Troubleshooting "why doesn't this input work" by only checking whether the sensor is good, or only checking whether the module is good, misses the pairing question entirely — which is exactly why this mismatch is one of the most common recurring field-wiring troubleshooting calls in industrial automation.
Explains sinking vs. sourcing PLC digital I/O modules: a sourcing module internally biases its terminal toward +V and needs the field device to sink current to ground, while a sinking module biases its terminal toward 0V and needs the field device to source +V into it. Matching module type to field-device type — sourcing module with sinking (NPN) device, or sinking module with sourcing (PNP) device — is what completes the circuit.
It's easy to treat "sinking" and "sourcing" as a fixed label stamped on one device — as if a module or sensor is simply "a sourcing part" the way it might be "a 24VDC part." But sink and source only describe which half of the circuit a device provides, and a circuit only closes when the two connected devices provide complementary halves. The same sourcing PLC module works flawlessly with a sinking field device and is completely non-functional with a sourcing field device — nothing about the module itself changes between those two cases. The mismatch, not either device in isolation, is what breaks the circuit.
A sourcing PLC digital input module contains an internal pull-up that biases its signal terminal toward the +V supply rail. Left alone, the terminal sits at a HIGH logic level. For the module to register an ON signal, something external has to pull that terminal down to 0V — which is exactly what a sinking (NPN) field device does when it triggers: its output transistor connects the shared terminal to ground, completing a loop from +V through the module's internal pull-up, out to the terminal, into the field device, down to ground.
A sinking PLC digital input module works the mirror-image way: it contains an internal pull-down that biases its signal terminal toward 0V. For the module to register an ON signal, something external has to pull that terminal up toward +V — which is exactly what a sourcing (PNP) field device does when it triggers: its output transistor connects the shared terminal to +V, completing a loop from +V through the field device, out to the terminal, through the module's internal pull-down, to ground.
Digital output modules follow the identical logic in reverse, providing one half of the circuit toward the load the same way an input module provides one half toward the sensor.
Matching module type to field-device type is a standard, and frequently overlooked, part of specifying and troubleshooting industrial control wiring. A PLC card ordered as sourcing I/O needs sinking (NPN) field devices connected to it — proximity sensors, photoelectric sensors, limit switches with NPN transistor outputs — to ever register a signal. The reverse pairing, a sinking I/O card with sourcing (PNP) field devices, is equally valid but is the opposite pairing; mixing them (sourcing card with sourcing device, or sinking card with sinking device) produces an input that appears to simply never respond, even though the sensor itself may be triggering perfectly and every wire may be correctly landed on the right terminal. Because this fault mode produces no obvious wiring error, no blown fuse, and no fault code on many basic input cards, it's one of the single most common "why doesn't this input work" troubleshooting calls in industrial automation, and checking module I/O type against field-device output type is usually one of the first things worth confirming before assuming a sensor or cable has failed.
A sourcing module internally biases its input terminal toward +V and needs the connected field device to pull that terminal down to ground to register a signal — pairing correctly with a sinking (NPN) field device. A sinking module internally biases its input terminal toward 0V and needs the connected field device to push that terminal up to +V to register a signal — pairing correctly with a sourcing (PNP) field device.
The module's internal pull-up and the sensor's output are both trying to hold the shared terminal toward +V, and neither one ever provides a path down to ground. The terminal never sees the LOW transition the module needs to register an ON signal, so the input simply never responds — even if the sensor is detecting targets correctly.
Neither one alone — it's a property of the pairing. The exact same PLC module functions correctly with one field-device type and doesn't function at all with the other, with nothing about the module itself changing. Compatibility depends on whether the two connected devices provide complementary halves of the circuit.
They describe the same underlying circuit relationship from opposite ends of the wire. NPN/PNP describes which side of a load circuit a field sensor's output switches. Sinking/sourcing describes which side of the circuit a PLC module internally provides. A sourcing module needs a sinking (NPN) device; a sinking module needs a sourcing (PNP) device.
Because it produces no obvious symptom to point to it directly — no blown fuse, no visible wiring fault, and often no fault code on simpler input cards. The sensor can be detecting targets correctly and every wire can be landed on the correct terminal, and the input will still never register anything. That makes it easy to spend time suspecting the sensor or the cable before checking whether the module and field-device types are actually complementary.
Yes. A sourcing output module supplies +V out to the load and needs the load's other side returned to ground, while a sinking output module provides the ground-side connection to the load and needs the load's other side supplied with +V. The same complementary-pairing logic applies to whatever field device or load is wired to the output.
Try our Robotics & Automation Studio
More calculators, simulators, and guides for this discipline.