e
Electro Industries/Gauge Tech
Doc # E134-7-15 V1.01
3-1
Chapter 3
Chapter 3
Modbus Protocol Overview
Modbus Protocol Overview
3.1: Communication Packets
3.1: Communication Packets
n
Communication takes place between a Modbus Master and one or more Slaves. The Master initiates
all communication by transmitting an information packet called the “request” to a specific Slave.
The Slave replies with its own packet, called the “response”. A packet is a serial string of
8-bit bytes consisting of the following:
•
Slave Address
1 byte
•
Function Code
1 byte
•
Data
N bytes: high-ordered byte first, low-order byte second
•
CRC (RTU Error Checksum)
2 bytes
•
Dead Time
3.5 bytes transmission time
n
A single packet can transmit a maximum of 127 registers.
3.2: Slave Address and Broadcast Request
3.2: Slave Address and Broadcast Request
n
Each Slave device on a communication bus has its own unique address. Only the Slave addressed
by a Master will respond. The response packet returned to the Master will have the same value in
the Slave Address Field as the request packet. Addresses are programmable and range from 1 to
247.
n
A Slave Address of 0 is a broadcast command that allows the Master to send the same packet to all
devices at once. All Slaves will obey the packet’s instructions, but none will respond. The broadcast
request feature is available only with function codes 6 and 10, Preset Single Registers and Preset
Multiple Registers, respectively. See Tables 3.3 and 3.4.
Summary of Contents for I/O Module
Page 2: ......
Page 6: ...e Electro Industries Gauge Tech Doc E134 7 15 V1 01 iv ...
Page 10: ...e Electro Industries Gauge Tech Doc E134 7 15 V1 01 viii ...
Page 30: ...e Electro Industries GaugeTech Doc E134 7 15 V1 01 2 16 ...
Page 44: ...e Electro Industries GaugeTech Doc E134 7 15 V1 01 4 8 ...
Page 50: ...e Electro Industries GaugeTech Doc E134 7 15 V1 01 6 4 ...
Page 52: ...e Electro Industries Gauge Tech Doc E 134 7 15 V1 01 7 2 ...
Page 63: ...e Electro Industries GaugeTech Doc E134 7 15 V1 01 8 4 ...
Page 65: ...e Electro Industries Gauge Tech Doc E 134 7 15 V1 01 9 2 ...
Page 72: ...e Electro Industries GaugeTech Doc E134 7 15 V1 01 10 4 ...
Page 74: ...e Electro Industries Gauge Tech Doc E 134 7 15 V1 01 11 2 ...
Page 81: ...e Electro Industries Gauge Tech Doc E 134 7 15 V1 01 13 2 ...
Page 87: ...e Electro Industries GaugeTech Doc E134 7 15 V1 01 14 4 ...
Page 89: ...e Electro Industries Gauge Tech Doc E 134 7 15 V1 01 15 2 ...