AEG ARE i2 - HF User manual

Compact Reader ARE i2 - HF
Installation Guide
for Systems with a
Serial Interface RS 232

--------------------------------------------------------------------------------2/50--------------------------------------------------------------------------------
1INTRODUCTION ............................................................................................................5
2SYSTEM OVERVIEW .................................................................................................... 5
3INSTALLATION............................................................................................................. 5
3.1 Mounting of the housing ............................................................................................................................5
3.2 Grounding of the reader ............................................................................................................................6
3.2.1 Connecting of the plug........................................................................................................................6
3.3 Connecting of the power supply cable ........................................................................................................7
3.3.1 Using the pc connection cable ID 70213 .............................................................................................7
3.3.2 Using the switchboard cable ID 70212................................................................................................8
3.3.3 Using a self assembled connecting cable..............................................................................................8
3.3.3.1 Assembling of the cable pipe........................................................................................................9
3.3.3.2 Mounting of the cable .................................................................................................................9
3.3.3.3 Pin assignment of the SAB connectors.......................................................................................11
3.4 Mounting of the external antenna / of the AMP 4 / AMP 8......................................................................13
4VISUAL SIGNAL LAMPS ............................................................................................14
5AEG ID INSTRUCTION SET ........................................................................................ 15
5.1 General ...................................................................................................................................................15
5.1.1 Entering instuctions .........................................................................................................................15
5.1.2 Output format ..................................................................................................................................16
5.1.2.1 Instruction specific output .........................................................................................................16
5.1.2.2 Output after changing a parameter ............................................................................................16
5.1.2.3 Output at parameter query.........................................................................................................16
5.1.3 Blank instuction ...............................................................................................................................16
5.1.4 Incorrect instruction / error codes .....................................................................................................17
5.1.5 Upper and lower case .......................................................................................................................18
5.1.6 Linefeed...........................................................................................................................................18
5.2 Instructions for the hardware settings......................................................................................................19
5.2.1 BD –baudrate..................................................................................................................................19
5.2.2 RE –read EEPROM ........................................................................................................................19
5.2.3 RF –radio frequency ........................................................................................................................19
5.2.4 RST –reset......................................................................................................................................20
5.2.5 WE –write EEPROM ......................................................................................................................21
5.2.6 VER –version ..................................................................................................................................21
5.3 Instructions for reading settings ..............................................................................................................22
5.3.1 CE –convert error code....................................................................................................................22

--------------------------------------------------------------------------------3/50--------------------------------------------------------------------------------
5.3.2 CID –suppression of ID Codes ..........................................................................................................22
5.3.3 CN –suppression of No Reads ..........................................................................................................23
5.3.4 INIT –initialization .........................................................................................................................24
5.3.5 MC –mirror code.............................................................................................................................24
5.3.6 TOR –maximum reading time ..........................................................................................................24
5.3.7 SI –set iso standard.........................................................................................................................25
5.3.8 VSAVE –variables save ...................................................................................................................25
5.3.9 VS –variables show .........................................................................................................................25
5.4 General reading instructions....................................................................................................................27
5.4.1 GA –get active.................................................................................................................................27
5.4.2 GT –get tag.....................................................................................................................................27
5.4.3 HD –halt detected code....................................................................................................................28
5.4.4 MD –mode of operation ...................................................................................................................28
5.4.5 RD –read page ................................................................................................................................28
5.4.6 RDM –read page manual .................................................................................................................29
5.4.7 WD –write page ..............................................................................................................................30
5.4.8 WDM –write page manual ...............................................................................................................31
5.5 Mifare instructions ..................................................................................................................................33
5.5.1 AC –anticollision .............................................................................................................................33
5.5.2 AC2 –anticollision ...........................................................................................................................33
5.5.3 KM –key mode ................................................................................................................................33
5.5.4 KT –key type ...................................................................................................................................33
5.5.5 LOG –transponder log in..................................................................................................................34
5.5.6 PBU –purse backup.........................................................................................................................34
5.5.7 PDC –purse decrement ....................................................................................................................35
5.5.8 PIC –purse increment ......................................................................................................................36
5.5.9 PIV –purse init value.......................................................................................................................37
5.5.10 PRV –purse read value ....................................................................................................................37
5.5.11 RQ –request ....................................................................................................................................38
5.5.12 SE –select.......................................................................................................................................38
5.5.13 SE2 –select level 2 ..........................................................................................................................38
5.5.14 WK –write key ................................................................................................................................39
5.6 ISO 15693 instructions............................................................................................................................40
5.6.1 AFI –application family identifier ....................................................................................................40
5.6.2 BS –block size.................................................................................................................................40
5.6.3 GMS –get multiple block security ....................................................................................................40
5.6.4 GS –get system information .............................................................................................................41
5.6.5 LA –lock AFI ..................................................................................................................................41
5.6.6 LD –lock data .................................................................................................................................41
5.6.7 LDS –lock DSFID ...........................................................................................................................42
5.6.8 MDR –my-d read .............................................................................................................................42
5.6.9 MDW –my-d write ...........................................................................................................................42
5.6.10 RTR –reset to ready ........................................................................................................................43
5.6.11 WA –write AFI ...............................................................................................................................43
5.6.12 WDS –write DSFID.........................................................................................................................43
6OPERATING MODES OF THE READER ......................................................................44
6.1 MD 2 - Triggered by an Software Command............................................................................................44

--------------------------------------------------------------------------------4/50--------------------------------------------------------------------------------
6.2 MD 0 - Continuous Reading .....................................................................................................................45
7STARTUP AND TESTING THE READER ....................................................................46
8INSTRUCTIONS ..........................................................................................................47
9FCC INFORMATION ....................................................................................................48
10 HOTLINE ..................................................................................................................49
11 REVISIONS .............................................................................................................. 50

--------------------------------------------------------------------------------5/50--------------------------------------------------------------------------------
1Introduction
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 RS232 Interface with tunable baudrate
the allowed supply voltage is 9 to 30V DC
low power consumption of reader < 1.2 Watt
high reliability for reading and writing within an industrial environment
compact housing of the reader with multiple ways for mounting
the cabling concept of the reader is optimised to service demands
the protection class of the housing is IP65
there is a set of external antennas available to meet special application demands (X-tended version)
2System overview
The ARE i2 HF is only available with external antenna.
3Installation
To get the specified reading performance it is necessary to do the installation carefully step by step as it
is described in the following Chapters. All the work must be done by well educated people.
3.1 Mounting of the housing
The reader can be mounted to any other mechanic construction. The distance between reader and tran-
sponder has to tuned

--------------------------------------------------------------------------------6/50--------------------------------------------------------------------------------
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.2 Grounding of the reader
To get reliable reading results, the reader must be grounded. The connector is placed at the side of the
housing (6.35 mm flat contact).
To avoid EMV-problems, the cable to ground ought to be very short with low impedance.
Attention!
The topology of the ground wires must be done in the right way (according state of art).
3.2.1 Connecting of the plug
Attention!
Be sure that the grounding of the reader is well done and the power supply is not connected(chapter 3.2).
Otherwise the electronic may be destroyed by electrostatic discharge (ESD).

--------------------------------------------------------------------------------7/50--------------------------------------------------------------------------------
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. The minimum output power of the power supply has to be
1.2 Watt. Be sure that you use the right polarity.
3.3.1 Using the pc connection cable ID 70213
Power supply: brown = + 9 .. 30 Volt
white = ground
1
2
A
B

--------------------------------------------------------------------------------8/50--------------------------------------------------------------------------------
3.3.2 Using the switchboard cable ID 70212
Power supply: brown = + 9 .. 30 Volt
white = ground
Data interface: green = RXD (readers data input)
yellow = TXD (readers data output)
grey = ground
3.3.3 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
You can use any shielded five-pole cable. The allowed diameter of the cable must be in the range from
3,5 to 8mm. For this case, IP 65 is reached.

--------------------------------------------------------------------------------9/50--------------------------------------------------------------------------------
Attention!
The minimum voltage at the readers input mustn’t be lower then 9V.
The maximum length of the serial RS232 cable is 15m.
3.3.3.1 Assembling of the cable pipe
Breakthrough the prepared areas at the surface of the SAB Cabs. There are two prepared areas seen
at the SAB Cab: central and at one side of the cab.
The o-ring (3) has to be assembled proberly to the cable pipe (4) to ensure the protection class IP
65.
1
2
3
4
Figure 2: Assembling of the cable pipe
Bring the nut (2) of the cable pipe inside of the SAB Cab (1).
To fasten the nut please use the right tool (17mm).
3.3.3.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)

--------------------------------------------------------------------------------10/50--------------------------------------------------------------------------------
3
4
5
1
6
Cable
7
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.
Figure 3: Mounting for the cable
Remove the outer isolation of the cable at a length of 6cm .
Remove the isolation of the wires at a length of 6mm and stick a covering hull to the litz wire.
Put the cable to the cable pipe. The length of the cable coming out the SAB Cab must long enough to
do all further installation steps in an easy way.
Stick the pipe (4) into the cable fastener (3).
Stick the cable fastener (3) into the cable pipe.
Connect the cables into the right places of the MINI-COMBICON-Connectors (6).
The pin assignment is shown in the figure below.
Put the MINI-COMBICON-Connectors into the SAB cab. Look after the color coding.

--------------------------------------------------------------------------------11/50--------------------------------------------------------------------------------
3.3.3.3 Pin assignment of the SAB connectors
Figure 4: Pin assignment of the SAB connectors
RS232
(9 Pins Sub-D female)
1
2
3
4
5
6
7
8
9
RxD (reader)
TxD (reader)
GND
+US1
-US1
green
ARE I2
shielding
V+ (+24V)
GND (0V)
TXD
RXD
V+DC
black
+US2
-US2
B
A
D
C
E

--------------------------------------------------------------------------------12/50--------------------------------------------------------------------------------
Figure 5: Pin assignment of the SAB connectors
RS232
(9 Pins Sub-D female)
1
2
3
4
5
6
7
8
9
RxD (reader)
TxD (reader)
GND
+US
-US
grey
ARE I2
shielding
V+ (+24V)
GND (0V)
TXD
RXD
V+DC
blue
L
UL
G
F
J
H
K

--------------------------------------------------------------------------------13/50--------------------------------------------------------------------------------
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.

--------------------------------------------------------------------------------14/50--------------------------------------------------------------------------------
A E G ID
L1
L2
L4
L3
L5
ARE i2
4Visual signal lamps
To show the operational state or results there are 5 LED at the side of the housing.
L1: twinkles, if the processor works.
L2: twinkles one time after successful instruction
L3: twinkles one time after bad instruction
L4: lit, if the reader receives data’s at the serial data port (Rx)
L5: lit, if the reader sends data’s at the serial data port (Tx)
Figure 6: Visual signal lamps

--------------------------------------------------------------------------------15/50--------------------------------------------------------------------------------
5AEG 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 ter-
minated by the control character <CR> (0Dh). The control character serves as command line termi-
nator.
Command codes and parameters,including all letters and numerical values, are principally transmit-
ted as a sequence of ASCII characters (the value 255 (decimal) consequently as 32H, 35H, 35H; the
command RST as 52H, 53H, 54H).
All numbers (e.g. sectors, blocks) are in the hexadecimal format (see chapter 9).
With the command CS you can change to the alternative instruction set. If the reader is set to alter-
native instruction set, you can change back to the AEG ID instruction set via the command AEG (see
chapter 5.3.3).
5.1.1 Entering instuctions
The protocol format is as follows
Command <SP> parameter <CR>
The space character <SP> separates commands from parameters and the <CR> character acts as
command line terminator.
For commands without parameter values (e.g. GT ) the <SP> character and parameter values are
omitted. The command line is as short as this:
Command <CR>

--------------------------------------------------------------------------------16/50--------------------------------------------------------------------------------
5.1.2 Output format
Generally, every input terminated by <CR> 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 param-
eter value and <CR>. Example:
Command: GT <CR>
Output:Transponder number or No Read <CR>
5.1.2.2 Output after changing a parameter
After entering a valid command together with a parameter value, the system answers by sending the
parameter value and <CR>. Example:
Command: MD <SP> 2<CR>
Output: 2<CR>
After entering an invalid parameter value, the system answers with the corresponding error code. Error
message:
Command: MD <SP> 4<CR>
Output: NAK <SP> #02 <CR>
5.1.2.3 Output at parameter query
Parameter settings can be queried by sending the command without adding a parameter value. Exam-
ple:
Command: MD <CR>
Output: 2<CR>
5.1.3 Blank instuction
If a single <CR> is input, the reader answers with a single <CR>. Example:

--------------------------------------------------------------------------------17/50--------------------------------------------------------------------------------
Command: <CR>
Output: <CR>
5.1.4 Incorrect instruction / error codes
If a command is not entered correctly, the reader sends one of the following error codes:
ERROR CODE
MEANING
NAK #00 <CR>
unknown command
NAK #02 <CR>
wrong parameter
NAK #03 <CR>
EEPROM error
NAK #04 <CR>
wrong transponder type/command not available
NAK #05 <CR>
buffer overflow
NAK #06 <CR>
not logged in
NAK #08 <CR>
wrong password
NAK #10 <CR>
antenna failure
NAK #11 <CR>
anticollision error level 1
NAK #12 <CR>
anticollision error level 2
NAK #13 <CR>
select error level 1
NAK #14 <CR>
select error level 2
NAK #15 <CR>
transceiver IC error
NAK #16 <CR>
not acknowlegde
NAK #17 <CR>
no valid value block
NAK #18 <CR>
EEPROM full
NAK #19 <CR>
code already saved in EEPROM
NAK #20 <CR>
Decoder communication error
NAK #21 <CR>
wrong standard
NAK #22 <CR>
wrong transpondercode length
NAK #23 <CR>
transpondercode length and transponder don’t match
NAK #24 <CR>
data is not multiple of the block size
NAK #25 <CR>
data length shorter than block size
NAK #26 <CR>
no communication to AMP
NAK #40 <CR>
ISO 15693 error 01h: command not supported

--------------------------------------------------------------------------------18/50--------------------------------------------------------------------------------
NAK #41 <CR>
ISO 15693 error 02h: command not recognized
NAK #42 <CR>
ISO 15693 error 03h: option not supported
NAK #43 <CR>
ISO 15693 error 0Fh: unknown error (default)
NAK #44 <CR>
ISO 15693 error 10h: block does not exist
NAK #45 <CR>
ISO 15693 error 11h: block already locked
NAK #46 <CR>
ISO 15693 error 12h: block cannot be changed (locked)
NAK #47 <CR>
ISO 15693 error 13h: not successfully programmed
NAK #48 <CR>
ISO 15693 error 14h: not successfully locked
NAK #49 <CR>
ISO 15693 error A0h-DFh: custom error codes
NAK #50 <CR>
all other ISO 15693 errors: RFU
XXXXXXXX <CR>
no read
ACK
no error/acknowledge
5.1.5 Upper and lower case
The instruction set isn’t case-sensitiv.
5.1.6 Linefeed
The reader does never send a linefeed. If you use a terminal program it can add the linefeed. You have to
choose the option “displace CR with CR LF”.

--------------------------------------------------------------------------------19/50--------------------------------------------------------------------------------
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 <SP> parameter <CR>
Output (example): 2<CR>
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.
Input format: RE <SP> parameter <CR>
Output (example): FF <CR>
Parameter:
PARAMETER
FUNCTION
0000h..079Fh
address
5.2.3 RF –radio frequency
With the command RF you can switch the antenna field on and off.
Input format: RF <SP> parameter <CR>

--------------------------------------------------------------------------------20/50--------------------------------------------------------------------------------
Output (example): 1<CR>
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.
Input format: RST <CR>
Output (example): ACK <CR>
Table of contents
Other AEG Card Reader manuals