Compact Reader ARE i2 - HF Installation Guide for Systems with a USB interface
1 INTRODUCTION ............................................................................................................ 5 2 SYSTEM OVERVIEW .................................................................................................... 5 3 INSTALLATION ............................................................................................................. 5 3.1 Mounting of the housing .......................................................................................................
5.3.3 5.3.4 5.3.5 5.3.6 5.3.7 5.3.8 5.3.9 CN – suppression of No Reads .......................................................................................................... 21 INIT – initialization ......................................................................................................................... 22 MC – mirror code ............................................................................................................................. 22 TOR – maximum reading time ..........
8 INSTRUCTIONS .......................................................................................................... 45 9 FCC INFORMATION .................................................................................................... 46 10 HOTLINE .................................................................................................................. 47 11 REVISIONS ..............................................................................................................
1 Introduction This document will describe the components of the Compact Reader System ARE i2 / RS 232 and the procedure how to do the first set up of the reader. The main features of the reader are listed below: • integrated USB Interface with tunable baudrate • the allowed supply voltage is 9 to 30V DC • low power consumption of reader < 1.
It is recommended to protect the housing against heavy mechanical interactions and drippy fluids. Attention! The side of the housing showing the antenna symbol must not be brought next to a metal surface. This could lead to a significant change of the properties of the antenna circuit, which in turn reduces the reading range considerably. With the help of the plastic bars, the reader can mounted or screwed on to the most fastening elements without open the housing of the device. 3.
1 B 2 A Figure 1: Connecting of the plug Put on the sealing 2 to the SAB Cab (A). Plug in the SAB Cab to the connector at the bottom of the reader device (B). There is only one way to plug in the SAB Cab to the connector rim of the reader. Fasten the SAB Cab with the help of the screws. To meet the protection class of IP 65, it’s necessary to apply a turning moment of 0.5 Nm to the screws. 3.3 Connecting of the power supply cable The reader has to be supplied with 9..30V DC.
3.3.2 Using a self assembled connecting cable Using the following SAB cabs you can assemble your own connecting cable. ID 70211 SAB cab with 1 PG9 cable pipe ID 70215 SAB cab with 2 pre-assembled cable pipes ID 70219 SAB cab without any cable pipe ID 1002237 pc connection cable for ARE i2- USB ID 1002373 pc connection cable for ARE i2- USB with power supply 12V You can use any shielded five-pole cable. The allowed diameter of the cable must be in the range from ∅3,5 to ∅8mm.
3.3.2.2 Mounting of the cable The cable must be mounted in following steps: • Remove all inner parts from the cable pipe at the SAB Cab (1) ( nut (5), cable fastener (3), pipe(4)) (see Figure 3) • Put all the removed parts (nut (5), cable fastener (3), pipe (4),) and the cable pipe of the SAB Cab as well (1 to 4) to the cable. 5 4 3 Cable 6 1 7 Figure 3: Mounting for the cable • Remove the outer isolation of the cable at a length of 6cm .
3.3.2.
3.4 Mounting of the external antenna / of the AMP 4 / AMP 8 If you have an i2 with external antenna the connector is on the topside of the reading device. You just have to plug the antenna into the connector and bold it on. Alternative you can connect an AMP 4 / AMP 8 with this connector, too. You may not connect or deconnect an antenna or AMP 4 / AMP 8 while the reader is running. It can cause, that the reader hangs up.
4 Visual signal lamps To show the operational state or results there are 5 LED at the side of the housing. BFH ID L1: twinkles, if the processor works.
5 AEG ID instruction set 5.1 General The command set described below defines the transfer of data on the serial interface. The commands consist of a command code and optionally of a parameter value. Commands are terminated by the control character (0Dh). The control character serves as command line terminator.
5.1.2 Output format Generally, every input terminated by is acknowledged by the reader. The following response protocols are different: 5.1.2.1 Instruction specific output After entering a valid command without a parameter value, the system answers by sending the parameter value and . Example: Command: GT Output: Transponder number or No Read 5.1.2.
Command: Output: 5.1.
NAK #41 ISO 15693 error 02h: command not recognized NAK #42 ISO 15693 error 03h: option not supported NAK #43 ISO 15693 error 0Fh: unknown error (default) NAK #44 ISO 15693 error 10h: block does not exist NAK #45 ISO 15693 error 11h: block already locked NAK #46 ISO 15693 error 12h: block cannot be changed (locked) NAK #47 ISO 15693 error 13h: not successfully programmed NAK #48 ISO 15693 error 14h: not successfully locked NAK #49 ISO 15693 error
5.2 Instructions for the hardware settings 5.2.1 BD – baudrate The command BD enables the change of the baud rate. The settings are directly effective. Input format: BD parameter Output (example): 2 Parameter: PARAMETER FUNCTION 0 4800 baud 1 9600 baud 2 19200 baud 3 38400 baud 4 57600 baud 5 115200 baud 5.2.2 RE – read EEPROM You can read out the internal EEPROM with the RE command.
Output (example): 1 Parameter: PARAMETER FUNCTION 0 off 1 on 5.2.4 RST – reset With the command RST the reader does a warmstart and loads the saved settings from the internal EEPROM. The antenna field is off after the reset.
5.2.5 WE – write EEPROM Using the command WE you can write one byte to the internal EEPROM. Input format: WE parameter 1 parameter 2 Output (example): FF Parameter: PARAMETER 1 FUNCTION 0005h..079Fh address PARAMETER 2 FUNCTION 00h..FFh data 5.2.6 VER – version With the command VER the reader sends the actual firmware version. Input format: VER Output (example): AEG ID V1.
5.3 Instructions for reading settings 5.3.1 CE – convert error code With CE=1 the reader sends no error codes, except the no read error, during the md0 mode or the commands Get Tag. The leds are not influenced by this command. This command has only effect in the ISO 14443A standard. This command is not available in profibus communication and can not be saved with the VSAVE command.
Example: A, B, C are different transponder codes, N is NoRead error code: Sequence of reading cycles Output sequence after filtering with CN=0 und CID=1 Output sequence after filtering with CN=1 und CID=1 N, N, ......,N, A, A, A, ....A, N,N, ......... N, N, ......,N, A, N, N, ....... A N. N, N, A, A, A, N, A, A, B, A, C, C, C, ....... N. N, N, A, N, B, A, C, ..... A, B, A, C The settings are directly effective.
PARAMETER FUNCTION 0 No suppression 1 Suppression of equal transponder numbers 5.3.4 INIT – initialization With the command INIT all paramters of this command set are set to the default values. After that you can save the settings with the command VSAVE. Input format: INIT Output (example): ACK 5.3.5 MC – mirror code With this command you can change the output order of the bytes from a transpondercode. Input format: MC Output (example): 0 5.3.
5.3.7 SI – set iso standard With this command you can switch the iso standard of the reader. Input format: SI parameter Output (example): 0 Parameter: PARAMETER FUNCTION 0 ISO 14443A 1 ISO 15693 5.3.8 VSAVE – variables save With the command VSAVE the following parameters are saved to the internal EEPROM: AFI2, KM1, KT1, MD, SI, TOR Input format: VSAVE Output (example): ACK 1 2 just available in the ISO 14443A standard just available in the ISO 15693 standard 5.3.
Note: The function VS shows just the settings that are used in the actual ISO standard.
5.4 General reading instructions 5.4.1 GA – get active The command GA causes one reading cycle. There are different cycles for different transpondertypes. This command is only available in the ISO 14443A standard. Mifare standard 1K/4K: request (REQA) anticollision select Mifare Ultralight/Desfire request (REQA) anticollision level 1 select 1 anticollision level 2 select 2 The reader answers the UID of an active (non halt) transponder. The length of the UID can be between 4 and 7 bytes.
anticollision level 2 select 2 ISO 15693: inventory The reader answers the UID of a transponder. The length of the UID can be between 4 and 8 bytes. Input format: GT Output (example): 625E562A 5.4.3 HD – halt detected code The command HD mutes the last selected transponder. Input format: HD Output (example): ACK 5.4.4 MD – mode of operation There a two modes of operation available. It is possible, that the reader reads constantly or triggered by an instruction.
Input format ISO 15693 one block: RD parameter 2 Input format ISO 15693 multiple blocks: RD parameter 2 parameter 3 Output: parameter 4 Parameters: PARAMETER 1 FUNCTION 1 or 2 characters sector PARAMETER 2 FUNCTION 1 or 2 characters block/start block PARAMETER 3 FUNCTION 1 or 2 characters end block PARAMETER 4 FUNCTION 32 characters data (mifare 1K/4K) 8 characters data (ultralight) up to 64 characters data (ISO 15693) 5.4.
Parameters: PARAMETER 1 FUNCTION 1 or 2 characters sector PARAMETER 2 FUNCTION 1 or 2 characters block/start block PARAMETER 3 FUNCTION 1 or 2 characters end block PARAMETER 4 FUNCTION 32 characters data (mifare 1K/4K) 8 characters data (ultralight) up to 64 characters data (ISO 15693) 5.4.7 WD – write page With the command WD you write one page to the transponder. The command executes internally the commands get tag, log in (with the key attuned to KM) and the writing command.
PARAMETER 2 FUNCTION 1 or 2 character block PARAMETER 3 FUNCTION 32 characters mifare 1K/4K 8 characters ultralight up to 32 characters ISO 15693 Note: The ISO 15693 regulates just the maximum length of one block. With the write instruction you can write multiple blocks at once. The datalenght has to be at least the block size or a multiple of the block size. 5.4.8 WDM – write page manual With the command WDM you write one page to the transponder. The writing command is executed alone.
PARAMETER 3 FUNCTION 32 characters mifare 1K/4K 8 characters ultralight up to 32 characters ISO 15693 Note: The ISO 15693 regulates just the maximum length of one block. With the write instruction you can write multiple blocks at once. The datalenght has to be at least the block size or a multiple of the block size.
5.5 Mifare instructions 5.5.1 AC – anticollision The command AC answers with the UID of the transponder, that will be selected with the next select command. For ultralight and DESFire transponders it is the anticollision level 1 command. Input format: AC Output (example): 595B1B80 5.5.2 AC2 – anticollision With the command AC2 the reader executes the anticollision level 2 command. Input format: AC2 Output (example): 595B1B80 5.5.
PARAMETER FUNCTION A key type A B key type B 5.5.5 LOG – transponder log in The command LOG is only valid with mifare standard 1K/4K transponders.
PARAMETER 2 FUNCTION 1 character source block PARAMETER 3 FUNCTION 1 character target block PARAMETER 4 FUNCTION 8 characters new purse value PARAMETER 5 FUNCTION 2 character optional address 5.5.7 PDC – purse decrement With this command you can decrement a value. This command is only valid with mifare standard 1K/4K. You have to log in first.
PARAMETER 4 FUNCTION 8 characters new purse value PARAMETER 5 FUNCTION 2 character optional address 5.5.8 PIC – purse increment With this command you can increment a value. This command is only valid with mifare standard 1K/4K. You have to log in first.
5.5.9 PIV – purse init value With this command you can initialize a value. This command is only valid with mifare standard 1K/4K. You have to log in first. Input format: PIV parameter 1 parameter 2 parameter 3 parameter 4 Output: parameter 3 parameter 4 Parameters: PARAMETER 1 FUNCTION 1 or 2 characters sector PARAMETER 2 FUNCTION 1 character block PARAMETER 3 FUNCTION 8 characters value PARAMETER 4 FUNCTION 2 characters optional address 5.5.
PARAMETER 2 FUNCTION 1 character block PARAMETER 3 FUNCTION 8 characters value PARAMETER 4 FUNCTION 2 characters optional address 5.5.11 RQ – request The RQ command answers the type of the detected transponder. Input format: RQ parameter Output (example): ACK Parameters: PARAMETER FUNCTION 0 non halt transponders 1 all transponders 5.5.12 SE – select The command SE selects that transponder that answered at the anticollision.
Output (example): ACK 5.5.14 WK – write key With the command WK you save a key to the EEPROM. You can save 8 different keys. It is not possible to read out the saved keys. Input: WK parameter 1 parameter 2 Output (example): ACK Parameters: PARAMETER 1 FUNCTION 1..
5.6 ISO 15693 instructions 5.6.1 AFI – application family identifier With this command you can change the application family identifier of the reader. The reader reads only transponders, with the same application family identifier as the reader. If the application family identifier is set to 00h the reader reads each transponder. Input format: AFI parameter Output (example): 00 Parameter: PARAMETER FUNCTION 00 every transponder is read 01h..
Input format one block: GMS parameter 1 Input format multiple blocks: GMS parameter 1 parameter 2 Output (example): parameter 3 Parameter: PARAMETER 1 FUNCTION 1 or 2 characters block/start block number PARAMETER 2 FUNCTION 1 or 2 characters end block number PARAMETER 3 FUNCTION 00h block is not locked 01h block is locked 5.6.4 GS – get system information This command sends the get system information to the transponder.
Output (example): ACK Parameter: PARAMETER FUNCTION 0h..FFh block number 5.6.7 LDS – lock DSFID This command locks the DSFID of a transponder. You have to do a get tag first. Input format: LDS Output (example): ACK 5.6.8 RTR – reset to ready With this command the transponder enteres the ready state. A muted transponder answers again after this command. Input format: RTR Output (example): ACK 5.6.
Parameter: PARAMETER FUNCTION 00h..
6 Operating Modes of the Reader There are two operational modes defined: • MD 0 - continuous mode • MD 2 - the reading process is triggered by the serial interface In the next capters can you find a detailed functional description. The default mode is MD 0. 6.1 MD 2 - Triggered by an Software Command The master sends the command to read a transponder code. The reader answers with the code or an error code.
TOR exciter processor interface reading cycle reading cycle reading cycle GT NoRead reading process Figure 8: Software triggered reading operation with TOR>0 Please note: The TOR parameter is only active, if the GT-Command is applied. Within the time span defined by the value of TOR no NoRead will be output on the interface! 6.2 MD 0 - Continuous Reading When operating continuously the exciter is switched on permanently. The reading cycles are initiated periodically.
7 Startup and testing the reader • Connect the reader via cable with the serial interface (COM) from your notebook or pc. • Connect the reader with your power supply (9..30V DC). Look after the polarity! • Switch the power supply on. The yellow LED OP of the reader starts to blink. • Start your terminal programme. You have to set the following settings: 8 data bits, 1 start bit und 1 stop bit, no parity check (often called 8N1), baud rate 19200 baud, no flow control(e.g. XOFF/XON).
8 Instructions To avoid any reduction of the reading distance of the reader, the antenna must not be brought next to a metal surface. This could lead to a significant change of the properties of the antenna circuit, which in turn reduces the reading range considerably! To get reliable readings, the distance between antenna and transponder must be within the specified reading volume. The reading characteristic in front of the antenna is not isotropic.
9 FCC Information Federal Communications Commissions (FCC) Statement 15.21 You are cautioned that changes or modifications not expressly approved by the part responsible for compliance could void the user’s authority to operate the equipment. 15.105(b) This equipment has been tested and found to comply with the limits for a Class B digital device, pursuant to part 15 of the FCC rules. These limits are designed to provide reasonable protection against harmful interference in a residential installation.
10 Hotline If there are questions or suggestions please call the hotline: Sales und Marketing: +49 (0)731-140088-0 Fax: +49 (0)731-140088-9000 e-mail: sales@aegid.de http:// www.aegid.
11 Revisions 19.05.16 Revision 00: Initial edition (FW) 22.06.