background image

MSRE206 Programmer’s Manual

Rev. 2.8

Hongkong Unique Electronic INT'L LTD

www.ylk-ic.com

15

Section

Section

Section

Section 9

9

9

9 Addendum

Addendum

Addendum

Addendum

Write

Write

Write

Write Data

Data

Data

Data to

to

to

to Magnetic

Magnetic

Magnetic

Magnetic Card

Card

Card

Card

The

The

The

The WRITE

WRITE

WRITE

WRITE command

command

command

command

:

Command

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 MSRE206 to write the Data Block into the card swiped.

[[[[

Data

Data

Data

Data Block

Block

Block

Block

]]]] format:

format:

format:

format:

Start Field

R/W Data Field

Ending Field

Command code

<ESC>s

[

card data

]

?<FS>

HEX code

1B 73

[

card data

]

3F 1C

[[[[

card

card

card

card data

data

data

data

]]]] format:

format:

format:

format:

card data

Char. code

<ESC>[01] [string] <ESC> [02] [string] <ESC> [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

DIRECTION

MSRE206

Command code:

<esc>w<ESC>s<ESC>[01]ABC123<ESC>

[02]12345<ESC>[03]12345?<FS>

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]

(write command)

After send command to MSRE206

Yellow LED on, then swipe

card

write data to the magnetic card

(status ACK)

(wait until swipe card)

Command ACK: <ESC><status>

HEX code: [1B][status]

Status = [30] no error

Status = [31] ~ [3F] if error

Summary of Contents for MSRE206

Page 1: ...MSRE20 E20 E20 E206 6 6 6 Magnetic Stripe Card Reader Writer High Low Coercivity Programmer Programmer Programmer Programmer s s s s Manual Manual Manual Manual Revision Revision Revision Revision 2...

Page 2: ...5 Test Test Test Test Program Program Program Program Installation Installation Installation Installation 5 5 5 5 SECTION SECTION SECTION SECTION 6 6 6 6 COMMAND COMMAND COMMAND COMMAND AND AND AND AN...

Page 3: ...iting solution of high and or low coercivity cards that will attractively complement an existing system Accessories Accessories Accessories Accessories of of of of MSR MSR MSR MSRE20 E20 E20 E206 6 6...

Page 4: ...n 2 2 2 2 General General General General Description Description Description Description The MSRE206 series is designed to read and or write high or low coercivity magnetic cards It can encode and ve...

Page 5: ...nterconnection Cable USB Pin 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...

Page 6: ...ronic INT L LTD www ylk ic com 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 Mod...

Page 7: ...4 Setup Setup Setup Setup 1 Power on your system PC 2 Setup the usb driver for windows xp or vista and Setup the driver for MSRE206 all driver in the cd 3 Connect USB of the MSRE206 signal cable to a...

Page 8: ...n User shall follow the steps below in order to install test program A Connect MSRE206 to USB port and power on it B Execute test program from the subdirectory of Demo AP e g MSRE206 exe D When the te...

Page 9: ...ET Command code ESC a Hex code 1B 61 Response none Description This command reset the MSRE206 to initial state 2 Command READ ISO format only Command code ESC r Hex code 1B 72 Response Data Block ESC...

Page 10: ...84 Response none Description This 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 LE...

Page 11: ...zero Command code ESC l Hex code 1B 6C Response 1B 00 ff 00 ff Description This command is used to ask MSRE206 the present setting number of leading zeros 14 Command Erase card Command code ESC c Sel...

Page 12: ...sts MSRE206 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 com...

Page 13: ...Co Command code ESC y Hex code 1B 79 Response ESC 0 Description This command is used to set MSRE206 status to write Low Co card 23 Command Get Hi Co or Low Co status Command code ESC d Hex code 1B 64...

Page 14: ...transmitted when swipe of card For example when read card with data encoded on track 2 only for MSRE206 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...

Page 15: ...B0 1 B6 1 B5 1 B4 1 B3 1 B2 1 B1 1 B0 3 B1 3 B0 2 B6 2 B5 2 B4 2 B3 2 B2 2 B1 4 B2 4 B1 4 B0 3 B6 3 B5 3 B4 3 B3 3 B2 Track 2 3 for 8 BPC Read 1 B0 1 B1 1 B2 1 B3 1 B4 2 B0 2 B1 2 B2 2 B3 2 B4 3 B0 3...

Page 16: ...ON INITIALIZATION HOST Direction MSRE206 Command code ESC a HEX code 1B 61 Reset Command code ESC e HEX code 1B 65 Serial port test Command test ACK ESC y HEX code 1B 79 Command code ESC a HEX code 1B...

Page 17: ...06 MSRE206 HOST Direction Direction Direction Direction MSRE206 MSRE206 MSRE206 MSRE206 Command code ESC r HEX code 1B 72 read command status ACK Wait until swipe card Command ACK ESC s ESC 01 01 ESC...

Page 18: ...Block format format format format Start Field R W Data Field Ending Field Command code ESC s card data FS HEX code 1B 73 card data 3F 1C card card card card data data data data format format format f...

Page 19: ...1 1 B3 B2 B1 B0 B4 0 1 0 1 0 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...

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

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

Page 22: ...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 1B...

Page 23: ...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 HEX B3 B2 B1 B0 0 0 0 0 0 1...

Page 24: ...ITS BITS BITS 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 Trac...

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

Page 26: ...ts 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...

Reviews: