Common pitfalls when installing a Modbus RS485 network on site

30 January 2019

Last week IDX was called to the site at a large commercial residence building in Pretoria, South Africa. Where our client was implementing an IoT solution for remote monitoring and control of various HVAC and power systems in the building. The control system the System Integrator chose in this case was a Modbus-enabled Industrial Micro PC called the Revolution PI.

The client had Modbus sensors connected to boilers, air conditioning systems, ventilation systems and power meters. The Modbus communications between the controller and the sensors were intermittently failing due to various installation and implementation faults:

1. Earthing and Shielding
Within any fieldbus communication installation, one of the requirements to ensure uninterrupted operation is to implement adequate grounding and shielding techniques. Effective grounding and Shielding help to prevent electrostatic and electromagnetic pickup, which can lead to failed communications.

Some of the shielding and grounding requirements for a Modbus RS485 Network:

  • Utilising twisted shielded serial cable (120Ω impedance)
  • Ensuring continuity of the shield across the entire segment
  • Grounding the shield at multiple points (preferably at each device)
  • Ensure devices are properly grounded to an appropriate functional earth within cabinets
  • Running a potential equalisation cable between cabinets where necessary

The shield surrounding the communication wires will transfer any picked-up noise or interference and drain it to the ground. It is important to ground the shield as you enter and exit cabinets and at each device, this provides the shortest path to ground for any interference picked up on the network.

What we found on-site (Figure 1)

  • No continuity of the cable shield
  • No grounding of the shield within the cabinets or devices
  • No functional earthing of devices within the cabinets

Figure 1: No grounding/shield continuity

2. Running Modbus cable close to high voltage cabling
High-voltage cables and machinery can interfere with bus communications, they do so by electrostatic and electromagnetic injection. One way to avoid this interference/injection on the bus is to separate your communication cable from the source of interference.

The adequate separation distances between the communication cable (Category 1) and any high-voltage cables/devices (Category 2,3 & 4) are displayed below in Figure 2:

  • Category 1:  Modbus cable, LAN cables, < 25VAC, < 60VDC
  • Category 2: AC: 25V – 400V, DC: 60V – 400V
  • Category 3: AC & DC: >400V
  • Category 4: Cable at risk from lightning strikes (e.g. cables running between buildings

Figure 2: Cable separation diagram

What we found on-site (Figures 3 and 4)

  • Running close to 400 VAC cables.
  • Severe noise injected on the signal bus
    • Within Figure 4 you can see two scope lines (red and green), this is your B & A lines respectively.

    • RS485 is a balanced system and carries the same signal on both lines A & B, however, the exact inverses of each signal on each line. Thus any noise that is picked up should cancel out once the signal is combined.
    • This scope was taken on a Modbus installation that was silent and indicates poor implementation of RS485 protection mechanisms.
  • Little protection from EMI due to poor earthing and shielding techniques implemented.

Figure 3: Violation of cable separation requirements

Figure 4: EMI picked up on the Modbus cable due to poor shielding and exposure to high-voltage cables

3. Missing end terminators

Reflections on a fieldbus cable are caused by an impedance mismatch. One of the major contributing factors causing reflections is at the end of the fieldbus line where the signal waveform ‘bounces back’ towards to transmitter and disrupts consecutive signals on the bus (Fig.6).

To prevent these reflections, you can absorb the signal waveform at the end of each line within your Modbus network by installing a 120-ohm resistor at the beginning and end of the segment.

As segment lengths are increased, the effect of reflections without effective terminating resistors installed becomes more severe.

Figure 5: Installed 120Ω resistor and implemented grounded shielding

Figure 6: Normal operation (left) vs Missing termination (right) scope image.

<a href="https://blog.idx.co.za/author/kyle/" target="_self">Kyle Roos</a>

Kyle Roos

Site Services Manager

Kyle specialises in industrial data communication protocols and systems. Operating in the space of design, development, integration, technical sales and support, advanced troubleshooting and training.

Show your love!

Recent Posts

Effective system adoption through a people-centred approach

Our vision: ‘Operational excellence unlocked at every level’ drives our commitment to ensuring the timely and effective deployment and adoption of industrial communication systems, enabling clients to experience strategic benefits as early as possible. Successful...

Building success on the fundamentals of operational excellence

In the previous article, we explored how operational excellence extends beyond traditional management, emphasising a culture of continuous improvement. We highlighted the importance of industrial communication systems in enhancing real-time decision-making and...

Reduce energy consumption in buildings with AC Cloud Control

Intesis’ Air Conditioning (AC) Cloud Control is a cloud-based remote-control system that allows comfortable and intuitive control of air conditioners and heat pumps. Based on a brand-agnostic cloud-based platform, it brings remotely accessible smart intelligent...

Revolutionising HVAC systems for a more sustainable future

Heating, Ventilation, and Air Conditioning (HVAC) systems are key in buildings' energy consumption and greenhouse gas emissions. With buildings responsible for over one-third of global energy consumption, optimising HVAC systems is crucial for a sustainable future....

Steady growth in industrial network market

Market shares 2024 according to HMS Networks – fieldbus, industrial Ethernet and wireless.  Every year, HMS Networks conducts a comprehensive analysis of the industrial network market, aiming to estimate the distribution of new connected nodes by type and protocol...

Moving beyond master and slave terminology

The terms "master" and "slave" have long been used in technology to describe the relationship between a controlling device (master) and a subordinate or controlled device (slave). This terminology, while deeply embedded in various technical disciplines, has its roots...

Sign up for our newsletter

Get exclusive updates and a sneak peek into our world every two months. Stay connected, stay informed.

Related Posts

Our expertise lies in establishing, maintaining, and leveraging plant data for business benefit. Through our innovative solutions, we work alongside you to streamline processes, enhance efficiency, and reduce costly downtime.

CONTACT US

Main: +27 (11) 548 9960
Sales: +27 (11) 548 9970

SOCIAL MEDIA

Copyright @2024 Industrial Data Xchange. All rights reserved.