BT San Technology

30 March 2026

NPN vs PNP: Matching a Sensor to the PLC Input

2 min read · Automation

Illustration: two industrial sensors with input modules and datasheets
AI-generated illustration

NPN/PNP describes the transistor output and how it pairs with the input circuit. NO/NC describes switching behavior. They are separate things and must be read separately. Two sensors that look alike may not be interchangeable.

How to get started

Prepare the model numbers of the sensor and the PLC module, then check the input type, voltage, ratings and reference circuit in the manuals. Do not judge a new device by wire color or by familiarity with an older model.

Steps and checklist

  1. Understand the concepts of sinking, sourcing and the reference point.
  2. Read the output type, input type and voltage from the manuals.
  3. Separate NPN/PNP from NO/NC, which is a different dimension.
  4. Check the number of wires, leakage and current rating for each model.
  5. Make a list of the data that must be confirmed before purchase.
  6. Plan the tests on a test rig built by a suitably qualified person.

Example

Hypothetical example: two sensors that look identical may not be connectable in place of each other if their output types differ.

Checking the result and what to review

Tests should be done on a properly designed rig, and you should never guess by connecting to a live cabinet. If the data is incomplete, ask the vendor for documents first. This protects against both damaged equipment and misread states.

Benefits

It reduces the chance of choosing a device by wire color or shape alone.

Limitations and cautions

  • Wire colors and wiring methods may differ.
  • Do not jumper wires or test on a live cabinet to guess the device type.

References

  1. Modbus Organization — Specifications (accessed 2026-11-21)
  2. OMRON — NPN/PNP FAQ (accessed 2026-11-21)

Add us on LINE

Scan with the LINE app on your phone

QR code to add LINE @Bankoos

LINE ID: @Bankoos

Open LINE on this computer