APPENDIX. HOST COMMUNICATION PROTOCOL
IMR02E20-E1
132
Preset single register [06H]
The query message specifies data to be written into the designated holding register. The write data is
arranged in the query message with high-order 8-bit first and low-order 8-bit next. Only R/W holding
registers can be specified.
Example: Data is written into the holding register 0ADCH of slave address 1.
Query message
Slave address
01H
Function code
06H
Holding register number
High
0AH
Low
DCH
Write data
High
00H
Low
64H
CRC-16
High
4AH
Low
03H
Normal response message
Slave address
01H
Function code
06H
Holding register number
High
0AH
Low
DCH
Write data
High
00H
Low
64H
CRC-16
High
4AH
Low
03H
Error response message
Slave address
01H
80H + Function code
86H
Error code
02H
CRC-16
High
C3H
Low
A1H
Any data within the range
Contents will be the same as query message data.