OPERATION MANUAL Card Reader Communication

Similar documents
1. Introduction. 2. Installation MODBUS INTERFACE

MODBUS Protocol Version

User Guide. Modbus Module. For Digistart soft starters. Part Number: Issue: 3.

It is the installer's responsibility to follow all instructions in this manual and to follow correct electrical practice.

JCL-33A (C5) Warning. 1. System Configuration COMMUNICATION INSTRUCTION MANUAL

THT-500-A/R (C5) 1. System Configuration COMMUNICATION INSTRUCTION MANUAL. No. THT5CE

BULLETIN 1203-GD2, -GK2 & 1336-GM2 DF1 MESSAGING (FULL DUPLEX / POINT-TO-POINT)

1. System Configuration

Card Dispensing/Collecting Machine

S-Series Sensor ASCII Protocol v8.1.0

Controlling the projector using a personal computer

C1098 JPEG Module User Manual

Controlling the projector using a personal computer

EXPERIMENT 8: Introduction to Universal Serial Asynchronous Receive Transmit (USART)

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

MANUAL SWIPE MAGNETIC CARD IC CARD READER/WRITER CONTENTS. 1. INTRODUCTION...Error! Bookmark not defined.

Addmaster Corporation

Leica LP C (Laser Printer for Cassettes) System Requirement & Specifications

Communications Interface (RS-485) Instruction Manual

RS485 INSTRUCTION MANUAL. DM4500 Series. Page 1 of 6

Pins 2, 3 - Baud rate select - Selects the baud rate for the serial transmission.

JCS, JCM, JCR, JCD-33A (C5)

A GUIDE TO RS-232 COMMUNICATION WITH FX PLCS

DirectNET Host. Communications Programs. In This Chapter...

COMMUNICATION INSTRUCTION MANUAL Temperature Controller KT4R

TABLE OF CONTENTS. Communication Functions

EXPERIMENT 7: Introduction to Universal Serial Asynchronous Receive Transmit (USART)

FPU-16 A-B PROTOCOL/DATA LOGGER MANUAL

VC-C50i COMMUNICATION CAMERA PROGRAMMER'S MANUAL

1. System configuration

THERMO-CON. Model No. HECR002-A5. Keep available whenever necessary.

Ultrabeam RCU-06 USB port description

Aceprox FSK Proximity Reader REV2 Data Sheet

MANUAL SWIPE MAGNETIC CARD READER/WRITER

MELSEC iq-f FX5 User's Manual (MELSEC Communication Protocol)

Doug Fleenor Design, Inc. RS-232 to DMX512 Interface, 2 Generation. March 8, 2010 (Software V1.2)

VC-C4 COMMUNICATION CAMERA PROGRAMMER'S MANUAL

MSR Series. Portable Battery-Powered Magnetic Swipe Reader User's Manual TM951016

JMY505G User's Manual

INTELLIS. Modbus Direct Network Monitor

mifare ID Reader with Selectable Outputs Data Sheet

Metal Guard Tour Terminal. Manual Part Number : TM REV : 01 November 2004 GIGA-TMS

CW120/121 CLAMP-ON POWER METERS Communication Functions

Card Issuing Machine for IC Card

Lecture (09) x86 programming 8

I/O Organization John D. Carpinelli, All Rights Reserved 1

Communication Protocol for Solder Feeder (SFR) Programmer s Guide

2D BARCODE SCANNER CA-SC-20200B

2. Terminal arrangement TEMPERATURE CONTROLLER KT2 COMMUNICATION INSTRUCTION MANUAL. (Fig. 2-1)

RS232/LAN Serial Communication Control. Specification for A3112 (MDT701S/LDT701V)

RS-232 Serial Communication Control

EWBS Receiving Module Communication specifications

SR23 Series. Instruction Manual

USER INTERFACE RS232-C

Input-Output Organization

MSR120. Programmer s Manual

Card Issuing Machine for Magnetic, Contact & IC Card

Serial LCD II with 11 Remote DIO

PM290 POWERMETER. Communication Protocols ASCII & Modbus Reference Guide

General Remote Interface Description. en General Remote Interface Description

Description of communication protocols of Txxxx series

DB-II Serial Communication Protocol Revision 0.2(English)

TRANSMITTER T3311, T3411

General Specifications

DTSX3000 Communications(Modbus) Guide

QBridge. I2C, SPI, CAN Control Software User s Manual. Date: Rev 1.3

PR201/UZ005 Power Monitor Communication Functions

V850ES/SG3, V850ES/SJ3

D I G I M A X BINARY COMMUNICATIONS PROTOCOL SYSTEM COMMAND AND CONTROL LANGUAGE APPLICATION MANUAL. Revision B1 April 30, 1993

ambient XC RS232 Control Command Specification

Modbus Remote Communication Protocol for REM 54_. Technical Description

Desktop Reader and Wall Reader Adaptor USER MANUAL DOCUMENT REVISIONS

1. System Configuration

Vorne Industries. Model 77/232 Serial Input Numeric 3" Display User's Manual

R. E. SMITH, 4311 TYLERSVILLE ROAD, HAMILTON, OHIO CAS24 Code Activated Switch (PRELIMINARY INFORMATION, MARCH 3, 2001)

Specification. For. Serial Interface DN-T645/625

PayLink-IP/232 Configuration Guide 2005 Lava Computer MFG Inc.

CONFIGURATION: The Reader, LED Indicator, pin numbers for the 9-pin connector and the 25-pin adapter are shown in Figure 1-2.

Controlling the projector via RS-232C connection. Contents. 1. Introduction Connection Interface... 2

MSR120. Magnetic Stripe Card Reader Universal Serial Bus (USB) Interface. Programmer s Manual

Series 370 Stabil-Ion Gauge Controller with RS-485 Interface Option

I/O Interface DNA300

Controlling the projector using a personal computer

PRE32 RS232 protocol v1.21 Tomas Andersson

Modbus TCP Client Ethernet Modbus TCP Client Modbus TCP Server Ethernet Modbus TCP Server 5

1. Communication Data Frame

Card Issuing Station For Magnetic, Contact & IC Card

XR-200 MINI DOT IMPACT PRINTER PRODUCT SPECIFICATION DATE : MAY 3, 2004 MANUAL REVISION 2.0

Datalogger and RS232 Interface

Copyright: December 2017 Nidec Issue: E

RS-232 Control of the Advantage EQ281/8, EQ282/8 and Advantage SMS200

VIGOR PROGRAMMABLE LOGICAL CONTROLLERS VIGOR ELECTRIC CORP.

Control Characters used in DirectNET

JMY504M User's Manual

Serial Interface Communication Protocol

QEL - DEDESCO 5935 Ottawa Street Richmond, Ontario, Canada, K0A 2Z0.

Controlling the projector using a personal computer

OEM Proximity Reader with Keypad Manual REV1

TR515. Time Recorder V1.4-C

RF Card Issuing Machine with

Transcription:

KC-0001-06-SI 2001-Apr.-2 OPERATION MANUAL Card Reader Communication Protocol SCR-9xxF 9xxF-xR xr-xxxx xxxx NEURON Corporation Copying is prohibited without NEURON Corporation s permission This specification is subject to change without prior notice

KC-0001 Contents 1 INTRODUCTION...1 1-1 PRODUCT DESCRIPTION... 1 1-2 FEATURES... 1 2 ENVIRONMENT...2 2-1 COMMUNICATION AND POWER CABLES... 2 2-2 DIP SWITCH... 2 3 COMMUNICATIONS...3 3-1 CONTROL CHARACTERS... 3 3-2 DATA CHARACTERS... 3 3-3 COMMUNICATION PACKET... 3 4 OPERATION CONTROL......4 4-1 FLOWCHART OF CONTROL TIMING... 4 4-2 COMMUNICATION STATUS... 5 4-2-1 Normal status... 5 4-2-2 Abnormal status... 5 4-3 RESPONSE... 5 4-3-1 Normal... 5 4-3-2 Abnormal... 5 5 COMMANDS and MESSAGES......6 5-1 CARD CONTROL... 6 Command and Message List. 6 5-1-2 Read Command... 6 5-1-3 Prohibit Command.. 7 5-1-4 Status Check Command... 7 5-1-5 Reset Command... 7 5-2 RESPONSE MESSAGES... 8 5-2-1 Message for Read command... 8 5-2-2 Return Codes for Read Command... 9 5-2-3 Status Check Message... 9 5-2-4 CPP Sensor Event... 9 5-2-5 Error Message... 10 5-3 EEPROM CONTROL... 10 5-3-1 Command and Message... 10 5-3-2 EEPROM Access Enable Command... 10 5-3-3 EEPROM Access Disable Command... 11 5-3-4 EEPROM Data Read Command... 11 5-3-5 EEPROM Write Start Command... 11 5-3-6 EEPROM Data Write Command... 12 5-3-7 EEPROM End Write Command... 12 6 EEPROM DEFAULTS......13

KC-0001 1 INTRODUCTION 1-1 Product Description The SCR-9xxF series is a flush bezel insertion type card reader. Card data can be read in either direction (push-in or pull-out). 1-2 Features Dip Switch function Two dip switches are located on the PCB DSW1 and DSW2. DSW2 will be enabled when switch 4 on DSW1 is on. EEPROM functions can be modified by changing the settings of DSW2. EEPROM function The EEPROM contents can be modified to change the operation of the unit. Commands function The unit can be controlled using commands from a HOST PC. 1

2 ENVIRONMENT 2-1 Communication and Power Cables Communication cable See the hardware specification document for communication pin-out. Power cable See the hardware specification document for power pin-out. 2-2 Dip Switch Note : Usually ly dip-switches are set all off DSW 1 1 2 3 4 ON : ON DSW 2 : OFF Switch 4 on will enable DSW2. Switches 1-3 are not used. 1 2 3 4 5 6 7 8 ON : ON : OFF DSW2-1 ON OFF DSW2-2 ON OFF DSW2-3 ON OFF DSW2-4 ON OFF DSW2-5 DSW2-6 ON OFF DSW2-7, 2-8 Pull Type (Read - way out) CPP On Event Insertion Type (Read - way in) CPP Off Event Enable sensor (CPP) send event Disable sensor (CPP) send event Reader does not wait after sending data (No Handshaking) Reader waits for acknowledgement (ACK) after sending data Enable power on message Disable power on message Reserved Baud rate 19200 bit/s Baud rate 9600 bit/s Reserved 2

3 COMMUNICATIONS 3-1 Control Characters Name Code Contents STX 02 Start of text data (Header) ETX 03 End of text data (End Code) US 1F Data separator ACK 06 Acknowledge CR 0D Carriage Return DLE 10 Data Link Escape NAK 15 Negative Acknowledge BCC Block Check Character 3-2 Data Characters All ASCII characters, except for the control characters listed in section 3-1, can be used as character string data. Use of control characters in the Character String Data portion of the packet data may cause the unit to malfunction. 3-3 Communication Packet The Communication Packet consists of five blocks: < Header > < Control Command> < Parameter ><End > Code> < BCC > Header : 02h Control command : Refer control command 5-1. Parameter : Refer control command 5-1. Terminator : 03h BCC : 1byte (Be able to select non, 1byte, 2byte+CR.) Note BCC (Block Check Character) is calculated by using the XOR Boolean Function from the first byte after STX through and including ETX. Case of set 2byte BCC, should send CR in addition to ACK, NAK and DLE. 3

4 OPERATION CONTROL 4-1 Flowchart of Control Timing No Start of Data End Yes a) Can t receive other command data during card operation or receive command. b) When send communication packet after ACK, NAK or DLE, Host should take a interval time more than150ms. c) RS signal is fixed ON while the unit is working. d) SCR-9xxF can receive the commands required less CS level. Send Data End of Data 4-1-1 SCR-9xxF to Host Start of Data a) Host controller should be enable RS signal ON. b) SCR-9xxF checks communication status. Enable CS No Yes c) SCR-9xxF sends a one byte. d) SCR-9xxF repeats that transaction from b) to c) each one byte until all data sending. No CS ON? Yes SCR-9xxF is able to select non check signal on check CS signal when send communication. No Transmit End Yes Send Data End of Data 4

4-2 Communication status 4-2-1 Normal status SCR-9xxF returns ACK or response packet when received normal communication packet. Refer to Case of returns ACK, is applied to Read command, and inhibit command or reset command. Case of returns response packet, is applied to status information packet. 4-2-2 Abnormal status Case of return NAK. Parity Error, Framing Error, Overrun Error, ETX incorrect, ETX non, BCC incorrect and BCC non. Host should send communication packet again. Case of return Error status Don t detect command and incorrect communication packet formats. Host should confirm sending communication commands. Case of return nothing Don t detect header of communication packet. Host should confirm sending communication packet or communication speeds. 4-3 Response 4-3-1 Normal SCR-9xxF send communication packet. Host should return ACK, when it received correct communication packet. 4-3-2 Abnormal Case 1 Case of invalid (refuse) communication packet from SCR-9xxF, Host send DLE. Case 2 When receive communication packet incorrect, Host should send NAK. After received NAK, SCR-9xxF send the communication packet again to the HOST. Return to normal operation mode, when over retry times. (Default value is 3 times.) Case 3 Return normal operation mode, when the Host doesn t send response to SCR-9xxF within setting time. (Default value is 3 times.) Note When send communication packet after ACK, NAK or DLE, Host should take an interval time more than150ms. 5

5 COMMANDS and MESSAGES 5-1 Card Control Command and Message List Command List Command Name Identifier Parameter Card Data Read CRC Read track designation Prohibit Command PP None Status Check PSC None Reset Command PR None Message List Message Name Identifier Parameter Card Read Data CRC Read data or error information Status Check Result PSC 3 digit status information CPP Sensor Event AE 2 digit event information Error Message NG 3 digit error status information 5-1-2 Read Command Identifier: CRC (43h 52h 43h) Message: CRC Parameter Syntax: < a > < b > < c > Parameter Length Code Description <a> 1 0(30h) Specifies the individual track. <a> is track 1 1(31h) 1(31h)=Enable, 0(30h)=Disable <b> 1 0(30h) Specifies the individual track. <a> is track 2 1(31h) 1(31h)=Enable, 0(30h)=Disable <c> 1 0(30h) Specifies the individual track. <c> is track3 1(31h) 1(31h)=Enable, 0(30h)=Disable Example CRC CRC010 Read all three tracks Read track 2 only If there is no track designation, the unit reads all three tracks. If illegal characters are used on the card, the unit processes an error. 6

5-1-3 Prohibit Command Identifier: PP (50h 50h) Message: None Parameter Syntax: None This command is used to disable the read operation and CPP sensor event. 5-1-4 Status Check Command Identifier: PSC (50h 53h 43h) Message: PSC Parameter Syntax: None This command is used to retrieve status message PSC (See section 5-2-3). 5-1-5 Reset Command Identifier: PR (50h 52h) Parameter Syntax: None Message: None This command is used to reset the unit. 7

Response Messages 5-2-1 Message for Read command Identifier: CRC (43h 52h 43h) Parameter Syntax: <RC><a><US><RC><b><US><RC><c> Parameter Length Description <RC> 1 Return Code <a> 0-76 Specifies track 1 <US> 1 Unit Separator <RC> 1 Return Code <b> 0-37 Specifies track 2 <US> 1 Unit Separator <RC> 1 Return Code <c> 0-104 Specifies track 3 Example Message: CRC0ABCDEFG<US>1<US>2 Track 1 Track 2 Track 3 0 = Read OK (Data: ABCDEFG) 1 = STX error 2 = ETX error If an error is detected on a track only the return code will be included in the message. 8

5-2-2 Return Codes for Read Command Return Code <RC> OK Code Description 0(30h) Read data is correct Error Code Description 1(31h) Unable to find STX digit on the magnetic card stripe 2(32h) Unable to find ETX digit on the magnetic card stripe 3(33h) VRC (Vertical Redundancy Check) data on the magnetic card stri pe is incorrect 4(34h) LRC (Longitudinal Redundancy Check) data on the magnetic car d stripe is incorrect 5(35h) Data format on magnetic strip is incorrect 5-2-3 Status Check Message Identifier: PSC (50h 53h,43h) Parameter Syntax: < Waiting status > < Sensor > < Reserved > Parameter Length Code Description Waiting status 2 00(30h 30h) Prohibited 05(30h 35h) Waiting for insertion 06(30h 36h) Waiting for removal Sensor 3 000(30h 30h 30h) Off 100(31h 30h 30h) On Reserved 1 0(30h) Not Used Example Waiting for insertion and sensor OFF. prohibited and sensor ON. PSC050000 PSC001000 5-2-4 CPP Sensor Event Identifier: AE (41h,45h) Information of event status Parameter Syntax: Information Parameter Length Code Description Information 2 01(30h 31h) Insert type 02(30h 32h) Pull type 9

5-2-5 Error Message Identifier: NG (4Eh 47h) Parameter Syntax: Command or Parameter Parameter Length Code Description Command 3 001(30h 30h 31h) Mistaken control commands Parameter 3 002(30h 30h 32h) Mistaken control commands Format. 5-3 EEPROM Control 5-3-1 Command and Message Command List Command Description EO EEPROM Access Enable Command EC EEPROM Access Disable Command ER EEPROM Data Read Command EE EEPROM Write Start Command EW EEPROM Data Write Command ED EEPROM Write End Command EEPROM Messages Message Name Identifier Parameter EEPROM Data Read Response ER Hi Address, Lo Address, Hi Data, Lo Data 5-3-2 EEPROM Access Enable Command Identifier: EO (45h 4Fh) Message: None Parameter Syntax: < a > < b > < c > < d > < e > < f > < a > - < f > : 6 digit password, characters limited to the range of 20h ~ 7Ah The default password is NEURON (4Eh 45h 55h 52h 4Fh 4Eh) 1) If the password is correct, the Unit sends an ACK to the HOST after receiving EO command. 2) If the password is not correct, this command is ignored and the Unit sends a NAK to the HOST. 10

5-3-3 EEPROM Access Disable Command Identifier: EC (45h 43h) Parameter Syntax: none Message: None 1) At the completion of EEPROM access, the HOST must send this command to the Unit. 2) The Unit will send an ACK to the HOST after receiving this command. 5-3-4 EEPROM Data Read Command Identifier: ER (45h 52h) Message: ER Parameter Syntax: < nn > EEPROM Address Use n* n(2ah) to read all addresses with Hi Address n Use ** (2Ah)(2Ah) to read all addresses 1) Before using this command, the host must send the EEPROM Access Enable (EO) 2) If the HOST sends the Data Read Command before EEPROM Access Enable Command (EO), the Unit will send a NAK to the HOST. 3) After receiving the command, the Unit sends the data from the EEPROM that is located at t he specified address. 5-3-5 EEPROM Write Start Command Identifier: EE (45h 45h) Parameter Syntax: none Message: None 1) The Unit sends an ACK to the HOST after receiving this command. 2) If the HOST sends this command before EEPROM Access Enable Command (EO), the Unit will send a NAK to the HOST. 3) After receiving the command, you will be able to change the Unit s EEPROM data. 11

5-3-6 EEPROM Data Write Command Identifier: EW (45 57) Message: None Parameter Syntax: < aa >< dd > aa = EEPROM Address dd = Write Data Use a* a(2ah) to write all addresses with Hi Address a Use ** (2Ah)(2Ah) to write all addresses 1) Before using this command, you must send the EEPROM Access Enable (EO) and EEPROM Write Start (EE) commands. 2) If these commands are used before you send the EEPROM Access Enable Command (EO) and the Write Start Command (EE), the Unit will send a NAK to the HOST. 3) After receiving the command, the Unit writes the specified data into the EEPROM at the address defined with the parameter. 5-3-7 EEPROM End Write Command Identifier: ED (45h 44h) Parameter Syntax: None Message: None 1) The Unit will send an ACK to the HOST after receiving this command. 2) If the HOST sends the command before EEPROM Access Enable Command (EO) or Write Start Command (EE), the Unit will send a NAK to the HOST. 3) After sending this command, the EEPROM cannot be changed. 12

6 EEPROM DEFAULTS Contents Default value 96xF 97xF 98xF 93xF 91xF 93xF Track Mode Tr.1 Tr.2 Tr.3 Tr.1,2 Tr.2,3 Tr.1,2,3 Com speed 9600 bit/s Data Bits 7 bits Stop Bits 1 bit Parity Bits Even BCC 1 byte Header 02h End Code 03h Unit Separator None None None 1Fh 1Fh 1Fh Control Signal None Retries 3 Waiting Time 3 s Direction of 9x0F 9x2F Read-Way In Read-way Out 13