Shenzhen Hpmont Technology Co., Ltd Appendix B Communication Protocol
HD5L Series Controller User Manual -133-
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
bytes
respectively
“New frame tail”
and “00” occupy
higher and lower
bytes
respectively
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,
and shouldn’t be 0x3A.
0x0004 0x0000 No response
After select no-response mode, the slaves then
only answer to “reinitialize communication
command”. It can tell and isolate the faulted
slaves.
0x0030
0x0000 0x0000
To set slave no-response invalid command and
fault command.
0x0001 0x0001
To set slave response invalid command and
fault command.
4) To rewrite single function parameter (not saved at power off) or control parameter of controller
Protocol date unit Length of data (byte) Range
Command frame
Address 1
0-247, 0 is broadcast
address
Function code 1 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 0x41
Register address 2 0x0000-0xFFFF
Register content 2 0x0000-0xFFFF
CRC /LRC checking 2/1
B