DOC. NO. ESM-5907 REV. PAGE DATE

SPECIFICATION A 1 OF 19 2002.09.18

ESM-5907 MOTORIZED INSERTION STANDARD TYPE MAGNETIC & IC CARD READER/WRITER WITH RS-232C INTERFACE

KDE Inc. KyungDuck Bldg, 518-5, Tunchon-Tong Kangtong-Ku, Seoul, KOREA TEL : 82-2-485-3233 FAX : 82-2-485-3238

AD-A39 (210mm×297mm) KDE Inc.

DOC. NO. ESM-5907 REV. PAGE DATE

SPECIFICATION A 2 OF 19 2002.09.18

APPROVAL

RESP. DEPT. R & D ORIGINATOR HONG YU

DEPT. Int’l Sales QA

APPROVED BY APPROVAL & CONFIRMATION DEPT. DOC.CONTROL APPROVAL

APPROVED BY

REVISION HISTORY CHECK ISSUED DATE DESCRIPTION TOTAL PAGE ISSUE 2002. . . - ESM-5907 SPECIFICATION ISSUE 19 PAGE

AD-A40 (210mm×297mm) KDE Inc.

DOC. NO. ESM-5907 REV. PAGE DATE

SPECIFICATION A 3 OF 19 2002.09.18

CONTENTS

1. GENERALS ------4

2. SYSTEM BLOCK DIAGRAM ------4

3. SPECIFICATIONS ------5

4. INTERFACE REQUIREMENTS ------6

5. COMMUNICATION PROTOCOL SEQUENCE ------9

6. COMMUNICATION PROTOCOL DESCRIPTIONS ------11

7. COMMUNICATION DETAILS ------12

8. DIMENSION ------17

1. GENERALS 1.1. Overview

AD-A41 (210mm×297mm) KDE Inc.

DOC. NO. ESM-5907 REV. PAGE DATE

SPECIFICATION A 4 OF 19 2002.09.18

This model is a motorized insertion slim type magnetic stripe and IC card reader with RS-232C interface and IFM(Interface Module) that is to decode data on triple (dual, single ) track of magnetic stripe and *IC card in accordance with ISO 7811/7816. ( Please refer to model Information table about each functional option.) * IC CARD is applied to t=0, t=1, and EMV protocol with additional support for selective synchronous IC cards. 1.2. Features 1.2.1. Mechanically designed for robust body structure to meet industrial standard. 1.2.2. Include a sub board which is KID-1000 to support the EMV IC card protocol. 1.2.3. Decode data on ISO 1, 2 tracks of magnetic stripe card. 1.2.4. Shutter mechanism 1.2.5. When the power is turned on, if a card is inside of ESM-5907 it will be ejected. 1.2.6. Communication performed by asynchronous or synchronous with interface in IC card 8(16) points of chip-contact move down individually and fully contact on chip surface regardless of bend card in accordance with the contact location and transitional contacts location in ISO 7816. 1.2.7. Card is to be returned automatically in case the pin can not be fully contacted on IC due to contamination.

2. SYSTEM BLOCK DIAGRAM

IBM PC/XT/AT/PS2 or RS-232-C CARD READER/WRITER Compatibles

IC CARD IC CARD INTERFACE MODULE

2.1. MODEL INFORMATION

5 9 E S ---

Interface Function Voltage Track Position Option Type M : RS-232C 5 : Read only 5:12V Without Capture 0 : Without Magnetic 0 : Without Shutter 6:12V With Capture Head 1 : With Mechanical Shutter 7:24V Without Capture 1 : ISO 1 2 : With Electronical Shutter 8:24V With Capture 2 : ISO 2 4 : With IC (8pin) + 9 : Customized 3 : ISO 3 Electronical Shutter 5 : ISO1/ISO2 5 : With IC (16pin) + 6 : ISO2/ISO3 Electronical Shutter 8 : ISO1/ISO2/ISO3 6 : With IC Contact (8pins) 7 : With IC Contact

AD-A41 (210mm×297mm) KDE Inc.

DOC. NO. ESM-5907 REV. PAGE DATE

SPECIFICATION A 5 OF 19 2002.09.18

(8pins)& Mechanical Shutter 8 : With IC Contact (16pin) 9 : With IC Contact (16pins)&Shutter ESM-5907 : ISO1/ISO2 & WITH IC contact(8PIN) & Mechanical Shutter

2.2. RS-232 Connection

HOST SG SG CARD READER TXD TXD

RXD RXD

3. SPECIFICATION 3.1. Card Standard 3.1.1. Magnetic Stripe Card Card Standard ISO 7811 Track ISO 1 Track I (IATA) ISO 2 Track II (ABA) ISO 3Track III (Not Used) Reading Method F2F Card Thickness Plastic : 0.76 + 0.08 mm 3.1.2. IC Card : ISO 7816 PART 2 3.2. Environmental Requirement 3.2.1. Ambient Temperature - Storage : -20°C ~ 70°C ( No functional error to be found in 12 hours after returning to normal environment. ) - Operating : 5°C ~ 50°C ( In 0℃ to +5℃ range, all specifications but ' Warped Card ' to be satisfied. ) 3.2.2. Ambient Relative Humidity -Storage : 0 ~ 95% ( No functional error to be found in 12 hours after returning to normal environment. ) - Operating : 0 ~ 90% (No Condensation) 3.2.3. Vibration : Amplitude 2 mm within 2G or less,. 10 to 50Hz. 3.2.4. Hz in X, Y, Z directions for 30 min. 3.2.5. Shock : 30 G, 11 ms 3.3. Physical Characteristics 3.3.1. Dimensions : See Section 9. Dimension drawing 3.3.2. Weight : Approximately 1,000 g 3.3.3. Power Requirement (1) Input Voltage : 24V DC ± 5% : 5V DC ± 5% ( KID-1000 ) (2) Power Consumption Motor Starting or Reversing : Less than 1.5A (24V DC, 50msec) Card Feeding : Less than 400mA (24V DC)

AD-A41 (210mm×297mm) KDE Inc.

DOC. NO. ESM-5907 REV. PAGE DATE

SPECIFICATION A 6 OF 19 2002.09.18

(3) Ripple : Less than 200mVp-p (24V DC) Less than 50mVp-p ( 5V DC) (4) Operating Locus : Indoor use only

3.4. Operational Characteristics 3.4.1. Feeding Card Speed : 350 mm/sec + 20% 3.4.2. Life of a head : Min. 1,000,000cycle (One pass stands for one direction movement in forward and backward ) 3.4.3. Mechanism : Belt Timing :700,000 cycle Angle Ring :400,000 cycle Mecha(gear):400,000 cycle 3.5. Error Rate Mag. card : Less than 1/200 Times per each track. Ic card : Less than 1/200 cycles (one cycle : bi-direction movement in forward and backward) 3.6. Jitter Rate Read : Less than 15% per each track of encoded card 3.7. Warped Cards This term refers to an evenly warped card having a height from the top of the convex surface to the base of the warped edge.

H = 3.0 mm maximum for card not jamming 2.0 mm maximum for availability to read.

4. INTERFACE REQUIREMENTS 4.1. Physical Constructions 4.1.1 RS-232 Connector. (MAIN INTERFACE BOARD, CN1-MOLEX 5268-05) RS-232-C HOST PC MSR Input/Output Function Signal Name 25 pin 9 pin CN1 TXD 2 3 1 O Transmit Data RXD 3 2 2 I Receive Data RTS 4 7 3 O Request to Send CTS 5 8 4 I Clear to Send SG 7 5 5 GND Signal Ground 4.1.2. Power and RS-232 Connector. (KID-1000, CN1 : MOLEX 53015-05) Signal Name CARD R/W Function (5 pin) TXD 1 Transmit Data RXD 2 Receive Data VCC 3 Supply Voltage IC SW 4 IC CARD S/W GND 5 Signal Ground

AD-A41 (210mm×297mm) KDE Inc.

DOC. NO. ESM-5907 REV. PAGE DATE

SPECIFICATION A 7 OF 19 2002.09.18

#1 #5

4.1.3. Power Connector: (MAIN INTERFACE BOARD, CN6 -- MOLEX 5268-04) Pin No. Signal Name Function 1 24 V +24 VDC 2 GND Ground 3 GND Frame Ground 4 5V +5V DC (Option) #4 #1

4.1.4. Ic card Connector: KID-1000, CN3 – zip connector Pin No. Signal Name Function 1 GND Ground 2 IC-VCC IC CARD VCC 3 AUX 1 Auxiliary 4 IC-RST IC CARD Reset 5 I/O Input/Output 6 IC-CLK IC CARD Clock 7 AUX 2 Auxiliary 8 AUX 3 Auxiliary

#1 #8

4.2. Logical Constructions 4.2.1. Transmission Control Specification (1)Type : Asynchronous, Half duplex. (2) Track Select. SW1 SW2 SW3 Track Select OFF OFF ON ISO- 1 OFF ON OFF ISO- 2 ON OFF OFF ISO- 3 ON ON ON ISO- 1,2,3 OFF ON ON ISO- 1,2 ON ON OFF ISO- 2,3 OFF OFF OFF Not use

AD-A41 (210mm×297mm) KDE Inc.

DOC. NO. ESM-5907 REV. PAGE DATE

SPECIFICATION A 8 OF 19 2002.09.18

(3) Baud Rate : 1200, 2400, 4800, 9600 and 19200 ( Dip SW : KSD08H ) SW4 SW5 Baud Rate OFF OFF 2400 OFF ON 4800 ON OFF 9600 (default) ON ON 19200

(4) Function Select SW6 SW7 SW8 Function Select OFF OFF OFF Without EMV Func OFF ON ON Use EMV Func ON OFF OFF Program Download

(5) Data Length : 8 , None parity (6) Start : 1 bit (7) Stop bit : 1 bit (8) Character Code : ASCII

4.2.2. Transmission Control Method Command / Response method : CARD READER executes a particular operation according IC CARD R/W executes a particular operation according to the command from Host, and reports the results of the execution to Host(using EMV).

4.2.3. Transmission Control Characters STX (02h) Indicate start of text. ETX (03h) Indicate end of text. ENQ (05h) Request to send response. ACK (06h) Send positive response. NAK (15h) Send negative response. DLE EOT Clear the line and reset MSR (10h04h) CR (0Dh) Carriage return.

4.2.4. Text Configuration (1) Command / Response

S E B C T T C R X X C

BCC Range

(2) Control Characters

A C N C E C D E C C R A R N R L O R K K Q E T

AD-A41 (210mm×297mm) KDE Inc.

DOC. NO. ESM-5907 REV. PAGE DATE

SPECIFICATION A 9 OF 19 2002.09.18

Note : 1) BCC & CR are omissible according to Fm in INITIALIZE command. 2) Gap between characters is less than 20 msec. 3) BCC does not include STX and calculated by EXCLUSIVE OR in BCC range.

4.2.5. Data Gap During receiving mode, if 15 msec time-out occurs, CARD Reader assumes that receiving 1 block data is completed.

4.2.6. Cancel of Command Whenever receiving ' DLE EOT ( 10h 04h ) ' characters, CARD Reader stops the current execution right away, sends ' DLE EOT ' and waits for the next command. If ' DLE EOT ' is received during the transmission of response, CARD R/W returns to command receive mode after the completion of the transmission. If ' DLE EOT ' is received during the processing of ENTRY, RETRIEVE, or EJECT command, the card is ejected.

5. COMMUNICATION PROTOCOL SEQUENCE 5.1. Regular Operations 5.1.1. Commands HOST Command ENQ

CARD READER ACK Execution Response

5.1.2. Cancel of Command ( DLE EOT ) HOST Command DLE EOT

CARD READER ACK DLE EOT

5.2. Irregular Operations ( Communications Errors ) 5.2.1. Commands 20 msec. Time-out

HOST Command Command ENQ

CARD READER ACK Execution Response

AD-A41 (210mm×297mm) KDE Inc.

DOC. NO. ESM-5907 REV. PAGE DATE

SPECIFICATION A 10 OF 19 2002.09.18

HOST Command Command ENQ

Error

CARD READER NAK ACK Execution Response

HOST Command Command ENQ

Error

CARD READER NAK ACK Execution Response

HOST Command ENQ Command ENQ

Error

CARD READER ACK ACK Execution Response

HOST Command ENQ ENQ

Error

CARD READER ACK Execution Response Response

5.2.2. Cancel of command HOST Command DLE EOT DLE EOT

Error

CARD READER ACK DLE EOT

HOST Command DLE EOT DLE EOT

Error

CARD READER ACK DLE EOT DLE EOT

AD-A41 (210mm×297mm) KDE Inc.

DOC. NO. ESM-5907 REV. PAGE DATE

SPECIFICATION A 11 OF 19 2002.09.18

6. COMMUNICATION PROTOCOL DESCRIPTIONS 6.1. Format Details 6.1.1. Command Format 'C( 43h )' cm pm Data* *Only for Initialization commands ( cm = 30h ),and IC card direct ( cm = 39h ) See Section 7. for more information.

6.1.2. Positive Response Format 'P( 50h )' cm pm st1* st0* Data** * Status Code Byte. See Section 6.3 for the status code table. ** Only for Initialization command ( cm = 30h, pm = 31h ), Status Request command ( cm = 31h, pm = 31h ),and Read command ( cm = 36h ), IC card power ( cm = 38h , pm = 31h ), IC card direct ( cm = 39h ) and Get Version (cm = 3Ch ). See Section 7. for more information.

6.1.3. Negative Response Format 'N( 4Eh )' cm pm e1* e0* * Error Code Byte. See Section 6.4 for the error code table. Note: If e1 = 0 ( 30h ) and e0 = 1 ( 31h ), '01' is the status code and it also applied to the error codes.

6.2. Command Parameter Code List Command cm Pm Description* INITIALIZE 30h 30h Initialize CARD Reader and IC CARD R/W and then eject the card if a card is inside CARD Reader 31h Initialize CARD Reader and IC CARD R/W and then capture the card if a card is inside CARD Reader 32h Initialize CARD Reader and IC CARD R/W and then retain the card if a card is inside CARD Reader STATUS 31h 30h Report the presence and the position of a card REQUEST 31h Report the presence and the position of a card in detail ENTRY 32h 30h Accept the magnetic card 32h Accept the IC card EJECT 33h 30h Eject the card to the front 31h Eject ( Capture ) the card to the back MAGNETIC CARD 36h 30h Move card without reading ( for cleaning purpose ) READ 31h Read ISO 1 and transmit data 32h Read ISO 2 and transmit data 35h Read all tracks and transmit data 36h Clear the read buffer memory IC POWER 38h 30h IC power off 31h IC power on (EMV card) IC CARD DIRECT 39h 30h Data transmit to and from the IC card GET VERSION 3Ch 30h Get version RETRY 3Eh 30h Set retry count to 0 31h Set retry count to 1 32h Set retry count to 2 33h Set retry count to 3 34h Set retry count to 4 ( Default ) *See Section 7. for more information

AD-A41 (210mm×297mm) KDE Inc.

DOC. NO. ESM-5907 REV. PAGE DATE

SPECIFICATION A 12 OF 19 2002.09.18

6.3. Error Code List Code Description '00' Command unidentified '01' Parameter incorrect '02' Command cannot be executed '04' Command data error '05' Time error ( For entry ) '06' Card error ( Irregular ) '10' Card jammed ‘12’ IC card not exist ‘13’ IC card no ATR(without KID-1000) ‘79’ IC card no ATR(with KID-1000) '16' Card position moved '17' Card jammed on retrieve '18' Card jammed on IC card contact '19' IC card communication error '21' Read error - Pre-amble error '22' Read error - Post-amble error '23' Read error - LRC error '24' Read error - Parity error '25' Read error - Blank track '27' Card entry disabled

6.4. Status Code List Code Description ‘00’ No Card Detected ( including gate ) ‘01’ Card at gate ‘02’ Card inside CARD Reader ( transport )

7. COMMUNICATION DETAILS 7.1. INITIALIZE ( cm = 30h ) After power on, CARD Reader needs to be initialized with INITIALIZE command in order to receive commands from HOST, execute them, and send the results. INITIALIZE command initializes the CARD Reader with the parameters provided and sets the CARD Reader to the default settings. 7.1.1. Command 'C' 30h Pm 33h* 32h* 34h* 30h* Fm Pd Wv Sh Ds Ty Cp * Mandatory sequence for future use.

7.1.2. Positive Response 'P' 30h pm st1 st0 Type code* * Only when Ty is set to 31h.

7.1.3. Negative Response 'N' 30h pm e1 e0

pm: Specifies the ejection of a card inside CARD Reader( Initialization only ) 30h Eject the card to front 31h Eject ( capture ) the card to back AD-A41 (210mm×297mm) KDE Inc.

DOC. NO. ESM-5907 REV. PAGE DATE

SPECIFICATION A 13 OF 19 2002.09.18

32h Retain the card ( in transport )

Fm: Specifies the command format. CR BCC 30h No No 31h Yes No 32h No Yes 33h Yes Yes Pd: No function. Wv: No function. Sh: Specifies the shutter open/close test when CARD Reader is initialized . 31h Shutter open/close not to be tested. (default ‘0’) Ds: No function Ty: Specifies the response format for type recognizing codes. 30h No type recognizing code in the response. 32h Type recognizing codes ( 5 bytes ) in the response.

'P' 30h pm st1 st0 I* II* III* IC** 32h * I for ISO Track 1 and II for ISO Track 2 * Type Recognizing Code '0' N/A '1' Read Only ** Support IC CARD '0' N/A '1' IC card able Cp: No function 30h: Default

7.2. STATUS REQUEST ( cm = 31h ) STATUS REQUEST command is sent to know if a card is inside CARD Reader the position of it. CARD Reader always sends two byte status report( st1 & st0 ) and one or two byte status report ( se2, se1 & se0 ) is added depending on pm. 7.2.1. Command 'C' 31h pm

7.2.2. Positive Response 'P' 31h pm 30h se1 * pm = 31h only.

7.2.3. Negative Response 'N' 31h pm e1 e0 pm: Specifies the response format 30h se not included 31h se included Details of se byte: se1 : 0 1 0 b7 b3 b2 b1 b0

AD-A41 (210mm×297mm) KDE Inc.

DOC. NO. ESM-5907 REV. PAGE DATE

SPECIFICATION A 14 OF 19 2002.09.18

b0 PH1 1: Card detected 0: Card not detected b1 PH2 1: Card detected 0: Card not detected b2 PH3 1: Card detected 0: Card not detected b3 PH4 1: Card detected (Option) 0: Card not detected (Option) b7 MSW 1: IC card sensing 0: IC card no detected

7.3. ENTRY ( cm = 32h ) ENTRY command accept the IC card or magnetic card depending on pm. MAGNETIC CARD ENTRY command accepts the magnetic card that meets the conditions set by DISABLE/ENABLE command. By default, CARD Reader checks the width of the card and the magnetic flux on ISO Track II and III. If card staying on shutter and no inserted more response is time error (code "05"). 7.3.1. Command 'C' 32h PM

7.3.2. Positive Response 'P' 32h Pm st1 st0

7.3.3. Negative Response 'N' 32h Pm e1 e0

pm: Specifies the entry card 30h magnetic card 32h IC card without communication

7.4. EJECT ( cm = 33h ) EJECT command ejects the card to front or to back depending on pm. When a card is ejected to front, its one end remains in between rollers so that CARD Reader could retrieve it unless the card is removed. 7.4.1. Command 'C' 33h Pm

7.4.2. Positive Response 'P' 33h pm st1 st0

7.4.3. Negative Response 'N' 33h pm e1 e0 pm: Specifies the eject direction 30h To front 31h To back ( Capture )

7.5. RETRIEVE ( cm = 34h ) RETRIEVE command retrieves the ejected card that is not removed. RETRIEVE command does not work after the INITIALIZE-EJECT command. It works only after EJECT command is executed. The difference between ENTRY command and RETRIEVE command is that RETRIEVE command does not wait for a card to be inserted. 7.5.1. Command 'C' 34h 30h 7.5.2. Positive Response

AD-A41 (210mm×297mm) KDE Inc.

DOC. NO. ESM-5907 REV. PAGE DATE

SPECIFICATION A 15 OF 19 2002.09.18

'P' 34h 30h st1 st0 7.5.3. Negative Response 'N' 34h 30h e1 e0

7.6. MAGNETIC CARD READ ( cm = 36h ) READ command reads the card and sends the data to HOST. STX, ETX, and LRC will not be sent to HOST. Should a read error occur, CARD R/W retries to read the card depending on RETRY count set by RETRY command. In case of a single track read, if a read error happens, a negative response will be sent to HOST, but in case of all track read, a positive response will be sent to HOST with the error code in the place of corresponding track data.

7.6.1. Command 'C' 36h pm

7.6.2. Positive Response for one track read for all track read 'P' 36h pm st1 st0 Data 1 00h Data 2 00h Data 3 Each data of between track and track is distinguish as ‘00’

7.6.3. Negative Response 'N' 36h pm e1 e0

pm: Specifies the track to read. 30h Card movement only ( for cleaning purpose ) 31h Read ISO 1 32h Read ISO 2 33h Read ISO 3 35h Read All Track 36h Clear the read buffer memory Notes : If it is not supported track for each model response is code "02" ex) KSM-5751 ( Usable ISO 1, 2 / Not supported ISO 3 )

pm "33h" Æ N6302 ( Negative response : Command cannot be executed ) Error Code for All Track Read Code Description E1h Pre-amble error E2h Post-amble error E3h LRC error E4h Parity error E5h Blank track

7.7. IC POWER ( cm = 38h ) IC POWER command is for power on/off to communicate with the IC card. 7.7.1. Command 'C' 38h pm

7.7.2. Positive Response 'P' 38h *pm st1 st0 Data* * When EMV card is inserted, pm is set to 31h ( Hexa value ) * When ME2000,STARCOS T0 card is inserted, pm is set to 32h (Hexa value)

AD-A41 (210mm×297mm) KDE Inc.

DOC. NO. ESM-5907 REV. PAGE DATE

SPECIFICATION A 16 OF 19 2002.09.18

7.7.3. Negative Response 'N' 38h pm e1 e0 pm: Specifies the IC power on/off 30h IC power off 31h IC power on 32h SEL card power

7.8. IC CARD DIRECT ( cm = 39h ) IC CARD DIRECT command is for communication with the IC card, and it is available after executing IC POWER ON.

7.8.1. Command 'C' 39h 30h Data* * Hexa value ( 2 X n bytes )

7.8.2. Positive Response 'P' 39h Pm st1 st1 Data* * Hexa value

7.8.3. Negative Response ‘N’ 39h Pm e1 e0 pm: specify the commands 30h Communicate with IC Card

7.9. GET VERSION ( cm = 3Ch ) 7.9.1. Command 'C' 3Ch 30h

7.9.2. Positive Response 'P' 3Ch 30h st1 st0 Data

7.9.3. Negative Response 'N' 3Ch 30h e1 e0

AD-A41 (210mm×297mm) KDE Inc.

DOC. NO. ESM-5907 REV. PAGE DATE

SPECIFICATION A 17 OF 19 2002.09.18

8. DIMENSION

< KID-1000 DIMENSION >

AD-A41 (210mm×297mm) KDE Inc.

DOC. NO. ESM-5907 REV. PAGE DATE

SPECIFICATION A 18 OF 19 2002.09.18

< WITH ELECTRONICAL SHUTTER, KID-1000 & CAPTURE MODEL (OPTION) >

AD-A41 (210mm×297mm) KDE Inc.

DOC. NO. ESM-5907 REV. PAGE DATE

SPECIFICATION A 19 OF 19 2002.09.18

< WITH MACHANICAL SHUTTER & WITH CAPTURE MODEL >

AD-A41 (210mm×297mm) KDE Inc.