B16

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 “8.”

This example uses change data “300000(493E0h)” to set “3000 seconds” as the data resolution of the registers “1014h” and “1015h” holding the first acceleration time 1 (F002) is 0.01 second.

Appendix B

Query:

No.

Field Name

Example

(Hex)

 

 

1

Slave address *1

08

2

Function code

10

3

Start address *3

10

 

(high order)

 

4

Start address *3

13

 

(low order)

 

5

Number of holding

00

 

registers (high order)

 

6

Number of holding

02

 

registers (low order)

 

7

Byte number *2

04

8

Change data 1

00

 

(high order)

 

9

Change data 1

04

 

(low order)

 

10

Change data 2

93

 

(high order)

 

11

Change data 2

E0

 

(low order)

 

12

CRC-16 (high order)

7D

13

CRC-16 (low order)

53

Response:

No.

Field Name

Example

(Hex)

 

 

1

Slave address

08

2

Function code

10

3

Start address *3

10

 

(high order)

 

4

Start address *3

13

 

(low order)

 

5

Number of holding

00

 

registers (high order)

 

6

Number of holding

02

 

registers (low order)

 

7

CRC-16 (high order)

B4

8

CRC-16 (low order)

54

 

 

 

Note 1: Broadcasting is disabled.

Note 2: This is not the number of holding registers. Specify the number of bytes of data to be changed.

Note 3: The PDU Register Number are addressed starting at zero. Therefore register numbered “1014h” are addressed as “1013h”. Register address value (transmitted on Modbus line) is 1 less than the Register Number.

When writing in selected holding registers fails, see the exception response.

Page 243
Image 243
Hitachi X200 Series instruction manual 16, Write in Holding Registers 10h