
- 11 -
www.hzgrow.com
V Module Instruction System
System-related instructions
Verify password VfyPwd
Description: Verify Module’s handshaking password.
Input Parameter: PassWord (4 bytes)
Return Parameter: Confirmation code (1 byte)
Instruction code: 13H
Command (or instruction) package format:
2 bytes
4bytes
1 byte
2 bytes
1 byte
4 byte
2 bytes
Header
Module
address
Package
identifier
Instruction
code
Password
Checksum
0xEF01
xxxx
01H
07H
13H
PassWord
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: Correct password;
Confirmation code = 01H: error when receiving package;
Confirmation code = 13H: Wrong password;
Set password
SetPwd
Description: Set Module’s handshaking password.
Input Parameter: PassWord (4 bytes)
Return Parameter: Confirmation code (1 byte)
Instruction code: 12H
Command (or instruction) package format:
2 bytes
4bytes
1 byte
2 bytes
1 byte
4 byte
2 bytes
Header
Module
address
Package
identifier
Package
length
Instruction
code
Password
Checksum
0xEF01
xxxx
01H
07H
12H
PassWord
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: password setting complete;
Confirmation code=01H: error when receiving package;
Confirmation code=21H: have to verify password
Confirmation code=18H: error when write FLASH