
- 24 -
www.hzgrow.com
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
0x07
0x0003
X
sum
Note 1: Confirmation code=0x00: cancel setting successful
Confirmation code=other: cancel setting failed
HandShake
HandShake
(
0x40
)
Description: Send handshake instructions to the module. If the module works normally, the
confirmation code 0x00 will be returned. The upper computer can continue to send instructions to
the module.If the confirmation code is other or no reply, it means that the device is abnormal.
Input Parameter: none
Return Parameter: Confirmation code
Instruction code: 0x40
Command (or instruction) package format:
2 bytes
4bytes
1 byte
2 bytes
1 byte
2 bytes
Header
Module
address
Package
identifier
Package length
Instruction code
Checksum
0xEF01
xxxx
0x01
0x0003
0x40
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
0x07
0x0003
X
sum
Note 1: Confirmation code=0x00: the device is normal and can receive instructions;
Confirmation code=other: the device is abnormal.
In addition, after the module is powered on, 0x55 will be automatically sent as a handshake sign. After
the single-chip microcomputer detects 0x55, it can immediately send commands to enter the working
state.
CheckSensor
CheckSensor (0x36)
Description: Check whether the sensor is normal
Input Parameter: none
Return Parameter: Confirmation code
Instruction code: 0x36
Command (or instruction) package format:
2 bytes
4bytes
1 byte
2 bytes
1 byte
2 bytes
Header
Module
address
Package
identifier
Package length
Instruction code
Checksum
0xEF01
xxxx
0x01
0x0003
0x36
sum
Acknowledge package format: