Chapter 6 Modbus RTU protocol
58
s
byte
High
Low
High
Low
Low
High
11 H
04 H
04 H
00 H
0A H
00 H
14 H
** H
** H
6.5 Preset a single memory
(
Func 06-06H
)
Binary data written to a single memory (refer to the 4X state) from the slave device.
1. Inquire(master side)
Slave
address
Functio
n
Memory address
Preset data
Error check
(CRC16)
High
Low
High
Low
Low
High
1Byte
1Byte
1Byte
1Byte
1Byte
1Byte
1Byte
1Byte
CRC16
2. Answer(slave side)
Slave
address
Functio
n
Memory address
Preset data
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) of the slave side
(address 17).
Inquiry (master 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