16. Add-on Modbus RTU
65
Dr. A. Kuntze
I
Gutes Wasser mit System
Robert-Bosch-Str. 7a
40668 Meerbusch
+49 (0) 2150-7066-0 / Fax -60
www.kuntze.com
16.1. How to read out data
Request
Function code
1 Byte
0x03
Start register
2 Bytes
0x0000 to 0xFFFF
Quantity of registers
2 Bytes
1 to 125 (0x7D)
Response
Function code
1 Byte
0x03
Bytes
1 Byte
2 x N*
Register value
N* x 2 Bytes
*N = quantity of registers
Write single register
Function code
1 Byte
0x06
Register
2 Bytes
0x0000 to 0xFFFF
Write multiple registers
Function code
1 Byte
0x10
Start register
2 Bytes
0x0000 to 0xFFFF
Quantity of registers
2 Bytes
1 to 125 (0x7D)
16.2. Communication parameters
Baudrate:
19200 bps
Data bits:
8
Stopp- Bits:
1
Parity:
even
MODBUS address:
selectable between1-31, factory settings: 1