Instruction manual
6. MESSAGE FORMAT
IMCB14-E1
24
6.2 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 bits first and low-order 8 bits next. Only R/W
holding registers can be specified.
Example: Data is written into the holding register 0006H of slave address 1.
Query message
Slave address 01H
Function code 06H
Holding register High 00H
number Low 06H
Write data High 00H
Low C8H
CRC-16 High 68H
Low 5DH
Normal response message
Slave address 01H
Function code 06H
Holding register High 00H
number Low C6H
Write data High 00H
Low 08H
CRC-16 High 68H
Low 5DH
Error response message
Slave address 01H
80H Function code 86H
Error code 02H
CRC-16 High C3H
Low A1H
Contents will be the same as query message data.
Any data within the range