
What Is a Through-Beam Photoelectric Sensor and When Should You Use It?
A through-beam photoelectric sensor uses a separate emitter and receiver facing each other. It detects an object when that object interrupts enough of the direct light. Choose it when both sides are accessible and every valid target crosses the beam; check target size, transparency, alignment and pulse timing before selecting a pair.
How does a through-beam photoelectric sensor detect an object?
A through-beam sensor, also called an opposed-mode sensor, separates the light emitter from the receiver. The emitter sends light across the detection gap; the receiver monitors the arriving signal. An object is detected when it reduces that signal enough to cross the switching threshold. No reflector is required.
This is a beam-interruption method, not a measurement of how much light the object reflects. The practical question is therefore: will every valid object interrupt this particular light path? A part passing above the beam is invisible to this arrangement, even if it is well inside the machine opening.
Clear path
Light-ON: active
Dark-ON: inactive
Opaque target in the path
Light-ON: inactive
Dark-ON: active
Light-ON and Dark-ON are different from NPN and PNP
Light-ON activates the output when the receiver sees the beam. Dark-ON activates it when the beam is sufficiently interrupted. For an opaque-part counter, Dark-ON can provide an active signal during passage; the controller must still count the intended transition rather than repeatedly counting a held state.
NPN and PNP describe the electrical output interface, not the optical detection method. Confirm the receiver diagram and PLC input requirements separately. The emitter normally needs a power connection; the receiver needs power and the specified signal connection. Do not assume the two units have identical wiring because their housings look alike.
When should you choose through-beam instead of another sensing mode?
Start with through-beam when you can mount and wire both sides and the target provides a dependable interruption. Opaque cartons, black components and changing product colors are useful starting applications: the receiver gets its light directly from the emitter instead of relying on the target surface to send it back.
The trade-off is installation effort. Both units need a stable mounting reference, cable access and an unobstructed path. A strong optical signal does not compensate for a bracket that moves whenever a guard opens.
| What can you install? | Starting method | What changes? |
|---|---|---|
| Powered devices on both sides | Through-beam | A separate receiver detects interruption of the direct path. |
| Wiring on one side; a reflector opposite | Retro-reflective | Light returns to the same housing. Select the reflector and optics for the target. |
| Nothing can be installed opposite | Diffuse or background suppression | The target returns light. Its surface and the background become part of the selection. |
| The target can pass through a fixed slot | Slot sensor | The housing fixes the emitter–receiver alignment, but the part must fit and follow the slot. |
Long sensing range does not mean small-object resolution
The rated span tells you about the emitter–receiver separation. The effective beam and target specification tell you what can interrupt it. These are separate selection questions.
Documented model example: Banner's QS18 manual lists a 20 m range and a 13 mm effective beam for its standard opposed-mode group, including the QS186E emitter and QS18VN6R receiver. A 2 mm pin does not become a suitable target merely because the pair is installed well inside 20 m. A smaller-beam arrangement or an approved aperture needs its own detection and range check. These are Banner model data, not specifications for every through-beam sensor. QS18 manual, opposed-mode models.
Before ordering, confirm the compatible emitter and receiver codes, supported span, target-size conditions, output variant, cable or connector, and environmental limits. Ask whether the quotation includes both units and any brackets or apertures the application requires.
Will it detect your smallest, darkest or clearest target?
For an opaque target that reliably blocks the useful beam, dark color or a polished finish is not the same obstacle it can be in diffuse sensing. But appearance alone does not establish opacity at the sensor's wavelength. Thin material, holes and a changing trajectory can leave enough light reaching the receiver.
Small parts need enough beam coverage
The beam pattern describes the usable optical alignment region; the effective beam is the working light path the object must interrupt. Neither a visible spot on a card nor the width of a drawing is automatically the minimum detectable object specification.
A small object may switch an adjustable sensor by blocking only part of the light, but that result depends on sensitivity, position and optical conditions. OMRON's guidance explicitly relates small-object detection to lens size and sensitivity. Use the model's stated target conditions, then check the smallest valid feature throughout its allowed path. An approved slit, small-beam model or opposed fiber-optic head can help; narrowing the light path can also reduce available signal.
Clear objects need signal separation, not maximum power
A clear bottle can transmit or redirect light while still looking substantial to a person. If the receiver stays above its threshold, there is no beam-break signal. More optical power may preserve the clear-path signal but make the bottle harder to distinguish. Banner calls this see-through behavior “burn-through”; it does not mean the sensor physically burns the material.
Illustrative selection scenario: a line is changing from opaque cartons to clear bottles. Assume each carton covers the effective beam. That supports testing a conventional through-beam pair for cartons; it does not establish suitability for bottles.
For the bottle version, compare empty and filled samples, seams, labels and allowed orientations. A beam positioned through a label may work only while that label stays in the path. If an accepted unlabeled or rotated bottle no longer produces a distinct blocked state, evaluate a purpose-designed clear-object sensor instead of treating the carton trial as approval.
For perforated parts, choose a solid feature that every acceptable part presents to the beam. If no such feature exists, change the sensing geometry or method; a larger range rating does not close the holes.
How should you align the emitter and receiver?
Align at the final span and aim for the center of a stable receiving window, not the first position where an indicator changes. Follow the exact pair's alignment procedure and indicator definitions.
Control hazardous motion first. Isolate hazardous energy before wiring or repositioning hardware. Powered alignment and signal checks require a controlled commissioning procedure and qualified personnel. An ordinary process photoelectric pair is not a personnel-protection device; a beam-break output alone cannot replace safety-rated safeguarding.
- Establish the geometry. Fix the beam height across a feature every valid target presents. Keep guards and guides clear of that path; leave access to both optical windows.
- Make a stable reference. Mount the units on rigid, adjustable brackets and relieve cable strain. Verify the correct pair, supply and wiring before powering it.
- Find the receiving window. With the target absent, adjust one unit at a time horizontally and vertically. Use the documented received-light or stability indication to locate the usable limits, then center the alignment.
- Secure and recheck. Tighten as specified without shifting the aim. Confirm both the clear path and the real target after tightening, not only before it.
- Check the operating arrangement. Validate allowed target positions, line speed and gaps with neighboring sensors active and machine structures in their production positions.
Protect the light path from neighboring emitters
A receiver can pick up light from an adjacent emitter or from a reflective surface. In a controlled test, compare the result with the suspected neighboring beam physically obscured, without disconnecting energized wiring. A change implicates unwanted light, not automatically a defective receiver.
Use the manufacturer's spacing, barrier or interference-prevention guidance. Alternating emitter and receiver positions can help in suitable layouts, but is not a universal spacing rule. Recheck target blockage with all channels active after any change. Strong sunlight at the receiver can also matter despite the sensor's modulated light source.
Is the sensor fast enough to count every part?
Check both the blocked interval and the clear interval. The receiver must recognize a part and return to the other state before the next part arrives. A long carton may provide plenty of detection time while the small gap between cartons leaves very little reset time.
A short gap can matter more than the carton length
Illustrative calculation: assume constant travel at 2 m/s, an effective blocked length of 40 mm and an effective clear gap of 4 mm. These are assumed sensing windows at the installed beam, not a claim that physical carton dimensions always equal those windows.
- Blocked interval
- 40 ÷ 2 = 20 ms
- Clear interval
- 4 ÷ 2 = 2 ms
- Complete cycle
- 22 ms ≈ 45.5 parts/s
The unit shortcut works because 1 m/s equals 1 mm/ms. The useful finding is the 2 ms clear interval: comparing only 45.5 parts/s with a headline switching frequency misses the potentially difficult part of the cycle.
Check documented detection/reset requirements and the resulting electrical HIGH and LOW durations. The calculation does not establish a permissible machine speed; optical geometry and unequal switching delays can change the pulse reaching the PLC.
A correct optical event can still disappear at the PLC
Input filtering can reject short pulses before the program sees them. Siemens' S7-1200 documentation, for example, explains that an isolated HIGH or LOW pulse shorter than about 6.4 ms is not recognized with a 6.4 ms filter setting. That is a documented filter example, not a recommended setting for this application. HSC inputs also require an appropriate filter configuration.
For a missed count, have a qualified person capture the receiver output and the signal at the input using appropriately rated, compatible equipment under the machine's controlled test procedure. A handheld meter or an LED may not resolve a brief pulse. Check the input's minimum HIGH/LOW durations and acquisition behavior before choosing a faster sensor. The response time versus switching frequency guide covers the timing distinction in more detail.
What should you check if detection becomes unreliable?
First identify which observation changed: the received-light indication, the physical output, or the controller's recorded event. Changing sensitivity without identifying that layer can hide one symptom while creating another.
| What do you observe? | What could explain it? | Useful next check |
|---|---|---|
| No stable clear-path signal | Alignment, contamination, obstruction, supply or pair mismatch. | Establish the documented clear state with the correct pair and clean optics at the installed span. |
| Clear state is stable; a part does not switch it | Insufficient attenuation, incomplete beam coverage, unintended received light or a short event. | Compare a stationary real target with passage at speed; confirm the target crosses the effective beam. |
| Output pulses correctly; counts are wrong | Input compatibility, pulse filtering, acquisition or counting logic. | Compare the terminal waveform, input state and recorded count for the same passage. |
| It works after cleaning, then drifts | Optical buildup or changing mechanical alignment. | Compare the clean baseline with received-light/stability data and bracket position before readjusting. |
Where published, an excess-gain curve shows received sensing energy relative to the switching requirement at a given distance. It helps assess tolerance to light loss; it does not make a dirty lens harmless or guarantee detection of a transparent target. Cleaning methods and intervals should follow the model instructions and observed buildup, not a universal solvent or calendar rule.
Before accepting the installation, retain the pair's exact codes, span and beam height, settings, hardest target samples, smallest gap, output/input configuration and test result. The decision is complete when both states remain distinguishable and the receiving system records the intended event under the application's defined conditions—not merely when the pair switches once on a bench.
Sources and method references
- OMRON — Photoelectric sensor overview: operating principles, sensing arrangements and target-surface effects.
- OMRON — Photoelectric sensor application information: lens size, sensitivity and small-object detection conditions.
- OMRON — Photoelectric sensor precautions: alignment, interference, maintenance and the personnel-safety boundary.
- Banner Engineering — Photoelectric sensing training: opposed sensing, effective beam, excess gain and transparent-target limitations.
- Banner Engineering — QS18 manual, revision I: the documented 20 m / 13 mm opposed-mode example; this is not an xsz sensor specification.
- ifm — Photoelectric sensing technologies: through-beam arrangement and Light-ON / Dark-ON output behavior.
- ifm — Technology and installation overview: adjacent emitters, stray reflections and external light.
- Siemens — Configuring digital input filter times: S7-1200 pulse filtering and high-speed-counter input configuration.
The bottle scenario, timing calculation and light-path drawing are explanatory illustrations, not reported customer tests. The hero is generated concept artwork, not a photograph of a specified product or validated installation.