31
MSR206 Magnetic Stripe Card Reader/Writer (High & Low Coercivity) Programmer’s Manual Document #: PM017-U Revision G Apr. 06, 2005

MSR206 Programmer's Manual

Embed Size (px)

Citation preview

MSR206Magnetic Stripe Card Reader/Writer (High & Low Coercivity)

Programmers ManualDocument #: PM017-U Revision GApr. 06, 2005

MSR206 Programmers Manual

UDN PM017-U Rev. G

NOTICEThe issuer of this manual has made every effort to provide accurate information. The issuer will not be held liable for any technical and editorial omission or errors made herein; nor for incidental consequential damages resulting from the furnishing, performance or use of this material. This document contains proprietary information that is protected by copyright. All rights are reserved. No part of this document may be photocopied, reproduced, or translated without the prior written consent of the issuer. The information provided in this manual is subject to change without notice.

Agency ApprovalSpecification for FCC Class B Specification for CE Class B Product Certificate by Taiwan BSMI (Bureau of Standards, Metrology and Inspection)

NOTE: This equipment has been tested and found to comply with the limits for a Class B digital device, pursuant to part 15 of the FCC Rules. These limits are designed to provide reasonable protection against harmful interference in a residential installation. This equipment generates, uses and can radiate radio frequency energy and, if not installed and used in accordance with the instructions, may cause harmful interference to radio communications. However, there is no guarantee that interference will not occur in a particular installation. If this equipment does cause harmful interference to radio or television reception, which can be determined by turning the equipment off and on, the user is encouraged to try to correct the interference by one or more of the following measures: Reorient or relocate the receiving antenna. Increase the separation between the equipment and receiver. Connect the equipment into an outlet on a circuit different from that to which the receiver is connected. Consult the dealer or an experienced radio/ TV technician for help.

You are cautioned that any change or modifications to the equipment not expressly approve by the party responsible for compliance could void your authority to operate such equipment.

: ,,,, .

I

MSR206 Programmers Manual

UDN PM017-U Rev. G

WARRANTYThis product is served under one-year warranty to the original purchaser. Within the warranty period, merchandise found to be defective would be repaired or replaced. This warranty applies to the products only under the normal use of the original purchaser, and in no circumstances covers incidental or consequential damages through consumers misuse or modification of the products.

PREFACEThis manual provides detailed information relating to the overall operational, electrical, mechanical, environmental and functional aspects of the MSR206. This document should be read and understood prior to initial operation of the product. For ease of installation and programming use, we have addressed everything from its attractive features to its various configurations. When designing the MSR206, 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. If further questions do arise, please call for technical support, our FAE will assist you in any way we can.

II

MSR206 Programmers Manual

UDN PM017-U Rev. G

Table of ContentsSection 1

IntroductionAccessories of MSR206 ...................................................................................... 11 Warranty ............................................................................................................... 11

Section 2 Section 3 Section 4 Section 5

General Description Technical Specifications Setup Utilities Test ProgramSystem Requirement............................................................................................ 5-1 Test Program Installation .................................................................................... 5-1

Section 6 Section 7 Section 8

Command and Response Data Format Communication SequenceMSR 206 INITIALIZATION..................................................................................... 8-1 Write Data to MSR 206 ......................................................................................... 8-1 Read Data to MSR206 .......................................................................................... 8-2

Section 9

AddendumWrite Data to Magnetic Card................................................................................ 9-1 Write Raw Data to Magnetic Card ....................................................................... 9-2

III

MSR206 Programmers Manual

UDN PM017-U Rev. G

Section 1 IntroductionThank 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.

Accessories of MSR206Make 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 / USB attachment cable optional). 4. Utility disk (A/P S/W). 5. Blank Hi-Co test card (or and Low-Co test card). 6. Programmers manual.

WarrantyOne year after purchase of MSR206, any alteration and/or erasure or modification of the MSR206 will void the warranty.

11

MSR206 Programmers Manual

UDN PM017-U Rev. G

Section 2 General DescriptionThe MSR206 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 standard RS-232 interface.

2-1

MSR206 Programmers Manual

UDN PM017-U Rev. G

Section 3 Technical SpecificationsITEM Standard Electrical Consumption Current/operating Typical 350mA Max 600mA plus for each writing track Communication Power supply Interconnection Cable RJ45->DB9, 5 feet 1.shield 2.TXD / MSR206 data transmit Pin Assignment DB-9 3.RXD / MSR206 data receive 4,6,7,8,9, no connection 5. circuit ground Mechanical Body Swipe Outline Weight Environment Operation -10C to 60C 10 to 85% humidity, non condensing Storage -30C to 70C 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 MSR206-XHC write 2750-4000 Oe Mag. Card MSR206-XHL write 300-4000 Oe Mag. Card Media Thickness Jitter Card 0.76-1.2mm Read bit to bit interval ? (*)

1 0 1 0 0 1

1 1 1 1 1 1

0 0 1 1 1 1

1 1 0 0 1 1

0 1 0 1 0 1

* 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 Track1 header Length Track1 data Track header Length Track2 data Track3 header Length Track3 data Ending Field 1B6E1B73 1B01 08 C5B07814954E3E2A 1B02 05 2B8849EAAF 1B03 05 2B8849EAAF 3F1C

Transfer the track1 data to HEX under 08 bits: B0 % A B C 1 2 1 1 0 1 1 0 B1 0 0 1 1 0 1 B2 1 0 0 0 0 0 B3 0 0 0 0 0 0 B4 0 0 0 0 1 1 B5 0 1 1 1 0 0 P 1 1 1 0 1 1

9-3

MSR206 Programmers Manual

UDN PM017-U Rev. G

3 ? LRC

1 1 0

1 1 1

0 1 0

0 1 1

1 1 0

0 0 1

0 0 0

Calculate Odd Parity (P column) If there is an Even Number of 1s 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 1s 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 1 0 0 0 1 0 0 0 B1 0 0 0 0 0 1 1 1 B2 1 0 0 1 1 1 1 0 B3 0 0 1 0 0 1 1 1 B4 0 1 1 1 1 0 1 0 B5 0 1 1 0 0 0 1 1 B6 1 0 1 0 0 1 0 0 B7 1 1 0 0 1 0 0 0

B7 1 1 0 0 1 0 0 0

B6 1 0 1 0 0 1 0 0

B5 0 1 1 0 0 0 1 1

B4 0 1 1 1 1 0 1 0

B3 0 0 1 0 0 1 1 1

B2 1 0 0 1 1 1 1 0

B1 0 0 0 0 0 1 1 1

B0 1 0 0 0 1 0 0 0

HEX C5 B0 78 14 95 4E 3E 2A

Transfer track 2 (track 3) data to HEX under 08 bits: B0 ; 1 2 3 4 5 ? LRC 1 1 0 1 0 1 1 1 B1 1 0 1 1 0 0 1 0 B2 0 0 0 0 1 1 1 1 B3 1 0 0 0 0 0 1 0 P 0 0 0 1 0 1 1 1

9-4

MSR206 Programmers Manual

UDN PM017-U Rev. G

B0 1 0 1 0 1

B1 1 0 0 1 1

B2 0 0 0 0 1

B3 1 1 1 1 1

B4 0 0 0 0 0

B5 1 0 0 1 1

B6 0 0 1 1 0

B7 0 1 0 1 1

B7 0 1 0 1 1

B6 0 0 1 1 0

B5 1 0 0 1 1

B4 0 0 0 0 0

B3 1 1 1 1 1

B2 0 0 0 0 1

B1 1 0 0 1 1

B0 1 0 1 0 1

HEX 2B 88 49 EA 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 Track1 header Length Track1 data Track2 header Length Track2 data Track3 header Length Track3 data Ending Field 1B6E1B73 1B01 09 456162235152131F2A 1B02 08 0B01021304151F15 1B03 08 0B01021304151F15 3F1C

Transfer the track1 data to HEX under 07 bits: B0 % A B C 1 2 1 1 0 1 1 0 B1 0 0 1 1 0 1 B2 1 0 0 0 0 0 B3 0 0 0 0 0 0 B4 0 0 0 0 1 1 B5 0 1 1 1 0 0 P 1 1 1 0 1 1

9-5

MSR206 Programmers Manual

UDN PM017-U Rev. G

3 ? LRC

1 1 0

1 1 1

0 1 0

0 1 1

1 1 0

0 0 1

0 0 0

Calculate Odd Parity (P column) If there is an Even Number of 1s in the row of data for each character, put a 1 in the P column. Other wise, put a 0 in the column. Add % A B C 1 2 3 ? LRC 0 0 0 0 0 0 0 0 0 P 1 1 1 0 1 1 0 0 0 B5 0 1 1 1 0 0 0 0 1 B4 0 0 0 0 1 1 1 1 0 B3 0 0 0 0 0 0 0 1 1 B2 1 0 0 0 0 0 0 1 0 B1 0 0 1 1 0 1 1 1 1 B0 1 1 0 1 1 0 1 1 0 HEX 45 61 62 23 51 52 13 1F 2A

HEX B3 0 1 2 3 4 5 6 7 8 9 A B C D E F 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 B2 0 0 0 0 1 1 1 1 0 0 0 0 1 1 1 1 B1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 B0 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1

Transfer track 2 (track 3) data to HEX under 05 bits: B0 ; 1 B1 1 B2 0 B3 1 P 0

9-6

MSR206 Programmers Manual

UDN PM017-U Rev. G

1 2 3 4 5 ? LRC

1 0 1 0 1 1 1

0 1 1 0 0 1 0

0 0 0 1 1 1 1

0 0 0 0 0 1 0

0 0 1 0 1 1 1

Add 0 ; 1 2 3 4 5 ? LRC 0 0 0 0 0 0 0 0

Add 0 0 0 0 0 0 0 0 0

Add 0 0 0 0 0 0 0 0 0

P 0 0 0 1 0 1 1 1

B3 1 0 0 0 0 0 1 0

B2 0 0 0 0 1 1 1 1

B1 1 0 1 1 0 0 1 0

B0 1 1 0 1 0 1 1 1

HEX 0B 01 02 13 04 15 1F 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 Track1 header Length Track1 data Track2 header Length Track2 data Track3 header Length Track3 data Ending Field 1B6E1B73 1B01 09 052122231112131F2A 1B02 08 0B01021304151F15 1B03 08 0101020304051F1F 3F1C

Transfer track1 data to HEX under 06 bits: B0 % A 1 1 B1 0 0 B2 1 0 B3 0 0 B4 0 0 B5 0 1

9-7

MSR206 Programmers Manual

UDN PM017-U Rev. G

B C 1 2 3 ? LRC

0 1 1 0 1 1 0

1 1 0 1 1 1 1

0 0 0 0 0 1 0

0 0 0 0 0 1 1

0 0 1 1 1 1 0

1 1 0 0 0 0 1

Add 0 % A B C 1 2 3 ? LRC 0 0 0 0 0 0 0 0 0

Add 0 0 0 0 0 0 0 0 0 0

B5 0 1 1 1 0 0 0 0 1

B4 0 0 0 0 1 1 1 1 0

B3 0 0 0 0 0 0 0 1 1

B2 1 0 0 0 0 0 0 1 0

B1 0 0 1 1 0 1 1 1 1

B0 1 1 0 1 1 0 1 1 0

HEX 05 21 22 23 11 12 13 1F 2A

Transfer track 2 data to HEX under 05 bits: B0 ; 1 2 3 4 5 ? LRC 1 1 0 1 0 1 1 1 B1 1 0 1 1 0 0 1 0 B2 0 0 0 0 1 1 1 1 B3 1 0 0 0 0 0 1 0 P 0 0 0 1 0 1 1 1

Add 0 ; 1 2 3 4 5 ? LRC 0 0 0 0 0 0 0 0

Add 0 0 0 0 0 0 0 0 0

Add 0 0 0 0 0 0 0 0 0

P 0 0 0 1 0 1 1 1

B3 1 0 0 0 0 0 1 0

B2 0 0 0 0 1 1 1 1

B1 1 0 1 1 0 0 1 0

B0 1 1 0 1 0 1 1 1

HEX 0B 01 02 13 04 15 1F 15

9-8

MSR206 Programmers Manual

UDN PM017-U Rev. G

Transfer track 3 data to HEX under 06 bits: B0 ! 1 2 3 4 5 ? LRC 1 1 0 1 0 1 1 1 B1 0 0 1 1 0 0 1 1 B2 0 0 0 0 1 1 1 1 B3 0 0 0 0 0 0 1 1 B4 0 0 0 0 0 0 1 1 B5 0 0 0 0 0 0 0 0

Add 0 ! 1 2 3 4 5 ? LRC 0 0 0 0 0 0 0 0

Add 0 0 0 0 0 0 0 0 0

B5 0 0 0 0 0 0 0 0

B4 0 0 0 0 0 0 1 1

B3 0 0 0 0 0 0 1 1

B2 0 0 0 0 1 1 1 1

B1 0 0 1 1 0 0 1 1

B0 1 1 0 1 0 1 1 1

HEX 01 01 02 03 04 05 1F 1F

9-9