Modbus: 4.1 Communication Between Modbus Devices
Modbus: 4.1 Communication Between Modbus Devices
5, 7 & 8]
Modbus is an application layer messaging protocol, positioned at level 7 of the OSI model, which
provides client/server communication between devices connected on different types of buses or
networks. The industry s serial de facto standard since 1979, truly open and the most widely used
network protocol in the industrial manufacturing environment. The Modbus protocol provides an
industry standard method that Modbus devices use for parsing messages.
The Internet community can access Modbus at a reserved system port 502 on the
TCP/IP stack. Modbus is used to monitor and program devices; to communicate intelligent
devices with sensors and instruments; to monitor field devices using PCs and HMIs. [ref. 8]
The mode of transmission is usually selected along with other serial port communication
parameters (baud rate, parity etc.) as part of the device configuration.
A Modbus message is placed in a message frame by the transmitting device. Each word
of this message (including the frame) is also placed in a data frame that appends a start bit, stop
bit, and parity bit. In ASCII mode, the word size is 7 bits, while in RTU mode; the word size is 8
bits. Thus, every 8 bits of an RTU message is effectively 11 bits when accounting for the start,
stop, and parity bits of the data frame.
10