background image

MSR605 Programmer’s Manual

Rev. A

6

Section

Section

Section

Section 6

6

6

6 Command

Command

Command

Command and

and

and

and Response

Response

Response

Response

This section gives detailed description of commands to the MSR605 and the corresponding responses from MSR605.

Notional Conventions:

Command Description:

1. Command:

RESET

RESET

RESET

RESET

Command code: <ESC> a

Hex code: 1B 61

Response: none

Description: This command reset the MSR605 to initial state.

2. Command: READ (ISO format only)

Command code: <ESC> r

Hex code: 1B 72

Response: [Data Block] <ESC> [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]

Response: <ESC> [Status Byte]

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

4. Command: Communication test

Command code: <ESC> e

Hex code: 1B 65

Response: <ESC> 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: <ESC> <81>

Hex code: 1B 81

Response: none

<ESC>

Control character named

[[[[ [sname]

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

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

X

Standard ANSI character

Summary of Contents for MSR605

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Reviews: