Unitech MSR 120 Series Operating and maintenance manual

MSR120
Magnetic Stripe Card Reader
Universal Serial Bus (USB) Interface
Programmer’s Manual
Document PM010
Revision 1.1
09 Feb. 2001

MSR120 Programmer’s Manual UDN PM010, Rev. 1.1
Notice, Agency Approved, Warning, Warranty, and Preface 2003/1/21
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.
This document contains proprietary information protected by copyright. All rights are reserved. No part of this
document may be photocopied, reproduced, or translated without the prior written permission of the issuer. The
information provided in this manual is subject to change without notice.
AGENCY APPROVED
This Equipment, MSR120, had 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 instructions, may cause harmful interference to radio communications. However, there is no guarantee that
interference will not occur in a particular installation. Operation of this equipment in a residential area is also likely to
cause harmful interference in which case the user will be required to correct the interference at his own expense.
This MSR120 also had been tested and found to comply with the agency requirements of specification for CE mark
Class A, UL, and cUL.
WARNING
You are cautioned that changes or modifications not expressly approved by the party responsible for compliance could
void your authority to operate the equipment.
WARRANTY
This product is served under one-year warranty of defects in material and functionality to the original purchasers.
Within the warranty period, if the product found to be defective will be repaired or replaced. This warranty applies to
the products only under the normal use of the original purchasers, and in no circumstances covers incidental or
consequential damages through consumers’ misuse or modification of the product.
Page I
Proprietary and Confidential Total 36 pages

MSR120 Programmer’s Manual UDN PM010, Rev. 1.1
Notice, Agency Approved, Warning, Warranty, and Preface 2003/1/21
PREFACE
This manual provides detailed information relating to the overall operational, electrical, mechanical, environmental and
functional aspects of the MSR120. 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 MSR120, 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.
Page II
Proprietary and Confidential Total 36 pages

MSR120 Programmer’s Manual UDN PM010, Rev. 1.1
Table of Contents 2003/1/21
Table of Contents
Section 1 General Description _________________________________________ 1- 1
Features ________________________________________________________________ 1
Application ______________________________________________________________ 1
Function ________________________________________________________________ 1
Self Test ________________________________________________________________________ 1
Transmission Reset by Hardware ___________________________________________________ 1
Reading________________________________________________________________________ 2
Reading Customized Data _________________________________________________________ 2
Self –Arm Mode__________________________________________________________________ 2
Transmitting Data Block of Tracks __________________________________________________ 2
Model Description ________________________________________________________ 3
Section 2 Configurations _____________________________________________ 2- 1
Dimensions of MSR120____________________________________________________ 1
Accessories of MSR120___________________________________________________ 1
Installation ______________________________________________________________ 1
Section 3 Technical Specifications _____________________________________ 3- 1
Card Specifications _______________________________________________________ 1
Card Type ______________________________________________________________________ 1
Thickness ______________________________________________________________________ 1
Card Format_____________________________________________________________________ 1
Card Operation Speed ____________________________________________________________ 1
Mechanical Specifications _________________________________________________ 1
Body Material____________________________________________________________________ 1
Dimension ______________________________________________________________________ 2
Weight_________________________________________________________________________ 2
Magnetic Head Life _______________________________________________________________ 2
Electrical Specifications ___________________________________________________ 2
Power Required__________________________________________________________________ 2
Power Consumption ______________________________________________________________ 2
Communication__________________________________________________________________ 2
Dielectric Strength _______________________________________________________________ 2
Insulation Resistance _____________________________________________________________ 2
Environmental Specifications ______________________________________________ 2
Temperature ____________________________________________________________________ 2
Humidity________________________________________________________________________ 2
USB Connector Termination Assignment _____________________________________ 3
Page III
Proprietary and Confidential Total 36 pages

MSR120 Programmer’s Manual UDN PM010, Rev. 1.1
Table of Contents 2003/1/21
Communication __________________________________________________________ 3
Transmission Protocol ____________________________________________________________ 3
Protocol 0 _________________________________________________________________________ 3
Protocol 1 _________________________________________________________________________ 3
Protocol 2 _________________________________________________________________________ 4
Transmission Format _____________________________________________________________ 4
Data output format (Self-ARM mode) ___________________________________________________ 4
Read data for command ______________________________________________________________ 4
Section 4 COMMANDS and RESPONSES ________________________________ 4- 1
Command ! Host to Reader ______________________________________________ 1
P (50h) " Ready to Read _________________________________________________________ 1
p (70h) " Ready to Read _________________________________________________________ 1
Q (51h) " Transmit Standard Data, Track 1 __________________________________________ 1
R (52h) " Transmit Standard Data, Track 2 __________________________________________ 1
S (53h) " Transmit Standard Data, Track 3 __________________________________________ 1
U (55h) " Transmit Customized Data, Track 1________________________________________ 2
V (56h) " Transmit Customized Data, Track 2 ________________________________________ 2
W (57h) " Transmit Customized Data, Track 3 _______________________________________ 2
u (75h) " Transmit Reverse Customized Data, Track 1 ________________________________ 2
v (76h) " Transmit Reverse Customized Data, Track 2_________________________________ 2
w (77h) " Transmit Reverse Customized Data, Track 3 ________________________________ 2
% (25h) " Retransmit ____________________________________________________________ 2
# (23h) " Configuration Request___________________________________________________ 2
L (4Ch) " Green LED On _________________________________________________________ 3
l (6Ch) " Green LED Off__________________________________________________________ 3
M (4Dh) " Red LED On___________________________________________________________ 3
m (6Dh) " Red LED Off __________________________________________________________ 3
( (28h) " Green LED Flash ________________________________________________________ 3
) (29h) " Red LED Flash__________________________________________________________ 3
Z (5Ah) " One Long Beep ________________________________________________________ 3
z (7Ah) " One Short Beep ________________________________________________________ 3
DC3 (13h) " Pause Transmit ______________________________________________________ 3
DC1 (11h) " Resume Transmit ____________________________________________________ 3
T (54h) " Card Type Report _______________________________________________________ 3
ESC (1Bh) " Abort ______________________________________________________________ 4
9 (39h) " Version Report _________________________________________________________ 4
DEL (7Fh) " Warm Reset _________________________________________________________ 4
$ (24h) " Reader Status Request __________________________________________________ 4
Page IV
Proprietary and Confidential Total 36 pages

MSR120 Programmer’s Manual UDN PM010, Rev. 1.1
Table of Contents 2003/1/21
Response! Reader to Host________________________________________________ 4
^ (5Eh) " ACK __________________________________________________________________ 4
+ (2Bh) " No Data _______________________________________________________________ 5
* (2Ah) " Error__________________________________________________________________ 5
? (3Fh) " Communication Error ___________________________________________________ 5
! (21h) " Invalid Command _______________________________________________________ 5
: (3Ah) " Power On Report _______________________________________________________ 5
~ (7Eh) " Cannot Execute ________________________________________________________ 5
Section 5 CONFIGURATION COMMANDS________________________________ 5- 1
Command Form __________________________________________________________ 1
ESx (45h 53h x) ! ES & SS Send Enable/Disable _____________________________________ 1
LCx (4Ch 43h x) ! LRC Send Enable/Disable ________________________________________ 1
PCx (50h 43h x) ! Set Protocol of Power On Report __________________________________ 1
BZx (42h 5Ah x) ! Buzzer Enable/Disable ___________________________________________ 1
TKx (54h 4Bh x) ! Set Transmitting Data Tracks _____________________________________ 2
AAx (41h 41h x) ! Set Address ____________________________________________________ 2
SAx (53h 41h x) ! Self -Arm Mode Enable/Disable ____________________________________ 2
SPx (53h 50h x) ! Set Track Separator _____________________________________________ 2
JHx (4Ah 48h x) ! Set JIS Read Head ______________________________________________ 3
p1 data (70h 31h data) ! Set Track 1 Prefix Code _____________________________________ 3
p2 data (70h 32h data) ! Set Track 2 Prefix Code _____________________________________ 3
p3 data (70h 33h data) ! Set Track 3 Prefix Code _____________________________________ 3
s1 (46h 61h x) ! Set Track 1 Suffix Code ____________________________________________ 4
s2 data (73h 32h data) ! Set Track 2 Suffix Code _____________________________________ 4
s3 data (73h 33h data) ! Set Track 3 Suffix Code _____________________________________ 4
K1A type start end (4Bh 31h 41h type start end)_______________________________________ 4
! Set Transmitting Data Block, Channel A of Track 1 __________________________________ 4
K1B type start end (4Bh 31h 42h type start end)_______________________________________ 5
! Set Transmitting Data Block, Channel B of Track 1 __________________________________ 5
Table 5-16. Data Block Channel B, Tk1 _______________________________________________ 5
K1C type start end (4Bh 31h 43h type start end) _______________________________________ 5
! Set Transmitting Data Block, Channel C of Track 1 __________________________________ 5
Table 5-17. Data Block Channel C, Tk1 _______________________________________________ 5
K2A type start end (4Bh 32h 41h type start end) _______________________________________ 5
! Set Transmitting Data Block, Channel A of Track 2 __________________________________ 5
Table 5-18. Data Block Channel A, Tk2 _______________________________________________ 5
K2B type start end (4Bh 32h 42h type start end) _______________________________________ 5
! Set Transmitting Data Block, Channel B of Track 2 __________________________________ 5
Page V
Proprietary and Confidential Total 36 pages

MSR120 Programmer’s Manual UDN PM010, Rev. 1.1
Table of Contents 2003/1/21
Table 5-19. Data Block Channel B, Tk2 _______________________________________________ 5
K2C type start end (4Bh 32h 43h type start end) _______________________________________ 6
! Set Transmitting Data Block, Channel C of Track 2 __________________________________ 6
Table 5-20. Data Block Channel C, Tk2 _______________________________________________ 6
K3A type start end (4Bh 33h 41h type start end) _______________________________________ 6
! Set Transmitting Data Block, Channel A of Track 3 __________________________________ 6
Table 5-21. Data Block Channel A, Tk3 _______________________________________________ 6
K3B type start end (4Bh 33h 42h type start end) _______________________________________ 6
! Set Transmitting Data Block, Channel B of Track 3 __________________________________ 6
Table 5-22. Data Block Channel B, Tk3 _______________________________________________ 6
K3C type start end (4Bh 33h 43h type start end) _______________________________________ 6
! Set Transmitting Data Block, Channel C of Track 3 __________________________________ 6
Table 5-23. Data Block Channel C, Tk3 _______________________________________________ 6
DF0 (44h 46h 00h) ! Default Setting________________________________________________ 6
RE0 (52h 45h 00h) ! Read EEPROM Data ___________________________________________ 7
Byte1 and 2 in EEPROM are 00h, 13h separately. They are identical characters. __________________ 7
Byte 3 in EEPROM__________________________________________________________________ 7
Byte 4 in EEPROM__________________________________________________________________ 7
Byte 5 in EEPROM__________________________________________________________________ 8
Byte 6 in EEPROM: Track Separator Setting______________________________________________ 8
Byte 7-12 in EEPROM: Track 1 Prefix Code Setting________________________________________ 8
Byte 13-18 in EEPROM: Track 2 Prefix Code Setting_______________________________________ 8
Byte 19-24 in EEPROM: Track 3 Prefix Code Setting_______________________________________ 8
Byte 25-30 in EEPROM: Track 1 Suffix Code Setting ______________________________________ 8
Byte 31-36 in EEPROM: Track 2 Suffix Code Setting ______________________________________ 8
Byte 37-42 in EEPROM: Track 3 Suffix Code Setting ______________________________________ 8
Byte 43-45 in EEPROM: Channel A of Track 1 Setting _____________________________________ 8
Byte 47-49 in EEPROM: Channel B of Track 1 Setting______________________________________ 8
Byte 51-53 in EEPROM: Channel C of Track 1 Setting______________________________________ 8
Byte 55-57 in EEPROM: Channel A of Track 2 Setting _____________________________________ 8
Byte 59-61 in EEPROM: Channel B of Track 2 Setting______________________________________ 8
Byte 63-65 in EEPROM: Channel C of Track 2 Setting______________________________________ 8
Byte 67-69 in EEPROM: Channel A of Track 3 Setting _____________________________________ 8
Byte 71-73 in EEPROM: Channel B of Track 3 Setting______________________________________ 8
Byte 75-77 in EEPROM: Channel C of Track 3 Setting______________________________________ 8
RE1 (52h 45h 31h) ! Read Configuration Status______________________________________ 8
RE2 (52h 45h 32h) ! Read Prefix & Suffix Setting Status of Tracks ______________________ 9
RE3 (52h 45h 33h) ! Read Channel Setting Status of Tracks ___________________________ 9
Appendix A USB Driver Installation_____________________________________ A- 1
Page VI
Proprietary and Confidential Total 36 pages

MSR120 Programmer’s Manual UDN PM010, Rev. 1.1
Section 1 -- General Description 2003/1/21
Section 1 General Description
This section presents general information about the basic characters of the MSR120.
!"Features
The MSR120 provides the following features:
1 Light weight: 120g
2 Compact size: 100L*34W*28H (mm)
3 LED and Buzzer indicators indicate card status
4 Low power consumption
5 Single, dual, or triple track versions allow for reading all types of magnetic cards, including credit cards and
drivers licenses.
!"Application
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 MSR120 is more precise, it is suitable for using in financial
industry.
!"Function
Self Test
Whenever the reader experiences a reset cycle, a self-test is performed. The reader will respond with “:” and the
LED will turn green if the entire test is successful. Otherwise, the LED will turn orange and no response will be
generated.
Table 1-1. Self Test
Indication
LED Buzzer
Cause Post Condition
Green 1 Beep Test Success Responds with “:”
Orange EEPROM Failed Hang
Orange Internal ROM Failed Hang
Transmission Reset by Hardware
When the reader cannot communicate with the host, user can set the switch S1-1 on and power on the reader. The
reader will beep twice and response the baud rate, parity, CTS and RTS default setting, but the data inside
EEPROM will not be changed.
Page 1-1
Proprietary and Confidential Total 36 pages

MSR120 Programmer’s Manual UDN PM010, Rev. 1.1
Section 1 -- General Description 2003/1/21
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.
Reading Customized Data
The interface can read customized encoded magnetic data. Data integrity is not verified when reading customized
data. Customized data is not formatted into ASCII characters prior to transmission to the host.
Self –Arm Mode
The default reader configuration is the “Self-Arm Mode”, which allows the magstripe functions to run
automatically, reporting magstripe activity to the host without instruction from the host. In the Self-Arm mode, the
reader also can accept commands from host. However, the reader can be configured to only “Host Polled Mode”
by disabling 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
Indication
LED Buzzer
Cause
Off Card Swipe
Orange 2 Beeps 1 or 2 Tracks Read Miss
Red 3 Beeps Read Error
Green 1 Beep Read Success
When the reader is in the Self-Arm mode, the green LED indicates the reader is waiting for accepting card. While
card is moving, the LED will turn off. When one or two tracks read miss, the LED shows orange for 1 second and
the buzzer beeps twice. If tracks read error, the LED turns red and beeps thrice. When the reader is in the Host
Polled mode, the green LED keeps flashing.
Transmitting Data Block of Tracks
Each track could divide into 1-3 channels (blocks) for transmission. For example, user could set “Channel A” of
track1 format as: ISO standard card track1 15th-30 th characters. If the set data is different from the data after
swiping, the reader will transmit completed data without limitation. The commands of setting channels are shown
in section 5.
Page 1-2
Proprietary and Confidential Total 36 pages

MSR120 Programmer’s Manual UDN PM010, Rev. 1.1
Section 1 -- General Description 2003/1/21
!"Model Description
The definitions of MSR120 model number are shown in Figure 1-1.
Figure 1-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 2 Only
03: Track 3 Only
12: Track 1&2
23: Track 2&3
33: Track1&2&3
J1: JIS II Track
J2: JIS I+II Track
J3: ISO 1/2+JIS II Track
Page 1-3
Proprietary and Confidential Total 36 pages

MSR120 Programmer’s Manual UDN PM010, Rev. 1.1
Section 2 -- Configurations 2003/1/21
Section 2 Configurations
This section shows the dimensions, accessories and setup for the MSR120.
!"
Dimensions 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.
1. Signal cable (USB Connector, 1.7M)
2. Programmer’s manual
!"
Installation
1. Power off your PC system.
2. Connect PC and MSR120 as below.
Page 2-1
Proprietary and Confidential Total 36 pages

MSR120 Programmer’s Manual UDN PM010, Rev. 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
Proprietary and Confidential Total 36 pages

MSR120 Programmer’s Manual UDN PM010, Rev. 1.1
Section 3 -- Technical Specification 2003/1/21
Section 3 Technical Specifications
!"
Card Specifications
Card Type
ISO standard card
CA old DMV
AAMVA
JIS
Read high or low coercive magnetic stripes (300-4000oe)
Read triple track 7 BPC & 210 BPI cards
Thickness
0.76 mm #0.08 mm
Card Format
Track 1 & 3: 210 bpi
Track 2: 75/210 bpi
JIS II 210 bpi
Note: The card data 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 Speed (IPS)
ISO standard card 5-55
* Jitter 5-50
** Low Amplitude 5-50
Note: *Jitter card: Reliable reading of magnetic stripes encoded with bit cell length variations within +/-12% of
normal as defined by ISO 7811.
**Low amplitude: Reliable reading of magnetic stripes encoded at 60% or more of the encoding amplitude as
defined by ISO 7811.
!"
Mechanical Specifications
Body Material
ABS 94V-0
Page 3-1
Proprietary and Confidential Total 36 pages

MSR120 Programmer’s Manual UDN PM010, Rev. 1.1
Section 3 -- Technical Specification 2003/1/21
Dimension
Length: 100mm
Width: 34mm
Height: 28mm
Weight
120g
Magnetic Head Life
500K swipes Min. 1M option
!"
Electrical Specifications
Power 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 Resistance
10M Ohms min. at 250VDC
!"
Environmental Specifications
Temperature
Operating: -10-50$
Storage: -30-70$
Humidity
Operating: 10-85% (non condensing)
Storage: 10-90% (non condensing)
Page 3-2
Proprietary and Confidential Total 36 pages

MSR120 Programmer’s Manual UDN PM010, Rev. 1.1
Section 3 -- Technical Specification 2003/1/21
!"
USB Connector Termination Assignment
Table 3-2. Connector Assignment
Contact
Number
Signal
Name
Typical Wiring
Assignment
1 Vbus Red
2 D- White
3 D+ Green
4 GND Black
Shell Shield Drain Wire
!"
Communication
The interface receives and transmits serial bit stream at voltage levels compatible with the USB specification.
Transmission Protocol
The user may select from three different protocols: Protocol 0, 1, and 2.
Upon reset, the reader sends the power-on response “:”, depending upon the configuration setting. The reader then
configures itself to the protocol of 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 listed in section 4. There are
no headers and Block Check Characters (BCC). Protocol 0 presumes no transmission errors. If the host detects an
error, it may request a retransmission.
Table 3-3. Example for Protocol 0
Host Command Reader Response Comment
P Ready to read
^ Reader ACK
Protocol 1
In Protocol 1, all messages are preceded by the ASCII character <STX> and terminated with the ASCII character
<ETX>, followed by a one byte <BCC>. <BCC> is an XOR of the 7 data bits, excluding parity, of each character
in the entire message, including <STX>.
Format: <STX><MESSAGE><ETX><BCC>
where STX=02Hex and ETX=03Hex.
Table 3-4. Example for Protocol 1
Page 3-3
Proprietary and Confidential Total 36 pages

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

MSR120 Programmer’s Manual UDN PM010, Rev. 1.1
Section 3 -- Technical 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 (option) LRC (option)
Page 3-5
Proprietary and Confidential Total 36 pages

MSR120 Programmer’s Manual UDN PM010, Rev. 1.1
Section 4 – Commands and Responses 2003/1/21
Section 4 COMMANDS and RESPONSES
This section describes the commands and responses available for the MSR120 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'.
All readers are capable of communicating in 3 protocols: 0, 1 and 2. If protocol 0 is selected, all commands and
responses are as listed in this section. If protocol 1 is selected, the characters STX, ETX and BCC must be added to all
transmissions. If protocol 2 is selected, the characters SOH, ADDRESS, COUNT and BCC must be added to all
transmissions.
!"Command ! Host to Reader
P (50h) " Ready to Read
Comments
1 Clear buffers
2 Transmit "ACK"
3 Expect for 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 control commands. When the reader is ready for "Read
on Insert", the "ACK" after card swipe will be transmitted after the rear sensor is activated. For read on reverse
swipe, the "ACK" after card swipe will be transmitted after the front sensor is de-activated.
p (70h) " Ready to Read
Comments
Same as 'P' command, except an extra response " ( " is reported when a media is detected through the read head.
A " ) " response is reported when media detect goes inactive, and response " > " when no magstripe.
Q (51h) " Transmit Standard Data, Track 1
R (52h) " Transmit Standard Data, Track 2
S (53h) " Transmit Standard Data, Track 3
Comments
1 Process data in the read buffer for the specified track according to ISO, AAMVA and DVM format.
2 Transmit data in ASCII.
3 If error is detected, transmit proper error response "*". If no data transmit "+". (Refer to Responses!
Reader to Host later in this section).
Page 4-1
Proprietary and Confidential Total 36 pages

MSR120 Programmer’s Manual UDN PM010, Rev. 1.1
Section 4 – Commands and Responses 2003/1/21
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" command, followed by an ASCII number (3-8), which specifies the number of bits per customized
character.
2 Process data to the read buffer for the specified track, based upon the "number of bits" character.
u (75h) " Transmit Reverse Customized Data, Track 1
v (76h) " Transmit Reverse Customized Data, Track 2
w (77h) " Transmit Reverse Customized Data, Track 3
Comments
1 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.
2 Process reversed-bit data (result of reverse swipe) to the read buffer for the specified track, based upon
the "number of bits" character.
% (25h) " Retransmit
Comments
Request to retransmit the previous valid command except “P” and “p” commands.
Note: Z (or z) won’t be retransmitted.
# (23h) " Configuration Request
Comments
Transmit a byte, which represent configuration of the interface as follows:
Table 4-2. Interface Configuration
Bit 0 Track 1 read capability
Bit 1 Track 2 read capability
Bit 2 Track 3 read capability
Bit 3 0
Bit 4 0
Bit 5 1
Bit 6 1
Bit 7 Parity (protocol 0 and 1 only), 0 (protocol 2)
Where "1" bit means "capable of…" and "0" bit means "not capable of…".
Page 4-2
Proprietary and Confidential Total 36 pages
Other manuals for MSR 120 Series
2
Table of contents
Other Unitech Card Reader manuals

Unitech
Unitech MS242 User manual

Unitech
Unitech MSR 120 Series Specification sheet

Unitech
Unitech MSR206 User manual

Unitech
Unitech RP901BTF User manual

Unitech
Unitech MS240 User manual

Unitech
Unitech MS242 User manual

Unitech
Unitech MSR 120 Series Specification sheet

Unitech
Unitech MSR206 Operating and maintenance manual

Unitech
Unitech MS240 User manual

Unitech
Unitech MS240 User manual