The SR31-0 is a compact metal-housing (Zamak) fork/slot photoelectric sensor from Datasensing (Datalogic) featuring infrared LED emission and a 30 mm wide, 42 mm deep sensing slot. It achieves a high switching frequency of 10 kHz (response time 50 µs), making it well suited for fast-moving label or web detection tasks. The NPN open-collector output is light/dark selectable via internal trimmer, and the unit operates on 10–30 VDC with an M8 4-pin connector. Protection is IP60; housing is metal Zamak with a glass active head.
The SR31-0 is the NPN, fixed-polarity fork of the SR31 family: an open-collector NPN output whose light/dark function is set with an internal trimmer. Infrared emitter and receiver sit across a slot 30 mm wide and 42 mm deep, behind a glass active head in a Zamak housing.
The rating is IP60: dust-tight with no water protection, so this fork belongs in dry areas.
Best for
Detection of opaque labels or webs on dry packaging machines, where the 30 mm slot gives the material room to wander without touching the arms.
NPN-wired controllers, where the output polarity is already fixed and only the light/dark setting remains to be chosen.
Selection notes
The light/dark trimmer is internal, so set it before final mounting and note the setting for maintenance.
For a PNP input choose the SR31-1.
Specifications: General
Brand
Datalogic / Datasensing
Sensor type
fork label
Specifications: Performance
Range / distance
30.0 mm
Response time
50.0 ms
Switching frequency
10000
Specifications: Interface
Connection
M8_4pin
Specifications: Electrical
Supply voltage
10–30 VDC
Specifications: Environment
Operating temperature
-10 to +60
Specifications: Sensing
Sensing method
through beam
Light source
Infrared LED
Specifications: Output
Output type
NPN
Specifications: Mechanical
Dimensions
13.5×50×70 mm
Housing material
Metal (Zamak)
Applications this product is commonly selected for. Open one to see the full recommended hardware and approach.
1. Install the IMPACT Software Suite and connect the camera
Install the IMPACT Software Suite on your PC, which provides both the configuration/viewer tools and the SDK. For a GigE Vision model (E100, M or U series), connect it to a dedicated NIC and, for USB3 models, use a certified USB3 cable and port. Power the camera and confirm it enumerates.
2. Bring the camera online and verify the link
For GigE Vision, put the camera and the host NIC on the same subnet (a static IP on the camera matching the NIC range is the most reliable starting point); for USB3, confirm the device is recognized. Open the IMPACT viewer/device tool, discover the camera, and verify a stable connection before streaming. Enabling jumbo frames on the NIC helps GigE throughput.
3. Set exposure, gain and trigger, then grab a first image
In the IMPACT tools, start a live stream and adjust exposure and gain until the image is well-lit without saturation; set white balance on color models. Begin in free-run (continuous) mode to confirm imaging, then switch to hardware or software trigger as your application requires. Capture and save a reference image once the scene looks correct.
4. Build a vision tool or move to the SDK/API
Use the IMPACT point-and-click vision tools to assemble an inspection, or use the IMPACT SDK to access the camera and results programmatically and feed them into your HMI/PLC application. As these are GenICam/GenTL-compliant devices, you can alternatively drive them from any GenICam-compliant third-party vision library if your pipeline standardizes on one.
5. Route the stable feed to deep-learning inspection (optional)
Once you have a stable, repeatable image, the feed can be sent to a deep-learning inspection platform such as Rosepetal for defect detection or classification tasks that go beyond rule-based tooling. Keep lighting, optics and trigger timing fixed so the images reaching the model stay consistent.
Frequently asked questions
NPN, as an open-collector output with light/dark selected by an internal trimmer.