MSR606 MSR605 Programmer's Manual

MSR605%20Programmer's%20Manual

User Manual: Pdf

Open the PDF directly: View PDF PDF.
Page Count: 26

DownloadMSR606 MSR605 Programmer's Manual
Open PDF In BrowserView PDF
MSR605
Magnetic Stripe Card Reader/Writer
(High & Low Coercivity)

Programmer
Programmer’’s Manual

Revision B
01
2009-062009-06-01

MSR606 Programmer’s Manual

Rev. A

Table of Contents
...........................................................................
SECTION 1 INTRODUCTION
...........................................................................3
INTRODUCTION...........................................................................
�

...............................................................................
Accessories of MSR605
MSR605...............................................................................
...............................................................................3

�

.....................................................................................................
Warranty
Warranty.....................................................................................................
.....................................................................................................3

............................................................
4
SECTION 2 GENERAL DESCRIPTION
DESCRIPTION............................................................
............................................................4
.................................................. 2
SECTION 3 TECHNICAL SPECIFICATIONS
SPECIFICATIONS..................................................
............................................................................................. 4
SECTION 4 SETUP
SETUP.............................................................................................
....................................................... 5
SECTION 5 UTILITIES TEST PROGRAM
PROGRAM.......................................................
�

.....................................................................................
System Requirement
Requirement.....................................................................................
.....................................................................................55

�

.............................................................................
Test Program Installation
Installation.............................................................................
.............................................................................55

..................................................... 6
SECTION 6 COMMAND AND RESPONSE
RESPONSE.....................................................
.............................................................................
11
SECTION 7 DATA FORMAT
FORMAT.............................................................................
.............................................................................11
................................................
13
SECTION 8 COMMUNICATION SEQUENCE
SEQUENCE................................................
................................................13
�

..................................................................... 13
MSR 606 INITIALIZATION
INITIALIZATION.....................................................................

�

.............................................................................. 13
Write Data to MSR 606
606..............................................................................

�

................................................................................ 14
Read Data to MSR605
MSR605................................................................................

................................................................................. 15
SECTION 9 ADDENDUM
ADDENDUM.................................................................................
�

.................................................................... 15
Write Data to Magnetic Card
Card....................................................................

�

............................................................
16
Write Raw Data to Magnetic Card
Card............................................................
............................................................16

2

MSR606 Programmer’s Manual

Rev. A

Section 1 Introduction
Thank you for purchasing the MSR605 Manual Swipe Magnetic Card Reader/Writer. It is ideal for access control,
time keeping, banking, ID recognition & credit verification and related applications. In fact, wherever a magnetic
stripe ID or transaction card is used, one can find a related use for the versatile, user-friendly MSR605 reader/writer.
The MSR605 is designed to offer a reading and writing solution of high and/or low coercivity cards that will
attractively complement an existing system.

� Accessories of MSR605
Make sure all the following accessories are contained in your package:
1. Switch power Supply, AC 110~240V in / DC 9V, 2~3A out.
2. Power cord.
3. Signal cable (USB).
4. Utility disk (A/P S/W).
5. Programmer’s manual.

� Warranty
One year after purchase of MSR605, any alteration and/or erasure or modification of the MSR605 will void the
warranty.

3

MSR606 Programmer’s Manual

Rev. A

Section 2 General Description
The MSR605 series is designed to read and/or write high or low coercivity magnetic cards. It can encode and verify
up to 3 tracks of data simultaneously. It communicates with a host computer or other terminal using a usb interface.

4

MSR606 Programmer’s Manual

Rev. A

Section 3 Technical Specifications
ITEM

SPECIFICATION

Standard

ISO7811

Electrical
Consumption

Current/operating Typical 350mA Max
600mA plus for each writing track

Communication

Standard RS232 signal voltage levels. Default, 9600 Baud, None Parity, 8 bits

Power supply

External switching Power 9V/2A regulated

Interconnection
Cable

USB
1,VBUS

Pin Assignment
USB

2. D3.D+
4. GND

Mechanical
Body

ABS 94V-0 / Metal housing optional

Swipe

Manual, single direction

Outline

212Lx64Wx63H mm

Weight

1.4Kg approx.

Environment
Operation

-10ºC to 60ºC
10 to 85% humidity, non condensing

Storage

-30ºC to 70ºC
10 to 90% humidity, non condensing

Performance
Read Circuit
Bit per Char
Media Speed

Track 1&3 210bpi
Track 2,75 or 210 bpi
5-7 bit per char.
Read, 5-50 ips (read speed 5-40 ips for track 2 at 210bpi)
Write, 5-30
Read 300-4000 Oe Mag. Card

Media Coercivity

Media Thickness
Jitter Card

Write 300-4000 Oe Mag. Card
0.76-1.2mm
Read bit to bit interval <+/-15% card
Write bit to bit interval <+/-10%,Sub interval<+/-12% at 30ips

2

MSR606 Programmer’s Manual

Low amplitude Card

Read 60% for both 75& 210bpi

Error Rate

Read < 0.5%

Rev. A

Write < 0.8%
Media Swipe

Head life 1,000,000 passes for both read & write head
Model

Read/Write Track

Hi-C

Lo-C

MSR605

1&2&3

R/W

R/W

Configuration
Available Model

3

MSR606 Programmer’s Manual

Rev. A

Section 4 Setup
1. Power on your system (PC).
2. Setup the usb driver(for windows xp or vista) and Setup the driver for MSR605,all driver in the cd.
3. Connect USB of the MSR605 signal cable to a free serial port .
4. Connect Power-in cable to Power supply and AC receptacle (110V~240V).
5. Now you can use the MSR605 like MSR206.

4

MSR606 Programmer’s Manual

Rev. A

Section 5 Utilities Test Program
Every MSR605 comes with a utilities test program disk that includes a Windows version. This program is to verify
and demonstrate the functionality of the MSR605. In some cases, it can be used as a card reading and writing
program.

� System Requirement
1. 80286 PC/AT compatibles or later model with color display.
2. Either the following operating systems: Windows 95,98,2000,XP,VISTA
3. 256K available conventional memory.
4. A free serial port (Com 1 or Com 2) with DB9 male connector.

� Test Program Installation
User shall follow the steps below in order to install test program.
A. Connect MSR605 to USB port, and power on it.
B. Execute test program from the subdirectory of ‘Demo AP’ (e.g. MSR605.exe)
D. When the test program is first opened, a password dialog box will ask whether you wish a first time
password.
D The test program will auto-detect communication port. If there is any errors occurred, it’ll appear in the
information dialog box after opening the program. User can close the AP by pressing OK button.
Not Find Reader/Writer!
E. If “Not
Reader/Writer!”” appears in the information dialog box after opening the program, check to
see that the USB connector is plugged into the correct USB port and the power cord/connector is also
attached to USB thus lighting the green LED on the MSR605.
F. When the test program is opened, you’ll see the main window of the READER/WRITER UTILITY
PROGRAM.
From this main window you can activate all functions by clicking the appropriate buttons and following the
on screen instructions.

5

MSR606 Programmer’s Manual

Rev. A

Section 6 Command and Response
This section gives detailed description of commands to the MSR605 and the corresponding responses from MSR605.
Notional Conventions:


Control character named
Special string named sname, meaning can be found in section 7.

[[[[ [sname]
ie.[Data Block] [Status Byte] [Select Byte] etc.
X

Standard ANSI character

Command Description:
1. Command: RESET
Command code:  a
Hex code: 1B 61
Response: none
Description: This command reset the MSR605 to initial state.
2. Command: READ (ISO format only)
Command code:  r
Hex code: 1B 72
Response: [Data Block]  [Status Byte]
Description: This command request MSR605 to read a card swiped and respond with the data read.
3. Command: WRITE (ISO format only)
Command code:  w [Data Block]
Hex code: 1B 77 [Data Block]
Response:  [Status Byte]
Description: This command request MSR605 to write the Data Block into the card swiped.
4. Command: Communication test
Command code:  e
Hex code: 1B 65
Response:  y [1B] [79]
Description: This command is used to verify that the communication link between computer and MSR605 is up
and good.
5. Command: All LED off
Command code:  <81>
Hex code: 1B 81
Response: none

6

MSR606 Programmer’s Manual

Rev. A

Description: This command is used to turn off all the LEDs.
6. Command: All LED on
Command code:  <82>
Hex code: 1B 82
Response: none
Description: This command is used to turn on all the LEDs.
7. Command: GREEN LED on
Command code:  <83>
Hex code: 1B 83
Response: none
Description: This command is used to turn on the Green LED.
8. Command: YELLOW LED on
Command code:  <84>
Hex code: 1B 84
Response: none
Description: This command is used to turn on the Yellow LED.
9. Command: RED LED on
Command code:  <85>
Hex code: 1B 85
Response: none
Description: This command is used to turn on the Red LED.
10. Command: Sensor test
Command code:  <86>
Hex code: 1B 86
Response:  0 (1B 30) if test ok
Description: This command is used to verify that the card sensing circuit of MSR605 is working properly.
MSR605 will not response until a card is sensed or receive a RESET command.
11. Command: Ram test
Command code:  <87>
Hex code: 1B 87
Response:  0 (1B 30) ram test ok;  A (1B 41) ram test fail
Description: This command is used to request MSR605 to perform a test on its on board RAM.

7

MSR606 Programmer’s Manual

Rev. A

12. Command: Set leading zero
Command code:  z [leading zero of track 1 & 3] [leading zero of track 2]
Hex code: 1B 7A [00~ff] [00~ff]
Response:  0 (1B 30) set ok
 A (1B 41) set fail
Description: This command is used to set how many leading zeros will be written before the card data starts, and
the space should calculated as [leading zero] X25.4 / BPI (75or210) =mm
Default setting of leading zero: [3D] [16]
TK1 & TK3: [3D] means leading zero=61
TK2: [16] means leading zero=22
13. Command: Check leading zero
Command code:  l
Hex code: 1B 6C
Response: 1B [00~ff] [00~ff]
Description: This command is used to ask MSR605 the present setting number of leading zeros.
14. Command: Erase card
Command code:  c [Select Byte]
Hex code: 1B 63 [Select Byte]
Response:  0 [1B] [30] command Select Byte ok
 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
Command code:  b [Density]
Hex code:
track2:1B 62 [D2 or 4B]
// [D2]: 210bpi, [4B]: 75bpi
track1:1B 62 [A1 or A0]
// [A1]: 210bpi, [A0]: 75bpi
track3:1B 62 [C1 or C0]
// [C1]:210bpi, [C0]: 75bpi
Response:  0 [1B] [30] select ok
 A [1B] [41] select fail

8

MSR606 Programmer’s Manual

Rev. A

Description: This command is used to select the density
16. Command: Read raw data
Command code:  m
Hex code: 1B 6D
Response: [Raw Data Block]  [Status Byte]
Description: This command requests MSR605 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:  n [Raw Data Block]
Hex code: 1B 6E [Raw Data Block]
Response:  [Status Byte]
Description: This command requests MSR605 to write raw Data Block into the card swiped.
Refer to [Raw Data Block] & [Raw Data] format.
18. Command: Get device model
Command code:  t
Hex code: 1B 74
Response:  [Model] S
Description: This command is used to get the model of MSR605.
19. Command: Get firmware version
Command code:  v
Hex code:  76
Response:  [version]
Description: This command can get the firmware version of MSR605.
20. Command: Set BPC
Command code:  o [tk1bit][tk2bit][tk3bit]
Hex code:  6F [05-08][05-08][05-08]
Response:  30 [tk1bit][tk2bit][tk3bit]
Description: This command is used to set the bit per character of every track.
21. Command: Set Hi-Co
Command code:  x
Hex code: 1B 78
Response:  0
Description: This command is used to set MSR605 status to write Hi-Co card.

9

MSR606 Programmer’s Manual

Rev. A

22. Command: Set Low-Co
Command code:  y
Hex code: 1B 79
Response:  0
Description: This command is used to set MSR605 status to write Low-Co card.
23. Command: Get Hi-Co or Low-Co status
Command code:  d
Hex code: 1B 64
Response:  H -------to write Hi-Co
:  L ------- to write Low-Co
Description: This command is to get MSR605 write status.

10

MSR606 Programmer’s Manual

Rev. A

Section 7 Data Format
* [Data Block] format:
Start Field

R/W Data Field

Ending Field

Command code

 s

[Card data]

?   [Status]

Hex code

1B 73

[Card data]

3F 1C 1B [Status]

* [Card data] format:
Card Data
Char Code

 1[string1]  2 [string2]  3 [string3]

Hex Code

1B 01 [string1] 1B 02 [string2] 1B 03 [string3]

* [Status Byte] format:
Status

description

HEX

ASCII

Ok

If read, write or command ok

30h

0

Write or read error

31h

1

Command format error

32h

2

Invalid command

34h

4

Invalid card swipe when in write mode

39h

9

Error

* 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 73 1B 01
1B 02 [string
[string] 3F 1C
1C, for no data on track 1 so it shown 1B 01 only.
* [Raw Data Block] format:
Start Field

R/W Data Field

Ending Field

Command code

 s

[Raw data]

?   [Status]

Hex code

1B 73

[Raw data]

3F 1C 1B [Status]

* [Raw Data] format:
Raw Data
Char Code

1[L1][string1]2[L2][string2]3[L3][string3]

Hex Code

1B 01[L1][string1]1B 02[L2][string2]1B 03[L3][string3]

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 73 1B 01 00
1B 02 [L2] [string] 3F 1C
1C.

11

MSR606 Programmer’s Manual

Rev. A

* [Raw Data] bit orientation:
Track 1 for 8 BPC
Read
1

1

1

1

1

1

1

2

2

2

2

2

2

2

3

3

3

3

3

3

3

4

4

4

…

1

1

1

1

1

1

3

3

2

2

2

2

2

2

4

4

4

3

3

3

3

3

…

B0 B1 B2 B3 B4 B5 B6 B0 B1 B2 B3 B4 B5 B6 B0 B1 B2 B3 B4 B5 B6 B0 B1 B2

Write
2

1

B0 B6 B5 B4 B3 B2 B1 B0 B1 B0 B6 B5 B4 B3 B2 B1 B2 B1 B0 B6 B5 B4 B3 B2

Track 2 & 3 for 8 BPC
Read
1

1

1

1

1

2

2

2

2

2

3

3

3

3

3

4

4

4

4

4

5

5

5

5

…

2

1

1

1

1

1

4

3

3

3

3

3

2

2

5

5

5

5

4

4

4

4

…

B0 B1 B2 B3 B4 B0 B1 B2 B3 B4 B0 B1 B2 B3 B4 B0 B1 B2 B3 B4 B0 B1 B2 B3

Write
2

2

B2 B1 B0 B4 B3 B2 B1 B0 B0 B4 B3 B2 B1 B0 B4 B3 B3 B2 B1 B0 B4 B3 B2 B1

MSB

LSB MSB
1st byte

LSB MSB
2nd byte

LSB
3rd byte

*Refer to Section 9 ADDENDUM.

12

MSR606 Programmer’s Manual

Rev. A

Section 8 Communication Sequence
The examples below assumes data on track1, 2 & 3 to be 01, 23, 45 respectively.

� MSR605 INITIALIZATION
HOST

Direction

MSR605

Command code: a
HEX code: [1B][61]
Command code: e

(Reset)
(Serial port test)

HEX code: [1B][65]
Command test ACK:  y
HEX code: [1B][79]
Command code: a
HEX code: [1B][61]

(Reset)

� Write Data to MSR605
HOST
Command code:
ws[01]01
[02]23[03]45?
HEX code:
[1B][77][1B][73][1B][01][30][31][1B]
[02][32][33][1B][03][34][35][3F][1C]

Direction

MSR605

(write command)

(status ACK)

(Wait until swipe card)
Command ACK:  
HEX code: [1B][status]
Status =[30] no error
Status =[31]~[3F] if error

13

MSR606 Programmer’s Manual

Rev. A

� Read Data to MSR605
HOST

Direction

Command code:  r
HEX code: [1B][72]

(read command)

(status ACK)

MSR605

(Wait until swipe card)
Command ACK:
s[01]%01?[02];23?[03];45??<
FS>
HEX code:
[1B][73][1B][01][25][30][31][3F][1B][02][3B][32][33][3F]
[1B][03][3B][34][35][3F][3F][1C][1B][status]
Status=[30] ok
Status=[31]~[3F] if error

* [XX] = HEX Code XX

14

MSR606 Programmer’s Manual

Rev. A

Section 9 Addendum
� Write Data to Magnetic Card
The WRITE command
command:
Command

WRITE

Command code

 w [Data Block]

Hex code

1B 77 [Data Block]

Response

 [Status Byte]

Description

This command request MSR605 to write the Data Block into the card swiped.

[Data Block] format:
Start Field

R/W Data Field

Ending Field

Command code

s

[card data]

?

HEX code

1B 73

[card data]

3F 1C

[card data] format:
card data
Char. code

[01] [string]  [02] [string]  [03] [string3]

HEX code

1B 01 [string1] 1B 02 [string2] 1B 03 [string3]

As an example the following information will be written to the card:
Track1: %ABC123?
Track2: ;12345?
Track3: ;12345?
HOST
Command code:
ws[01]ABC123
[02]12345[03]12345?
HEX code:
[1B][77][1B][73][1B][01][41][42][43][31][
32][33][1B][02][31][32][33][34][35][1B][0
3][31][32][33][34][35][3F][1C]
After send command to MSR605

DIRECTION

MSR605

(write command)

Yellow LED on, then swipe
card

(status ACK)

write data to the magnetic card
(wait until swipe card)
Command ACK: 
HEX code: [1B][status]
Status = [30] no error
Status = [31] ~ [3F] if error

15

MSR606 Programmer’s Manual

Rev. A

� Write Raw Data to Magnetic Card
Converting Card Data Information to Hexadecimal for the Binary Write Function
Converting track one ASCll information into HEX
B5

0

0

1

1

B3

B2

B1

B0 B4

0

1

0

1

0

0

0

0

(sp)

0

@

P

1

0

0

0

1

!

1

A

Q

2

0

0

1

0

“

2

B

R

3

0

0

1

1

#

3

C

S

4

0

1

0

0

$

4

D

T

5

0

1

0

1

%

5

E

U

6

0

1

1

0

&

6

F

V

7

0

1

1

1

‘

7

G

W

8

1

0

0

0

(

8

H

X

9

1

0

0

1

)

9

I

Y

A

1

0

1

0

*

:

J

Z

B

1

0

1

1

+

;

K

[

C

1

1

0

0

`

<

L

\

D

1

1

0

1

,

=

M

]

E

1

1

1

0

.

>

N

^

F

1

1

1

1

/

?

O

_

0

Converting track two and three ASCll information into HEX
Data

p

B3

B2

B1

B0

0

1

0

0

0

0

1

0

0

0

0

1

2

0

0

0

1

0

3

1

0

0

1

1

4

0

0

1

0

0

5

1

0

1

0

1

6

1

0

1

1

0

7

0

0

1

1

1

8

0

1

0

0

0

9

1

1

0

0

1

:

1

1

0

1

0

; (*)

0

1

0

1

1

<

1

1

1

0

0

=

0

1

1

0

1

>

0

1

1

1

0

? (*)

1

1

1

1

1

16

MSR606 Programmer’s Manual

Rev. A

* Note: The “;” is start sentinel and “?” is end sentinel of tk2 & 3 of ISO format.
As an example the following information will be written to the card:
Track1: %ABC123?
Track2: ;12345?
Track3: ;12345?
We use three different data bits to write raw data on the cards. The procedures are listed as below:
08, 08, 08 BITS
Set each track as 08.
First of all, set BPC command:
1B, 6F, 08, 08, 08
Present the information to the card encoder, as follows:
Start Field

1B6E1B73

Track1 header

1B01

Length

08

Track1 data

C5B07814954E3E2A

Track header

1B02

Length

05

Track2 data

2B8849EAAF

Track3 header

1B03

Length

05

Track3 data

2B8849EAAF

Ending Field

3F1C

Transfer the track1 data to HEX under 08 bits:
B0

B1

B2

B3

B4

B5

P

%

1

0

1

0

0

0

1

A

1

0

0

0

0

1

1

B

0

1

0

0

0

1

1

C

1

1

0

0

0

1

0

1

1

0

0

0

1

0

1

2

0

1

0

0

1

0

1

3

1

1

0

0

1

0

0

?

1

1

1

1

1

0

0

LRC

0

1

0

1

0

1

0

Calculate Odd Parity (P column)
If there is an Even Number of 1’s in the row of data for each character, put a 1 in the P column. Other wise, put a 0 in

17

MSR606 Programmer’s Manual

Rev. A

the column.
LRC: If there is an Even Number of 1’s in the column of data for each character, put a 0 in the LRC row. Other wise,
put a 0 in the row. The last LRC will be considered as the parity rule of this row.
B0

B1

B2

B3

B4

B5

B6

B7

1

0

1

0

0

0

1

1

0

0

0

0

1

1

0

1

0

0

0

1

1

1

1

0

0

0

1

0

1

0

0

0

1

0

1

0

1

0

0

1

0

1

1

1

0

0

1

0

0

1

1

1

1

1

0

0

0

1

0

1

0

1

0

0

B7

B6

B5

B4

B3

B2

B1

B0

HEX

1

1

0

0

0

1

0

1

C5

1

0

1

1

0

0

0

0

B0

0

1

1

1

1

0

0

0

78

0

0

0

1

0

1

0

0

14

1

0

0

1

0

1

0

1

95

0

1

0

0

1

1

1

0

4E

0

0

1

1

1

1

1

0

3E

0

0

1

0

1

0

1

0

2A

Transfer track 2 (track 3) data to HEX under 08 bits:
B0

B1

B2

B3

P

;

1

1

0

1

0

1

1

0

0

0

0

2

0

1

0

0

0

3

1

1

0

0

1

4

0

0

1

0

0

5

1

0

1

0

1

?

1

1

1

1

1

LRC

1

0

1

0

1

B0

B1

B2

B3

B4

B5

B6

B7

1

1

0

1

0

1

0

0

0

0

0

1

0

0

0

1

1

0

0

1

0

0

1

0

18

MSR606 Programmer’s Manual

Rev. A

0

1

0

1

0

1

1

1

1

1

1

1

0

1

0

1

B7

B6

B5

B4

B3

B2

B1

B0

HEX

0

0

1

0

1

0

1

1

2B

1

0

0

0

1

0

0

0

88

0

1

0

0

1

0

0

1

49

1

1

1

0

1

0

1

0

EA

1

0

1

0

1

1

1

1

AF

07, 05, 05 BITS
Set TK1, TK2 & TK3 as 07, 05, 05
1B, 6F, 07, 05, 05
First of all, set BPI command:
Present the information to the card encoder, as follows:
Start Field

1B6E1B73

Track1 header

1B01

Length

09

Track1 data

456162235152131F2A

Track2 header

1B02

Length

08

Track2 data

0B01021304151F15

Track3 header

1B03

Length

08

Track3 data

0B01021304151F15

Ending Field

3F1C

Transfer the track1 data to HEX under 07 bits:
B0

B1

B2

B3

B4

B5

P

%

1

0

1

0

0

0

1

A

1

0

0

0

0

1

1

B

0

1

0

0

0

1

1

C

1

1

0

0

0

1

0

1

1

0

0

0

1

0

1

2

0

1

0

0

1

0

1

3

1

1

0

0

1

0

0

?

1

1

1

1

1

0

0

LRC

0

1

0

1

0

1

0

19

MSR606 Programmer’s Manual

Rev. A

Calculate Odd Parity (P column)
If there is an Even Number of 1’s in the row of data for each character, put a 1 in the P column. Other wise, put a 0 in
the column.
Add

P

B5

B4

B3

B2

B1

B0

HEX

%

0

1

0

0

0

1

0

1

45

A

0

1

1

0

0

0

0

1

61

B

0

1

1

0

0

0

1

0

62

C

0

0

1

0

0

0

1

1

23

1

0

1

0

1

0

0

0

1

51

2

0

1

0

1

0

0

1

0

52

3

0

0

0

1

0

0

1

1

13

?

0

0

0

1

1

1

1

1

1F

LRC

0

0

1

0

1

0

1

0

2A

B3

B2

B1

B0

0

0

0

0

0

1

0

0

0

1

2

0

0

1

0

3

0

0

1

1

4

0

1

0

0

5

0

1

0

1

6

0

1

1

0

7

0

1

1

1

8

1

0

0

0

9

1

0

0

1

A

1

0

1

0

B

1

0

1

1

C

1

1

0

0

D

1

1

0

1

E

1

1

1

0

F

1

1

1

1

HEX

Transfer track 2 (track 3) data to HEX under 05 bits:
B0

B1

B2

B3

P

;

1

1

0

1

0

1

1

0

0

0

0

2

0

1

0

0

0

3

1

1

0

0

1

4

0

0

1

0

0

5

1

0

1

0

1

?

1

1

1

1

1

20

MSR606 Programmer’s Manual

LRC

Rev. A

1

0

1

0

1

Add 0

Add 0

Add 0

P

B3

B2

B1

B0

HEX

;

0

0

0

0

1

0

1

1

0B

1

0

0

0

0

0

0

0

1

01

2

0

0

0

0

0

0

1

0

02

3

0

0

0

1

0

0

1

1

13

4

0

0

0

0

0

1

0

0

04

5

0

0

0

1

0

1

0

1

15

?

0

0

0

1

1

1

1

1

1F

LRC

0

0

0

1

0

1

0

1

15

06, 05, 06 BITS
Set TK1, TK2 & TK3 as 06, 05, 06
First of all, set BPI command:
1b, 6F, 06, 05, 06
Present the information to the card encoder, as follows:
Start Field

1B6E1B73

Track1 header

1B01

Length

09

Track1 data

052122231112131F2A

Track2 header

1B02

Length

08

Track2 data

0B01021304151F15

Track3 header

1B03

Length

08

Track3 data

0101020304051F1F

Ending Field

3F1C

Transfer track1 data to HEX under 06 bits:
B0

B1

B2

B3

B4

B5

%

1

0

1

0

0

0

A

1

0

0

0

0

1

B

0

1

0

0

0

1

C

1

1

0

0

0

1

1

1

0

0

0

1

0

2

0

1

0

0

1

0

3

1

1

0

0

1

0

?

1

1

1

1

1

0

LRC

0

1

0

1

0

1

21

MSR606 Programmer’s Manual

Rev. A

Add 0

Add 0

B5

B4

B3

B2

B1

B0

HEX

%

0

0

0

0

0

1

0

1

05

A

0

0

1

0

0

0

0

1

21

B

0

0

1

0

0

0

1

0

22

C

0

0

1

0

0

0

1

1

23

1

0

0

0

1

0

0

0

1

11

2

0

0

0

1

0

0

1

0

12

3

0

0

0

1

0

0

1

1

13

?

0

0

0

1

1

1

1

1

1F

LRC

0

0

1

0

1

0

1

0

2A

Transfer track 2 data to HEX under 05 bits:
B0

B1

B2

B3

P

;

1

1

0

1

0

1

1

0

0

0

0

2

0

1

0

0

0

3

1

1

0

0

1

4

0

0

1

0

0

5

1

0

1

0

1

?

1

1

1

1

1

LRC

1

0

1

0

1

Add 0

Add 0

Add 0

P

B3

B2

B1

B0

HEX

;

0

0

0

0

1

0

1

1

0B

1

0

0

0

0

0

0

0

1

01

2

0

0

0

0

0

0

1

0

02

3

0

0

0

1

0

0

1

1

13

4

0

0

0

0

0

1

0

0

04

5

0

0

0

1

0

1

0

1

15

?

0

0

0

1

1

1

1

1

1F

LRC

0

0

0

1

0

1

0

1

15

22

MSR606 Programmer’s Manual

Rev. A

Transfer track 3 data to HEX under 06 bits:
B0

B1

B2

B3

B4

B5

!

1

0

0

0

0

0

1

1

0

0

0

0

0

2

0

1

0

0

0

0

3

1

1

0

0

0

0

4

0

0

1

0

0

0

5

1

0

1

0

0

0

?

1

1

1

1

1

0

LRC

1

1

1

1

1

0

Add 0

Add 0

B5

B4

B3

B2

B1

B0

HEX

!

0

0

0

0

0

0

0

1

01

1

0

0

0

0

0

0

0

1

01

2

0

0

0

0

0

0

1

0

02

3

0

0

0

0

0

0

1

1

03

4

0

0

0

0

0

1

0

0

04

5

0

0

0

0

0

1

0

1

05

?

0

0

0

1

1

1

1

1

1F

LRC

0

0

0

1

1

1

1

1

1F

23



Source Exif Data:
File Type                       : PDF
File Type Extension             : pdf
MIME Type                       : application/pdf
PDF Version                     : 1.5
Linearized                      : No
Page Count                      : 26
Creator                         : WPS Office 个人版
Author                          : Common
Title                           : MSR606
Create Date                     : 2010:07:21 17:03:14+08:00
Producer                        : PDFlib 7.0.3 (C++/Win32)
EXIF Metadata provided by EXIF.tools

Navigation menu