PHOTOELECTRIC SENSORS

Photoelectric Sensors

Photoelectric sensors detect objects optically, so they work on cardboard, glass, plastic, liquid, metal and fabric alike — at ranges from a 5 mm slot to 40 m across a loading bay. SEGMENsensor builds four sensing modes in M12, M18, M30, rectangular and slot housings, with NPN or PNP outputs, 10–30 V DC supply on the standard DC series and IP67 protection on the barrel and rectangular housings (slot types are IP50). OEM and private-label supply from Shenzhen, MOQ 10 pcs.

Request OEM Quote → Download Datasheet
SEGMENsensor M30 cylindrical photoelectric sensor with nickel-plated brass housing and IP67 protection
Sensing modes
Through-beam · Retro-reflective · Diffuse · Slot
Sensing distance
80 mm – 40 m (slot widths from 5 mm)
Output
NPN / PNP, light-on or dark-on
Supply
10–30 V DC (5 mm slot series 5–24 V DC; AC/DC types available)
Protection
IP67 (slot types IP50)
Housings
M12 / M18 / M30 / rectangular / slot

What is a photoelectric sensor?

A photoelectric sensor detects the presence, absence or distance of an object by transmitting a beam of light and monitoring how much of it returns to a receiver. When the target interrupts or reflects that beam, the sensor switches a solid-state output that a PLC or controller reads as a digital signal.

Because detection is optical rather than magnetic, photoelectric sensors work on almost any material — cardboard, glass, plastic, liquid, metal or fabric — and at ranges from a few millimetres to 40 m. That range advantage is the main reason they replace inductive proximity switches once the sensing gap exceeds roughly 20 mm or the target is not metallic.

What are the four sensing modes and when do you use each?

Through-beam sensing principleEmitterReceiverTarget blocks the beamBeam interrupted → output switches
Through-beam: separate emitter and receiver give the highest signal margin and the longest range.

Through-beam

Emitter and receiver in separate housings. The target breaks the beam. Highest excess gain, longest range, least affected by target colour, dust or spray. Needs cabling and power on both sides.

80 mm – 40 m · 116 models

View through-beam range →

Retro-reflective

Sensor and reflector. Light travels out and back, so wiring is on one side only while the range stays long. Polarising-filter versions detect clear bottles, film and shiny parts.

150 mm – 30 m · 89 models

View retro-reflective range →

Diffuse reflective

A single housing; the target itself reflects light back. Simplest to install and the cheapest to run, but range depends on target colour and finish — dark or matt surfaces cut it sharply.

110 mm – 6 m · 82 models

View diffuse range →

Slot (fork)

Emitter and receiver factory-aligned in one U-shaped body. Nothing to set up, immune to alignment drift, ideal for small-part counting, label edges and index marks.

Slot width 5 / 10 / 15 / 30 / 50 mm · 22 models

View slot range →

How do the sensing modes compare?

CriterionThrough-beamRetro-reflectiveDiffuseSlot
Maximum range in this catalogue40 m30 m6 m50 mm slot
Housings to mountTwoSensor + reflectorOneOne
Wiring runsBoth sidesOne sideOne sideOne side
Sensitivity to target colourVery lowLowHighVery low
Tolerance of dust, mist, sprayBestGoodLimitedGood
Detects clear targetsYes, with margin set correctlyYes, polarising versionsUnreliableYes
Alignment effortHighestModerateLowestNone
Typical useLong conveyors, gates, dusty linesPalletising, bottling, packagingCompact machines, short gapsSmall-part counting, labels

How do you choose a photoelectric sensor?

Work through five questions in order. Each one removes options, so the answer usually falls out before you reach a part number.

#QuestionWhat it decides
1How far is the target, and can you mount on both sides?Sensing mode. Beyond 2 m with one-sided access, retro-reflective. Beyond 6 m or in dust, through-beam.
2What is the target made of and what colour is it?Rules diffuse in or out. Matt black cardboard can cut diffuse range by more than half against a white reference.
3Is the background close behind the target?Whether you need a fixed-distance optic rather than plain diffuse.
4How much space is there, and what thread?M12, M18, M30 barrel or a rectangular body. Slot types where the part passes through a fixed gap.
5What does the controller input expect?NPN or PNP, light-on or dark-on, cable or M8/M12 connector.

What do the model codes mean?

Every model code follows the same pattern, so you can read a configuration without a lookup table.

SegmentExampleMeaning
SeriesSEGP18Housing family and size: P = plastic, B = nickel-plated brass, S = stainless, Q = rectangular, U = slot. The number is the thread or body size in millimetres.
Mode + range-T015MT = through-beam, D = diffuse, L = retro-reflective, followed by the rated distance.
OutputN / PNPN or PNP switching output.
Suffix-SI4U2, /FConnection and optics. /F denotes a polarising filter for clear-object detection.

Representative models across the range

The full catalogue holds 309 configurations across the four sensing modes — 116 through-beam, 89 retro-reflective, 82 diffuse and 22 slot. The table below is a cross-section; ask for the complete selection table if you need a specific distance, output or housing combination.

ModelSeries / formSensing distanceOutputSupplyConnectionHousingLight source
SEGB12-D0200N-SI4U2-JPB12 · M12200 mmNPN light-on / dark-on10-30 V DC2 m PVC cableNickel-plated brassInfrared
SEGB12-D0200P-SI4U2B12 · M12200 mmPNP light-on / dark-on10-30 V DC2 m PVC cableNickel-plated brassInfrared
SEGB12-L1000N-SR4U2/FB12 · M121 mNPN light-on / dark-on10-30 V DC2 m PVC cableNickel-plated brassRed light
SEGB12-L1000P-SR4U2/FB12 · M121 mPNP light-on / dark-on10-30 V DC2 m PVC cableNickel-plated brassRed light
SEGB12-L2000N-SI4U2B12 · M122 mNPN light-on / dark-on10-30 V DC2 m PVC cableNickel-plated brassInfrared
SEGB12-L2000P-SI4U2B12 · M122 mPNP light-on / dark-on10-30 V DC2 m PVC cableNickel-plated brassInfrared
SEGB12-T5200D-EI3L2B12 · M125.2 mNPN light-on10-30 V DC2 m PVC cableNickel-plated brassInfrared
SEGB12-T5200P-DI3U2B12 · M125.2 mPNP dark-on10-30 V DC2 m PVC cableNickel-plated brassInfrared
SEGB18-D0150A-DIEL4B18 · M18150 mmDark-on24-240 V ACM12 connectorNickel-plated brassInfrared
SEGB18-D0150A-LIEL4B18 · M18150 mmLight-on24-240 V ACM12 connectorStainless steel / nickel-plated brassInfrared
SEGB18-D0500N-SIEU4B18 · M18500 mmNPN light-on / dark-on10-30 V DCM12 connectorNickel-plated brassInfrared
SEGB18-D0500P-SIEU4B18 · M18500 mmPNP light-on / dark-on10-30 V DCM12 connectorNickel-plated brassInfrared
SEGB18-L1000A-DREL4/FB18 · M181 mDark-on24-240 V ACM12 connectorNickel-plated brassRed light, polarising filter
SEGB18-L1000A-LREL4/FB18 · M181 mLight-on24-240 V ACM12 connectorNickel-plated brassRed light, polarising filter
SEGB18-L1000N-SREU4/FB18 · M181 mNPN light-on / dark-on10-30 V DCM12 connectorNickel-plated brassRed light, polarising filter
SEGB18-L1000P-SREU4/FB18 · M181 mPNP light-on / dark-on10-30 V DCM12 connectorNickel-plated brassRed light, polarising filter
SEGB18-L3000A-DIEL4B18 · M183 mDark-on24-240 V ACM12 connectorNickel-plated brassInfrared
SEGB18-L3000A-LIEL4B18 · M183 mLight-on24-240 V ACM12 connectorNickel-plated brassInfrared

How do you wire a photoelectric sensor to a PLC?

Photoelectric sensor wire colour and connector pin assignment
FunctionCable colour (IEC 60947-5-2)M12 pinM8 pinNotes
Supply +Brown1110–30 V DC on standard DC models
Supply −Blue330 V / common
Output (NPN or PNP)Black44Main switching output
Second output / mode selectWhite22Present on 4-wire NO + NC and selectable models
Emitter (through-beam)Brown + blue only1, 31, 3Emitters carry no switching output

An NPN output sinks current to 0 V; a PNP output sources current from the supply. Match the sensor output to the input card of the controller — wiring a PNP sensor to a sinking input (or the reverse) leaves the input permanently off. Confirm the pin assignment on the datasheet before wiring a specific model.

Troubleshooting: symptom, cause, check

SymptomLikely causeWhat to check
Output never switchesOutput type does not match the controller inputNPN vs PNP; sinking vs sourcing input card
Output chatters at the switching pointInsufficient excess gain, or target at the edge of rangeMove the target closer, or step up to a longer-range model
Dark targets are missedDiffuse mode reflectivity too lowSwitch to retro-reflective or through-beam
Shiny or mirrored targets are missedSpecular reflection steered away from the receiverTilt the sensor 10–20° away from perpendicular to the surface, or use through-beam
Clear bottles or film not detectedStandard optics pass straight through the targetUse a polarising-filter retro-reflective model
Random switching near other sensorsOptical crosstalk between adjacent unitsAlternate emitter/receiver orientation, or increase spacing
Detection drifts through the shiftLens contamination in dust or sprayClean the lens; move to through-beam for a higher signal margin
Fast parts on a conveyor are skippedResponse time too slow for the line speedCalculate dwell time from part length and belt speed, then compare with response time
Output inverted versus expectationLight-on / dark-on set the wrong waySelect the opposite model variant, or switch mode if the model supports it

Where are photoelectric sensors used?

Packaging and bottling lines use retro-reflective sensors with polarising filters to count clear containers. Material-handling conveyors use through-beam pairs across the belt because dust and vibration are constant. Assembly cells use compact diffuse or slot sensors where the gap is short and space is tight. Warehouse and door-control applications use long-range through-beam pairs for presence detection at gates and shutters.

Frequently asked questions

What is the difference between a photoelectric sensor and a proximity sensor?

A photoelectric sensor detects objects optically and works on nearly any material at ranges up to tens of metres. An inductive proximity sensor detects only metal and typically at 1–15 mm. Use inductive for short-range metal detection, photoelectric when the target is non-metallic or the gap exceeds about 20 mm.

Which sensing mode gives the longest range?

Through-beam. Because light travels once from a dedicated emitter to a dedicated receiver, the signal margin is the highest of any mode. In this catalogue, through-beam models reach 40 m, retro-reflective 30 m and diffuse 6 m.

How do I detect clear plastic bottles or transparent film?

Use a retro-reflective sensor with a polarising filter. The filter blocks the light that reflects off the shiny surface of the target and only accepts light returned by the reflector, so the small attenuation caused by clear material is enough to trigger the output reliably.

What is the difference between light-on and dark-on?

Light-on switches the output when the receiver sees light. Dark-on switches when light is blocked. On a through-beam pair guarding a conveyor gap, dark-on gives an output when a part passes; light-on gives an output when the gap is clear. Choose whichever matches the controller logic.

Should I choose NPN or PNP?

It depends on the controller input, not on the sensor. PNP sourcing outputs are standard in Europe and most modern PLC input cards; NPN sinking outputs remain common in machines built to Japanese and older Chinese standards. Check the input card documentation before ordering.

What does IP67 mean for a sensor?

IP67 under IEC 60529 means the housing is dust-tight and withstands temporary immersion in water to 1 m for 30 minutes. It is suitable for washdown-adjacent areas and outdoor-sheltered mounting, but it is not a rating for high-pressure jets, which requires IP69K.

How close together can two sensors be mounted?

Close spacing risks optical crosstalk, where one emitter is seen by the neighbouring receiver. The practical fix is to alternate the orientation of adjacent pairs so emitters do not face receivers, or to increase spacing. Confirm the minimum distance for a specific model before finalising the layout.

Can a photoelectric sensor drive a relay or contactor directly?

Only within the rated output current of the model, and only with a flyback diode across an inductive coil. Most DC transistor outputs are rated for a few hundred milliamps. For larger loads, switch an interposing relay from the sensor output rather than the load itself.

Do you supply photoelectric sensors as an OEM manufacturer?

Yes. SEGMENsensor builds photoelectric sensors in Shenzhen for OEM and private-label customers, with a minimum order of 10 pieces per configuration. Housing marking, cable length, connector type and output configuration can be changed to your specification.

What information do you need to recommend a model?

Target material and colour, sensing distance, whether you can mount on both sides, how close the background sits behind the target, available mounting space and thread, the controller input type, and the environment (dust, moisture, temperature, washdown).

OEM and private-label supply

SEGMENsensor manufactures photoelectric sensors in Shenzhen for industrial OEM customers and distributors. Tell us the detection task rather than a part number — target material and colour, distance, background, mounting space, environment and controller input type — and our engineers return two or three suitable configurations with drawings.

MOQ from 10 pieces

Standard catalogue models ship from stock. Custom builds start at 10 pieces per configuration.

Private label and custom marking

Housing colour, laser marking, label artwork and packaging can be produced to your specification.

Cable and connector options

Cable length, jacket material, M8 or M12 connector and pin assignment can be changed on request.

Samples in 5–7 working days

Paid samples of catalogue models normally leave Shenzhen within five to seven working days.

Send us the detection task

Target, distance, background, environment and controller input — we reply with specifications and a quotation within one working day.

Talk to an Engineer → info@segmensensor.com

Request a Quote for Photoelectric Sensors

Tell us your specification — our engineers reply within 24 hours.

MOQ 10 pcs · samples in 5–7 days · info@segmensensor.com

info@segmensensor.com