9 - 17
9 Communications Functions
High-function General-purpose Inverter RX2 Series User’s Manual
9-3 Explanation of Each Function Code
9
Writes data to consecutive multiple holding registers.
Example
To write 3,000 seconds to the inverter with slave address 1 as the 1st Acceleration Time 1 (FA-10)
value.
Because the holding registers 2B02 hex to 2B03 hex for the 1st Acceleration Time (FA-10) has a data
resolution of 0.01 seconds, to set 3,000 seconds, set the written data to 300000 (493E0 hex).
Query
Response
*1. During a broadcast, no response will be sent back.
*2. Note that the register start address is 2B01 hex, which is 1 less than the register number 2B02 hex.
*3. This is not the number of holding registers, but the number of bytes to be changed actually.
If the Write to Holding Register function is not executed normally, refer to Exception Response on page
9-18.
Write to Multiple Holding Registers [10 hex]
No. Field name Example [hex] Remarks
1
Slave address
*1
01
2 Function code 10
3
Register start address (MSB)
*2
2B
(Register address) = (Register number) – 1
4
Register start address (LSB)
*2
01
5 Number of holding registers (MSB) 00
6 Number of holding registers (LSB) 02
7
Number of bytes
*3
04
8 Written data 1 (MSB) 00
000493E0 hex300000 decimal3,000.00 s
9 Written data 1 (LSB) 04
10 Written data 2 (MSB) 93
11 Written data 2 (LSB) E0
12 CRC-16 (MSB) 9E
13 CRC-16 (LSB) 9F
No. Field name Example [hex]
1 Slave address 01
2 Function code 10
3 Register start address (MSB) 2B
4 Register start address (LSB) 01
5 Number of holding registers (MSB) 00
6 Number of holding registers (LSB) 02
7 CRC-16 (MSB) E5
8 CRC-16 (LSB) 34