PROMAG MSR Communication Protocol(081128)

  • 格式:pdf
  • 大小:102.18 KB
  • 文档页数:4

PROMAG MSR Communication Protocol P081128
The checksum is an 8-bit sum of all characters between the STX and CR, represented as a 2-character HEX string. For an example packet below, the checksum is calculated as follows. The data part of the packet is “A1XYZ”. The sum of these character codes is: 41H+31H+58H+59H+5AH=17DH. Eight least significant bits contain 7DH. The string representation of this value is “7D” (i.e. 2 ASCII characters- ‘7’ and ‘D’).
STX A 1 X Y Z 7 D CR
02H 41H 31H 58H 59H 5AH 37H44H0DH
Packet portion the checksum is
Checksum
calculated on
REGISTER TABLE
REGISTER PARAM Default Remark
Baudrate [ 00 H]00~03: 19200 bps
04: 2400 bps
05: 4800 bps
06: 9600 bps
07:14400 bps
08: 19200 bps
09 : 28800 bps
0A : 38400 bps
0B : 57600 bps
09~FF: 19200 bps
FF : 19200 bps
Data bits [ 03 H]00~04: 8 data bits
05: 5 data bits
06: 6 data bits
07: 7 data bits
08: 8 data bits
09: 9 data bits
0A~FF: 8 data bits
FF: 8 data bits
Stop bits [ 04 H]00: 1 stop bits
01: 1 stop bits
02: 2 stop bits
03~FF: 1 stop bits
FF: 1 stop bits
Parity [ 05 H]00: None
01: Odd
02: Even
03: Space
04: Mark
05~FF: None
FF: None
00: Disable
01: Required
02: Enable
03~FF: Enable
TK1 ( FF : Enable )
TK2 ( FF : Enable )
TK3 ( FF : Enable )
Decode Mode
TK1 [ 30 H] TK2 [ 31 H] TK3 [ 32 H]
Mark Code TK1 [ 36 H] TK2 [ 37 H] TK3 [ 38 H]00~FE : ASCII Table
FF: Empty
TK1 ( FF : Empty )
TK2 ( FF : Empty )
TK3 ( FF : Empty )
Track ES0 TKx [ 39 H]00~FE : ASCII Table
FF: Empty
ES0 ( FF : Empty )
Track ES1 TKx [ 3A H]00~FE : ASCII Table
FF: Empty
ES1 ( FF : Empty )
REGISTER PARAM Default Remark
SS
7-bit @TK1 [ 50 H]
7-bit @TK2 [ 52 H]
7-bit @TK3 [ 54 H] ABA @TK1 [ 56 H] ABA @TK2 [ 58 H] ABA @TK3 [ 5A H] JIS2 [ 5C H]
AAMVA@TK3 [ 5E H] IBM [ 78 H]00~FE : ASCII Table
FF: Empty
7-bit @TK1 ( 25 : ”%” )
7-bit @TK2 ( 40 : ”$” )
7-bit @TK3 ( 26 : ”&” )
ABA @TK1 ( 3B : ”;” )
ABA @TK2 ( 3B : ”;” )
ABA @TK3 ( 2B : ”+” )
JIS2 ( 2A : ”*” )
AAMVA @TK3 ( 23 : ”#” )
IBM ( 3B : ”;” )
The Simple and
Standard version not
support 7-bit@
TK2,TK3,ABA@TK1,A
AMVA and IBM SS.
ES
7-bit @TK1 [ 51 H]
7-bit @TK2 [ 53 H]
7-bit @TK3 [ 55 H] ABA @TK1 [ 57 H] ABA @TK2 [ 59 H] ABA @TK3 [ 5B H] JIS2 [ 5D H]
AAMVA@TK3 [ 5F H] IBM [ 79 H]00~FE : ASCII Table
FF: Empty
7-bit @TK1 ( 3F : ”?” )
7-bit @TK2 ( 3F : ”?” )
7-bit @TK3 ( 3F : ”?” )
ABA @TK1 ( 3F : ”?” )
ABA @TK2 ( 3F : ”?” )
ABA @TK3 ( 3F : ”?” )
JIS2 ( 3F : ”?” )
AAMVA @TK3 ( 3F : ”?” )
IBM ( 3C : ”<” )
The Simple and
Standard version not
support 7-bit@
TK2,TK3,ABA@TK1,A
AMVA and IBM ES.
Package FS
[ 60 H]00~FE : ASCII Table
FF: Empty
FF : Empty 00~FE : ASCII Table FF : Empty
Package
FF: Empty
FE0
[ 61 H]
00~FE : ASCII Table FF : Empty Package
FF: Empty
FE1
[ 62 H]
00 : TK1-TK2-TK3 FF : TK1-TK2-TK3 Track
01 : TK1-TK3-TK2
Output
02 : TK2-TK1-TK3
Order
[ 69 H]03 : TK2-TK3-TK1
04 : TK3-TK1-TK2
05 : TK3-TK2-TK1
06~FF : TK1-TK2-TK3
00~FE : ASCII Table FF : Empty
Prefix
FF: Empty ( First Character ) or
Package [ 80~87H]
End ( Other )
TK1 [ 90~97 H]
TK2 [ A0~A7 H]
TK3 [ B0~B7 H]
Suffix
Package [ 88~8F H]
TK1 [ 98~9F H]
TK2 [ A8~AF H]
TK3 [ B8~BF H]。