Troubleshooting / Sensor / photo-eye

Sensor / Photo-eye Troubleshooting

The most common sensor / photo-eye problems on the plant floor, with the likely causes and the fix for each. Part of the OEE Lab troubleshooting directory.

Not your exact symptom?

Describe it in the symptom finder and search the whole directory.

Open the symptom finder

Problems on this page:

Intermittent or false detection

Hits OEE: Performance

Symptoms: Sporadic missed or false triggers, random stops or rejects.

Dirty lens or reflector
Clean the sensor face and reflector; add an air wipe in dusty areas.
Misalignment
Re-align emitter/receiver or reflector; check mounting is solid.
Ambient light or reflective targets
Shroud the sensor; switch to background suppression or a coded beam.
Marginal sensing margin
Check excess-gain margin; reposition or use a stronger sensor.

Prevention: Cleaning schedule, secure mounting, adequate sensing margin.

No output signal

Hits OEE: Availability

Symptoms: Sensor never triggers; the PLC input stays off.

Power or wiring fault
Verify supply voltage and wiring; check connector.
Wrong output mode (PNP/NPN/NO/NC)
Confirm sensor output type matches the PLC input.
Failed sensor
Test with a known target; replace if dead.

Prevention: Standardise sensor types, protect cabling, keep spares.

Analog sensor drift / wrong reading

Hits OEE: Quality

Symptoms: Temperature, pressure or level transmitter reads off, control drifts.

Calibration drift
Recalibrate against a reference; set a calibration interval.
Fouled or coated probe
Clean the probe/sensing element; protect from build-up.
Wiring, ground or EMI
Check shielding and grounding; route away from VFD/power.

Prevention: Scheduled calibration, probe cleaning, proper shielding.

Clear or shiny products not detected

Hits OEE: Quality

Symptoms: Glass, clear film or shiny packs pass without being detected.

Standard diffuse sensor used on transparent targets
Use a sensor designed for clear objects.
Shiny surfaces reflecting the beam
Change the mounting angle or use a polarised retro-reflective sensor.
Sensitivity taught on one product only
Teach the sensor on the hardest product in the range.

Prevention: Sensor choice checked when a new product or pack is introduced.

Inductive proximity sensor not detecting

Hits OEE: Availability

Symptoms: The target passes but the sensor light stays off, or it switches only sometimes.

Target too far from the sensor face
Set the gap within the rated sensing distance, which is shorter for most non-ferrous metals.
Target is not steel
Use a sensor rated for the target metal.
Sensor loosened and moved
Lock the sensor and mark its position.
Sensor face damaged by impact
Replace it and protect it from contact.

Prevention: Sensor gaps checked after any change to the target or bracket.

Cable or connector damage

Hits OEE: Availability

Symptoms: The signal drops when the machine moves, the light flickers, faults appear after washdown.

Cable flexing in a moving part
Use flex-rated cable with a strain relief.
Water in the connector
Use sealed connectors rated for washdown and tighten them fully.
Cable crushed or cut
Replace and protect the run.

Prevention: Cable routes checked after any change to the machine.

Sensors interfering with each other

Hits OEE: Quality

Symptoms: A sensor switches when a neighbouring sensor's light reaches it.

Sensors mounted facing each other or close together
Change positions or angles, or use sensors with interference suppression.
Reflections from shiny machine surfaces
Mask or dull the reflecting surface.
Same sensor model side by side on one target
Offset the beams or use different frequencies where the maker offers them.

Prevention: Sensor layout checked on new machines and after changes.

Sensor knocked out of position

Hits OEE: Availability

Symptoms: A sensor that worked yesterday misses products after cleaning or a jam.

Bracket not locked
Use locking brackets and mark the position.
Jammed product hitting the sensor
Guard the sensor or move it out of the product path.
Sensors moved during cleaning
Mark positions so cleaning crews can restore them.

Prevention: Sensor positions marked and part of the start-up check.

Guidance only. Always follow lockout/tagout and your site's safe-work procedures, and verify against OEM manuals before acting.

Related equipment guides: checkweigher · metal detector · vision inspection · encoder · level sensor · proximity sensor · safety light curtain

Stop the same fault coming back

Recurring sensor / photo-eye stops usually trace to a cause you cannot see by hand. The partner we recommend is Fabrico: it tracks OEE and downtime live from PLCs, IoT sensors or AI cameras; where cameras are fitted, the video of a stop sits next to its machine data so the cause can be reviewed; and a technician opens the work order from the stop in the same system. Data is hosted in the AWS EU region, and Fabrico and the company behind it hold ISO/IEC 27001, ISO/IEC 20000-1 and ISO 9001.

Book a Fabrico demo
The directory stays free.

Related tools: full troubleshooting directory · OEE calculator · downtime cost · MTBF / MTTR · glossary

Methods that cut recurring stops: the six big losses · root cause analysis · preventive vs predictive maintenance · TPM · SMED & changeover