EasyManua.ls Logo

Grow R503 - Page 24

Grow R503
50 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
- 19 -
www.hzgrow.com
address
length
content
0xEF01
xxxx
0x02- have
following packet
0x08 - end packet
N+2
Template
data
sum
Download template DownChar
Description: upper computer download template to module buffer
Input Parameter: CharBufferID (Buffer number)
Return Parameter: Confirmation code (1 byte)
Instruction code: 09H
Command (or instruction) package format:
2 bytes
4bytes
1 byte
2 bytes
1 byte
1 byte
2 bytes
Header
Module
address
Package
identifier
Package
length
Instruction
code
Buffer number
Checksum
0xEF01
xxxx
01H
04H
09H
CharBufferID
sum
Note: This command don’t need to use the CharBufferID, so the CharBufferID can be
any value between 1 and 6.
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 1: Confirmation code=00H: ready to transfer the following data packet;
Confirmation code=01H: error when receiving package;
Confirmation code=0eH: can not receive the following data packet
Data package format:
2 bytes
4bytes
1 byte
2 bytes
N byte
2 bytes
Header
Module
address
Package identifier
Package
length
Package
content
Checksum
0xEF01
xxxx
0x02- have
following packet
0x08 - end packet
N+2
Template
data
sum
Note 2. The upper computer sends the command packet, the module sends the acknowledge
packet first, and then sends several data packet.
3.Packet Bytes N is determined by Packet Length. The value is 128 Bytes before
delivery.
4. The instruction doesn’t affect buffer contents.
To store template Store
Description: to store the template of specified buffer (Buffer1/Buffer2) at the designated location of
Flash library.
Input Parameter: CharBufferID, ModelID
Return Parameter: Confirmation code (1 byte)

Table of Contents