Professional Industrial Sensor Manufacturer
XSZ Sensor

How to Choose a Cylindrical Photoelectric Sensor

Choose a cylindrical photoelectric sensor by defining the detection event first, then selecting the optical arrangement that the machine can support.

Cylindrical photoelectric sensor with threaded housing and rear cable

Confirm that the actual target changes the sensor signal reliably across its full travel, that the threaded body and cable fit the mounting space, and that the selected output works with the receiving controller. A cylindrical housing makes mounting convenient; it does not, by itself, specify a sensing method or guarantee a working distance.

For a new installation, sketch the target path and the positions available for a sensor, reflector, or opposing receiver. Use those constraints to shortlist a sensing mode. Only then compare exact models and test the target-present and target-absent states at the intended production speed.

Quick Selection: Start With the Detection Task

Write down the event the controller must recognize: an object arriving, a countable edge, a gap between parts, or a position reached. The smallest feature that must change the signal and the shortest clear interval between parts matter more than a broad description such as “detect a box.” A target that is seen once while stationary may still be missed when its position or speed varies.

Selection questionWhat the answer changesWhat to verify next
What event and target feature must be detected?Defines the required signal change and the smallest relevant object or gap.Use real acceptable and unacceptable samples to define both states.
Which mounting positions are available?Determines whether one-sided sensing, a reflector, or separate emitter and receiver are practical.Draw the entire optical path and target travel.
How far can the target and background be?Determines the required working envelope, not just a nominal sensing distance.Test the nearest and farthest target positions and the empty scene.
Does the target surface change?Dark, glossy, angled, or transparent surfaces can change the received light.Test the least favorable production samples and orientations.
Does the cylindrical body fit?Thread, body length, beam exit, bracket, and cable can limit the installation.Check the exact drawing with the final bracket and cable route.
What electrical input receives the signal?Supply, output circuit, switching logic, and connection must match the controller.Compare the selected model diagram with the input-module specification.
How quickly do parts and gaps pass?Sensor operation, reset, and controller capture all affect the usable signal.Observe both states at maximum operating speed.

This table screens candidates; it is not a specification sheet. The exact model documentation must supply the values and connection details used for the final choice.

Choose the Optical Mode Before the Housing

“Cylindrical” describes the body. Photoelectric versions can use different optical paths, and the correct path depends on what the target does to the light and where components can be mounted. A threaded housing that fits an existing hole is still a poor choice if its optical arrangement cannot distinguish the target from its surroundings.

When One-Sided Diffuse Sensing Fits

A diffuse sensor emits light toward the target and evaluates light returned by that target. It is a practical starting point when only one side of the machine is accessible and the target gives a usable return that differs from the empty scene. Mount the sensor so the required part of the object, rather than an adjacent fixture, passes through the intended sensing region.

The one-sided installation is simpler mechanically, but the return is affected by target size, surface, color, angle, and distance. A dark or tilted sample may return less light than a bright reference object. A shiny surface may direct light away from or toward the receiver as its orientation changes. If a nearby background is detected when the target is absent, an exact diffuse model with background suppression may be worth evaluating. Background suppression is a model-specific optical function; it does not eliminate the need to test target and background separation with the real materials and positions.

When a Reflector or Opposing Receiver Is Better

In a retro-reflective arrangement, the sensor looks toward a reflector across the target path. In a through-beam arrangement, a separate emitter and receiver face each other. The target is detected by changing the light reaching the receiver. These arrangements are useful when relying on light returned by the target is uncertain, provided the machine permits the opposing component and the target interrupts enough of the optical path.

Check what can actually be installed on the far side. A reflector avoids a second electrical connection there, while a through-beam receiver or emitter needs mounting and wiring on both sides. Either arrangement requires alignment to remain stable after adjustment, vibration, and maintenance. Transparent or unusually small targets can remain difficult because they may not change the received light enough under every permitted position. Confirm the exact variant and test the real target rather than treating the mode name as a performance promise.

Diffuse, retro-reflective and through-beam cylindrical photoelectric sensor arrangements

Check Working Distance Against the Real Target and Background

Separate three distances on the machine drawing: the sensor-to-target distance when the target is nearest, the distance when it is farthest, and the location of surfaces visible when the target is absent. The selected model must produce the required output throughout that entire envelope. A single measurement at the nominal position does not cover lateral movement, tilt, or changes in product size.

Why Rated Range Is Not an Installed Guarantee

A catalogue sensing distance is meaningful only with its stated test object and conditions. For example, OMRON defines a diffuse sensor's rated sensing distance using a standard sensing object described in its terminology guide as white paper. That convention does not mean every manufacturer uses identical conditions, and it does not establish how far an actual dark, small, or angled workpiece can be detected. Likewise, a published minimum sensing-object figure may depend on the specified sensitivity and distance.

Use a distance rating to eliminate obviously unsuitable candidates, then use the exact datasheet and sample test to establish the installed operating margin. If the background is close to the target, check both the worst-case target return and the strongest empty-scene return. A sensor that switches correctly on one sample at one distance has not yet demonstrated a reliable distinction across production variation.

Test Size, Surface, Position, and the Empty Scene

Assemble the smallest required target feature, the least favorable surface finish or color, and the permitted extremes of travel. Check each against the intended sensor position. Then remove the target and test the empty path with guards, fixtures, conveyors, and other nearby surfaces in their normal positions. For diffuse sensing, both a weak target return and an unintended background return can defeat the same selection. For beam-interruption arrangements, check that the required feature crosses enough of the beam at every permitted position while neighboring parts do not cause unwanted switching.

Record the sensor indication and the controller input separately. If they disagree, the optical choice may be sound while the electrical interface or signal capture is not. Repeat the checks after the final mounting adjustment; a bench test at a convenient distance is not a substitute for the installed geometry.

Fit the Cylindrical Body to the Machine

Once an optical mode is plausible, confirm the mechanical fit from the drawing of the exact model. The thread diameter alone does not settle whether the sensor can be mounted, aimed, adjusted, or serviced. Body length, sensing-face direction, connector or cable exit, and the space occupied by nuts and a bracket all affect the usable installation.

Thread, Body Length, and Beam Direction

Measure the bracket hole, available thread engagement, depth behind the bracket, and unobstructed space in front of the lens. Check whether the selected version emits along the body axis or from a side-facing optical window. Those directions place the light path in different parts of the machine even if the threaded body fits the same opening. Do not infer that every beam direction is available in every XSZ series.

Place the proposed sensor and target path on one drawing. Include the full movement of the target, not only its nominal centerline. Where an opposing component is needed, check that both sides can be aligned and retained. Final tightening and environmental limits must come from the selected model instructions, not from a general rule for cylindrical sensors.

Bracket, Lens, and Cable Clearance

Leave room to set the aim and access any adjustment or indicator that the selected version provides. A bracket or guard must not clip the intended beam, and a nearby reflective machine surface must not be ignored in the empty-scene test. Check whether the cable can leave the body without a sharp bend or a collision through machine movement. For a connector version, allow the connector body and service access as well as the sensor itself.

Mechanical fit and optical fit should be checked together. Moving a sensor to clear a cable can change its working distance or the part of the target that crosses the beam. After any such movement, repeat the target-present and target-absent checks.

Cylindrical photoelectric sensor bracket, target gap and rear cable clearance

Match the Electrical Signal to the Controller

The optical sensor only solves the detection problem if the receiving input recognizes its signal. Compare the exact sensor wiring diagram and ratings with the PLC or other input module before ordering. The article cannot assign wire colors, pins, or electrical values to an unspecified XSZ model.

Supply, NPN/PNP, and Light/Dark Logic

Confirm the sensor supply range and the input module's required voltage and current behavior. NPN and PNP name output-circuit choices; the correct one depends on the receiving input's wiring convention and common connection. Check the exact output circuit, load requirement, connector or cable diagram, and any model-specific restrictions. Do not select by the letters alone or assume that a familiar color code applies to every variant.

Also specify which physical state should make the controller input active. Light-ON and Dark-ON describe how an optical unit switches in relation to received light, but the meaning of “target present” differs between diffuse return and beam interruption. Trace the actual target-present and target-absent states through the selected sensor's truth table to the PLC input. If the controller expects the opposite state, confirm that the selected variant or control logic can provide it deliberately.

Response Time, Part Spacing, and Input Capture

Response time describes delay between an optical change and an output operating or resetting. It is not the same as a guaranteed production counting rate. A moving target must remain in the detectable condition long enough for the output to change, and the clear interval between targets must permit the output to recover. The receiving controller must then capture both transitions under its own input filtering and scan or event-processing behavior.

For a candidate model, obtain the specified operation and reset behavior with its test conditions. At maximum line speed, observe the shortest relevant target feature and the shortest gap using the installed input, not only the sensor indicator. If the indicator changes but the PLC count does not, investigate electrical compatibility and input capture before blaming the optical range. Avoid converting a headline switching-frequency figure directly into a permissible machine speed without the full signal chain.

Validate the Candidate in the Final Installation

Selection is complete only when the proposed variant works on the final machine, with the final mounting position, background, samples, speed, and receiving input. A representative test should include a condition that ought to detect and a condition that ought not to detect. The pass criterion is a stable distinction between them, not simply that an LED turns on once.

Check Target-Present and Target-Absent States

Start with the intended operating position and confirm the output at the sensor and at the controller. Move the target through its allowed near/far and side-to-side positions. Include the smallest approved target feature, surface variations, and the shortest gap. Check the empty scene with nearby equipment in normal positions. Then repeat at production speed and after final alignment.

If a candidate fails, isolate the cause before changing models. Determine whether the target fails to change received light, the background causes a false change, the body cannot maintain the needed alignment, the output logic is reversed, or the controller misses a short pulse. Each cause points to a different correction; increasing sensing distance alone does not solve them all.

Record Model, Setup, and Acceptance Conditions

Keep the exact model or variant, its documentation revision, the mounting sketch, working distances, target and background samples, output logic, controller input configuration, and the tested speed with the result. Record any setting used during the test. This makes a later replacement or machine adjustment reviewable and prevents a successful trial of one variant from being treated as approval of another.

For a new candidate, request its actual datasheet and installation instructions before turning a trial result into a purchasing specification. No numerical range, minimum object size, response time, supply value, pinout, protection rating, or tightening torque is promised here for an unspecified XSZ cylindrical sensor.

What to Send Before Ordering

Send the supplier a concise detection brief: target samples and the exact feature or gap to detect; the allowed target path; nearest and farthest sensor positions; a photo or sketch of the empty background; available positions for a sensor, reflector, or opposing unit; the bracket and cable-space drawing; the receiving input's electrical requirements; and the fastest target and gap timing. State which target-present and target-absent outcomes will count as acceptance.

With those inputs, the supplier can discuss a specific optical arrangement and exact configuration rather than guessing from a housing size. The XSZ cylindrical photoelectric sensor category is a starting point for the product family; confirm the selected variant's specifications and test it with the actual machine before ordering.

Technical Sources