Hitachi L2002 Power Supply User Manual


 
Network Protocol Reference
Appendix B
B–16
Writing 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 “0024h” and “0025h” holding the first acceleration time 1
(F002) is 0.01 second.
When writing in selected holding registers fails, see the exception response.
Query:
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.
Response:
No. Field Name
Example
(Hex)
1 Slave address *1 01
2 Function code 10
3 Start address (high
order)
00
4 Start address (low
order)
24
5 Number of holding
registers (high order)
00
6 Number of holding
registers (low order)
02
7 Byte number *2 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) DC
13 CRC-16 (low order) FD
No. Field Name
Example
(Hex)
1 Slave address 01
2 Function code 10
3 Start address (high
order)
00
4 Start address (low
order)
24
5 Number of holding
registers (high order)
00
6 Number of holding
registers (low order)
02
7 CRC-16 (high order) 01
8 CRC-16 (low order) C3