As the PNP version of the 400 mm diffuse head, the S5N-MA-C21-P sources current into the signal line: up to 100 mA with a drop of at most 2 V, and it is protected against short circuit, reverse polarity and impulsive overvoltage. That suits a PLC input that expects a PNP signal.
Because 400 mm is a rating on a 90 % white card rather than a cut-off, a guard, frame or floor in sight behind the product can hold a diffuse sensor on; lowering the sensitivity helps only when the background returns less light than the product. If the layout has that problem, the S5N-MA-M03-P (150 mm, background suppression) ignores anything beyond its cut-off.
Best for
Pale cartons, trays or totes passing a transfer point on lines with PNP input cards, detected from the side inside the 400 mm rating.
Hoppers and chutes with a pale product in front of a dull, dark wall, where the trimmer sets the threshold between the product and the wall behind it.
Selection notes
A dark product switches closer than 400 mm.
The cable is fixed at 2 m. For a plug-in M12 connection with a trimmer and a PNP output, see the S5N-MA-5-C01-P, rated 700 mm instead of 400 mm.
For NPN input cards use the S5N-MA-C21-N.
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
PNP
Specifications: Mechanical
Housing material
Metal - Nickel plated brass
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-MA-2-C21-PP Base
Cable
PNP
NO+NC
On request
S5N-MA-5-C21-PP
M12 connector
PNP
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
Only if the coil draws less than the 100 mA load limit; otherwise switch it through an interposing relay.
Place the darkest product at the working distance and turn the trimmer until the yellow output LED switches on. Then remove the product and confirm the LED goes out against the real background, and check that the green stability LED stays steady with the product present.