User Manual

Chapter 8 Communication Functions
8 - 12
(D) Write in Holding Register [06h]
This function writes data in a specified holding register. An example follows:
Write “50Hz” as the first Multi-speed 0 (A020) in an inverter having slave address “5.”
This example uses change data “500(1F4h)” to set “50Hz” as the data resolution of the register
“1019h” holding the first Multi-speed 0 (A020) is 0.1Hz
Query: Response:
No. Field Name
Example
(Hex)
No. Field Name
Example
(Hex)
1 Slave address *1 05 1 Slave address 05
2 Function code 06 2 Function code 06
3 Register start address
*2
(high order)
12 3 Register start address *2
(high order)
12
4 Register start address
*2
(low order)
16 4 Register start address *2
(low order)
16
5 Change data
(high order)
01 5 Change data
(high order)
01
6 Change data
(low order)
F4 6 Change data
(low order)
F4
7 CRC-16 (high order) 6C 7 CRC-16 (high order) 6C
8 CRC-16 (low order) E5 8 CRC-16 (low order) E5
Note 1: No response is made for a broadcasting query.
Note 2: The PDU Register Number are addressed starting at zero. Therefore register numbered
“1217h” are addressed as “1216h”. Register address value (transmitted on Modbus line)
is 1 less than the Register Number.
When writing in a selected holding register fails, see the exception response.