A 2 m cable leaves the tube on this 400 mm infrared diffuse sensor, so there is no connector to snag.
The 400 mm rating does not make the sensor ignore what is behind the part: a bright or glossy surface farther back, even beyond 400 mm, can still return light and hold the output on. Where the background cannot be cleared, use background suppression instead, such as the S5N-PA-D00-N (100 mm) or the S5N-PA-M03-N (150 mm), both with an M12 plug.
Best for
Machines where the sensor is hard-wired to a junction box rather than plugged in.
Lanes where a reflector or receiver cannot be fitted opposite, since the part itself returns the infrared light.
Presence detection of light-coloured parts on NPN-input controllers, with the trimmer set on the real part.
Selection notes
The cable is 2 m long, so a control cabinet farther away needs an extension through a junction box.
The 400 mm figure refers to a white card; dark or small parts reach less, so set the trimmer on the real part.
Choose the PNP S5N-PA-C21-P for positive-switching inputs.
Specifications: General
Brand
Datalogic
Sensor type
Photoelectric
Specifications: Performance
Range / distance
400mm
Response time
500µs
Switching frequency
1kHz
Specifications: Interface
Connection
Cable
Specifications: Electrical
Supply voltage
10…30VDC
Specifications: Environment
IP rating
ip67
Operating temperature
- 25°C…+ 55°C (Without freeze)
Specifications: Sensing
Sensing method
diffuse
Light source
Infrared LED
Specifications: Output
Output type
NPN
Specifications: Mechanical
Housing material
Plastic - PBT / PMMA
Dimensions
Ø18x67
This product groups every purchasable order code that shares the same sensing method, range and output. Cable length, connector type and operation mode (Light-ON/Dark-ON, NO/NC) vary by order code below.
Family variants with highlighted differences
Model
Connection ●
Output type
operation_mode
Availability
S5N-PA-2-C21-NN Base
Cable
NPN
NO+NC
On request
S5N-PA-5-C21-NN
M12 connector
NPN
NO+NC
On request
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
No, this model has a 2 m cable.
The infrared light and the 67 mm tube are the same. The S5N-PA-5-C01-N has a 700 mm rating and an M12 plug in place of the cable.