This post was published first at Automation-Insights Blog of Balluff Inc.
Here’s a simple way remember how to wire up a 3-wire DC PNP or NPN sensor:
PNP = Switched Positive
NPN = Switched Negative
“Switched” refers to which side of the controlled load (relay, small indicator, PLC input) is being switched electrically. Either the load is connected to Negative and the Positive is switched (PNP), or the load is connected to Positive and the Negative is switched (NPN). These diagrams illustrate the differences between the two connections.
Click here for more information about the Basics of Automation.
Some more details on what you need to know about wiring of sensors on our website
If you want to learn more basic knowledge on sensor and automation topics visit this post with interesting links & information

[…] of tools in machine tool spindles several options are possible: Sensors with binary output (e.g. PNP normally open) or sensors with continous output (e.g. 0..10V or IO-Link) may be installed. The clamping process […]
Really good electric scheme. It shows the idea clearly
[…] Typical outputs are PNP or NPN normally open switching. […]
[…] Balluff Innovating Automation Blog […]