background image

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>. 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 9

 

 

Total 42 pages 

 
 

Содержание MSR120D

Страница 1: ...MSR120D Magnetic Stripe Card Reader Universal Serial Bus USB Interface Programmer s Manual UDN PM009 Revision E 22 Feb 2005...

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

Страница 3: ...f the product 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 a...

Страница 4: ..._____________________ 6 Card Type ______________________________________________________________________ 6 Thickness ______________________________________________________________________ 6 Card Forma...

Страница 5: ...stomized Data Track 3 ______________________________________ 12 u 75h Transmit Reverse Customized Data Track 1 _______________________________ 12 v 76h Transmit Reverse Customized Data Track 2________...

Страница 6: ...Head _____________________________________________ 17 p1 data 70h 31h data Set Track 1 Prefix Code ____________________________________ 18 p2 data 70h 32h data Set Track 2 Prefix Code ________________...

Страница 7: ...___________________________________________ 23 Byte 6 in EEPROM Track Separator Setting_____________________________________________ 23 Byte 7 12 in EEPROM Track 1 Prefix Code Setting_________________...

Страница 8: ..._____ 27 Enter Boot Mode ________________________________________________________ 27 Procedure _____________________________________________________________________ 27 Command Sets____________________...

Страница 9: ...oduct 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...

Страница 10: ...sabling Self Arm 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 In...

Страница 11: ...al 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 Not...

Страница 12: ...the MSR120D 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 co...

Страница 13: ...E 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...

Страница 14: ...output sequence 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 Sp...

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

Страница 16: ...the first command 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 l...

Страница 17: ...Hex 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...

Страница 18: ...n 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...

Страница 19: ...or card swipe 4 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 contr...

Страница 20: ...To request customized 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...

Страница 21: ...until changed 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 2...

Страница 22: ...s date mmddyy DEL 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...

Страница 23: ...ror Comments If 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 i...

Страница 24: ...S Send Enable Disable 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 disabl...

Страница 25: ...Track 2 3 7 09h 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 Disa...

Страница 26: ...k 2 will not be sent It means this function is disabling Table 5 10 Set Track 2 Prefix Code Command Form Hex Track 2 Prefix Code 09h 00h 03h 70h 32h 00h 48h Disable default Example of Track 2 Prefix C...

Страница 27: ...ne character 06h s3 data 73h 33h data Set Track 3 Suffix Code 1 Suffix can be set as 1 6 characters 2 If first character 00h suffix code of track 3 will not be sent It means this function is disabling...

Страница 28: ...Data Block Channel C Tk1 09h 00h 06h 4Bh 31h 43h 00h 00h 00h 36h Disable default Example of Track 1 Data Block Channel C Setting 09h 00h 06h 4Bh 31h 43h 33h 36h 40h 73h ISO 54 64 K2A type start end 4...

Страница 29: ...9h 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 Channel B Tk3 Command Form He...

Страница 30: ...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 0 1 0 480...

Страница 31: ...from 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 5...

Страница 32: ...s of received date into hexadecimal code RE4 52h 45h 34h Read Serial Number Command Form 09h 00h 03h 52h 45h 34h 29h This is used to send byte 100 107 data of EEPROM to host Note In the case of RE4 co...

Страница 33: ...h 00h 03h 53h 4Eh 0Ah 1Dh One character 0Ah 09h 00h 09h 53h 4Eh 31h 32h 33h 34h 35h 36h 37h 2Dh Seven characters 31h 32h 33h 34h 35h 36h 37h Note Before sending SN command if the LED is blinking it ma...

Страница 34: ...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 R...

Страница 35: ...Procedure According to the description above user can use either ways below to go into boot mode 1 Power off reader set the switch S1 2 on and then power on the reader to force reader gets into boot...

Страница 36: ...s Command Length Command Data 1 Data 2 LRC Note Default Address is 00h Command length is in hex value Data is optional Data Element Size Comments Header 1H Download Command Header value 09h Address 1H...

Страница 37: ...he reader to reset the reader As soon as the reader receives this command it will execute all initialization functions device will respond exactly as it would for a power on cycle and let the reader b...

Страница 38: ...mmand Header value 09h Address 1H Address value 00h default Command Length 1H Indicate the length of command and data value 05h Command 3H Command code Data 1 1H Programming data amount high byte Data...

Страница 39: ...d 06 Command Format Command Data size counter 1 Data LRC Data Element Size Comments Command 1H Command code value 06h Data size counter 1 1H Indicate the data size Data 0 255H Programming data LRC 1H...

Страница 40: ...the following minimum system requirements 1 Intel compatible 486DX 66 MHz CPU or higher 2 One standard USB port 4 pin and has the symbol with driver installed 3 Either the following operating systems...

Страница 41: ...ion 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 As soon as reader gets into boot mode t...

Страница 42: ...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 dialog box to continu...

Отзывы: