background image

MSR120 Programmer’s Manual                                                                                                                            UDN PM010, Rev. 1.1       
Section 3 -- Technical Specification                                                                                                                                            2003/1/21

 

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>. The <BCC> is an XOR of the characters (8 bits) 

in the entire message, including <SOH>. 

Format: <SOH><ADDRESS><00Hex><COUNT><MESSAGE><BCC> 

                                                    or 

<SOH><ADDRESS><00Hex><00Hex><MESSAGE><EOT><BCC> 

where STX=02Hex and ETX=03Hex. 
 

Table 3-5. Example for Protocol 2 

Host Command 

Reader Response 

Comment 

01h 00h 00h 01h 50h 50h 

 

Ready to read   

 

01h 00h 00h 01h 5Eh 5Eh 

Reader ACK 

 

The <ADDRESS> field is for a multi-reader system. This function is not currently supported. The recommended 

value for this field is NULL (00Hex), however, any value will work. 

If the value of <COUNT> fields are zero, an <EOT>, followed by the <BCC>, completes the message. The reader 

may, at its option, use NULL for COUNT when transmitting. 

For Protocols 1 and 2, if the reader detects an error in an incoming transmission, it will respond with a 

“Communications Error” message. If the host detects a transmission error, it may request a retransmission. Both 

protocols enforce a 100mSec timeout between characters. 

For all Protocols, the host may, at any time, stop/start the reader transmission by using software “handshake” 

(DC3/DC1) or hardware “handshake” (if enabled in EEPROM configuration) by controlling the CTS line. 

 

Transmission Format 

 

Data output format (Self-ARM mode) 

Protocol code  Tk1 prefix 

Tk1 Data  Tk1 suffix 

EOT 

BCC 

   

Protocol code  Separator  Tk2 prefix  Tk2 Data 

Tk2 suffix  EOT  BCC 

Protocol code  Separator  Tk3 prefix  TK3 Data  Tk3 suffix  EOT  BCC 

 

Read data for command 

Read tk1 data for command 

Protocol code  Tk1 prefix 

Tk1 Data  Tk1 suffix  EOT  BCC 

Read tk2 data for command 

                                                                                                                                                                                                   

Page 3-4

 

Proprietary and Confidential

                                                                                                                                            Total 36 pages

 

 

Содержание MSR 120 Series

Страница 1: ...MSR120 Magnetic Stripe Card Reader Universal Serial Bus USB Interface Programmer s Manual Document PM010 Revision 1 1 09 Feb 2001...

Страница 2: ...t 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 gua...

Страница 3: ...For ease of installation and programming use we have addressed everything from its attractive features to its various configurations When designing the MSR120 we selected what we feel are the most use...

Страница 4: ...______ 1 Card Type ______________________________________________________________________ 1 Thickness ______________________________________________________________________ 1 Card Format______________...

Страница 5: ...Track 3 _______________________________________ 2 u 75h Transmit Reverse Customized Data Track 1 ________________________________ 2 v 76h Transmit Reverse Customized Data Track 2______________________...

Страница 6: ...______________________________________ 3 p1 data 70h 31h data Set Track 1 Prefix Code _____________________________________ 3 p2 data 70h 32h data Set Track 2 Prefix Code _____________________________...

Страница 7: ..._________________________________________ 8 Byte 6 in EEPROM Track Separator Setting______________________________________________ 8 Byte 7 12 in EEPROM Track 1 Prefix Code Setting____________________...

Страница 8: ...1 1 Table of Contents 2003 1 21 System Requirements_____________________________________________________ 1 Driver Un installation _____________________________________________________ 4 Page VII Prop...

Страница 9: ...uter or other terminal using a standard USB interface Because of the transmitting protocol of MSR120 is more precise it is suitable for using in financial industry Function Self Test Whenever the read...

Страница 10: ...m mode The Host Polled Mode allows the magstripe functions to run by commands The conditions of indicators when the reader is in Self Arm mode are shown below Table 1 2 Self Arm Mode Indication LED Bu...

Страница 11: ...1 Model Description MSR120 XX A X X X XXX Series Name Reserved Customize No Bottom Cover B w bottom cover Cover Color 1 iMAC Fog 2 Black 3 Beige USB connector A Series A Plus 01 Track 1 Only 02 Track...

Страница 12: ...ons of MSR120 Figure 2 1 Dimensions of MSR120 Accessories of MSR120 The following accessories should be supplied along with MSR120 Make sure all the following accessories are contained in your package...

Страница 13: ...v 1 1 Section 2 Configurations 2003 1 21 3 Connect USB connector of signal cable to a free USB port Connect the connector to MSR120 4 Power on your PC system Figure 2 2 Installing MSR120 Page 2 2 Prop...

Страница 14: ...for Model J2 is ISO track 2 prior to JIS II The card data output sequence for Model J3 is ISO track 1 2 prior to JIS II Card Operation Speed Table 3 1 Card Operation Speed Test Card Speed IPS ISO sta...

Страница 15: ...r Required DC 5V 10 Power Consumption 120mA Max in normal condition Communication Standard USB signal levels comply with USB specification v 1 1 Dielectric Strength 250VDC for 1 minute Insulation Resi...

Страница 16: ...nd from the host From this point on the protocol is unchangeable until a reset occurs Protocol 0 In Protocol 0 all characters are transmitted and received using exactly the characters listed in sectio...

Страница 17: ...value will work If the value of COUNT fields are zero an EOT followed by the BCC completes the message The reader may at its option use NULL for COUNT when transmitting For Protocols 1 and 2 if the r...

Страница 18: ...Specification 2003 1 21 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 optio...

Страница 19: ...Transmit ACK after card swipe After an Ready to Read command is received and acknowledged the only valid commands that will be accepted for execution are Abort ESC Status and LED control commands Whe...

Страница 20: ...stomized data with no nulls allowed use the two bytes command transmit customized data command followed by an ASCII number 3 8 which specifies the number of bits per customized character 2 Process rev...

Страница 21: ...by another LED command or by continued interrupt mode operation 2 Transmit ACK Z 5Ah One Long Beep z 7Ah One Short Beep Comments 1 The buzzer beeps a long approx 0 5mSec short approx 0 2mSec beep 2 Tr...

Страница 22: ...EL 7Fh Warm Reset Comments Abort all current actions and cause the device to execute all initialization functions device will respond exactly as it would for a power on cycle Note This command byte is...

Страница 23: ...f host gets the response from reader it may mean one of following 1 No end sentinel ES 2 Parity error 3 LRC error 3Fh Communication Error Comments If host gets the response from reader it may mean one...

Страница 24: ...isable Command Form Hex ES SS Sending 09h 00h 03h 45h 53h 44h 58h Disable 09h 00h 03h 45h 53h 45h 59h Enable default LCx 4Ch 43h x LRC Send Enable Disable x E 45h enable or D 44h disable Table 5 2 LRC...

Страница 25: ...00h 03h 54h 4Bh 37h 22h Track 1 2 3 default AAx 41h 41h x Set Address 1 x is a binary byte 00h 0Fh 2 Set address 00h 09h 00h 03h 41h 41h 00h 0Ah SAx 53h 41h x Self Arm Mode Enable Disable x E 45h enab...

Страница 26: ...a 70h 32h data Set Track 2 Prefix Code 1 Prefix can be set as 1 6 characters 2 If first character 00h prefix code of track 2 will not be send It means this function is disabling Table 5 10 Set Track 2...

Страница 27: ...ommand Form Hex Track 2 Suffix Code 09h 00h 03h 73h 32h 00h 4Bh Disable default Example of Track 2 Suffix Code Setting 09h 00h 03h 73h 32h 06h 4Dh One character 06h s3 data 73h 33h data Set Track 3 Su...

Страница 28: ...Data Block Channel C of Track 1 Table 5 17 Data Block Channel C Tk1 Command Form Hex Data Block Channel C Tk1 09h 00h 06h 4Bh 31h 43h 00h 00h 00h 36h Disable default Example of Track 1 Data Block Cha...

Страница 29: ...Block Channel A Setting 09h 00h 06h 4Bh 33h 41h 4Fh 10h 30h 59h Any type 16 48 K3B type start end 4Bh 33h 42h type start end Set Transmitting Data Block Channel B of Track 3 Table 5 22 Data Block Chan...

Страница 30: ...atus Bit 7 SS ES Status Bit 6 LRC Status Bit 5 Bit 4 Bit 3 Bit Parity Bit 2 Bit 1 Bit 0 Baud Rate Status 0 Not Send 0 Send 0 0 0 7 even 0 0 0 1200 1 Send 1 Not send 0 0 1 7 odd 0 0 1 2400 0 1 0 7 mark...

Страница 31: ...om this byte to the end byte of the block Byte 43 45 in EEPROM Channel A of Track 1 Setting Byte 47 49 in EEPROM Channel B of Track 1 Setting Byte 51 53 in EEPROM Channel C of Track 1 Setting Byte 55...

Страница 32: ...atus of Tracks Command Form 09h 00h 03h 52h 45h 33h 2Eh This is used to send byte 743 77 data of EEPROM to host Note In the case of RE1 RE2 RE3 command the device transforms the EEPROM data from hexad...

Страница 33: ...systems Windows 95 OSR2 1 B version with USB version 1214 Windows 98 Windows 98 SE or Windows 2000 Driver Installation Follow the steps below on installing the MSR120 for the first time 1 Power on co...

Страница 34: ...ck Browse Change the folder of your floppy drive i e A Driver Windows and click OK c Double check the directory that Windows prompts Click Next d Windows will detect the driver SER9PL inf and shows th...

Страница 35: ...t to continue and let Windows copy the needed files to your hard disk Click Finish while installation is complete f After installing the System will generate an additional COM Port USB Card Reader e g...

Страница 36: ...Installation 2003 1 21 Page A 4 Proprietary and Confidential Total 36 pages Driver Un installation You can uninstall the MSR120 driver by executing Uninstall Program Dremover98 exe in the driver disk...

Отзывы: