AEG ARE DT1 User manual

ARE DT1
Installation Guide

--------------------------------------------------------------------------------2/45--------------------------------------------------------------------------------
1INTRODUCTION ............................................................................................................ 5
2STARTUP AND TESTING THE READER DT1 .............................................................. 6
3AEG ID INSTRUCTION SET ..........................................................................................6
3.1 General .....................................................................................................................................................6
3.1.1 Entering instuctions ...........................................................................................................................7
3.1.2 Output format ....................................................................................................................................7
3.1.2.1 Instruction specific output ...........................................................................................................7
3.1.2.2 Output after changing a parameter ..............................................................................................7
3.1.2.3 Output at parameter query...........................................................................................................8
3.1.3 Blank instuction .................................................................................................................................8
3.1.4 Incorrect instruction / error codes.......................................................................................................8
3.1.5 Upper and lower case .......................................................................................................................10
3.1.6 Linefeed...........................................................................................................................................10
3.2 Instructions for the hardware settings......................................................................................................11
3.2.1 BD –baudrate..................................................................................................................................11
3.2.2 HF –radio frequency........................................................................................................................11
3.2.3 HID –human interface device/keyboard ............................................................................................11
3.2.4 KL –keyboard language ...................................................................................................................12
3.2.5 RE –read EEPROM ........................................................................................................................13
3.2.6 LED –LED control ..........................................................................................................................13
3.2.7 RST –reset......................................................................................................................................14
3.2.8 WE –write EEPROM ......................................................................................................................15
3.2.9 VER –version ..................................................................................................................................15
3.3 Instructions for reading settings ..............................................................................................................16
3.3.1 CE –convert error code....................................................................................................................16
3.3.2 CID –suppression of ID Codes ..........................................................................................................16
3.3.3 CN –suppression of No Reads ..........................................................................................................17
3.3.4 INIT –initialization .........................................................................................................................18
3.3.5 LAA –LED automatic activity..........................................................................................................18
3.3.6 MC –mirror code.............................................................................................................................18
3.3.7 RA –resend last answer....................................................................................................................19
3.3.8 TSC –time show code ......................................................................................................................19
3.3.9 TOR –maximum reading time ..........................................................................................................19
3.3.10 SI –set iso standard.........................................................................................................................20
3.3.11 VSAVE –variables save ...................................................................................................................20
3.3.12 VS –variables show .........................................................................................................................20
3.4 General reading instructions....................................................................................................................21
3.4.1 GA –get active.................................................................................................................................21
3.4.2 GT –get tag.....................................................................................................................................21
3.4.3 HD –halt detected code....................................................................................................................22
3.4.4 MD –mode of operation ...................................................................................................................22

--------------------------------------------------------------------------------3/45--------------------------------------------------------------------------------
3.4.5 RD –read page ................................................................................................................................23
3.4.6 RDM –read page manual .................................................................................................................24
3.4.7 WD –write page ..............................................................................................................................25
3.4.8 WDM –write page manual ...............................................................................................................26
3.5 Mifare instructions ..................................................................................................................................27
3.5.1 AC –anticollision .............................................................................................................................27
3.5.2 AC2 –anticollision level 2 ................................................................................................................27
3.5.3 KM –key mode ................................................................................................................................27
3.5.4 KT –key type ...................................................................................................................................27
3.5.5 LOG –transponder log in..................................................................................................................28
3.5.6 PBU –purse backup.........................................................................................................................28
3.5.7 PDC –purse decrement ....................................................................................................................29
3.5.8 PIC –purse increment ......................................................................................................................30
3.5.9 PIV –purse init value.......................................................................................................................31
3.5.10 PRV –purse read value ....................................................................................................................31
3.5.11 RQ –request ....................................................................................................................................32
3.5.12 SE –select.......................................................................................................................................32
3.5.13 SE2 –select level 2 ..........................................................................................................................32
3.5.14 WK –write key ................................................................................................................................33
3.6 ISO 15693 instructions............................................................................................................................34
3.6.1 AFI –application family identifier ....................................................................................................34
3.6.2 BS –block size.................................................................................................................................34
3.6.3 GMS –get multiple block security ....................................................................................................34
3.6.4 GS –get system information .............................................................................................................35
3.6.5 LA –lock AFI ..................................................................................................................................35
3.6.6 LD –lock data .................................................................................................................................35
3.6.7 LDS –lock DSFID ...........................................................................................................................36
3.6.8 RTR –reset to ready ........................................................................................................................36
3.6.9 SF –set flag ....................................................................................................................................36
3.6.10 WA –write AFI ...............................................................................................................................37
3.6.11 WDS –write DSFID.........................................................................................................................37
4READER EEPROM ORGANISATION ........................................................................... 38
4.1 EEPROM overview .................................................................................................................................38
5OPERATING MODES OF THE READER ...................................................................... 39
5.1 MD 2 - Triggered by an software command .............................................................................................39
5.2 MD 0 - Continuous Reading .....................................................................................................................40
6INSTRUCTIONS ..........................................................................................................41
7FCC INFORMATION ....................................................................................................42
8CONVERTING DECIMAL TO HEXADECIMAL ............................................................ 43
9HOTLINE .....................................................................................................................45

--------------------------------------------------------------------------------5/45--------------------------------------------------------------------------------
1Introduction
This document describes the RFID-reading device ARE DT1 and the set-up procedure.
The main features of the reader are listed below:
integrated USB interface selectable either communications port (similar RS232) or HID
USB powered (no external supply voltage necessary)
compact design

--------------------------------------------------------------------------------6/45--------------------------------------------------------------------------------
2Startup and testing the reader DT1
Connect the reader with the USB interface from your notebook or pc
In the device manager there will appear a new device (Silicon Labs CP210x USB to UART
Bridge)
In the brackets you see the port number of the device (e.g. COM5)
Open the “Demo Terminal“ on the CD
Open the menu “Settings”
You have to set the following settings: baud rate 19200 baud, 8 data bits, no parity, 1 stop bit,
no flow control.
Send the command „VER <CR>“ to the reader. The reader answers with the actual firmware
version (e.g. AEG ID Multi-ISO V2.034).
Send the command „SI <SP> 0 <CR>“ if you want to read a ISO 14443A transponder. If you
want to read a ISO 15693 transponder you have to send the command „SI <SP> 1 <CR>“.
Send the command “MD <SP> 0 <CR>” to the reader. The reader sends No Read messages
(XXXXXXXX), while there is no transponder in the antenna field available. If there is a tran-
sponder present in the antenna field the reader sends its serial.
3AEG ID instruction set
3.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).

--------------------------------------------------------------------------------7/45--------------------------------------------------------------------------------
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).
3.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>
3.1.2 Output format
Generally, every input terminated by <CR> is acknowledged by the reader. The following response
protocols are different:
3.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>
3.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>

--------------------------------------------------------------------------------8/45--------------------------------------------------------------------------------
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>
3.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>
3.1.3 Blank instuction
If a single <CR> is input, the reader answers with a single <CR>. Example:
Command: <CR>
Output: <CR>
3.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
NAK #05 <CR>
buffer overflow
NAK #06 <CR>
not logged in

--------------------------------------------------------------------------------9/45--------------------------------------------------------------------------------
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>
code not in EEPROM
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 #27 <CR>
select error level 3
NAK #28 <CR>
anticollision error level 3
NAK #40 <CR>
ISO 15693 error 01h: command not supported
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

--------------------------------------------------------------------------------10/45--------------------------------------------------------------------------------
3.1.5 Upper and lower case
The instruction set isn’t case-sensitiv.
3.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”.

--------------------------------------------------------------------------------11/45--------------------------------------------------------------------------------
3.2 Instructions for the hardware settings
3.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
3.2.2 HF –radio frequency
With the command HF you can switch the antenna field on and off.
Input format: HF <SP> parameter <CR>
Output (example): 1<CR>
Parameter:
PARAMETER
FUNCTION
0
off
1
on
3.2.3 HID –human interface device/keyboard
The command switches the interface ether to HID or RS232 emulation.
Input format: HID <SP> parameter <CR>

--------------------------------------------------------------------------------12/45--------------------------------------------------------------------------------
Output (example): 0<CR>
Parameter:
PARAMETER
FUNCTION
0
RS232 emu-
lation
1
HID inter-
face, key-
board
You have to unplug the device and plug the device in again to use the new setting. Don’t forget to use the
command VSAVE to save the new setting.
If the reader is in HID mode, you can not send any commands to the device. Because of that you have to
use the Set-Up card –interface to switch the reader back from HID mode to serial interface mode.
1. Plug out the reader
2. Place card no reader
3. Plug in reader into USB-port
4. Wait for the beep tone from reader
5. Plug out reader
6. Remove card from reader
3.2.4 KL –keyboard language
With the command KL you can configure the language of the keyboard in HID mode.
Input format: KL <SP> parameter <CR>
Output (example): 07 <CR>
Parameter:
PARAMETER
FUNCTION
07
german

--------------------------------------------------------------------------------13/45--------------------------------------------------------------------------------
09
englisch
0A
spanish
0C
french
10
italien
13
dutch
16
portuguese
4B
canadian
3.2.5 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
3.2.6 LED –LED control
With the command LED you can control the LED ring of the ARE DT1.
Input format: LED <SP> parameter <CR>
Output (example): 1<CR>
Parameter:
PARAMETER
FUNCTION
0
off
1
on
2
Buzzer beeps,
LEDs flash
final state =initial
state

--------------------------------------------------------------------------------14/45--------------------------------------------------------------------------------
3.2.7 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>

--------------------------------------------------------------------------------15/45--------------------------------------------------------------------------------
3.2.8 WE –write EEPROM
Using the command WE you can write one byte to the internal EEPROM.
Input format: WE <SP> parameter 1 <SP> parameter 2 <CR>
Output (example): FF <CR>
Parameter:
PARAMETER 1
FUNCTION
0005h..079Fh
address
PARAMETER 2
FUNCTION
00h..FFh
data
3.2.9 VER –version
With the command VER the reader sends the actual firmware version.
Input format: VER <CR>
Output (example): AEG ID V1.22 <CR>

--------------------------------------------------------------------------------16/45--------------------------------------------------------------------------------
3.3 Instructions for reading settings
3.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.
With CE=2 the reader sends the normal no read error (XXXXXXXX) if there is an error with the se-
lect or anticollision.
This command has only effect in the ISO 14443A standard.
Input format: CE <SP> parameter <CR>
Output (example): 0<CR>
Parameter:
PARAMETER
FUNCTION
0
No suppression
1
Suppression of error codes
2
Replacement with XXXXXXXX
3.3.2 CID –suppression of ID Codes
In the MD0 mode with CID=1 only the first of in succession identical transponder numbers is output
on the serial interface. The possibly following identical transponder numbers are suppressed, as long
as no new valid transponder number is received, processed and output. The get tag command is not
influenced by this command. NoReads do not influence the data filtering.
Input format: CID <SP> parameter <CR>
Output (example): 0<CR>
Parameter:
PARAMETER
FUNCTION
0
No suppression
1
Suppression of equal transponder numbers
Example: A, B, C are different transponder codes, N is NoRead error code:

--------------------------------------------------------------------------------17/45--------------------------------------------------------------------------------
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.
Note: The internal reference number is deleted in the following conditions:
after a cold start
after a warm start (command line RST <CR>)
after entering the command line CID <SP> 1 <CR>
This causes that the next transponder code is output definitely.
Note: The filter function CID picks up the results of the complete reading cycles! The filter function
CID has effect on the serial interface only.
3.3.3 CN –suppression of No Reads
Through the setting CN=1 the NoRead results after a get tag command or in MD0 mode are sup-
pressed on the serial interface.
Input format: CN <SP> parameter <CR>
Output (example): 0<CR>
Parameter:
PARAMETER
FUNCTION
0
No suppression
1
Suppression of equal transponder numbers

--------------------------------------------------------------------------------18/45--------------------------------------------------------------------------------
3.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 <CR>
Output (example): ACK <CR>
3.3.5 LAA –LED automatic activity
The leds can be controlled by the reader or over the interface. You can set it up with the command LAA.
If the LEDs are controlled by the reader, the reader beeps and flashes after successful reading and writ-
ing.
Input format: LAA <SP> parameter <CR>
Output (example): 0<CR>
Parameter:
PARAMETER
FUNCTION
0
manual controlling
1
controlled by reader
3.3.6 MC –mirror code
With this command you can change the output order of the bytes from a transpondercode.
Input format: MC <SP> parameter <CR>
Output (example): 0<CR>
Parameter:
PARAMETER
FUNCTION
0
normal sequence
1
mirrored sequence

--------------------------------------------------------------------------------19/45--------------------------------------------------------------------------------
3.3.7 RA –resend last answer
The command RA resends the last answer sent by the reader.
Input format: RA <CR>
Output (example): 0<CR>
3.3.8 TSC –time show code
With the command TSC you can define the time in ms, after that the transpondercode is shown again,
when the CID parameter is set to 1. If TSC is 00, the code is not shown a second time.
Input format: TSC <SP> parameter <CR>
Output (example): 00 <CR>
PARAMETER
FUNCTION
00
TSC is not active
01..FF
TSC time in ms
3.3.9 TOR –maximum reading time
TOR is the timeout time for the reader. TOR is used in operation mode 2 as maximum gating time for
a reading process. The length of the maximum gating time results from the equation gating_time =
TOR * TB.
The time constant TB (time base) has always the default value 100ms.
Input format: TOR <SP> parameter <CR>
Output (example): 05 <CR>
Parameter:
PARAMETER
FUNCTION

--------------------------------------------------------------------------------20/45--------------------------------------------------------------------------------
00h
limits the reading process duration of exactly one reading cycle
01h..FFh
limits the reading process duration to maximum 1..256 times
TB
3.3.10 SI –set iso standard
With this command you can switch the iso standard of the reader.
Input format: SI <SP> parameter <CR>
Output (example): 0<CR>
Parameter:
PARAMETER
FUNCTION
0
ISO 14443A
1
ISO 15693
3.3.11 VSAVE –variables save
With the command VSAVE the following parameters are saved to the internal EEPROM:
AFI2, BD, BS, CE1, CID, CN, HID, KL, KM1, KT1, LAA, LED, MC, MD, SF, SI, TOR, TSC
Input format: VSAVE <CR>
Output (example): ACK <CR>
1just available in the ISO 14443A standard
2just available in the ISO 15693 standard
3.3.12 VS –variables show
With the command VS the reader shows the settings of the following parameters:
AFI2, BD, BS, CE1, CID, CN, HID, KL, KM1, KT1, LAA, LED, MC, MD, SF, SI, TOR, TSC
Input format: VS <CR>
Output (example): BD <SP> 0<SP>
Table of contents
Other AEG RFID System manuals