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.
Содержание I/O Module
Страница 2: ......
Страница 6: ...e Electro Industries Gauge Tech Doc E134 7 15 V1 01 iv ...
Страница 10: ...e Electro Industries Gauge Tech Doc E134 7 15 V1 01 viii ...
Страница 30: ...e Electro Industries GaugeTech Doc E134 7 15 V1 01 2 16 ...
Страница 44: ...e Electro Industries GaugeTech Doc E134 7 15 V1 01 4 8 ...
Страница 50: ...e Electro Industries GaugeTech Doc E134 7 15 V1 01 6 4 ...
Страница 52: ...e Electro Industries Gauge Tech Doc E 134 7 15 V1 01 7 2 ...
Страница 63: ...e Electro Industries GaugeTech Doc E134 7 15 V1 01 8 4 ...
Страница 65: ...e Electro Industries Gauge Tech Doc E 134 7 15 V1 01 9 2 ...
Страница 72: ...e Electro Industries GaugeTech Doc E134 7 15 V1 01 10 4 ...
Страница 74: ...e Electro Industries Gauge Tech Doc E 134 7 15 V1 01 11 2 ...
Страница 81: ...e Electro Industries Gauge Tech Doc E 134 7 15 V1 01 13 2 ...
Страница 87: ...e Electro Industries GaugeTech Doc E134 7 15 V1 01 14 4 ...
Страница 89: ...e Electro Industries Gauge Tech Doc E 134 7 15 V1 01 15 2 ...