Doc No. GLT-256-7-2 Issue: 1.0 Author: T.E Date: 19/11/2015 2
Modbus Protocol
Modbus is a standard communication protocol used in a wide range of industrial equipment. It
allows the connection of multiple devices, in a master/slave topology. Multiple slaves can share the
same bus, but only one master can be in the line at the same time. The master can communicate
with a specific device (peer to peer) or with broadcast frames.
Modbus defines the communication format, including command, data and checksum. Quatro
Modbus uses RTU frames. These frames use silences of 3.5 chars, and a CRC of 16 bits. Data size is 8
bits.
Quatro Modbus implements the format specified in the next table:
Modbus Frame Format
Quatro Modbus accepts the reading of (0x04) and writing of (0x10) commands. These commands
bits affect 16-bits registers.
In the following table you can see the data field format. It will always contain the base register
address, and the quantity of data to be read or written. If it’s a writing command, it also includes the
data to be written. All data is send using big-endian (most significant byte first).
Number of registers to be
read or written
Data (only for write
commands)
High Address Byte, Low
Address Byte
High size byte, Low size byte
Data, from 0 to 2*size bytes
Modbus Wiring