User's Manual Part 3
Table Of Contents
- Page 1
- Page 2
- Page 3
- Page 4
- Page 5
- Page 6
- Page 7
- Page 8
- Page 9
- Page 10
- Page 11
- Page 12
- Page 13
- Page 14
- Page 15
- Page 16
- Page 17
- Page 18
- Page 19
- Page 20
- Page 21
- Page 22
- Page 23
- Page 24
- Page 25
- Page 26
- Page 27
- Page 28
- Page 29
- Page 30
- Page 31
- Page 32
- Page 33
- Page 34
- Page 35
- Page 36
- Page 37
- Page 38
- Page 39
- Page 40
- Page 41
- Page 42
- Page 43
- Page 44
- Page 45
- Page 46
- Page 47
- Page 48
- Page 49
- Page 50
- Page 51
- Page 52
Hi-G-Tek Ltd. Microelectronics & Asset Tracking Technology
119
6
RS 485/232 Communication Protocol
6.4. String Formats.
6.4.1. LSC to READERS messages.
Commands & Acknowledge strings:
STX #B R# CMND data CRC ETX
1 2 2 2 n 2 1
# of bytes
#B
CRC
Where:
STX This is the marker for the beginning of the
messages. STX = 02 hex.
#B String length, the string contains the R#,CMND,
the DATA field, and the CRC.
R# This session's READER address .
CMND This session's command code .
DATA The data field contains the data required to execute
the command
CRC This is the cyclic redundancy check for DATA and
fields #B, R#, CMND.
ETX This is the marker for the end of the messages.
ETX = 03 hex.
6.4.1.1. CRC Calculation.
CRC calculations are based on the following CCITT polynomial:
16 12 5
X + X + X + 1
The result is 2 bytes.