Appendix C Communication Protocol Shenzhen Hpmont Technology Co., Ltd
―160― HD30 Series Inverters User Manual
0x21 Parameters are unchangeable when the inverter is in running status.
0x22 Parameters are protected by password.
2. The command and response frame of MODBUS protocol parameter (in RTU mode)
1) To read inverter parameters
Protocol date unit Length of data (byte) Range
Command frame
Address 1
0-247, 0 is broadcast
address
Function code 1 0x03
Starting register address 2 0x0000-0xFFFF
No. of register 2 0x0001-0x0004
CRC/LRC checking 2/1
Response frame
Address 1 1-247
Function code 1 0x03
Read byte no. 1 2* no. of registers
Read content 2* no. of registers
CRC/LRC checking 2/1
2) Circuit diagnosis
Protocol date unit Length of data (byte) Range
Command frame
Address 1
0-247, 0 is broadcast
address
Function code 1 0x08
Subfunction code 2 0x0000-0x0030
Data 2 0x0000-0xFFFF
CRC /LRC checking 2/1
Response frame
Address 1 1-247
Function code 1 0x08
Subfunction code 2 0x0000-0x0030
Data 2 0x0000-0xFFFF
CRC /LRC checking 2/1
Subfunction code of circuit diagnosis:
Subfunction
code
Data (command)
Data (response)
Subfunction meanings
0x0001
0x0000 0x0000
Reinitialize communication, disabling no-response
mode
0xFF00 0xFF00
Reinitialize communication, disabling no-response
mode
0x0003
“New frame
tail” and “00”
occupy higher
and lower
“New frame
tail” and “00”
occupy higher
and lower
Set ASCII frame tail, and the new frame tail will
replace the old newline characters, but it will not be
retained at power loss.
Note: new frame tail cannot be larger than 0x7F,