background image

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]

Содержание MSR605

Страница 1: ...05 Magnetic Stripe Card Reader Writer High Low Coercivity Programmer Programmer Programmer Programmer s s s s Manual Manual Manual Manual Revision Revision Revision Revision B B B B 2009 06 2009 06 20...

Страница 2: ...ram Program Program ProgramInstallation Installation Installation Installation 5 5 5 5 SECTION SECTION SECTION SECTION 6 6 6 6 COMMAND COMMAND COMMAND COMMAND AND AND AND AND RESPONSE RESPONSE RESPONS...

Страница 3: ...and or low coercivity cards that will attractively complement an existing system Accessories Accessories Accessories Accessories of of of of MSR605 MSR605 MSR605 MSR605 Make Make Make Make sure sure s...

Страница 4: ...eneral General Description Description Description 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...

Страница 5: ...Assignment USB 1 VBUS 2 D 3 D 4 GND Mechanical Mechanical Mechanical Mechanical Body ABS 94V 0 Metal housing optional Swipe Manual single direction Outline 212Lx64Wx63H mm Weight 1 4Kg approx Environ...

Страница 6: ...v A 3 Low amplitude Card Read 60 for both 75 210bpi Error Rate Read 0 5 Write 0 8 Media Swipe Head life 1 000 000 passes for both read write head Configuration Available Model Model Read Write Track H...

Страница 7: ...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 P...

Страница 8: ...ps 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...

Страница 9: ...SC 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 ESC w Data Block Hex code 1B 77 Data Block Resp...

Страница 10: ...command is used to turn on the Yellow LED 9 Command RED LED on Command code ESC 85 Hex code 1B 85 Response none Description This command is used to turn on the Red LED 10 Command Sensor test Command...

Страница 11: ...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 ESC c Select Byte Hex code 1B 63 Select Byte Resp...

Страница 12: ...o 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 MSR605...

Страница 13: ...code 1B 79 Response ESC 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 ESC d Hex code 1B 64 Response ESC H to write Hi...

Страница 14: ...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 L...

Страница 15: ...0 3 B 1 3 B 2 3 B 3 3 B 4 3 B 5 3 B 6 4 B 0 4 B 1 4 B 2 2 B 0 1 B 6 1 B 5 1 B 4 1 B 3 1 B 2 1 B 1 1 B 0 3 B 1 3 B 0 2 B 6 2 B 5 2 B 4 2 B 3 2 B 2 2 B 1 4 B 2 4 B 1 4 B 0 3 B 6 3 B 5 3 B 4 3 B 3 3 B 2...

Страница 16: ...te Write Write Data Data Data Data to to to to MSR605 MSR605 MSR605 MSR605 HOST Direction MSR605 Command code ESC a HEX code 1B 61 Reset Command code ESC e HEX code 1B 65 Serial port test Command test...

Страница 17: ...ST Direction Direction Direction Direction MSR605 MSR605 MSR605 MSR605 Command code ESC r HEX code 1B 72 read command status ACK Wait until swipe card Command ACK ESC s ESC 01 01 ESC 02 23 ESC 03 45 F...

Страница 18: ...and WRITE Command code ESC w Data Data Data Data Block Block Block Block Hex code 1B 77 Data Data Data Data Block Block Block Block Response ESC Status Byte Description This command request MSR605 to...

Страница 19: ...MSR605 Programmer s Manual Rev A 16 status ACK wait until swipe card Command ACK ESC status HEX code 1B status Status 30 no error Status 31 3F if error...

Страница 20: ...wo two two two and and and and three three three three ASCll ASCll ASCll ASCll information information information information into into into into HEX HEX HEX HEX Note The is start sentinel and is end...

Страница 21: ...e card encoder as follows Transfer the track1 data to HEX under 08 bits 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 Ot...

Страница 22: ...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...

Страница 23: ...character put a 1 in the P column Other wise put a 0 in 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 Start Field 1B6E1B73...

Страница 24: ...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...

Страница 25: ...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 Start Field 1B6E1B73 Track1 header 1B01 Length...

Страница 26: ...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 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...

Страница 27: ...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...

Отзывы: