Datalogic S50 vs S5N M18 Photoelectric Sensors: Differences and Which to Choose

· 4 min read

Datalogic S50 vs S5N M18 sensors compared – VXT Sensor

The Datalogic S50 and S5N are two of the most widely used M18 photoelectric sensors in Indian factories. Both fit a standard 18 mm hole, both come in plastic and metal, and their model codes look almost the same. So which one should you buy, and can one replace the other? This guide explains the differences in simple terms.

Need a genuine Datalogic sensor? Get the price, datasheet and delivery time today.

Get a Quote

Short answer

The S5N is the newer, extended M18 range that builds on the S50. For most new machines we recommend the S5N. The S50 is still the right choice when you need an exact like-for-like replacement on an existing machine, and many S50 models are still supplied. In most applications the two can be swapped if you match the sensing mode, connection and output.

S50 vs S5N at a glance

FeatureDatalogic S50 / S51Datalogic S5N
BodyM18 flat plastic body with universal mounting, or M18 metal (nickel-plated brass)Same M18 concept, plus short plastic models and stainless steel (AISI 316L) models
Sensing modesThrough-beam, retroreflective, polarised, transparent objects, diffuse, fixed focus, background suppression, fibre, contrast, luminescenceSame wide choice of sensing modes
Through-beam rangeUp to 20 m (LED), 60 m (class 1 laser)Up to 20 m (LED), 60 m (class 1 laser)
Polarised retroreflective0.1–4 m (LED), up to 16 m (laser)0.1–4 m (LED), up to 16 m (laser)
Background suppression50–100 mm50–150 mm
OutputsS50: NO + NC, PNP (PP) or NPN (NN). S51: single output (PK / NK)NO + NC (PP / NN) or single output (PK / NK)
IO-LinkNoIO-Link v1.1 on selected models
Laser safetyClass 1 laser modelsImproved laser safety level
ProtectionIP67IP67; IP65 / IP67 / IP69K on stainless steel models
Supply10–30 Vdc10–30 Vdc

Values are taken from the Datalogic S50/S51 and S5N datasheets. Always check the datasheet for your exact order code; we send it with every quotation.

What is the same

  • Size and mounting: both use an M18 × 1 threaded body fixed with two 24 mm nuts, so the mounting hole and bracket stay the same.
  • Model code style: both use the same pattern, for example S50-PA-5-C01-PP and S5N-PA-5-B01-PP. Read our guide on how to read a Datalogic model code.
  • Wiring: brown +, blue 0 V, black and white outputs on the 4-wire versions; M12 4-pin connector or 2 m cable.
  • Adjustment: sensitivity trimmer on most models, teach-in push-button on teach models (M03, W03, U03).

Where the S5N is better

  • Food and wash-down areas: the stainless steel S5N models are rated up to IP69K for high-pressure cleaning.
  • Industry 4.0: IO-Link models let a PLC read settings and diagnostics.
  • Longer background suppression: up to 150 mm, useful for detecting dark boxes in front of a bright background.
  • Short housings: handy where there is little space behind the mounting plate.

When to stay with the S50

  • You are replacing a failed S50 and want zero changes to the machine or documentation.
  • Your machine builder specifies the S50 or S51 in the drawings.
  • You need a model such as the S50-PA-5-C10-PP short diffuse or the S50-MA-2-F01-NN metal through-beam receiver that already matches your spares list.

Replacing an S50 with an S5N

  1. Read the full code on the old sensor label, for example S50-PR-5-B01-PP.
  2. Keep the same housing letters (PA, PR, MA, ML…), the same connection (2 = cable, 5 = M12) and the same output (PP, NN, PK, NK).
  3. Keep the same optical function (B01, C01, C21, F01…). The equivalent here would be S5N-PR-5-B01-PP (see the S5N-PR-5-B01-PP).
  4. Check the range: if the S50 was working near its maximum range, confirm the S5N range on the datasheet before installing.
  5. Send us a photo of the label if you are unsure; we will confirm the equivalent before you order.

Popular models

See all Datalogic photoelectric sensors or read the complete photoelectric sensor guide. For a full explanation of S5N codes, see S5N model codes explained.

Frequently asked questions

Is the S5N the replacement for the S50?

The S5N is the Datalogic extended M18 range built on the S50 design. In most applications an S5N with the same housing, optical function, connection and output can replace an S50. Check the range on the datasheet, or send us the label and we will confirm.

What is the difference between S50 and S51?

The S50 has two outputs (NO and NC) in PNP (PP) or NPN (NN). The S51 has a single output (PK or NK) where the white wire selects light or dark mode.

Do the S50 and S5N use the same mounting?

Yes. Both have an M18 × 1 threaded body fixed with 24 mm nuts.

Which models have IO-Link?

IO-Link v1.1 is available on selected S5N models. The S50 does not offer IO-Link.

Can I use an S5N in a food plant?

Yes. The stainless steel S5N models are rated IP65, IP67 and IP69K for wash-down areas.

Buy from VXT Sensor

VXT Sensor, Noida, supplies genuine Datalogic (Datasensing) sensors across India. Send us the model code or describe your application, and we will confirm the right model, datasheet, price and delivery time. Send an enquiry or call +91 99530 39482.

Datalogic sensors · in stock in India

Looking for the right Datalogic sensor?

Genuine products from VXT Sensor, Noida. Tell us your application and we reply with the right model, price and delivery time.

Related articles