Technical Q&A

PNP vs NPN Sensors: Sourcing vs Sinking Explained

PNP vs NPN sensor guide: PNP is sourcing and NPN is sinking. Compare PLC common wiring, three-wire output, NO/NC logic and real product labels.

Short answer: PNP is a sourcing output: when ON, it supplies positive voltage to the PLC input. NPN is a sinking output: when ON, it pulls the PLC input toward 0V/common. Match the PLC input common before choosing a replacement.
QuestionTechnical ExplanationIllustrationFAQ

Direct Answer for Buyers

PNP sensors source current to the PLC input, while NPN sensors sink current from the PLC input. A PNP sensor is therefore sourcing, not sinking; an NPN sensor is sinking, not sourcing. A replacement must match the PLC input common, supply voltage and NO/NC logic.

  • Searchers may ask either difference between NPN and PNP sensors or difference between PNP and NPN sensors.
  • Wrong output type can make the sensor look dead even when the model size is correct.
  • Send the old label and PLC input wiring photo before ordering a replacement.

Search questions covered

difference between npn and pnp sensorsdifference between pnp and npn sensorsPNP vs NPN sensorNPN vs PNP sensoris PNP sourcing or sinkingis NPN sinking or sourcingPNP vs NPN sourcing and sinking

30-Second PNP vs NPN Wiring Check

PNP sensor ON stateThe black output wire sources positive voltage to the PLC input
Typical PNP PLC commonPLC input common is connected to 0V
NPN sensor ON stateThe black output wire sinks the PLC input toward 0V/common
Typical NPN PLC commonPLC input common is connected to +24V
Common three-wire colorsBrown = positive supply, blue = 0V, black = output; always verify the exact datasheet
Replacement ruleMatch PNP/NPN, NO/NC, voltage and connector before comparing brand or price

Important: Wire colors are common conventions, not a substitute for the original model datasheet or machine wiring diagram.

Replacement Decision

  • Read the complete model suffix and identify PNP or NPN.
  • Check whether the PLC input common is 0V or +24V.
  • Confirm normally open or normally closed switching logic.
  • Match supply voltage, sensing distance, housing and connector.

Related Replacement Checks

Real PNP and NPN Sensor Label Examples

These are two real J&V M12 products used to show the output difference. They have different sensing distances and mounting styles, so they are label-reading examples rather than interchangeable models.

J&V LJ12A3-2-Z/BY PNP normally open inductive sensor label and wiring example

PNP Sourcing Example

LJ12A3-2-Z/BY: M12, DC three-wire, PNP normally open, 2 mm sensing distance and flush mounting.

J&V LJ12A3-4-Z/BX NPN normally open sensor label and wiring example

NPN Sinking Example

LJ12A3-4-Z/BX: M12, DC three-wire, NPN normally open, 4 mm sensing distance and non-flush mounting.

PNP exampleLJ12A3-2-Z/BY sources positive voltage to the PLC input when ON
NPN exampleLJ12A3-4-Z/BX sinks the PLC input toward 0V/common when ON
Common wiresBrown = positive, blue = 0V, black = output on these two examples
Important differenceThe products also differ in range and mounting, so output type is not the only replacement check
Safety ruleThe exact datasheet and machine wiring diagram override common wire-color conventions

Question

What is the difference between PNP and NPN?

Detailed Technical Explanation

PNP outputs source positive voltage to the PLC input, while NPN outputs sink the input to negative or common. Buyers may search the difference between NPN and PNP sensors or the difference between PNP and NPN sensors; the correct choice depends on the PLC input type.

For real industrial purchasing, the safest method is to compare the old part, the electrical input, the mechanical fit and the application before treating two models as interchangeable.

Engineering Decision Table

PNP outputSources positive voltage to the PLC input when the sensor is ON
NPN outputSinks the PLC input to 0V/common when the sensor is ON
What to checkPLC input type, common wiring and existing sensor label
Buyer mistakeOrdering the same diameter sensor but the wrong output type
J&V checkAsk for wiring photo and PLC input type before replacement

For replacement sourcing, PNP vs NPN is usually more important than the brand printed on the sensor.

Common Buyer Mistakes

  • Choosing by product photo while ignoring wiring and output
  • Replacing by brand series without checking suffix details
  • Ignoring target material, mounting clearance or background
  • Not testing one sample before repeat purchasing

J&V Practical Check

For PNP vs NPN Sensor, J&V Automation asks for the model label, installed photo, voltage, wiring and target/application details before recommending a part.

Evidence and Buyer Proof

J&V Automation industrial sensor and power supply product matrix

Real Product Scope

J&V connects GEO answer pages with the public product catalog, PDF catalogs and live model search.

Open product catalog
J&V Automation product and shipment proof

Quotation Proof Workflow

Buyers can request label photos, packaging photos, stock checks, export documents and shipping route support.

Open logistics proof

Illustrations

Application question Correct selection PNP vs NPN Sensor

FAQ

What is the difference between PNP and NPN?

PNP outputs source positive voltage to the PLC input, while NPN outputs sink the input to negative or common. Buyers may search the difference between NPN and PNP sensors or the difference between PNP and NPN sensors; the correct choice depends on the PLC input type.

What information helps J&V Automation answer faster?

Send the model number, label photo, installed photo, target material, voltage, output type and quantity.

Can this topic affect replacement selection?

Yes. Wiring type, mounting style, sensing mode and environment often decide whether an alternative will work correctly.

Related Products

Get Quote

Send the model number, photo, quantity, destination country and key specs. J&V Automation will confirm whether PNP vs NPN Sensor can be supplied directly or matched with an alternative.

Reviewed by J&V Automation

Technical reviewJ&V Automation technical sales team
Last reviewed2026-07-21
What we checkModel code, label photo, wiring, sensing distance, mounting, voltage, output and application environment
Contactinfo@jv-automation.com / WhatsApp +86 15757759002
Page typeknowledge answer page

For final ordering, J&V Automation asks buyers to send the old label, installed photo, quantity and destination country before confirming an alternative.