UIC UIC680 Скачать руководство пользователя страница 15

UIC680 Programmer’s Manual 

                                   UDN PM063-U Rev. 4 

 

3-5

where STX=02Hex and ETX=03Hex. 

 

Table 3-6. Example for Protocol 1 

 
 
 
 

 

Protocol 2 

In Protocol 2, all messages are preceded by the ASCII character <SOH>, followed by a 
one byte reader address, two bytes 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> 

 

Table 3-7. Example for Protocol 2 

 
 
 
 

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. 
 
 
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. Besides, all protocols enforce a 10mSec timeout 
between characters. 
 
 
 

 

Self – Arm Mode 

The default reader configuration is the “Self-Arm Mode”, which allows the payment 
cards (Including PayPass Magnetic Stripe, VISA MSD, ExpressPay card and the 
general magnetic stripe credit cards) reading functions to run automatically, reporting 
the card data 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 card reading functions to run by commands. 
 
 

 

Transmission Format 

In Self-ARM mode, the default setting of card data output doesn’t include the protocol 
envelope code. The user can turn on the envelope code by utilized the configuration 
command – SE, TO. (Please refer to the appendix section of UIC680 Configuration 
Guide) 
 
 

Host Command  Reader Response

Comment 

02h 50h 03h 51h

 

Ready to read

 

02h 5Eh 03h 5Fh

Reader ACK 

Host Command 

Reader Response 

Comment 

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

 

Ready to read 

 

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

Reader ACK 

Содержание UIC680

Страница 1: ...UIC680 Contactless Smart Card Reader Module RS232 Interface Programmer s Manual Document PM063 U Revision 4 Oct 5 2006...

Страница 2: ...may cause harmful interference 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...

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

Страница 4: ...3 Electrical Specifications 3 2 Power Required 3 2 Power Consumption 3 2 Communication 3 2 Communication Signal RS232 3 2 3 4 Environmental Specifications 3 2 Temperature 3 2 Humidity 3 2 3 5 Pin Ass...

Страница 5: ...H Transmit Track 1 data 4 7 R 52H Transmit Track 2 data 4 7 S 53H Transmit Track 3 data 4 7 H 48H Self ARM function disable enable 4 7 4 3 Contactless Card Operation Command Description 4 9 G 47H ISO1...

Страница 6: ...UIC680 Programmer s Manual UDN PM063 U Rev 4 V z 7AH I O to contactless card for block data exchange 4 15 4 4 Responses to the Host 4 16 Section5 Application Example 5 1...

Страница 7: ...de data pass through optional 9 F2F decoder data emulation optional 10 Firmware upgradeable 1 2 Application The contactless smart card reader module UIC680 is mainly to support the contactless payment...

Страница 8: ...UIC680 Programmer s Manual UDN PM063 U Rev 4 1 2 1 3 Part Number Description P N Description TBD UIC680 Contactless IC Card Reader Writer Module...

Страница 9: ...v 4 2 1 Section2 Configurations This section shows the dimensions and accessories of the UIC680 2 1 Dimensions of UIC680 PCBA Figure 2 1 Dimensions of UIC680 2 2 Dimensions of Remote Antenna PCBA Figu...

Страница 10: ...lowing accessories should be supplied along with UIC680 Make sure all the following accessories are contained in your package 1 Interface cable DB9 male connector 1 5M or USB type A plug optional 2 Pr...

Страница 11: ...0 BPS Support TTL level for serial data output optional Support TTL level for F2F decoder data output emulation optional Support direct matching antenna Support Remote 50 ohm matching antenna optional...

Страница 12: ...Standard RS232 signal level Compatible with USB 1 1 specification optional TTL 5V signal level optional Communication Signal RS232 Logic 1 3 volts to 15 volts or TTL level 5 volts Logic 0 3 volts to...

Страница 13: ...n Assignment Pin Signal Comment 1 Extended IO 2 Extended IO 3 Extended IO 4 Extended IO 5 GND 6 VCC 5Vdc 7 Extended IO 8 Extended IO 9 Extended IO 10 Extended IO 11 Buzzer output 12 Buzzer output 13 E...

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

Страница 15: ...10mSec timeout between characters Self Arm Mode The default reader configuration is the Self Arm Mode which allows the payment cards Including PayPass Magnetic Stripe VISA MSD ExpressPay card and the...

Страница 16: ...Polled The requested message is encapsulated in the protocol envelope The response of Transmit Track Data command list as below Read tk1 data for command Protocol Envelope code Tk1 prefix Tk1 Data Tk1...

Страница 17: ...Enable Protocol format USI0 Contactless Self ARM mode Enable Contactless smart card manual type Type A NOTE1 When Contactless self arm mode turns on UIC680 will automatic read the payment card1 in the...

Страница 18: ...when you want to know the version and copyright of the Model UIC680 firmware currently loaded The response is an ASCII string giving the firmware date yymmdd reader type and the firmware version numbe...

Страница 19: ...reader customer configuration data The data from the reader customer configuration area of the EEPROM will be transmitted to the host as hex values with the command 78 offset num The reader will retur...

Страница 20: ...Send this when you want to know the version of UIC680 firmware currently loaded The response is an ASCII string giving the firmware date mmddyy reader type and firmware version number Example 060706 U...

Страница 21: ...sent 1 Track 2 not present Track 2 present 2 Track 3 not present Track 3 present 3 7 Reserved for future use Reserved for future use Extended Configuration Bytes 16 bytes Byte 0 1 2 3 4 5 15 Remark Eq...

Страница 22: ...ctions and cause the device to execute all initialization functions The device will respond as it would for a power up cycle but always returning a 3AH This operation will take at least 3 seconds 09H...

Страница 23: ...it Track 3 data COMMENT 1 Detect the card type automatically and process data in the read buffer 2 If error is detected transmit proper error response or refer to Responses to the Host section 3 Else...

Страница 24: ...UIC680 Programmer s Manual UDN PM063 U Rev 4 4 8 RESPONSE Acknowledgement Cannot execute Bad parameter...

Страница 25: ...power up RESPONSE Acknowledgement Bad parameter O 4FH Antenna power ON COMMENT Apply power on the antenna This command is for manual command operation RESPONSE Acknowledgement Failed the reader is in...

Страница 26: ...ype A Binary Hex or ATQB 16 bytes type B Binary Hex if command executed successfully No card response or No power on the antenna c 63H Anticollision type A Slot Marker type B COMMENT In type A mode th...

Страница 27: ...e key stored in EEPROM or g Block number 3 bytes Key type Key 12 bytes Authenticate the card with the key in key field Block number There are two types of block format 000 to 255 30h30h30h to 32h35h35...

Страница 28: ...a 4 bytes or 16 bytes Block number There are three types of block number format 000 to 255 30h30h30h to 32h35h35h ASCII Hex General Mifare Block or B 00 00 to B 00 FF 42h00h00h to 42h00hFFh ASCII Hex...

Страница 29: ...0h to FFh For option 3 only the data format is same as block number RESPONSE Acknowledgement No card response or No power on the antenna Bad parameter X 58H Mifare classical card activation COMMENT P...

Страница 30: ...Key number 1 byte Key data 12 bytes Key number 0 to 4 30h to 39h ASCII Hex Key data 0 to 9 or A to F 30h 39h or 41h 46h ASCII Hex RESPONSE acknowledgement No card response or No power on the antenna...

Страница 31: ...s used to pass a block data to a card z CRC mode 1 bytes Wait time 4 bytes Block data 384 bytes max CRC mode 0 30h ASCII Hex Block data contain 2 bytes CRC and enable CRC transmission 1 31h ASCII Hex...

Страница 32: ...most recent command 2AH Command was received correctly But could not be completed 2BH No Magnetic Stripe Card Data Command was received correctly 3FH Communication Error Command was not received corr...

Страница 33: ...er configuration Once UIC680 receives the Self ARM disable command H0 see the command description section it turns off auto read function and waits for the Arm to Read command P for next transaction S...

Страница 34: ...uld be done only once to set the UIC680 to the proper state Due to the EEPROM life limitation it is recommended that don t change the EEPROM value very frequently Normally the configuration setting ha...

Страница 35: ...reading read zone or any magnetic stripe card swiped the magnetic stripe reader is optional device No matter the card is decoded succeed or failed it will return to indicate the card has been read Th...

Отзывы: