
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 BufferID
sum
Note: BufferID of CharBuffer1 and CharBuffer2 are 1h and 2h respectively. Other values (except
1h, 2h) would be processed as CharBuffer2.
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: fail to receive the following data packages.
2: Module shall transfer the following data packet after responding to the upper
computer.
To store template Store
Description: to store the template of specified buffer (Buffer1/Buffer2) at the designated location of
Flash library.
Input Parameter: BufferID(buffer number), PageID
(
Flash location of the template, two bytes with
high byte front and low byte behind
)
Return Parameter: Confirmation code (1 byte)
Instuction code: 06H
Command (or instruction) package format:
2 bytes
4bytes
1 byte
2 bytes
1 byte
1 byte
2 bytes
2 bytes
Header Module
address
Package
identifier
Package
length
Instruction
code
buffer
number
Location
number
Checksum
0xEF01 xxxx
01H
06H
06H
BufferID PageID
sum
Note: BufferID of CharBuffer1 and CharBuffer2 are 1h and 2h respectively. Other values
(except 1h, 2h) would be processed as CharBuffer2.
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: storage success;
Confirmation code=01H: error when receiving package;
Confirmation code=0bH: addressing PageID is beyond the finger library;
Confirmation code=18H: error when writing Flash.
To read template from Flash library LoadChar
Description: to load template at the specified location (PageID) of Flash library to template buffer
CharBuffer1/CharBuffer2
- 15 -
Содержание R303A Series
Страница 24: ...22...