MSR206 Programmer’s Manual
UDN PM017-U Rev.C.1
Section 6 – Command and response
2003/10/9
Page
12
Total
28 pages
Response: 1B [00~ff] [00~ff]
Description: This command is used to ask MSR206 the present setting number of leading zeros.
14. Command: Erase card
Command code: <ESC> c [Select Byte]
Hex code: 1B 63 [Select Byte]
Response: <ESC> 0 [1B] [30] command Select Byte ok
<ESC> A [1B] [41] command Select Byte fail
Description: This command is used to erase the card data when card swipe.
*[Select Byte] format:
00000000: Track 1 only
00000010: Track 2 only
00000100: Track 3 only
00000011: Track 1 & 2
00000101: Track 1 & 3
00000110: Track 2 & 3
00000111: Track 1, 2 & 3
15. Command:
Select BPI
(only for TK2)
Command code: <ESC> b [Density]
Hex code: 1B 62 [D2 or 4B]
Response: <ESC> 0 [1B] [30] select ok
<ESC> A [1B] [41] select fail
Description: This command is used to select the density of TK2.
[D2]: TK2 BPI=210 [4B]: TK2 BPI=75
16. Command: Read raw data
Command code: <ESC> m
Hex code: 1B 6D
Response: [Raw Data Block] <ESC> [Status Byte]
Description: This command requests MSR206 to read a card swipe but send without ASCII decode.
Refer to [Raw Data Block] & [Raw Data] format.
17. Command: Write raw data
Command code: <ESC> n [Raw Data Block]
Hex code: 1B 6E [Raw Data Block]
Response: <ESC> [Status Byte]
Description: This command requests MSR206 to write raw Data Block into the card swiped.
Refer to [Raw Data Block] & [Raw Data] format.
18. Command: Get device model
Command code: <ESC> t
Hex code: 1B 74
Response: <ESC> [Model] S
Description: This command is used to get the model of MSR206. There are four models