4-87
4-2 Function Mode
4
Functions
*1. There is no response for broadcasting.
*2. Note that the holding register start address is "1028h", which is smaller by 1 than the register
number "1029h".
Refer to "<Exception Response>" (4-89) if writing into the holding register cannot be performed nor-
mally.
<Loopback Test [08h]>
Used to check the communications between master and slave. A random value can be used for test
data.
(Example)
Loopback test to the Inverter with the slave address "1"
* Broadcasting cannot be performed.
The test sub code corresponds only with the query data echo (00h, 00h), not any other command.
Query Response
No. Field name
Example
(Hex)
No. Field name
Example
(Hex)
1 Slave address
*1
08 1 Slave address 08
2 Function code 06 2 Function code 06
3
Register address
*2
(MSB)
10 3
Register address
*2
(MSB)
10
4
Register address
*2
(LSB)
28 4
Register address
*2
(LSB)
28
5 Change data (MSB) 01 5 Change data (MSB) 01
6 Change data (LSB) F4 6 Change data (LSB) F4
7 CRC-16 (MSB) 0D 7 CRC-16 (MSB) 0D
8 CRC-16 (LSB) 8C 8 CRC-16 (LSB) 8C
Query Response
No. Field name
Example
(HEX)
No. Field name
Example
(HEX)
1 Slave address
*
01 1 Slave address 01
2 Function code 08 2 Function code 08
3 Test sub code (MSB) 00 3 Test sub code (MSB) 00
4 Test sub code (LSB) 00 4 Test sub code (LSB) 00
5 Data (MSB) Random 5 Data Random
6 Data (LSB) Random 6 Data Random
7 CRC-16 (MSB) CRC 7 CRC-16 (MSB) CRC
8 CRC-16 (LSB) CRC 8 CRC-16 (LSB) CRC