Search

Premium Membership ♕

Limited Time Offer: Save 15% on Pro Plan with discount coupon: MX15. Study specialized LV/MV/HV technical articles and studies.

Home / Technical Articles / 9 rules for correct cabling of the Modbus RS485 communication systems

Modbus RS485 cabling rules

The cabling of the industrial communication systems (Modbus RS485) is different in some ways from the cabling used for power cabling and the electrician may experience some difficulties if he is not an expert in Modbus communication networks.

9 rules for correct cabling of the Modbus RS485 industrial communication systems
9 rules for correct cabling of the Modbus RS485 industrial communication systems (photo credit: Jose Rivas via Flickr)

A Modbus RS485 connects a Master device to one or more Slave devices. Henceforth, we shall consider Slave devices to be measuring instruments with serial communication, even if the cabling is similar for all Modbus devices.

The main rules are set out below that must be followed for the cabling of this type of network:

  1. Connection port
  2. Connection between the devices
  3. Maximum distance and maximum number of devices
  4. Use of repeaters
  5. Type of cable to use
  6. Connecting to the terminals
  7. Earth connection of the shield
  8. Termination resistance
  9. Connection to personal computer

1. Connection port

Each device has a communication port with two terminals, which are indicated for the sake of convenience as A and B. In these two terminals the communication cable is connected so that all the devices that take part in the communication are connected in parallel.

All the ‘A’ terminals must be connected together and all the ‘B’ terminals must be connected together respectively.

Inverting the ‘A’ and ‘B’ connections of a device does not only prevent it from communicating but may also stop the entire communication system from working owing to incorrect direct (polarisation) voltage found on the terminals of the incorrectly connected device.

In order to avoid errors when many devices are connected, cables of the same colour should be used for all the connections to the terminals A and cables of the same colour should be used for all the connections to the terminals B of the various devices (e.g. white for A and blue for B).

This makes it easier to identify cabling errors. The communication port on the Master device, whatever it is, has two terminals that correspond to A and B.

Go back to Modbus RS485 cabling rules ↑


2. Connection between the devices

Unlike what happens in many energy distribution systems, the manner in which the devices are connected in parallel is important. The RS485 system used for Modbus communication provides a main cable (Bus or backbone), to which all the devices have to be connected with branches (also known as stubs) that are as short as possible.

The branches must be no longer than 1200 m! Longer branches could cause signal reflections and generate disturbances and consequent errors in the reception of data.

Figure 1 shows an example of a correct Bus connection.

Network with Bus structure
Network with Bus structure

Examples of incorrect Bus connections
Figure 2 – Examples of incorrect Bus connections

Go back to Modbus RS485 cabling rules ↑


3. Maximum distance and maximum number of devices

The main cable must be no longer than 700 m! This distance does not include the branches (which must nevertheless be short). The maximum number of devices that can be connected to a main cable is 32, including the Master.

Go back to Modbus RS485 cabling rules ↑


4. Use of repeaters

In order to increase the extent of the Modbus network, repeaters can be used; and signal amplifying and regenerating devices provided with two communication ports that transfer to each what they receive from the other.

If the distance segment exceeds 1200 m or the number of drivers in the segment more than 32 pieces, you should use a repeater (repeater), to create the next segment. Moreover, each segment of the network must be connected to the terminator.
If the distance segment exceeds 1200 m or the number of drivers in the segment more than 32 pieces, you should use a repeater (repeater), to create the next segment. Moreover, each segment of the network must be connected to the terminator. (scheme credit: softelectro.ru)

Using a repeater, the main cable is divided into different segments, each of which can be up to 700 m in length and connect 32 devices (this number includes the repeaters). The maximum number of repeaters that should be serially connected is 3. A higher number introduces excessive delays in the communication system.

Go back to Modbus RS485 cabling rules ↑


5. Type of cable to use

The cable to be used is a shielded twisted pair (telephone type). For example, Belden 3105A cable can be specified, but different types of cable with equivalent characteristics can be used. The twin consists of two conductors that are twisted together.

This arrangement improves immunity to electromagnetic disturbances because the cable forms a series of successive coils, each of which faces in the opposite direction to the next one: in this manner any magnetic field in the environment traverses each pair of coils in opposite directions and its effect is thus very reduced (theoretically, the effect on each coil is exactly the opposite of the effect on the next one and thus the effect is cancelled).

The shielding may be braided (be formed by a mesh of thin conducting wires) or be a foil (consisting of a sheet of metal wound around the conductors): the two types are equivalent.

Detail of a shielded twisted pair
Figure 3 – Detail of a shielded twisted pair

Go back to Modbus RS485 cabling rules ↑


6. Connecting to the terminals

In some countries, inserting two cables into the same screw terminal is permitted. In this case it is possible to connect the main inlet and outlet terminal directly to the terminals of an instrument without creating a branch.

If on the other hand each terminal can accept only a single cable, a proper branch must be created using three auxiliary terminals for each instrument to be connected.

Go back to Modbus RS485 cabling rules ↑


7. Earth connection of the shield

The cable shield must be earthed only in one point. Normally, this connection is made at one end of the main cable.

2-wire RS485 connection
2-wire RS485 connection

Go back to Modbus RS485 cabling rules ↑


8. Termination resistance

In order to avoid signal reflections, a 120 Ohm termination resistance must be fitted on each end of the main cable. The end resistance must be used only at the ends of the main cable. If the total length of the main cable is less than 50 m termination resistances can be avoided at the ends of the main cable.

120 ohm resistance connection
Figure 4 – 120 ohm resistance connection

Go back to Modbus RS485 cabling rules ↑


9. Connection to personal computer

If the master used is a personal computer, in general an RS232/RS485 serial converter provides the connection to the bus.

Go back to Modbus RS485 cabling rules ↑

Reference // Practical guide to electrical measurements in low voltage switchboards by ABB

Premium Membership

Get access to premium HV/MV/LV technical articles, electrical engineering guides, research studies and much more! It helps you to shape up your technical skills in your everyday life as an electrical engineer.
More Information
author-pic

Edvard Csanyi

Electrical engineer, programmer and founder of EEP. Highly specialized for design of LV/MV switchgears and LV high power busbar trunking (<6300A) in power substations, commercial buildings and industry facilities. Professional in AutoCAD programming.

22 Comments


  1. Sanket Dubashi
    Feb 13, 2023

    Thanks, Edvard, it’s very good content… however, at some points it is advised to use a single main cable and separate branches whereas in many sections and diagrams drop segments are shown using the main cable itself… it is creating confusion… please clarify…


  2. Queen Mastropietro
    Mar 14, 2022

    Amazing a good deal of beneficial information!

Leave a Reply to ULHAS VAJRE

Tell us what you're thinking. We care about your opinion! Please keep in mind that comments are moderated and rel="nofollow" is in use. So, please do not use a spammy keyword or a domain as your name, or it will be deleted. Let's have a professional and meaningful conversation instead. Thanks for dropping by!

  −  1  =  one

Learn How to Design Power Systems

Learn to design LV/MV/HV power systems through professional video courses. Lifetime access. Enjoy learning!

Subscribe to Weekly Newsletter

Subscribe to our Weekly Digest newsletter and receive free updates on new technical articles, video courses and guides (PDF).
EEP Academy Courses - A hand crafted cutting-edge electrical engineering knowledge