Zhejiang Xinsenzheng Automation Co., Ltd.

Industrial Sensor Manufacturer OEM & Application Support Factory-direct Supply
Photoelectric Sensor Guide

Photoelectric Sensor Guide for Reliable Optical Detection.

Learn how photoelectric sensors work, how to choose through-beam, retro-reflective, diffuse or background suppression types, and what to check before buying for packaging, conveyors and automation machines.

  • Through-beam vs retro-reflective vs diffuse
  • Background suppression selection
  • Target color, surface and transparency
Photoelectric sensor guide for industrial optical detection
Choose by optical pathTarget, distance, background and alignment decide the sensor type
BeamLong range
BGSIgnore background
PLCNPN/PNP
Selection FirstChoose by target, distance, optical layout and background
Problem SolvingReduce false signals from reflection, color change and poor alignment
Buyer FriendlyExplains common datasheet and application terms in plain language
Factory SupportXSZ helps match models for OEM machines and repeat orders
Definition

What is a photoelectric sensor?

A photoelectric sensor uses light to detect whether an object is present, absent, passing, positioned correctly or interrupting an optical path. It is widely used when the target is non-metal, moving fast or detected at a longer distance.

  • Detects many objects without physical contact.
  • Works for packaging, conveyors, assembly and counting tasks.
  • Can detect longer distances than many proximity sensors.
  • Requires correct selection by target, background and optical layout.

Optical detection

The sensor sends and receives light. The output changes when the target blocks, reflects or changes the received light.

Flexible installation

Different sensing modes support long distance detection, one-side wiring, simple setup or precise slot detection.

Working Principle

How photoelectric sensors work in automation

Photoelectric sensors compare the light they send with the light they receive. The detection result depends on beam interruption, reflection, background distance or a fixed optical slot.

Beam interruption

Through-beam and slot sensors detect when the object blocks the light between emitter and receiver.

Reflected light

Retro-reflective and diffuse sensors detect light returning from a reflector or from the target surface itself.

Distance separation

Background suppression sensors help separate the real target from objects or surfaces behind it.

Sensor Types

Types of photoelectric sensors and when to use each one

Choose the sensing mode based on optical path, mounting space, target surface, background and required stability.

TypeBest ForKey AdvantageStart Here
Through-beam Photoelectric SensorLong distance, high stability, fast detectionStrong signal with separated emitter and receiverThrough-beam sensors
Retro-reflective Photoelectric SensorConveyors, cartons, bottles and one-side wiringSensor and wiring on one side, reflector on the otherRetro-reflective sensors
Diffuse Photoelectric SensorSimple short to medium range object detectionNo separate reflector or receiver requiredDiffuse sensors
Background Suppression SensorTargets in front of nearby or reflective backgroundsHelps ignore background surfaces behind the targetBackground suppression sensors
Slot / Groove Photoelectric SensorSmall parts passing through a fixed gapCompact fixed optical path with simple alignmentSlot / groove sensors
Color Mark SensorPrinted marks, labels and registration marksDetects contrast or color mark differences on moving materialColor mark sensors
Core Comparison

Through-beam, retro-reflective or diffuse: which mode fits?

These three modes solve different installation problems. The most stable option is not always the easiest to mount.

Easy Wiring

Retro-reflective

Best when the sensor must be wired from one side and a reflector can be installed opposite the sensor.

View retro-reflective sensors

Simple Setup

Diffuse

Best for simple short-range detection when the target surface is stable and the background does not create false signals.

View diffuse sensors

Target & Background

Target color, reflectivity and background can change the result

Unlike proximity sensors, photoelectric sensors are affected by light reflection. Target and background conditions should be checked before choosing a model.

ConditionRiskBetter DirectionWhat to Send XSZ
Dark or matte targetWeak reflected light and shorter sensing distanceThrough-beam, retro-reflective or BGS with testingTarget color, material and working distance
Shiny or reflective targetSpecular reflection may cause unstable signalsAngle adjustment, polarized retro-reflective or through-beamSurface photo and mounting direction
Transparent bottle or filmLight may pass through the targetSpecial retro-reflective setup or application testingMaterial, thickness, speed and background
Nearby backgroundSensor may detect the background instead of the targetBackground suppression sensorTarget distance and background distance
Small fast-moving partSignal may be too short or weakThrough-beam, slot sensor or fast response modelPart size, pass speed and path tolerance
Distance & Alignment

Optical alignment is part of the sensor selection

Photoelectric sensors can fail even when the rated distance looks correct. Real stability depends on beam alignment, reflector position, target movement and contamination on the lens.

  • Use enough signal margin instead of working at the maximum range.
  • Confirm whether the machine allows two-sided mounting or one-sided wiring.
  • Check vibration, bracket stability and target path tolerance.
  • Protect the lens from dust, oil mist, water and scratches.
  • For reflectors, confirm size, angle and clean optical path.

Beam alignment

Small mounting errors can reduce signal strength, especially in long-distance or narrow beam applications.

Lens condition

Dust, oil, water drops and scratches can reduce light transmission and cause missed detection.

Output & Wiring

Do not forget the electrical side of optical detection

After choosing the sensing mode, confirm that the output signal matches your controller, machine speed and wiring method.

Light-on or Dark-on

Output action logic

Choose whether the output switches when light is received or when the light beam is blocked.

Response Time

High-speed detection

For counting, small parts or fast conveyors, response speed can be as important as sensing distance.

Selection Workflow

How to choose a photoelectric sensor step by step

Use this order when comparing models. It keeps the decision focused on the real target and machine layout.

01

Define the target

Size, color, transparency, surface, speed and movement tolerance.

02

Choose optical mode

Through-beam, retro-reflective, diffuse, BGS, slot or color mark.

03

Match the machine

Distance, alignment, output, wiring, response speed and environment.

Avoid Mistakes

Common photoelectric sensor selection mistakes

Most unstable optical detection comes from choosing the mode before checking the real target, background and installation environment.

Ignoring target color and surface

Black, glossy, transparent or uneven surfaces can reduce or distort the reflected signal.

Not checking background

Reflective conveyors, metal panels or nearby machine parts can cause false detection behind the target.

Wrong output action

Light-on, dark-on, NPN, PNP and response time must match the machine control logic.

Troubleshooting

How to diagnose common photoelectric sensor problems

When the signal is unstable, check the optical path first before replacing the sensor.

SymptomPossible CauseFirst CheckLikely Fix
No detectionNo power, wrong wiring, poor alignment or target out of rangeIndicator, voltage, beam alignment and output typeCorrect wiring, align sensor or choose suitable mode
False triggeringBackground reflection, shiny target, ambient light or vibrationBackground distance, target surface and bracket stabilityUse BGS, adjust angle, shield light or improve mounting
Missed fast objectsResponse time too slow or target too smallObject speed, size and controller input timingUse faster model, through-beam or slot sensor
Signal weak after runningLens contamination, dust, oil mist, water or reflector dirtClean lens and reflector, check protection methodAdd cleaning plan, cover or different housing option
XSZ photoelectric sensor selection and factory support
Selection Support

Send these details for faster photoelectric sensor recommendation

If you are unsure which optical sensing mode fits your machine, send XSZ the real target and installation information before ordering.

TargetSize, color, surface and transparency
LayoutDistance, path and mounting sides
BackgroundMaterial, distance and reflectivity
OutputNPN, PNP, light-on or dark-on
FAQ

Photoelectric Sensor Guide FAQ

What is a photoelectric sensor used for?
A photoelectric sensor is used for non-contact optical detection of objects, labels, packages, parts, marks, edges or positions in automation equipment.
Which photoelectric sensor type is most stable?
Through-beam sensors usually provide the strongest signal and long-distance stability because the emitter and receiver are separated. They require two-sided mounting and alignment.
When should I use a background suppression sensor?
Use a background suppression sensor when the target is in front of a nearby or reflective background that may cause an ordinary diffuse sensor to false trigger.
Why does target color affect photoelectric sensors?
Photoelectric detection depends on reflected or blocked light. Dark, glossy, transparent or uneven targets can change the received light level and reduce sensing stability.
Select the fields to be shown. Others will be hidden. Drag and drop to rearrange the order.
  • Image
  • SKU
  • Rating
  • Price
  • Stock
  • Availability
  • Add to cart
  • Description
  • Content
  • Weight
  • Dimensions
  • Additional information
Click outside to hide the comparison bar
Compare