MSR206 Programmer's Manual
MSR206 Programmer's Manual
Programmer’s Manual
Document PM017-U
Revision C.1
09 Oct. 2003’
MSR206 Programmer’s Manual UDN PM017-U Rev.C.1
Table of Contents 2003/10/9
Table of Contents
Section 1 Introduction__________________________________________________ 1
! Accessories of MSR206 ___________________________________________________ 1
! Warranty ________________________________________________________________ 1
Page II
Total 28 pages
MSR206 Programmer’s Manual UDN PM017-U Rev.C.1
Table of Contents 2003/10/9
Section 1 Introduction
Thank you for purchasing the MSR 206 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 MSR206 reader/writer.
The MSR 206 is designed to offer a reading and writing solution of high and/or low coercivity cards that will
attractively complement an existing system.
This manual provides detailed information about the MSR 206. For ease of installation and programming use, we have
addressed everything from its attractive features to its various configurations.
When designing the MSR 206, we selected what we feel are the most useful features and functions. If in some cases
you find that your specific needs differ from our existing products, we welcome your comments and suggestions.
Custom-designed models are also available.
This MSR206 series has been tested and found to comply with the limits for a Class A digital device, pursuant to part
15 of the FCC Rules. These limits are designed to provide reasonable protection against harmful interference when the
equipment is operated in a commercial environment.
This equipment generates, uses, and can radiate radio frequency energy and, if not installed and used in accordance
with the instruction manual, may cause harmful interference to radio communications. Operation of this equipment in a
residential area is likely to cause harmful interference in which case the user will be required to correct the interference
at his own expense.
This MSR206 series also had been tested and found to comply with the agency requirements of specification for CE
mark Class B
EN 50 082-1: 1992 EN 55 022: 1994 Class B
IEC 801-2: 1984 EN 61000-3-2: 1995 Class A
IEC 801-3: 1984 EN 61000-3-3: 1995
IEC 801-4: 1988
!"
Accessories of MSR206
Make sure all the following accessories are contained in your package:
1. Switch power Supply, AC 110~240V in / DC 24V, 2.2A out.
2. Power cord.
3. Signal cable (DB9 to RJ45, 1.5m)
4. Utility disk (A/P S/W).
5. Blank Hi-Co test card.(or and Low-Co test card)
6. Programmer’s manual
!"
Warranty
One year after purchase of MSR206, any alteration and/or erasure or modification of the MSR206 will void the
warranty.
Page 1
Total 28 pages
MSR206 Programmer’s Manual UDN PM017-U Rev.C.1
Section 3 – Technical specifications 2003/10/9
Page 2
Total 28 pages
MSR206 Programmer’s Manual UDN PM017-U Rev.C.1
Section 3 – Technical specifications 2003/10/9
Performance
Track 1&3 210bpi
Read Circuit
Track 2,75 or 210 bpi
Bit per Char 5-7 bit per char.
Read, 5-50 ips (read speed 5-40 ips for track 2 at 210bpi)
Media Speed
Write, 5-30
Read 300-4000 Oe Mag. Card
Media Coercivity MSR206-XHC write 2750-4000 Oe Mag. Card
MSR206-XHL write 300-4000 Oe Mag. Card
Media Thickness 0.76-1.2mm
Jitter Card Read bit to bit interval <+/-15% card
Page 3
Total 28 pages
MSR206 Programmer’s Manual UDN PM017-U Rev.C.1
Section 3 – Technical specifications 2003/10/9
Page 4
Total 28 pages
MSR206 Programmer’s Manual UDN PM017-U Rev.C .1
Section 4 – Setup 2003/10/9
Section 4 Setup
1. Power off your system (PC).
2. Connect PC and MSR206 as below.
3. Connect DB9 of # signal cable to a free serial port then connect RJ45 at the other end of the cable to MSR206
4. Connect outer plug of $Power-out cable to the power inlet of MSR206.
5. Connect %Power-in cable to Power supply and AC receptacle (110V~240V).
6. Power on your system (PC).
Page 5
Total 28 pages
MSR206 Programmer’s Manual UDN PM017-U Rev.C.1
Section 5 – Utilities test program 2003/10/9
!"
System requirement
a. 80286 PC/AT compatibles or later model with color display.
b. Either the following operating systems: Windows 95, Windows 98, Windows 2000, or NT4.0.
c. 256K available conventional memory.
d. 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 MSR206 to RS232 port, and power on it.
B. Insert utility diskette into floppy disk drive on PC, and execute the self-extracting file (e.g.: MSR206.exe)
C. Execute test program from the subdirectory of ‘Demo AP’ (e.g. 206DDX21.exe)
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.
Page 6
Total 28 pages
MSR206 Programmer’s Manual UDN PM017-U Rev.C.1
Section 5 – Utilities test program 2003/10/9
E. If “Not Find Reader/Writer!” appears in the information dialog box after opening the program, check to see
that the DB9 connector is plugged into the correct COM port and the power cord/connector is also attached to
DB9 thus lighting the green LED on the MSR206.
F. When the test program is first opened, a password dialog box will ask whether you wish a first time password.
If yes, enter a password of one or more characters, maximum to 16 characters. And proceed to step H.
G. If a password is not required, press ESC and a dialog box will ask you to confirm that a password is not
required. Click on Yes and proceed to demo program.
H. When entering a password for the first time, the system will require you to confirm the password, Click OK,
after you reenter your password.
* Remember the password you entered, because if it is forgotten, you must re-install the Test Program.
* Remember, however; should you desire password protection in the future, you must re-install the program.
I. 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.
Page 7
Total 28 pages
MSR206 Programmer’s Manual UDN PM017-U Rev.C.1
Section 5 – Utilities test program 2003/10/9
K. By choosing User Type from the main window, you can then define your user parameters by clicking Setup &
selecting User Type.
Page 8
Total 28 pages
MSR206 Programmer’s Manual UDN PM017-U Rev.C.1
Section 5 – Utilities test program 2003/10/9
Page 9
Total 28 pages
MSR206 Programmer’s Manual UDN PM017-U Rev.C.1
Section 6 – Command and response 2003/10/9
Command Description:
1. Command: RESET
Command code: <ESC> a
Hex code: 1B 61
Response: none
Description: This command reset the MSR206 to initial state.
2. Command: READ
Command code: <ESC> r
Hex code: 1B 72
Response: [Data Block] <ESC> [Status Byte]
Description: This command request MSR206 to read a card swiped and respond with the data read.
3. Command: WRITE
Command code: <ESC> w [Data Block]
Hex code: 1B 77 [Data Block]
Response: <ESC> [Status Byte]
Description: This command request MSR206 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 MSR206 is up
and good.
5. Command: All LED off
Command code: <ESC> <81>
Hex code: 1B 81
Response: none
Description: This command is used to turn off all the LEDs.
6. Command: All LED on
Command code: <ESC> <82>
Hex code: 1B 82
Response: none
Page 10
Total 28 pages
MSR206 Programmer’s Manual UDN PM017-U Rev.C.1
Section 6 – Command and response 2003/10/9
Page 11
Total 28 pages
MSR206 Programmer’s Manual UDN PM017-U Rev.C.1
Section 6 – Command and response 2003/10/9
Page 12
Total 28 pages
MSR206 Programmer’s Manual UDN PM017-U Rev.C.1
Section 6 – Command and response 2003/10/9
Model 1, 2, 3, & 5
Models Description
MSR206-1 Track 2
MSR206-2 Track 2 & 3
MSR206-3 Track 1,2 & 3
MSR206-5 Track 1 & 2
19. Command: Get firmware version
Command code: <ESC> v
Hex code: <ESC> 76
Response: <ESC> [version]
Description: This command can get the firmware version of MSR206.
* [version] is a 5 bytes version number, format is “ REV?X.XX “
MSR206? = 0
MSR206HC? = H
MSR206HL? = U
20. Command: Set BPC
Command code: <ESC> o [tk1bit][tk2bit][tk3bit]
Hex code: <ESC> 6F [05-08][05-08][05-08]
Response: <ESC> 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: <ESC> x
Hex code: 1B 78
Response: <ESC> 0
Description: This command is used to set MSR206HL status to write Hi-Co card.
22. Command: Set Low-Co
Command code: <ESC> y
Hex code: 1B 79
Response: <ESC> 0
Description: This command is used to set MSR206HL 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-Co
: <ESC> L ------- to write Low-Co
Description: This command is to get MSR206HL write status
Page 13
Total 28 pages
MSR206 Programmer’s Manual UDN PM017-U Rev.C.1
Section 7 – Data format 2003/10/9
Card Data
Char Code <ESC> 1[string1] <ESC> 2 [string2] <ESC> 3 [string3]
Hex Code 1B 01 [string1] 1B 02 [string2] 1B 03 [string3]
Page 14
Total 28 pages
MSR206 Programmer’s Manual UDN PM017-U Rev.C.1
Section 7 – Data format 2003/10/9
1
B0 1B1 1B2 1B3 1B4 1B5 1B6 2B0 2B1 2B2 2B3 2B4 2B5 2B6 3B0 3B1 3B2 3B3 3B4 3B5 3B6 4B0 4B1 4B2
Write
2
B0 1B6 1B5 1B4 1B3 1B2 1B1 1B0 3B1 3B0 2B6 2B5 2B4 2B3 2B2 2B1 4B2 4B1 4B0 3B6 3B5 3B4 3B3 3B2
Track 2 & 3 for 8 BPC
Read
1
B0 1B1 1B2 1B3 1B4 2B0 2B1 2B2 2B3 2B4 3B0 3B1 3B2 3B3 3B4 4B0 4B1 4B2 4B3 4B4 5B0 5B1 5B2 5B3
Write
2
B2 2B1 2B0 1B4 1B3 1B2 1B1 1B0 4B0 3B4 3B3 3B2 3B1 3B0 2B4 2B3 5B3 5B2 5B1 5B0 4B4 4B3 4B2 4B1
MSB LSB MSB LSB MSB LSB
Page 15
Total 28 pages
MSR206 Programmer’s Manual UDN PM017-U Rev.C.1
Section 8 – Communication sequence 2003/10/9
!"
8.1 MSR 206 INITIALIZATION
!"
8.2 WRITE DATA TO MSR 206
!"
8.3 READ DATA TO MSR206
Page 16
Total 28 pages
MSR206 Programmer’s Manual UDN PM017-U Rev.C.1
Section 8 – Communication sequence 2003/10/9
Page 17
Total 28 pages
MSR206 Programmer’s Manual UDN PM017-U Rev.C.1
Section 9 – Addendum 2003/10/9
Section 9 Addendum
!"
(I) WRITE DATA TO MAGNETIC CARD
Page 18
Total 28 pages
MSR206 Programmer’s Manual UDN PM017-U Rev.C.1
Section 9 – Addendum 2003/10/9
!"
(II) WRITE RAW DATA TO MAGNECTIC CARD
Converting Card Data Information to Hexadecimal for the Binary Write Function
0 1 2 3
B5 0 0 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 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 _
Page 19
Total 28 pages
MSR206 Programmer’s Manual UDN PM017-U Rev.C.1
Section 9 – Addendum 2003/10/9
; (*) 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
* Note: The “;” is start sentinel and “?” is end sentinel of tk2 & 3 of ISO format.
Page 20
Total 28 pages
MSR206 Programmer’s Manual UDN PM017-U Rev.C.1
Section 9 – Addendum 2003/10/9
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
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
Page 21
Total 28 pages
MSR206 Programmer’s Manual UDN PM017-U Rev.C.1
Section 9 – Addendum 2003/10/9
0 0 0 1 0 0 0 1
1 0 0 1 0 0 1 0
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
Page 22
Total 28 pages
MSR206 Programmer’s Manual UDN PM017-U Rev.C.1
Section 9 – Addendum 2003/10/9
HEX
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
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
Page 23
Total 28 pages
MSR206 Programmer’s Manual UDN PM017-U Rev.C.1
Section 9 – Addendum 2003/10/9
4 0 0 1 0 0
5 1 0 1 0 1
? 1 1 1 1 1
LRC 1 0 1 0 1
Page 24
Total 28 pages
MSR206 Programmer’s Manual UDN PM017-U Rev.C.1
Section 9 – Addendum 2003/10/9
3 1 1 0 0 1 0
? 1 1 1 1 1 0
LRC 0 1 0 1 0 1
B0 B1 B2 B3 B4 B5
Page 25
Total 28 pages
MSR206 Programmer’s Manual UDN PM017-U Rev.C.1
Section 9 – Addendum 2003/10/9
! 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
Page 26
Total 28 pages