Many Datalogic (Datasensing) sensors are sold in two versions: with a fixed cable, or with a connector. Connector versions are easier to replace, because you simply unplug the old sensor and plug in the new one, but they need a separate connection cable. Choosing the wrong cable is one of the most common ordering mistakes. This guide explains how to get it right.
Step 1: check the connector on your sensor
- M12 connector – used on most M18 sensors such as the S5N and S50, compact sensors such as the S62, and contrast sensors such as the TL46-W-815. In the model code, a 5 in the connection position (for example S5N-PA-5-B01-PP) means M12 connector.
- M8 connector – used on small sensors such as the S41-5-B-P (M8 4-pin).
- Cable version – code 2 (for example S5N-PA-2-C21-PP) has a fixed 2 m cable and needs no extra cable.
Step 2: choose the number of poles (pins)
- 4-pole – standard for most photoelectric and inductive sensors (brown +, blue 0 V, black and white outputs).
- 5-pole – for sensors with an extra signal, such as contrast sensors with an analogue output or remote teach input.
- 8-pole – for safety light curtains and other devices with more signals.
A cable with more poles than the sensor needs will usually work, but a cable with fewer poles will leave signals unconnected. Check the sensor datasheet for the pin layout.
Step 3: straight or right-angle?
- Axial (straight) connector – the cable comes straight out of the sensor.
- Radial (90°) connector – the cable turns at a right angle, useful where there is little space behind the sensor.
Step 4: choose the length
Datalogic CS cables are commonly available in lengths such as 3 m, 5 m and 10 m. Measure the route from the sensor to the junction box or PLC, and add some extra for cable trays and movement.
Reading a Datalogic CS cable code
Take CS-A2-12-G-10 as an example:
| Part | Example | Meaning (on the cables we supply) |
|---|---|---|
| Family | CS | Datalogic connection cable |
| Connector size | A | A = M12, B = M8 |
| Connector shape | 2 | 1 = axial (straight), 2 = radial (90°) |
| Type | 12 | Wiring version, for example 4-pole, 5-pole, 8-pole or with LED |
| Jacket | G | G = grey PVC |
| Length | 10 | Length in metres (03 = 3 m, 05 = 5 m, 10 = 10 m) |
Always confirm the exact version on the cable datasheet before ordering.
Datalogic cables we supply
| Cable | Connector | Poles | Length |
|---|---|---|---|
| CS-A2-12-G-05 | M12 radial, with LED (PNP N.O. sensors) | 4 | 5 m |
| CS-A2-12-G-10 | M12 radial, with LED (PNP N.O. sensors) | 4 | 10 m |
| CS-A1-03-G-05 | M12 axial | 5 | 5 m |
| CS-A1-03-G-10 | M12 axial | 5 | 10 m |
| CS-A1-01-G-10 | M12 axial | see datasheet | 10 m |
| CS-B1-02-G-05 | M8 axial | 4 | 5 m |
| CS-B2-02-G-03 | M8 radial | 4 | 3 m |
| CS-B2-02-G-05 | M8 radial | 4 | 5 m |
| CS-A1-06-U-03 | Axial, receiver cable for SG2 extended / SG4 light curtains | 8 | 3 m |
| CS-A1-06-B-03 | Axial | see datasheet | 3 m |
See all Datalogic cables and connectors.
Quick matching guide
- M18 sensors with M12 (S5N, S50, S51, S15 connector models) → M12 4-pole cable, straight or right-angle.
- Compact sensors with M12 (S62, S60, S6T, S6R) → M12 4-pole cable.
- Contrast sensors with an M12 5-pin connector (such as the TL46-W-815) → M12 5-pole cable.
- Miniature sensors with M8 (S41 connector models) → M8 4-pole cable.
- Safety light curtains (SG2, SG4) → the cable listed in the light curtain manual, often 5-pole or 8-pole. See the SG2 guide.
Tips
- Order the cable together with the sensor so the machine is not stopped waiting for it.
- Choose a radial (90°) connector when the sensor is mounted close to a wall or frame.
- An LED cable shows the output status at the connector, which helps when the sensor itself is hard to see.
- Keep sensor cables away from motor and power cables to avoid electrical noise.
Not sure which code your sensor has? Read how to read a Datalogic model code.
Frequently asked questions
Do Datalogic connector sensors come with a cable?
No. Connector versions (code 5 on most M18 and compact sensors) need a separate cable. Cable versions (code 2) have a fixed cable.
What is the difference between M12 and M8 cables?
M12 is the larger 12 mm connector used on most industrial sensors; M8 is the smaller 8 mm connector used on miniature sensors.
Should I choose a 4-pole or 5-pole cable?
Standard sensors need 4 poles. Sensors with extra signals, such as some contrast sensors, need 5 poles. Check the sensor datasheet.
What does the LED on a cable show?
Cables with LEDs show the sensor output status at the connector. The CS-A2-12 cables we supply are made for PNP N.O. sensors.
Can you suggest the right cable for my sensor?
Yes. Send us the sensor model code and the length you need, and we will confirm the correct Datalogic cable.
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.



