← Back to all lessons
Fault 7
Pro

Fault 7 — NPN Photoeye Polarity Reversal

What you'll learn

**Symptom:** the line operator reports the conveyor's box-present signal at PLC input X0 has been stuck **HIGH** all morning even when the conveyor is empty. You walk to the panel — the sensor on the conveyor infeed is an **NPN** photoeye (its label plate reads "NPN"). The PSU LED is on; the sensor LED looks healthy from a distance.

Lab time: ~6 minutes.

Lesson briefing

NPN Photoeye Polarity Reversal

Symptom: the line operator reports the conveyor's box-present signal at PLC input X0 has been stuck HIGH all morning even when the conveyor is empty. You walk to the panel — the sensor on the conveyor infeed is an NPN photoeye (its label plate reads "NPN"). The PSU LED is on; the sensor LED looks healthy from a distance.

Important context for NPN sensors: an NPN output is current- sinking. With a target visible the sensor pulls its OUT pin to 0 V, so PLC X0 should read LOW (0 V) at rest with a box on the conveyor. (Compare to the PNP sensor in F1, which sources +24 V to OUT and reads HIGH at rest — the topologies are mirror images.)

Reach for the multimeter on the toolbar and probe the panel.

Hints

Hint 1

Start at the photoeye. Probe across its +V and 0V terminals with the multimeter in voltage mode — what reading would you expect on a healthy install of a 24 VDC sensor?

Hint 2

Sign up to unlock the full hint sequence.

Hint 3

Sign up to unlock the full hint sequence.

This lesson uses 6 placed components on the lab canvas. Components are vendor-neutral (no proprietary trademarks); the wiring rules apply to any equivalent industrial part.

Sign up to preview

Create a free account to preview this Pro lab; upgrade to open the interactive circuit.

Sign up to preview →

You might also like

Competency and practice field guide

NPN photoeye polarity fault lesson: practice plan

Direct answer

The learner can draw the complete sinking current path, identify supply and signal conductors and distinguish incompatible interface, reversed supply and wrong common.

Written for pLC wiring learners diagnosing a photoelectric sensor that has power but never produces the expected input state.

an instrumentation calibration bench connecting pressure, temperature, load, level and smart sensors to PLC input channels and reference measurements while studying NPN photoeye polarity, sinking input circuits and signal diagnosis
System map / 02

NODE 01observable

Scope

Sensor pinout, brown-blue-black convention limits, supply polarity, NPN transistor output, input common, sourcing input circuit, load current, leakage and normal switching state.

NODE 02observable

Signal path

Target detection through sensor electronics and sinking output to PLC input circuit, module indication, tag state, logic decision and machine response.

NODE 03observable

Baseline practice

Target present and absent conditions produce stable device, channel and software states with the expected polarity.

NODE 04observable

Edge cases

Reversed supply, wrong common, PNP input, open signal, leakage, dark or light operate, background target, contamination and power return.

NODE 05observable

Fault practice

A target, sensor-setting, supply, polarity, transistor, wiring, input-interface, tag or logic mismatch.

NODE 06observable

Transfer to the job

The sensor and module checked against current data sheets and representative target tests.

Answer surface / 07

How does an NPN photoeye connect to a PLC input?

Its output sinks current, so it requires a compatible sourcing input circuit and correctly referenced supply common.

Why does an NPN sensor LED change but the PLC input stay off?

Check the signal conductor, input common, interface type, voltage at the channel, leakage threshold and input mapping.