Skip to content

Photoelectric Sensor Troubleshooting on Conveyors

Find where a conveyor signal goes wrong. Separate false detection, weak optical return and missed PLC pulses with a Banner QS18 gain curve and a SIMATIC S7-1200 input example.

  • Mason Alexander
  • Published Nov 25, 2026
  • 6 min read
Representative yellow Banner QS18 housing with green and amber indicators shown beside the corresponding status key from the Banner manual.

A sensor can pass a hand test and still miss parts at line speed. It can also report a blocked beam with the conveyor empty, or switch correctly while the PLC count stays flat. Start by finding the first point where the signal disagrees with the part. Check the light at the sensor, then its output, the PLC input and the count. Changing sensitivity or input filtering before you find that point can hide the fault. The indicator example below uses a representative QS18 housing and Banner’s model-family status key. 16

Representative yellow Banner QS18 housing with green and amber indicators shown beside the corresponding status key from the Banner manual.
Read the LEDs using the manual for the exact sensor. In this QS18 example, steady amber means light is received. Flashing amber means the optical signal is close to the threshold.

Find where the signal first goes wrong

Run the comparison in the machine's approved setup state. Watch one known part at the sensing position. Note the sensor indicator, the electrical output at the PLC input terminal, the assigned raw bit and the application count. For a static fault, compare a held part with the empty conveyor. For an intermittent fault, use a suitable signal capture at the terminal and a PLC trace or event record at operating speed.

What you observeFirst checkWhere to go next
The sensor never reacts to the partCheck power, the light path, target position and alignmentCheck whether the receiver sees two distinct optical states
The sensor changes, but the PLC input stays in one state even with the part heldCheck the actual output lead, input common and correct channelFollow the sensor-to-input wiring path
The PLC sees both states in a slow test, but misses parts in motionCapture the shortest active pulse and the shortest reset gap at the terminalCompare with the input filter and acquisition time
The raw bit transitions correctly, but the count differsCompare raw bit transitions with the logic that increments the countCheck edge choice, debounce, inhibits or a counter reset

The indicator only tells you what its manufacturer assigned to it. On the Banner QS18 polarized retroreflective example, the green indicator means power, steady amber means light is sensed, and flashing amber indicates marginal excess gain, about 1× to 1.5×. Amber is an optical indication on this model. Look at the selected output lead to establish what the PLC is being sent. For a static output-to-input mismatch, use the sensor-to-PLC input test and verify the PNP or NPN input match. 1

If the empty conveyor looks occupied

With a through-beam or retroreflective setup, an empty station should normally have an unobstructed light path. Check emitter power, receiver or reflector position, and the lens and reflector surfaces. A powered receiver in Dark-ON can switch when a dirty lens, a shifted bracket or a failed emitter removes the light. Observe the indicator as you restore alignment or clean the optics. If the sensor still responds backward with a clear path and a known part, check Light-ON / Dark-ON and the actual PLC bit. 12

With a diffuse sensor, check what the beam strikes after the part leaves. A rail or belt can keep the output active. If the rail stays inside the effective sensing region, turning down sensitivity may remove the return from a dark part before it eliminates the rail. Test the part alone and the background alone. For a close, repeatable background, use the background suppression and clearance guide to evaluate the mount. 2

If the sensor misses parts intermittently

Check whether the failure follows a particular box finish, bottle orientation, sensing position or recent cleaning cycle. If only clear or glossy bottles fail, watch both the empty optical reference and the part return. A clear bottle and a shifted or contaminated reference can both reduce the return. Use the clear-bottle trial and reference setup to separate those conditions. 23

Banner QS18 LP excess-gain chart for a BRT-84 reflector. The logarithmic curve has more margin at one metre than at three metres.
Use the working reflector distance on the horizontal axis. The vertical gap from the curve to the 1× line represents available optical margin on a logarithmic scale.

Excess gain is the received light level divided by the switching threshold. The QS18VP6LP is a polarized retroreflective example. Banner plots the QS18 LP family with a BRT-84 reflector under clean conditions. Find the sensor-to-reflector distance along the bottom axis and read the height of the curve. The axis is logarithmic. A reading of 1× is the switching threshold, so an empty path close to that line has little room for swing, contamination or missed alignment. The chart shows substantially more optical margin near 1 m than near 3 m. Use the curve for the actual sensor and matching reflector. 13

Center the spot on the reflector or receiver and verify the return while the conveyor is running empty. Tighten the brackets, watch for vibration and repeat with the smallest part at the far edge of its allowed travel. If improving the empty return also lets a thin or clear part pass without a clean transition, check whether the beam fully crosses the part and whether the sensing mode fits the target. The photoelectric sensor selection guide explains when to change the optical arrangement. 123

If it works by hand and misses at line speed

Measure at the PLC terminal, where the input filter sees the signal. A slowly updated online watch table can show the presence state and still miss an individual pulse. On a counting station, capture both the active and inactive intervals. A short ON pulse can disappear. A short OFF gap can cause two parts to be counted as one because the input never resets.

For an illustrative station, a 6 mm effective interruption at 1.5 m/s gives about 4 ms before accounting for the sensor and any output delay. Suppose a trace at the terminal confirms an isolated 4 ms active pulse after a long inactive interval. An onboard input on a SIMATIC S7-1200 CPU 1214C still set to the documented 6.4 ms default filter can reject it before the CPU sees it. The QS18 LP family's specified 0.6 ms output response addresses a different part of the chain. A fast sensor by itself does not make this short input event countable. 14

Siemens input path diagram placing the optional pulse catch after the digital input filter, and timing diagram showing a surviving pulse held until the next input image update.
Siemens shows the filter before pulse catch. The lower diagram illustrates a pulse that reaches the latch and is held for the next input update.

Pulse catch can hold a transition until the input image updates if the pulse survives the input filter. Siemens also documents that only the first pulse is read when several occur within a scan. Verify the real channel settings and the shortest high and low intervals before choosing an input mode for the required count rate. If neither state arrives cleanly at the terminal, work on the optical geometry, spacing or output delay first. Review any input-filter or acquisition changes with the machine's controls owner and retest affected logic. 45

Prove the fix at production speed

  1. Repeat the empty and part-present test at the sensor and the PLC. Confirm the expected states in both places.
  2. Use the same problem sample, lane position and belt speed that reproduced the fault. Include the nearest spacing the line actually runs and the weakest valid target. Compare the physical reference count, input events and final PLC count for the same batch.
  3. Check for extra counts with the conveyor empty. After a normal stop and restart, verify that the sensor, input and application return to their expected states.
  4. Record the sensor model and output lead, optical setup, PLC channel and filter, shortest observed ON and OFF intervals, test conditions and the confirmed cause. That record gives the next technician a starting point if the same symptom returns.

References

  1. QS18 Series Sensor Product Manual

    Banner Engineering · 197052 Rev. I, June 2026

  2. Overview of Photoelectric Sensors

    OMRON

  3. What Is Excess Gain and How to Use It to Choose a Sensor

    Banner Engineering

  4. Configuring Digital Input Filter Times

    Siemens · S7-1200 V20

  5. Pulse Catch

    Siemens · S7-1200 V20

  6. Banner QS18VP6LP listing, QS18 family housing image

    MeetSensor