Murrelektronik Canada: How to Choose a Sensor Cable


April 1, 2021

By Colin Cartwright, System Sales Manager, Murrelektronik

When I started as a controls engineer more than 30 years ago, choosing a sensor cable was relatively easy because there weren’t very many options to choose from. It was 1990 and if a sensor had a connector (many were still widely available with screw terminals at that time), it was either a 7/8 Mini connector or a M12 connector. The smaller M8 style connector had only just been released so sensor manufacturers had not really adopted it yet.

Back then, choosing a sensor cable basically came down to four things: the connector type (7/8 or M12), the connector style (straight or right angle), the number of poles/pins (3 or 4) and the length of the cable. Double-ended cables were available, but as we were usually terminating everything back at the main panel, we rarely used them. Oh, I nearly forgot – you could choose any colour or jacket material as long as it was yellow PVC!

These days, you’ll struggle to find a sensor with a 7/8” connector, but M12 and M8 connectors have truly stood the test of time. They are definitely the most common connectors found on sensors today. Now connectors haven’t changed much, but there has been a huge advance in the types of material available to make sensor cable jackets, so we are no longer stuck with a yellow PVC jacket as our only choice. We’ll dig into this little more later.


Having selected sensor cables for thousands of automation projects over the years I wanted to share some of the things I always consider when choosing a sensor cable.

Let’s start off with the sensor connector itself. Most sensors have M12 or M8 male connectors with 3 or 4 poles/pins, so choosing the sensor end of the cable is quite simple. Once you’ve determined the connector type and pin configuration, the only other thing you need consider is the orientation of the cable relative to the sensor. You can choose straight or right-angle depending on whether you want your cable to run inline or perpendicular to the sensor.

You can skip this next step if you only require a single-ended sensor cable, but if you plan on connecting your sensor to an IP67 I/O module you will need a double-ended cable, so you will need to know the size and type of the ports on the I/O module. An I/O module with M12 female ports is simple because the pin configuration/layout is same for M12 male connectors no matter if they have 3 or 4 pins. However, pay more attention to IP67 I/O modules with M8 female ports because the pin configuration on 3-pole and 4-pole M8 male connectors are different. You cannot plug a M8 male 3-pin connector into a M8 female 4-pole port, or vice-versa. If you ever do run into a situation where your I/O module has M8 ports with 3 poles and you have sensor with a M8 4-pole connector, you’ll need to use a field-connector or a Y-cable to connect to two ports.


Next, you’ll need to determine if your sensor needs a shielded cable or not. Most sensors with a PNP or NPN output do not require a shielded cable, but if your sensor has an analog output like 4-20mA or 0-10v you will need to select a shielded sensor cable to prevent the analog signal being affected by noise.

Once you selected your connectors and determined if shielding is required or not, you’ll need to work out the length of your sensor cable. This is not as straight forward as it seems. Depending on where your sensor is mounted, you will typically need route your cable up and around your machine so if you’re connecting your sensor directly to a PLC input card you’ll need a longer cable. If you have several sensors, then an IP67 I/O module will substantially reduce the number of cables you have to route back to your panel. Using an IP67 I/O module will also keep your sensor cables nice and short as well as reduce your installation time. When calculating the length of your cable don’t forget to include any vertical routing along with the horizontal routing of the cable!


We are nearly there, but this next step is probably one of most important because it can make a huge difference to the reliability of your machines. We are talking about the operating environment and the possibility of cable movement during machine operation. If these factors are not considered, your sensor cables may end up causing a lot of breakdowns and unscheduled downtime. Let’s cover the operating environment first – There’s a huge difference between the operating environment of a welding cell in an automotive plant and a meat slicer in a food processing plant. A sensor cable designed with a jacket material resistant to weld spatter will not be very good at resisting the high-pressure water and chemical solutions used to wash down a meat slicer, or the other way around. There is not enough space here to dive into all the different types of jacket material available for different environments, but it’s definitely something you should look into when choosing your sensor cable.

Now, what about cable movement? There are sensor cables designed for no movement and there are sensor cables specifically designed for motion type applications with a lot of bending and/or twisting. For example, a basic sensor cable installed in a C-Track will likely fail at around 1-million bend cycles. A sensor cable that has been designed for constant bending applications like a C-Track has a more flexible jacket material and finer strands of wire. This increases the amount of bend cycles to 10 million at very little extra cost. That’s a lot less cable changes and much more up time! Some sensor cables are also designed for applications with a lot of twisting or torsional movement. A basic sensor cable is limited to 180 degrees or less of twisting, but a robotic sensor cable will give you a full 360 degrees of torsional movement so will last a lot longer in those type of applications.

The operating environment and consideration of cable motion are often overlooked, but if you care about the reliability of your machines, these are important factors to consider when choosing a sensor cable.

The last thing to consider is the colour of the cable. This is generally not a big deciding factor, but I do know some machine builders like to use different sensor cable colours to identify the type of sensor attached. i.e. black cables for photo or proximity sensors and grey cables for cylinder reed switches. It’s really up to you but some colours might have longer lead-times so double-check with your sensor cable supplier to make sure the colour you want is readily available.


I think that’s everything covered. The only other possible thing you might want to consider would be the wire gauge for really long sensor cable runs where voltage drop might be an issue.

In summary, sensor cables are an integral part of every control system but are often chosen on price rather than the type of application or environment they will be operating in. This often leads to unnecessary breakdowns and can put a big dent in the reliability of your machines. On the other hand, getting some input (pun intended) from a connectivity specialist, or taking a little time to choose the right sensor cable yourself, will improve your machine uptime and bolster your reputation for quality and reliability. Next time you choose a sensor cable, which outcome would you prefer?

Colin Cartwright is the System Sales Manager at Murrelektronik Canada and has nearly 30 years of controls and automation experience. He specializes in I/O systems and works closely with machine builders and system integrators to help them optimize their control systems and reduce wiring/commissioning times.

Related Articles

Changing Scene

  • Westburne and Kinova Announce Groundbreaking Partnership

    Westburne and Kinova Announce Groundbreaking Partnership

    Westburne is thrilled to announce a groundbreaking partnership that is set to redefine the landscape of collaborative robotics. Westburne has joined forces with Kinova, a global provider in robotics innovation, to deliver cutting-edge solutions that will transform industries and elevate Westburne’s commitment to technological advancement. This partnership marks a significant milestone in Westburne’s journey towards… Read More…

  • ABB Appoints Morten Wierod to Succeed Björn Rosengren as CEO

    ABB Appoints Morten Wierod to Succeed Björn Rosengren as CEO

    The ABB Board of Directors has appointed Morten Wierod as Chief Executive Officer. He will take office on August 1, 2024, and succeed Björn Rosengren, who will step down from his position as Chief Executive Officer effective July 31, 2024, and retire as of December 31, 2024. From August 1, 2024, until the end of… Read More…

Sponsored Content
The Easy Way to the Industrial IoT

The way to the Industrial IoT does not have to be complicated. Whether access to valuable data is required or new, data-driven services are to be generated, Weidmuller enables its customers to go from data to value the easy way. Weidmuller’s comprehensive and cutting-edge IIoT portfolio applies to greenfield and brownfield applications. Weidmuller offers components and solutions from data acquisition, data pre-processing, data communication and data analysis.

Visit Weidmuller’s Industrial IoT Portfolio.

ADVANCED Motion Controls Takes Servo Drives to New Heights (and Depths) with FlexPro Extended Environment Product Line

Advanced Motion Controls is proud to announce the addition of six new CANopen servo drives with Extended Environment capabilities to their FlexPro line. These new drives join AMC’s existing EtherCAT Extended Environment FlexPro drives, making the FlexPro line the go-to solution for motion control applications in harsh environments.

Many motion control applications take place in conditions that are less than ideal, such as extreme temperatures, high and low pressures, shocks and vibrations, and contamination. Electronics, including servo drives, can malfunction or sustain permanent damage in these conditions.

Read More

Service Wire Co. Announces New Titles for Key Executives

Bruce Kesler and Mark Gatewood have been given new titles and responsibilities for Service Wire Co.

Bruce Kesler has assumed the role of Senior Director – Business Development. Bruce will be responsible for Service Wire’s largest strategic accounts and our growing Strategic Accounts Team.

Mark Gatewood has been promoted to the role of Vice President – Sales & Marketing. In this role, Gatewood will lead the efforts of Service Wire Company’s entire sales and marketing organization in all market verticals.

Read More

Tri-Mach Announces the Purchase of an Additional 45,000 sq ft. Facility

Tri-Mach Elmira Facility

Recently, Tri-Mach Inc. was thrilled to announce the addition of a new 45,000 sq ft. facility. Located at 285 Union St., Elmira, ON, this facility expands Tri-Mach’s capabilities, allowing them to better serve the growing needs of their customers.

Positioning for growth, this additional facility will allow Tri-Mach to continue taking on large-scale projects, enhance product performance testing, and provide equipment storage for their customers. The building will also be the new home to their Skilled Trades Centre of Excellence.

Read More

JMP Parent Company, CONVERGIX Acquires AGR Automation, Expanding Global Reach

Convergix Automation Solutions has completed the acquisition of AGR Automation (“AGR”), a UK-based provider of custom, high-performance automation design and systems integration primarily to the life sciences industry.

Following Convergix’s acquisitions of JMP Solutions in August 2021 and Classic Design in February 2022, AGR marks the third investment in Crestview’s strategy to build Convergix into a diversified automation solutions provider targeting the global $500+ billion market, with a particular focus on the $70 billion global systems integration and connectivity segments. Financial terms of the transaction were not disclosed.

Read More

Latest Articles

  • Helping McMaster University Adapt its Buildings for the Future

    Helping McMaster University Adapt its Buildings for the Future

    McMaster University is using technology to better control and manage its legacy thermal systems and create smarter buildings. Carmichael Engineering Ltd., a Canadian systems integrator, worked closely with ABB Canada’s experts and its highly adaptable smart building platform, ABB Cylon, to improve energy efficiency, enhance user adaptability, and leverage innovative technologies in locations across campus. Read More…

  • FLIR’s Thermal Camera Technology: A Crucial Component in Industrial Settings

    FLIR’s Thermal Camera Technology: A Crucial Component in Industrial Settings

    Thermal imaging technologies like the ones by FLIR improve safety, operational efficiency, and cost savings in many automated and industrial applications. By capturing the infrared radiation emitted by an object or process, it identifies thermal anomalies that warrant further investigation by experts. Today, thermography is more sophisticated and accessible than ever, making is easy for… Read More…