
Input Parameter: BufferID, StartPage (searching start address), PageNum
(
searching numbers
)
Return Parameter: Confirmation code (1 byte), PageID (matching templates location
)
Instuction code: 04H
Command (or instruction) package format:
2 bytes
4bytes
1 byte
2 bytes
1 byte
1 byte
2 bytes
2 bytes
2 bytes
Header Module
address
Package
identifie
r
Package
length
Instructio
n code
buffer
number
Parameter Parameter
Checks
um
0xEF01 xxxx
01H
08H
04H
BufferID
StartPage PageNum
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
2 bytes
2 bytes
Header Module
address
Package
identifier
Package
length
Confirmation
code
页码
得分
Checksum
0xEF01 xxxx
07H
7
xxH
PageID
MatchScore sum
Note 1: Confirmation code=00H: found the matching finer;
Confirmation code=01H: error when receiving package;
Confirmation code=09H: No matching in the library (both the PageID and
matching score are 0);
2: The instruction doesn’t affect the contents of the buffers.
Other instructions
To generate a random code GetRandomCode
Description: to command the Module to generate a random number and return it to upper
computer;Refer to 4.8 for more about Random Number Generator;
Input Parameter: none
Return Parameter: Confirmation code (1 byte)
Instuction code: 14H
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 01H 03H
14H 0018H
Acknowledge package format:
2 bytes
4bytes
1 byte
2 bytes
1 byte
4 bytes
2 bytes
Header Module
address
Package
identifier
Package
length
Confirmation
code
Random
number
Checksum
0xEF01 xxxx 07H 07H xxH xxxx
sum
Note: Confirmation code=00H: generation success;
Confirmation code=01H: error when receiving package;
- 18 -
Содержание R303A Series
Страница 24: ...22...