Shenzhen Hpmont Technology Co., Ltd. Chapter 9 MODBUS Communication Protocol
HD09-S Series User Manual V1.1 - 81 -
9.3.4 Rewrite the Inverter Multiple Functional Parameters or Control Parameters
Function code 0x10 (whether data is saved after power-off is decided by para F17.09), the request
frame and response frame are shown in the table below, taking RTU mode as an example.
Request frame Add
Function
code
Start
register
address
No of
operation
registers
Register
contents
bytes
Register contents
CRC / LRC
check
No of data
frame bytes
1 1 2 2 1
2* No of operation
registers
2/1
Value or range 0 - 247 0x10
0x0000 -
0xFFFF
0x0000 -
0x0004
2* No of
operation
registers
Response
frame
Add Function code
Start register
address
No of operation
registers
CRC check
No of data
frame bytes
1 1 2 2 2/1
Value or range 1 - 247 0x10 0x0000 - 0xFFFF 0x0000 - 0x0004
The request rewrites the contents of the contiguous data unit starting from the starting register
address.
9.3.5 Error and Exception Code
If the operation request fails, the answer is an error code, the error code is function code + 0x80.
The exception code is shown in the table below.
Exception code Instructions
0x01 Illegal function parameters.
0x02 Illegal register address.
0x03 Data fault. Data is exceeded the upper / lower limit.
0x04 Slave operation fails (including fault caused by data invalid).
0x16
Unsupported operation (unsupported to read the attributes, factory default and upper / lower
limit for the control parameter and status parameter).
0x17 The register number of command frame is fault.
0x18 Incorrect information frame, including incorrect information length and incorrect checking.
0x20 Parameters cannot be modified.
0x21 Parameters are unchangeable when the controller is in running status.
0x22 Parameters are protected by password.