What is the Modbus communication protocol?

Apr 16, 2025 Leave a message

 

Many people will see the modbus protocol in the process of purchasing industrial routers, so what exactly is the modbus protocol? We will share it with you today.

 

Modbus protocol, as a common communication protocol in today's industrial control field, has been applied in countless IoT products, industrial, agricultural and other IoT solutions. It is an industrial communication system that consists of programmable controllers and computers at intelligent terminals, connected via common or localized dedicated lines.


Because the modbus protocol is completely open and transparent, and the required hardware and software are very simple, this makes it a universal industrial standard. Many industrial devices, including PLCs, DCSs, smart meters, etc. are using the Modbus protocol as a communication standard between them. With it, control devices made by different manufacturers can be connected into an industrial network for centralized monitoring and control.

wKgaomUuLByAZfVZAACItbQ7WU8741.png

 

 

Modbus has the following characteristics


1. standard, open, users can safely and securely use the Modbus protocol, do not need to pay license fees, and will not violate intellectual property rights.

2. Modbus can support a variety of electrical interfaces, such as RS232 or RS485 and other industrial serial ports, but also can be transmitted over twisted pair, fiber optic, wireless.

3. The frame format of Modbus is simple, compact and easy to understand, which is convenient for users to carry out secondary development of this protocol.


Three transmission modes:


Serial port-based Modbus-RTU data is encoded in accordance with the standard serial port protocol, which is one of the most widely used Modbus protocols and adopts the CRC-16_Modbus checksum algorithm.


Serial port based Modbus-ASCII all data is in ASCII format, one byte of raw data needs two characters to represent, low efficiency, using LRC checksum algorithm.


Modbus-TCP based on network portModbus-TCP is based on TCP/IP protocol, occupies port 502, the data frame mainly consists of two parts: MBAP (message header) + PDU (frame structure), the data block is consistent with the serial link.


So when we refer to Modbus protocol, we have to determine which mode: RTU, ASCII or TCP, 3 modes are still very different.


Some devices support multiple Modbus modes, some devices support only one of them, and the actual use should be based on the device manual to choose which mode to adopt.


For all the three communication protocols in the data model and function call are the same, only the encapsulation is different.

Send Inquiry

whatsapp

Phone

E-mail

Inquiry