NITOREXA Wiki

PLC I/O Wiring Guide: Sink vs Source

Category: Wiring & Installation · Updated Dec 2026

Understanding NPN (sink) and PNP (source) is the key to wiring sensors to a PLC. This guide uses the NX-PLC 300 and NX-PS proximity sensors as examples.

NPN vs PNP

TypeOutput behaviorPLC common S/SCommon in
NPN (sink)Pulls output to 0 VConnect to 24 VAsia
PNP (source)Outputs 24 VConnect to 0 VEurope / North America

3-wire sensor wiring

  • Brown (BN) → +24 V
  • Blue (BU) → 0 V
  • Black (BK) → PLC input (e.g. X0)

💡 NX-PLC 300 inputs are bidirectional — just change the S/S connection to work with NPN or PNP sensors.

Output wiring tips

  • Add a free-wheeling diode when transistor outputs drive inductive loads (relays, solenoid valves).
  • Relay outputs: max 2 A per point, 8 A per common.
  • Use NX-RL slim relays for isolation and higher current.

Shielding & grounding

Use shielded twisted-pair cable for analog and high-speed counter signals, grounding the shield at the PLC side only. Route power and signal cables in separate ducts at least 100 mm apart.

Share with