ApprenticeLow risk

Photoelectric sensor not detecting

A photo-eye (through-beam, retro-reflective, or diffuse) isn't detecting reliably — it misses the target, or the output doesn't change when something blocks/enters the beam.

Safety first

Confirm what the sensor controls before testing by blocking the beam — it may start or stop machinery. Isolate before handling wiring.

Isolate, lock out / tag out, and prove dead before working unless a live test is specifically required, authorised, and carried out under proper supervision. Always follow local regulations, your site procedures, and the equipment manufacturer's documentation.

Full detail — causes, the why, and common mistakes.

Likely causes

Ranked from most to least likely.

  1. 1

    Dirty lens / reflector or blocked beam

    Most likely

    Dust, oil, or condensation on the lens or reflector weakens the beam so it won't switch reliably.

  2. 2

    Misalignment

    #2

    Emitter/receiver or sensor/reflector knocked out of alignment so the beam doesn't return/reach.

  3. 3

    Wrong sensing mode for the target

    #3

    A shiny, dark, or transparent target can defeat a diffuse sensor; the mode/sensitivity is wrong for it.

  4. 4

    Sensitivity/gain set wrong

    #4

    Gain set too low to detect, or too high so it sees through the target.

  5. 5

    Sensor or wiring fault

    Least likely

    A failed emitter/receiver or a wiring fault stops detection.

Reports are saved on this device to reflect what you actually find.

Testing sequence

Work through one test at a time. Expected reading and what each result means.

Test 1 of 3
1

Clean the lens/reflector and check the alignment/stability indicator if fitted.

Expected reading

Strong, stable beam/margin indication after cleaning/aligning.

If it passes

Beam strong — check the target/mode and sensitivity.

If it fails

Weak/unstable — clean and realign until the margin is good.

View all expected readings at once
1. Clean the lens/reflector and check the alignment/stability indicator if fitted.
Strong, stable beam/margin indication after cleaning/aligning.
2. Block/present the target and watch the output; confirm the sensing mode suits the target.
Output switches cleanly as the target enters/leaves.
3. If still no detection, check the sensor's supply, output signal, and wiring.
Supply present, output switching, wiring sound.

Fault-finding flowchart

The same logic as a decision tree.

  1. 1
    start

    Photo-eye not detecting

    → step 2
  2. 2
    decision

    After cleaning/aligning, is the beam/margin strong?

    Yes→ step 3No→ step 4
  3. 3
    decision

    Does the output switch cleanly with the target and correct mode?

    Yes→ step 5No→ step 6
  4. 4
    result

    Clean and realign until the margin is good.

  5. 5
    result

    Detecting — confirm consistency across the range.

  6. 6
    decision

    Are supply, output and wiring all sound?

    Yes→ step 7No→ step 8
  7. 7
    result

    Adjust gain / change sensing mode to suit the target.

  8. 8
    result

    Failed sensor or wiring — repair/replace.

Common mistakes apprentices make

  • Not cleaning the lens/reflector first — most photo-eye faults are contamination.
  • Using a diffuse sensor on a shiny or transparent target.
  • Setting gain so high it sees through the object.
  • Knocking alignment and not re-checking the margin indicator.

When to stop & escalate

Persistent alignment loss may indicate a mounting/vibration issue to address. A failed sensor should be replaced like-for-like with the correct sensing mode.

If you're past your competence, authorisation, or the safe limits of the job — stop and hand it on. There's no fault worth getting hurt over.

Related faults

Learn the theory

How the gear and circuits behind this fault actually work.