Checkpoint Systems Inc. GPRO7000 Manual De Usuario

Descargar
Página de 9
  
                                                TR4090 USER’S GUIDE
____________________________________________________________________________________________________________________________
CHECKPOINT SYSTEMS, INC. CONFIDENTIAL AND PROPRIETARY INFORMATION, FOR INTERNAL USE ONLY.
Dwg. No.  265245 
    Rev. 00
Page 5
3.1   BCH-ENCODED DATA
If the tags used are BCH-encoded, the data sent from the TR4090 to the HOST PC via an RS-232
serial port will have a start character of an ASCII capital ‘H’, followed by 126 bits of BCH-
encoded binary data, and an end character which is an ASCII capital ‘N’.
For example, the data read by the Reader will be of the form:
Preamble
Header
BCH Encoded User Data
Trailer
Unused memory
0xFF
0x147
126 bits
0x147
0 bits
and the data sent out by the Reader to the HOST will be of the form:
ASCII Start Charcter
Header, BCH Encoded User Data, Trailer
ASCII End Character
Total Bytes Sent to
HOST
‘H’
146 bits + 6 padded 0s (19 bytes)
‘N’
21 bytes
3.2   12-BYTE ASCII DATA
If the tags used have the 12 byte data format, the data sent from the TR4090 to the HOST PC via
an RS-232 serial port will have a start character of an ASCII capital ‘T’, followed by 24 bytes of
ASCII data, and an end character which is an ASCII capital ‘N’.  All characters are therefore
ASCII and so can easily be viewed using HyperTerminal for example.
Note:  The 24 bytes of ASCII data are the result of converting each nibble that make up the 12
bytes of tag data to ASCII.
For example, the data read by the Reader will be of the form:
Preamble
Header
User Data
CCITT-16 CRC
Unused memory
0xFF
0x22
12 bytes
2 bytes
26 bits
and the data sent out by the Reader to the HOST will be of the form:
ASCII Start Charcter
User Data
ASCII End Character
Total Bytes Sent to
HOST
‘T’
24 bytes
‘N’
26 bytes
Example:
Contents of  Tag in binary form
Preamble
Header
User Data
CCITT-16 CRC
FF
22
01  23  45  67  89  AB  CD  EF  AA  BB  CC  DD
6B 07
The data sent out by the Reader to the HOST will be:
ASCII
Start
Charcter
24 Bytes of User Data in ASCII representation
ASCII End
Character
‘T’
‘0’ ‘1’ ‘2’ ‘3’ ‘4’ ‘5’ ‘6’ ‘7’ ‘8’ ‘9’ ‘A’ ‘B’ ‘C’ ‘D’ ‘E’ ‘F’ ‘A’ ‘A’ ‘B’ ‘B’ ‘C’ ‘C’ ‘D’
‘D’
‘N’
3.3   15-BYTE ASCII DATA
If the tags used have the 15 byte data format, the data sent from the TR4090 to the HOST PC via
an RS-232 serial port will have a start character of an ASCII capital ‘X’, followed by 30 bytes of