Chapter 6 Modbus RTU protocol
59
Answer(slave side)
Slave
address
Functio
n
Initial address
Preset data
Error check
(CRC16)
High
Low
High
Low
Low
High
11 H
06 H
00 H
00 H
00 H
0A H
** H
** H
6.6 Preset multiple memories
(
Func 16-10H
)
The binary data of the holding memory (refer to the 4X state) is continuously written in the
slave device.
1. Inquire (master side)
Slav
e
addr
ess
Func
tion
Initial
address
Memory
quantity
Num
ber
of
byte
Data
Data
Error check
(CRC16)
High
Low
High
Low
High
Low
High
Low
Low
High
1Byt
e
1Byt
e
1Byt
e
1Byt
e
1Byt
e
1Byt
e
1Byt
e
1Byt
e
1Byt
e
1Byt
e
1Byt
e
1Byt
e
1Byt
e
CRC16
2. Answer(slave side)
Slave
address
Functio
n
Initial address
Memory quantity
Error check
(CRC16)
High
Low
High
Low
Low
High
1Byte
1Byte
1Byte
1Byte
1Byte
1Byte
1Byte
1Byte
CRC16
For example
:
The master side writes "10 (A H)" to the holding memory 400001 (0000H) ~ 400002
(0001H) of the slave side (address 17).