Scancode MSR120D Programmer's Manual

Magnetic stripe card reader universal serial bus (usb) interface
Table of Contents

Advertisement

Quick Links

MSR120D
Magnetic Stripe Card Reader
Universal Serial Bus (USB) Interface
Programmer's Manual
UDN PM009 Revision E
22 Feb. 2005

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the MSR120D and is the answer not in the manual?

Questions and answers

Summary of Contents for Scancode MSR120D

  • Page 1 MSR120D Magnetic Stripe Card Reader Universal Serial Bus (USB) Interface Programmer’s Manual UDN PM009 Revision E 22 Feb. 2005...
  • Page 2 MSR120D Programmer’s Manual UDN PM009 Rev. E Notice, Agency Approved, Warning, Warranty, and Preface 2005/2/23 NOTICE The issuer of this manual has made every effort to provide accurate information contained in this manual. The issuer shall not be held liable for any technical and editorial omissions or errors made herein; nor for incidental consequential damages resulting from the furnishing, performance or use of this material.
  • Page 3 For ease of installation and programming use, we have addressed everything from its attractive features to its various configurations. When designing the MSR120D, 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.
  • Page 4: Table Of Contents

    Transmitting Data Block of Tracks __________________________________________________ 2   Part Number Description __________________________________________________ 3 Section 2 Configurations _______________________________________________ 4   Dimensions of MSR120D __________________________________________________ 4   Accessories of MSR120D __________________________________________________ 4   Installation ______________________________________________________________ 4 Section 3 Technical Specifications _______________________________________ 6  ...
  • Page 5 MSR120D Programmer’s Manual UDN PM009 Rev. E Table of Contents 2005/2/23   Communication __________________________________________________________ 8 Transmission Protocol ____________________________________________________________ 8 Protocol 0 _________________________________________________________________________ 8 Protocol 1 _________________________________________________________________________ 8 Protocol 2 _________________________________________________________________________ 9 Transmission Format _____________________________________________________________ 9 Data output format (Self-ARM mode) ___________________________________________________ 9...
  • Page 6 MSR120D Programmer’s Manual UDN PM009 Rev. E Table of Contents 2005/2/23   Response- Reader to Host_______________________________________________ 14 ^ (5Eh) ─ ACK _________________________________________________________________ 14 + (2Bh) ─ No Data ______________________________________________________________ 15 * (2Ah) ─ Error_________________________________________________________________ 15 ? (3Fh) ─ Communication Error __________________________________________________ 15 ! (21h) ─...
  • Page 7 MSR120D Programmer’s Manual UDN PM009 Rev. E Table of Contents 2005/2/23 Table 5-19. Data Block Channel B, Tk2 ______________________________________________ 20 K2C type start end (4Bh 32h 43h type start end) ______________________________________ 21 - Set Transmitting Data Block, Channel C of Track 2 _________________________________ 21 Table 5-20.
  • Page 8 MSR120D Programmer’s Manual UDN PM009 Rev. E Table of Contents 2005/2/23 RE1 (52h 45h 31h) - Read Configuration Status_____________________________________ 24 RE2 (52h 45h 32h) - Read Prefix & Suffix Setting Status of Tracks _____________________ 24 RE3 (52h 45h 33h) - Read Channel Setting Status of Tracks __________________________ 24 RE4 (52h 45h 34h) -...
  • Page 9: Section 1 General Description

    This Magnetic Stripe Reader is design to read high or low coercive magnetic cards. It can decode/verify up to 3 tracks of data simultaneously. This product communicates with a host computer or other terminal using a standard USB interface. Because of the transmitting protocol of MSR120D is more precise, it is suitable for using in financial industry.
  • Page 10: Reading

    MSR120D Programmer’s Manual UDN PM009 Rev. E Section 1 -- General Description 2005/2/23 Reading The reader can read magnetic data form any available track encoded per ISO 7810, 7811, AAMVA, CA old DMV, JIS. The host can request the read data from the reader with commands. For details and examples of commands and responses, refer to section 4.
  • Page 11: Part Number Description

    UDN PM009 Rev. E Section 1 -- General Description 2005/2/23 Part Number Description The brief configuration of MSR120D part number are shown as below: MSR120D-12 Dual track 1&2 MSR120D-23 Dual track 2&3 MSR120D-33 Triple track 1&2&3 Note: Optional configuration is available.
  • Page 12: Section 2 Configurations

    Dimensions of MSR120D Figure 2-1 Dimensions of MSR120D Accessories of MSR120D The following accessories should be supplied along with MSR120D. Make sure all the following accessories are contained in your package. 1. Signal cable (USB Connector, 1.7M) 2. Programmer’s manual 3.
  • Page 13 Section 2 -- Configurations 2005/2/23 2. Connect PC and MSR120D as below. 3. Connect USB connector of signal cable to a free USB port. Connect the connector to MSR120D. 4. Power on your PC system. Figure 2-2 Installing MSR120D Page 5...
  • Page 14: Section 3 Technical Specifications

    MSR120D Programmer’s Manual UDN PM009 Rev. E Section 3 -- Technical Specification 2005/2/23 Section 3 Technical Specifications Card Specifications Card Type ISO standard card CA old DMV AAMVA Read high or low coercive magnetic stripes (300-4000oe) Read triple track 7 BPC & 210 BPI cards Thickness 0.76 mm ±0.08 mm...
  • Page 15: Dimension

    MSR120D Programmer’s Manual UDN PM009 Rev. E Section 3 -- Technical Specification 2005/2/23 Dimension Length: 100mm Width: 34mm Height: 28mm Weight 120g Magnetic Head Life 500K swipes Min. 1M optional Electrical Specifications Power Required DC 5V±10% Power Consumption 98mA Max. in normal condition Communication Standard USB signal levels (comply with USB specification v 1.1)
  • Page 16: Usb Connector Termination Assignment

    MSR120D Programmer’s Manual UDN PM009 Rev. E Section 3 -- Technical Specification 2005/2/23 USB Connector Termination Assignment Table 3-2. Connector Assignment Contact Signal Typical Wiring Number Name Assignment Vbus White Green Black Shell Shield Drain Wire Communication The interface receives and transmits serial bit stream at voltage levels compatible with the USB specification.
  • Page 17: Protocol 2

    MSR120D Programmer’s Manual UDN PM009 Rev. E Section 3 -- Technical Specification 2005/2/23 Host Command Reader Response Comment 02h 50h 03h 51h Ready to read 02h 5Eh 03h 5Fh Reader ACK Protocol 2 In Protocol 2, all messages are preceded by the ASCII character <SOH>, followed by a one byte reader address, one byte character count and terminated with a one byte <BCC>.
  • Page 18 MSR120D Programmer’s Manual UDN PM009 Rev. E Section 3 -- Technical Specification 2005/2/23 Protocol code Tk2 prefix Tk2 Data Tk2 suffix EOT BCC Read tk3 data for command Protocol code Tk3 prefix Tk3 Data Tk3 suffix EOT BCC Note: Tk x data: SS (option) track data ES (option) LRC (option)
  • Page 19: Section 4 Commands And Responses

    2005/2/23 Section 4 COMMANDS and RESPONSES This section describes the commands and responses available for the MSR120D series. Each item includes the ASCII, hexadecimal codes and comments paragraph. The comments paragraph provides an explanation of the command. The letter ‘x’ indicates a variable and the letter 'h' is an abbreviation of 'hexadecimal'.
  • Page 20: U (55H) ─ Transmit Customized Data, Track 1

    MSR120D Programmer’s Manual UDN PM009 Rev. E Section 4 – Commands and Responses 2005/2/23 U (55h) ─ Transmit Customized Data, Track 1 V (56h) ─ Transmit Customized Data, Track 2 W (57h) ─ Transmit Customized Data, Track 3 Comments 1 To request customized data with no "nulls" allowed, use the two bytes command: "transmit customized data"...
  • Page 21: L (4Ch) ─ Green Led On

    MSR120D Programmer’s Manual UDN PM009 Rev. E Section 4 – Commands and Responses 2005/2/23 L (4Ch) ─ Green LED On l (6Ch) ─ Green LED Off M (4Dh) ─ Red LED On m (6Dh) ─ Red LED Off Comments 1 Turn green/red LED on/off, as specified.
  • Page 22: Esc (1Bh) ─ Abort

    MSR120D Programmer’s Manual UDN PM009 Rev. E Section 4 – Commands and Responses 2005/2/23 ESC (1Bh) ─ Abort Comments 1 Abort command is issued after the first character of double character "read" command has been issued. 2 Abort command is issued after the reader has responded to command "P" or "p". (Reader would be waiting for card swipe to read).
  • Page 23: (2Bh) ─ No Data

    MSR120D Programmer’s Manual UDN PM009 Rev. E Section 4 – Commands and Responses 2005/2/23 Last command has been completed without an error condition, and ready for the next command. + (2Bh) ─ No Data Comments If host gets the response from reader, it may mean one of following: 1 In case of a "standard format"...
  • Page 24: Section 5 Configuration Commands

    Section 5 CONFIGURATION COMMANDS This section describes the internal configuration commands available for the MSR120D. Each item provides the ASCII, hexadecimal code and an explanation of the command. The letter “x” indicates a variable and the letter “h” is an abbreviation of “hexadecimal”.
  • Page 25: Tkx (54H 4Bh X) - Set Transmitting Data Tracks

    MSR120D Programmer’s Manual UDN PM009 Rev. E Section 5 – Configuration Commands 2005/2/23 09h 00h 03h 42h 5Ah 44h 56h Disable 09h 00h 03h 42h 5Ah 45h 57h Enable (default) TKx (54h 4Bh x) - Set Transmitting Data Tracks x is an ASCII number (1-7) Table 5-5.
  • Page 26: P1 Data (70H 31H Data) - Set Track 1 Prefix Code

    MSR120D Programmer’s Manual UDN PM009 Rev. E Section 5 – Configuration Commands 2005/2/23 Command Form (Hex) JIS Read Head 09h 00h 03h 4Ah 48h 44h 4Ch Without (default) 09h 00h 03h 4Ah 48h 45h 4Dh With p1 data (70h 31h data) - Set Track 1 Prefix Code 1 Prefix can be set as 1-6 characters 2 If first character = 00h, prefix code of track 1 will not be sent.
  • Page 27: S2 Data (73H 32H Data) - Set Track 2 Suffix Code

    MSR120D Programmer’s Manual UDN PM009 Rev. E Section 5 – Configuration Commands 2005/2/23 Table 5-12. Set Track 1 Suffix Code Command Form (Hex) Track 1 Suffix Code 09h 00h 03h 73h 31h 00h 48h Disable (default) Example of Track 1 Suffix Code Setting...
  • Page 28: K1B Type Start End (4Bh 31H 42H Type Start End)

    MSR120D Programmer’s Manual UDN PM009 Rev. E Section 5 – Configuration Commands 2005/2/23 Example of Track 1 Data Block Channel A Setting 09h 00h 06h 4Bh 31h 41h 33h 06h 20h 21h ISO 6-32 K1B type start end (4Bh 31h 42h type start end) -...
  • Page 29 MSR120D Programmer’s Manual UDN PM009 Rev. E Section 5 – Configuration Commands 2005/2/23 K2C type start end (4Bh 32h 43h type start end) - Set Transmitting Data Block, Channel C of Track 2 Table 5-20. Data Block Channel C, Tk2...
  • Page 30 MSR120D Programmer’s Manual UDN PM009 Rev. E Section 5 – Configuration Commands 2005/2/23 5 CTS disable 6 RTS disable 7 Buzzer enable ithout JIS read head 9 Power on in protocol 0 10 Transmit TK1, TK2 and TK3 11 Self-Arm Mode enable 12 Read address = 00h RE0 (52h 45h 00h) -...
  • Page 31 MSR120D Programmer’s Manual UDN PM009 Rev. E Section 5 – Configuration Commands 2005/2/23 Byte 5 in EEPROM Table 5-26. Byte 5 of EEPROM Status JIS Read Address Self-Arm Buzzer Head (Hex code) Mode Without Disable Disable With Enable Enable Byte 6 in EEPROM: Track Separator Setting Hex code “00h”...
  • Page 32: Re1 (52H 45H 31H) - Read Configuration Status

    MSR120D Programmer’s Manual UDN PM009 Rev. E Section 5 – Configuration Commands 2005/2/23 RE1 (52h 45h 31h) - Read Configuration Status Command Form: <09h 00h 03h 52h 45h 31h 2Ch> This is used to send byte 3-6 data of EEPROM to host.
  • Page 33: Sn Data (53H 4Eh Data) - Write Serial Number

    MSR120D Programmer’s Manual UDN PM009 Rev. E Section 5 – Configuration Commands 2005/2/23 SS = START SENTINEL TRACK1= “%” (ISO, DMV & AAMVA) TRACK2= “;” (ISO, DMV & AAMVA) TRACK3= “;” (ISO) “%” (AAMVA) “!” (CA old DMV) ES = END SENTINEL TRACK1, 2 &...
  • Page 34 MSR120D Programmer’s Manual UDN PM009 Rev. E Section 5 – Configuration Commands 2005/2/23 When Raw Data Output mode is disabled, the output data format restores to previous setting. Note: 1. Only following commands are valid while Raw Data Output mode is enabled: BRx, PTx, RTx, CTx, TKx, p1, p2, p3, s1, s2, s3, Sdx, DF0, RE0, RE1, RE2, RE3, RE4, SN, %, #, L, l, M, m, (, ), Z, z, 9, DEL and $.
  • Page 35: Section 6 Download Specification

    MSR120D Programmer’s Manual UDN PM009 Rev. E Section 6 – Firmware Download 2005/2/23 Section 6 Download Specification Introduction This section provides the information about firmware download via sending download commands from host to the reader. Except download commands, there are some system commands listed below can be used in boot mode for application purpose.
  • Page 36: Command Sets

    MSR120D Programmer’s Manual UDN PM009 Rev. E Section 6 – Firmware Download 2005/2/23 Command Sets This section describes the download commands and responses available for the reader. Except command BL, the download commands are effective only in boot mode. Each download command description includes its data element, size and comments. The comments provide an explanation of each data element.
  • Page 37: Command Bl

    MSR120D Programmer’s Manual UDN PM009 Rev. E Section 6 – Firmware Download 2005/2/23 Command BL --- Request the reader to enter boot mode When the reader receives this command from host, it will go into boot mode and let LED goes red flashing without responding any message to host.
  • Page 38: Command Bc

    MSR120D Programmer’s Manual UDN PM009 Rev. E Section 6 – Firmware Download 2005/2/23 Command BC --- Blank check This is used to verify if the erase command ES above works complete or not. If not, user shall send erase command ES and verify by command BC again prior to download f/w.
  • Page 39 MSR120D Programmer’s Manual UDN PM009 Rev. E Section 6 – Firmware Download 2005/2/23 Similarly, the interval between each command 06 shall not exceed one second; otherwise, the host shall resend command ES, BC, PRG, and 06 in order. Command: 06 Command Format: <Command><Data size counter + 1><Data>{LRC}...
  • Page 40: System Requirements

    This section illustrates instructions in download application installation and firmware download via this application on Windows 98. System Requirements Before you use the MSR120D, make sure your computer is an IBM PC-compatible with the following minimum system requirements: 1. Intel-compatible 486DX-66 MHz CPU or higher 2.
  • Page 41 MSR120D Programmer’s Manual UDN PM009 Rev. E Appendix A – Download Application 2005/2/23 4. Press Auto Run button to do firmware download automatically. At this stage, the application will do actions sequentially as follows: a. Enter boot mode, the application will auto detect reader’s communication port, baud rate, data bit, and parity setting.
  • Page 42 MSR120D Programmer’s Manual UDN PM009 Rev. E Appendix A – Download Application 2005/2/23 After download done, user can close the application by click [No] button in ‘Continue?” dialog box, and return to normal operation. If user wants to download the second unit with the same f/w, just connect the unit to USB port, and click [Yes] button in ‘Continue?”...

Table of Contents