EasyManua.ls Logo

Grow R503 - Templetenum

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...
- 13 -
www.hzgrow.com
Read system Parameter ReadSysPara
Description: Read Module’s status register and system basic configuration parameters;
Input Parameternone
Return ParameterConfirmation code (1 byte) + basic parameter16bytes
Instruction code: 0fH
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
0fH
sum
Acknowledge package format:
2 bytes
4bytes
1 byte
2 bytes
1 byte
16 bytes
2 bytes
Header
Module
address
Package
identifier
Package
length
Confirmation
code
Basic parameter
list
Checksum
0xEF01
xxxx
07H
13H
xxH
See following
table
sum
Note: Confirmation code=00H: read complete;
Confirmation code=01H: error when receiving package;
Confirmation code=18H: error when write FLASH
Name
Description
Offset (word)
Size (word)
Status register
Contents of system status register
0
2
System identifier code
Fixed value: 0x0000
1
2
Finger library size
Finger library size
2
2
Security level
Security level (1, 2, 3, 4, 5)
3
2
Device address
32-bit device address
4
4
Data packet size
Size code (0, 1, 2, 3)
6
2
Baud settings
N (baud = 9600*N bps)
7
2
Read valid template number TempleteNum
Description: read the current valid template number of the Module
Input Parameter: none
Return Parameter: Confirmation code (1 byte)template number:N
Instruction code: 1dH
Command (or instruction) package format:
Name
Parameter number
Content
Baud rate
4
Data range:1, 2/4/6/12,
indicates that baud rate is 9600 * N bps
Security level
5
Data range: 1, 2, 3, 4, 5
Packet content length
6
Data range: 0, 1, 2, 3 the corresponding lengths (bytes)
are as follows: 32, 64, 128, 256

Table of Contents