
- 12 -
www.hzgrow.com
Set Module address SetAdder
Description: Set Module address.
Input Parameter: Addr
Return Parameter: Confirmation code (1 byte)
Instruction code: 15H
Command (or instruction) package format:
2 bytes
4bytes
1 byte
2 bytes
1 byte
4 bytes
2 bytes
Header
Original
Module address
Package
identifier
Package
length
Instruction
code
New Module
address
Checksum
0xEF01
xxxx
01H
07H
15H
Addr
sum
Acknowledge package format:
2 bytes
4bytes
1 byte
2 bytes
1 byte
2 bytes
Header
New Module
address
Package
identifier
Package
length
Confirmation
code
Checksum
0xEF01
xxxx
07H
03H
xxH
Sum
Note: Confirmation code=00H: address setting complete;
Confirmation code=01H: error when receiving package;
Confirmation code=18H: error when write FLASH
Set module system’s basic parameter
SetSysPara
Description: Operation parameter settings.
Input Parameter: Parameter Contents
Return Parameter: Confirmation code (1 byte)
Instruction code: 0eH
Command (or instruction) package format:
2 bytes
4bytes
1 byte
2 bytes
1 byte
1byte
1byte
2 bytes
Header
Module
address
Package
identifier
Package
length
Instruction
code
Parameter
number
Contents
Checksum
0xEF01
Xxxx
01H
05H
0eH
4/5/6
xx
sum
Acknowledge package format:
2 bytes
4bytes
1 byte
2 bytes
1 byte
2 bytes
Header
Module
address
Package
identifier
Package
length
Confirmation
code
Checksum
0xEF01
Xxxx
07H
03H
xxH
Sum
Note: Confirmation code=00H: parameter setting complete;
Confirmation code=01H: error when receiving package;
Confirmation code=1aH: wrong register number;
Confirmation code=18H: error when write FLASH