Appendix B Communication Protocol Shenzhen Hpmont Technology Co., Ltd
―154― HD20 Series Inverters User Manual
2) The command and response frame of MODBUS protocol parameter (in RTU mode)
①
To read inverter parameters (function code 0x03)
Protocol data 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-0x000C
CRC/LRC checking 2/1
Response frame
Address 1 1-247
Function code 1 0x03
Read byte no. 1 2* no. of registers
Register content 2* no. of registers
CRC/LRC checking 2/1
②
To rewrite function parameter (whether can be saved by F17.09 at power off) or control
parameter (function code 0x06) of single inverter (function code 0x06)
③
To rewrite function parameter (cannot be saved at power off) or control parameter of single
inverter (function code 0x41)
Protocol data unit Length of data (byte) Range
Command frame
Address 1 0-247, 0 is broadcast address
Function code 1 0x06. 0x41
Register address 2 0x0000-0xFFFF
Register content 2 0x0000-0xFFFF
CRC/LRC checking 2/1
Response frame
Address 1 1-247
Function code 1 0x06. 0x41
Register address 1 0x0000-0xFFFF
Register content 2 0x0000-0xFFFF
CRC/LRC checking 2/1
④
Circuit diagnosis (function code 0x08)
Protocol data 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