How to use Modbus communication in ABB PLC?

Sep 11, 2025

Leave a message

Jordan Park
Jordan Park
Jordan is a senior product tester at Shenzhen Chentuo Technology, where he ensures that all automation products meet stringent quality and performance standards before they are shipped to customers worldwide. His expertise lies in rigorous testing protocols and troubleshooting complex systems.

As a supplier of ABB PLCs, I often encounter customers who are interested in using Modbus communication in their ABB PLC systems. Modbus is a widely used communication protocol in the industrial automation field, known for its simplicity, reliability, and wide compatibility. In this blog post, I will share some practical insights on how to use Modbus communication in ABB PLCs.

Understanding Modbus Communication

Before diving into the implementation, it's crucial to understand the basics of Modbus communication. Modbus is a master - slave protocol, where one device (the master) initiates communication requests, and other devices (the slaves) respond to these requests. There are two main variants of Modbus: Modbus RTU and Modbus TCP.

Modbus RTU is a serial communication protocol that uses RS - 232 or RS - 485 physical interfaces. It is commonly used in applications where devices are connected over short to medium distances. On the other hand, Modbus TCP is an Ethernet - based protocol, which is suitable for long - distance communication and network - connected devices.

Prerequisites for Modbus Communication in ABB PLCs

To use Modbus communication in ABB PLCs, you need to have the following:

  1. ABB PLC Hardware: Ensure that your ABB PLC has the necessary communication ports. For Modbus RTU, you need an RS - 232 or RS - 485 port. For Modbus TCP, an Ethernet port is required. Some popular ABB PLC models like the 1SAP130300R0271 ABB - PM573 - ETH come with built - in Ethernet ports, which are well - suited for Modbus TCP communication.

  2. Communication Modules: If your PLC does not have the required communication ports, you can use ABB communication modules. For example, the 1TNE968902R1101 ABB - AI561 can be used to add additional communication capabilities to your PLC.

  3. Software Tools: You will need ABB's programming software, such as Automation Builder or Freelance, to configure and program the Modbus communication settings in your PLC.

Configuring Modbus Communication in ABB PLCs

Step 1: Hardware Connection

  • Modbus RTU: Connect the RS - 232 or RS - 485 cables between the ABB PLC and the Modbus slave devices. Make sure to follow the correct wiring rules for the serial interface, including proper grounding and termination.
  • Modbus TCP: Connect the ABB PLC to the Ethernet network using an Ethernet cable. Ensure that the PLC is assigned a valid IP address within the network.

Step 2: Software Configuration

  • Open the Programming Software: Launch ABB's programming software and create a new project or open an existing one.
  • Add Communication Drivers: In the software, add the Modbus communication driver. This driver will enable the PLC to communicate using the Modbus protocol.
  • Configure Communication Parameters:
    • Modbus RTU: Set the baud rate, data bits, stop bits, and parity according to the requirements of your Modbus slave devices. Also, assign a unique slave address to each device.
    • Modbus TCP: Configure the IP address and port number of the Modbus slave devices. The default port number for Modbus TCP is 502.

Step 3: Mapping Data Registers

Modbus uses different types of data registers, such as coils, discrete inputs, holding registers, and input registers. You need to map these registers in your ABB PLC program to read and write data.

  • Reading Data: To read data from a Modbus slave device, you need to specify the register address and the number of registers to read. For example, if you want to read the values from holding registers 0 - 9, you need to send a Modbus read holding registers command with the starting address 0 and the number of registers 10.
  • Writing Data: To write data to a Modbus slave device, you need to specify the register address and the data to be written. For example, if you want to write the value 10 to holding register 5, you need to send a Modbus write single holding register command with the register address 5 and the data value 10.

Testing Modbus Communication

After configuring the Modbus communication settings and mapping the data registers, it's time to test the communication.

  • Use Diagnostic Tools: Most ABB programming software provides diagnostic tools that allow you to monitor the Modbus communication status. You can use these tools to check if the PLC is sending and receiving data correctly.
  • Verify Data Transfer: Read and write some test data between the PLC and the Modbus slave devices. Compare the data values on both sides to ensure that the communication is working properly.

Troubleshooting Modbus Communication Issues

Even with proper configuration, you may encounter some issues with Modbus communication. Here are some common issues and their solutions:

ABB PFEA112-65 3BSE050091R65ABB 3BSE050091R65

  • Communication Failure: Check the hardware connections, including cables and connectors. Make sure that the communication ports are functioning correctly. Also, verify the communication parameters, such as baud rate and slave address.
  • Data Errors: If you are getting incorrect data values, check the data register mapping in your PLC program. Make sure that you are reading and writing data to the correct registers.
  • Timeout Errors: If the communication times out, increase the timeout value in the PLC program. This value determines how long the PLC will wait for a response from the Modbus slave device.

Applications of Modbus Communication in ABB PLCs

Modbus communication in ABB PLCs has a wide range of applications in various industries:

  • Industrial Automation: In manufacturing plants, ABB PLCs can use Modbus communication to connect with sensors, actuators, and other control devices. This allows for centralized control and monitoring of the production process.
  • Building Automation: In building management systems, ABB PLCs can communicate with HVAC systems, lighting controls, and security systems using Modbus. This enables efficient energy management and building control.
  • Power Systems: In power generation and distribution systems, ABB PLCs can use Modbus to communicate with power meters, relays, and other electrical devices. This helps in monitoring and controlling the power grid.

Conclusion

Using Modbus communication in ABB PLCs can greatly enhance the functionality and connectivity of your industrial automation systems. By following the steps outlined in this blog post, you can successfully configure and implement Modbus communication in your ABB PLCs.

If you are interested in purchasing ABB PLCs or need further assistance with Modbus communication, feel free to contact us for a detailed discussion and procurement negotiation. We are committed to providing high - quality products and professional technical support to meet your industrial automation needs.

References

  • ABB PLC User Manuals
  • Modbus Protocol Specification
  • Industrial Automation Textbooks
Send Inquiry