Friday, December 4, 2026

PNP vs NPN Sensors – How to Wire Them to a PLC Input

PNP vs NPN sensors infographic by MY CREATIVE ENGINEERING
PNP vs NPN Sensors – MY CREATIVE ENGINEERING (myce.com.my)

Wiring a 3-wire proximity sensor to a PLC? The first thing to get right is whether the sensor is PNP or NPN, and whether your PLC input is sourcing or sinking. Match them correctly and the sensor works first time; mismatch them and the input never switches.

Step 1: Check the PLC input type

Confirm whether your PLC digital input is a sinking input (it expects +24 V from the sensor) or a sourcing input (it expects the sensor to pull it to 0 V). Check the PLC manual or the input terminal marking.

Step 2: Identify the sensor wires

Most 3-wire sensors use Brown = +24 V, Blue = 0 V and Black = output. Wire colours can vary, so always check the sensor datasheet.

Step 3: Wire a PNP sensor

A PNP (sourcing) sensor switches +24 V to the PLC input when it turns ON. Use it with a sinking PLC input.

Step 4: Wire an NPN sensor

An NPN (sinking) sensor switches the PLC input to 0 V when it turns ON. Use it with a sourcing PLC input.

Quick wiring check

  • PNP output ON → the PLC input receives +24 V
  • NPN output ON → the PLC input is pulled to 0 V
  • Confirm the input common wiring before powering up

Quick reference

SensorOutput ONPLC input type
PNP+24 VSinking
NPN0 VSourcing

Safety first

  • Isolate power before wiring
  • Verify the PLC input ratings and the manufacturer's instructions
  • Check polarity and terminal labels before switching on
  • Have mains-voltage work done by a qualified person

Remember: match the sensor type to the PLC input wiring.

Looking for sensors, relays, PLC accessories and other electrical, electronic and engineering components? Visit myce.com.my and follow @MyCreativ3 for more practical tips.

Star-Delta Motor Starting: How It Works in 4 Steps

Star-Delta motor starting infographic by MY CREATIVE ENGINEERING
Star-Delta Motor Starting, a Reduced-Voltage Starting Method – MY CREATIVE ENGINEERING (myce.com.my)

Star-delta starting is a common reduced-voltage method for starting three-phase induction motors. The motor starts with its windings in star (Y), which lowers the starting current, and then switches to delta (Δ) for normal running. This guide explains how it works in four steps.

Step 1: Start in star (Y)

At start-up the contactors connect the motor windings in star. Each winding sees a lower voltage, so the starting current and starting torque are lower than with a direct-on-line start.

Step 2: Let the motor get up to speed

A timer holds the star connection while the motor accelerates. The star period needs to be long enough for the motor to approach its running speed, which depends on the load.

Step 3: Switch over to delta (Δ)

After the set time, the star contactor opens and the delta contactor closes. The motor then runs in delta at the full voltage across each winding, with the correct running current and torque.

Step 4: Use the interlock

The star and delta contactors must never be closed at the same time, because that would short-circuit the supply. Use electrical (and where available mechanical) interlocks between the two contactors.

Quick reference

StageConnectionKey point
StartStar (Y)Lower starting current and torque
RunDelta (Δ)Correct running connection
ChangeoverTimer controlledInterlock star and delta contactors

Note: star-delta starting is only suitable for motors with a correctly designed starter circuit. The motor must be rated to run in delta at your supply voltage, and the load should be able to start with the reduced torque.

Electrical safety first

  • Isolate the supply before working on motor wiring or the starter.
  • Check the motor nameplate for the correct connection and voltage.
  • Follow the manufacturer's instructions and local regulations, and have mains work done by a qualified person.

Remember: start in star, run in delta, and always interlock the contactors.

Find electrical, electronic and engineering components at myce.com.my. Follow @MyCreativ3 for more practical tips. Save this for your next project!