MSR605 Programmer’s Manual
Rev. A
11
Section
Section
Section
Section 7
7
7
7 Data
Data
Data
Data Format
Format
Format
Format
* [Data Block] format:
* [Card data] format:
* [Status Byte] format:
* Note:
1. When [Status Byte] equal 39h means card moving error.
2. None available and none data tracks will not be transmitted when swipe of card.
For example, when read card with data encoded on track 2 only for MSR605, it will transmit data like
1B
1B
1B
1B 73
73
73
73 1B
1B
1B
1B 01
01
01
01
1B
1B
1B
1B 02
02
02
02 [string
[string
[string
[string
]
3F
3F
3F
3F 1C
1C
1C
1C
, for no data on track 1 so it shown 1B 01 only.
* [Raw Data Block] format:
* [Raw Data] format:
Note:
1. [L1], [L2], [L3] is the length of [string1],[string2],and [string3]
2. None available and none data tracks will not output when swipe of card.
For example, when read card (encoded data on track 2 only) on MSR605, it will transmit data like
1B
1B
1B
1B 73
73
73
73 1B
1B
1B
1B 01
01
01
01 00
00
00
00
1B
1B
1B
1B 02
02
02
02 [L2]
[L2]
[L2]
[L2] [string]
[string]
[string]
[string] 3F
3F
3F
3F 1C
1C
1C
1C
.
Start Field
R/W Data Field
Ending Field
Command code
<ESC> s
[Card data]
? <FS> <ESC> [Status]
Hex code
1B 73
[Card data]
3F 1C 1B [Status]
Card Data
Char Code
<ESC> 1[string1] <ESC> 2 [string2] <ESC> 3 [string3]
Hex Code
1B 01 [string1] 1B 02 [string2] 1B 03 [string3]
Status
description
HEX
ASCII
Ok
If read, write or command ok
30h
0
Error
Write or read error
31h
1
Command format error
32h
2
Invalid command
34h
4
Invalid card swipe when in write mode
39h
9
Start Field
R/W Data Field
Ending Field
Command code
<ESC> s
[Raw data]
? <FS> <ESC> [Status]
Hex code
1B 73
[Raw data]
3F 1C 1B [Status]
Raw Data
Char Code
<ESC>1[L1][string1]<ESC>2[L2][string2]<ESC>3[L3][string3]
Hex Code
1B 01[L1][string1]1B 02[L2][string2]1B 03[L3][string3]