MSRE206 Programmer’s Manual
Rev. 2.8
Hongkong Unique Electronic INT'L LTD
www.ylk-ic.com
13
Section
Section
Section
Section 8
8
8
8 Communication
Communication
Communication
Communication Sequence
Sequence
Sequence
Sequence
The examples below assumes data on track1, 2 & 3 to be 01, 23, 45 respectively.
�
�
�
�
MSRE206
MSRE206
MSRE206
MSRE206 INITIALIZATION
INITIALIZATION
INITIALIZATION
INITIALIZATION
HOST
Direction
MSRE206
Command code: <ESC>a
HEX code: [1B][61]
(Reset)
Command code: <ESC>e
HEX code: [1B][65]
(Serial port test)
Command test ACK: <ESC> y
HEX code: [1B][79]
Command code: <ESC>a
HEX code: [1B][61]
(Reset)
�
�
�
�
Write
Write
Write
Write Data
Data
Data
Data to
to
to
to MSRE206
MSRE206
MSRE206
MSRE206
HOST
Direction
MSRE206
Command code:
<ESC>w<ESC>s<ESC>[01]01
<ESC>[02]23<ESC>[03]45?<FS>
HEX code:
[1B][77][1B][73][1B][01][30][31][1B]
[02][32][33][1B][03][34][35][3F][1C]
(write command)
(status ACK)
(Wait until swipe card)
Command ACK: <ESC> <status>
HEX code: [1B][status]
Status =[30] no error
Status =[31]~[3F] if error