2 min read · Automation

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
- Understand the concepts of sinking, sourcing and the reference point.
- Read the output type, input type and voltage from the manuals.
- Separate NPN/PNP from NO/NC, which is a different dimension.
- Check the number of wires, leakage and current rating for each model.
- Make a list of the data that must be confirmed before purchase.
- 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
- Modbus Organization — Specifications (accessed 2026-11-21)
- OMRON — NPN/PNP FAQ (accessed 2026-11-21)




