KoamTac KDC100 Programming Manual page 6

Revision 2.82
Hide thumbs Also See for KDC100:
Table of Contents

Advertisement

Barcodes are stored sequentially as they are scanned in the internal flash memory. Since barcodes
can have different lengths, we need to keep track of length information as well. For each barcode we
first store the length of barcode plus 1 (1 byte), then the barcode type (1 byte), and then the barcode
value (without the string terminator '\0').
The timestamp field has 6 sub-fields as follows:
MSB
Years
Months
(6 bits)
(4 bits)
Note:
(1) The base year is 2000. It means the year is 2000 if Years field is 0.
(2) The Hours range is 0 – 11 and AM/PM bit 0 means AM, and 1 means PM
User Applications generated by Application Generator
KDC100 stores the read barcodes in the internal flash memory in the following data format:
C0
Y0
D0
T0
Where
C0, C1,..., Cn : Total number of each barcode data (1 byte)
2 bytes for KDC200P/KDC300, 1 byte for KDC100/200
o
Y0,Y1,..., Yn : Type of each barcode(1 byte)
The 1
o
The remaining 6 bits indicate barcode type
o
D0,D1,...,Dn : Actual barcode data of each barcode (variable size)
T0, T1,...,Tn : Timestamp of each barcode (4 bytes)
Q0, Q1,...,Qn : (2 bytes)
The 1
o
The 2
o
Days
(5 bits)
Q0
C1
Y1
D1
st
2 bits indicate record type
0 : Data collected in Normal mode
1 : Step 1 data collected in Application mode
2 : Step 2 data collected in Application mode
3 : Step 3 data collected in Application mode
st
byte indicates Predefined or User Application
0xFF : User Application
nd
byte indicates Quantity
AM/PM
Hours
(1 bit)
(4 bits)
T1
Q1.
.....
Cn
5
KDC100 Programming Manual
Minutes
Seconds
(6 bits)
(6 bits)
Yn
Dn
Tn
Qn.
LSB

Advertisement

Table of Contents
loading

Table of Contents