ModBus Mode Communications
Append
ix
B
B–30
Write in Holding Registers [10h]:
This function writes data in consecutive holding registers. An example follows:
• Write “3000 seconds” as the first acceleration time 1 (F002) in an inverter having a slave
address “1.”
• This example uses change data “300000 (493E0h)” to set “3000 seconds” as the data
resolution of the registers “1103h” and “1104h” holding the first acceleration time 1 (F002)
is 0.01 second.
When the Write Holding Register command cannot be executed normally, refer to the
exception response.
Query:
Note 1:
Broadcasting is disabled.
Note 2:
The starting coil number is one
less than the number of the coil to
be read first.
Response:
No.
Field Name
Example
(hex)
1
Slave address *1
01
2
Function code
10
3
Start address (high
order) *2
11
4
Start address (low order)
*2
02
5
Number of holding
registers (high order)
00
6
Number of holding
registers (low order)
02
7
Byte number *3
04
8
Change data 1 (high
order)
00
9
Change data 1 (low
order)
04
10
Change data 2 (high
order)
93
11
Change data 2 (low
order)
E0
12
CRC-16 (high order)
9E
13
CRC-16 (low order)
9F
No.
Field Name
Example
(hex)
1
Slave address *1
01
2
Function code
10
3
Register start number
(high order)
11
4
Register start number
(low order)
02
5
Number of holding
registers (high order)
00
6
Number of holding
registers (low order)
02
7
CRC-16 (high order)
E5
8
CRC-16 (low order)
34