Agrident GmbH, Steinklippenstr.
ASR500 Reader Operation © Copyright 2007 by Agrident GmbH All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form or by any means, electronic, mechanical, photocopying, recording or otherwise, without prior written permission of Agrident GmbH. Agrident GmbH reserves the right to make changes to any and all parts of this documentation without obligation to notify any person or entity of such changes.
ASR500 Reader Operation Contents 1. Introduction.......................................................................................................... 6 1.1 2. ASR500 Hardware .............................................................................................. 7 2.1 Description ............................................................................................ 7 2.1.2 Contact less identification with RFID..................................................... 7 2.1.
ASR500 Reader Operation 5.1 Interface parameter .................................................................................... 32 5.2 Frame......................................................................................................... 32 5.3 Control codes ............................................................................................. 32 5.4 Escape sequence....................................................................................... 32 5.5 Addresses ..........
ASR500 Reader Operation 5.9.4 Example ID- without time stamp Format ASCII ................................... 44 5.9.5 Example ID- without time stamp Format ASCII and SCP format......... 44 5.9.6 Example ID- without time stamp Format ASCII short format............... 44 5.9.7 Example ID- without time stamp Format ASCII short format 16.......... 45 5.10 CRC Calculation......................................................................................... 46 5.10.1 6. CRC-Algorithm ..............
ASR500 Reader Operation 1. Introduction Before attempting to use the product for the first time read through the user manual carefully. The functional description of the ASR500 reader will help you make best use of the full capabilities of the system. The protocol description in chapter 5 provides you with all the information you need to integrate the reader into your own application software. 1.
ASR500 Reader Operation 2. ASR500 Hardware 2.1 Application 2.1.1 Description The ASR500 is a stationary reader, which is used for contact less identification in combination with passive transponders. It has been developed for stationary use. Combined with one of our antennas it provides a flexible and universal RFID system. Antennas with various dimensions and read ranges are available to closely match individual requirements.
ASR500 Reader Operation 2.2 Installing and connecting the ASR500 and antenna 2.2.1 Installing the housing A mounting hole is provided at each of the four corners of the bottom part of the housing to allow installation of the ASR500 reader. The holes are accessible after removal of the housing cover. Four suitable screws are needed to mount the unit at the place of installation. We recommend flat head screws. Figure 1: Installing the housing 29.05.
ASR500 Reader Operation 2.2.2 Fitting the antenna If at all possible the antenna should not be permanently exposed to direct sunlight; installing the device in an area sheltered from ultraviolet light will extend its service life. Installing in the immediate vicinity of metallic objects may lead to detuning of the antenna. For this reason do not tune the antenna before the antenna has been installed. Avoid fitting to metallic surfaces since this may result in severe reduction of the reading distance.
ASR500 Reader Operation 2.2.3 Electrical connection The electrical connections for the power supply, the communication interfaces with the controller (RS232 or RS485), and for connecting the antenna are made via terminal strips st3 and st4 on the printed circuit board. The corresponding cables are routed through the watertight screwed conduit cable entries.
ASR500 Reader Operation Communication interfaces To select and activate the required communication interface the jumpers J3, J4 and J5 must be set as follows: TxD RxD GND Figure 3: Jumper settings for RS232 Terminal block ST4 3 4 5 Interface connection RS232 Meaning J3 J4 J5 TxD See Figure 3 RxD GND An RS232 interface needs three wires (TxD, RxD and GND) TxD: Where a device transmits data RxD: Where a device receives data GND: Ground To use the RS232 interface, connect TxD of the PC to RxD of the AS
ASR500 Reader Operation A B GND Figure 4: Jumper settings for RS485 Terminal block ST4 3 4 5 29.05.
ASR500 Reader Operation Power supply Connecting terminals 1 (+) and 2 (-) are available on terminal block ST4. A linear regulated power supply of 12 to 24 V is required. A minimum of 14 Volt is recommended. Maximum current is 500mA. Typical current is 320mA. Power supply Meaning Power supply +12V Power supply - Terminal block ST4 1 2 After connecting the power supply to the ASR500, the yellow LED lights, indicating the ASR500 is ready for work. The green LED is on after a transponder was read.
ASR500 Reader Operation Figure 6: Connection diagram for LEDs and auto tuning switch Terminal block ST5 1 2 3 4 5 6 7 8 LEDs and auto tuning switch Meaning +5V Output Red LED (open collector with R = 470Ω) +5V Output Yellow LED (open collector with R = 470Ω) +5V Output Green LED (open collector with R = 470Ω) Input for auto tuning switch GND Terminal block ST6 1 2 3 4 5 6 7 8 LEDs and auto tuning switch Meaning +5V Output Red LED (open collector with R = 470Ω) +5V Output Yellow LED (open collector with
ASR500 Reader Operation Antennas The antenna is connected to terminal block ST3. Terminal block ST3 1 2 3 Antenna connection Meaning Antenna A1 (transparent white) Antenna A2 (transparent pink) Shield G 2.2.4 Auto tuning Every individual antenna will have an inductivity, which deviates slightly from the reference value. Another important tuning criteria is the environment of the mounting place (metal near the antenna, temperature drift etc.).
ASR500 Reader Operation Activating the Tune button on the front of the reader starts auto tuning. After starting the auto tuning the yellow LED and the red LED are on. The reader now measures the voltage of the antenna for all capacitor combinations. After measuring the tuning cycle is represented optically. All LED's switch off. The optical representation starts with the yellow LED, followed by the green LED and finishes with the red LED.
ASR500 Reader Operation Example: Optimal tuning curve In this example only the green LED is flashing. The time of the yellow LED is approximately the same time of the red LED. Figure 7: Example of optimal tuning curve Example: Tuning curve ok In this example as a result only the green LED is flashing. The time of the yellow LED is longer than the time of the red LED, that means the top of the tuning curve is on the right (too much capacitance) but still ok. Figure 8: Example of tuning curve ok 29.05.
ASR500 Reader Operation Example: Top of tuning curve on right border In this example the green LED and the red LED are flashing. The time of the yellow LED is much longer than the time of the red LED (the red LED might not be visible), that means the top of the tuning curve is on the right border (too much capacitance). In this case it is recommended to remove one of the jumpers on ST1 and repeat the auto tuning procedure. Figure 9: Example of top of tuning curve on right border 29.05.
ASR500 Reader Operation Example: Top of tuning curve outside the right border In this example the red LED is flashing. The time of the yellow LED is much longer than the time of the red LED (the red LED might not be visible), that means the top of the tuning curve is outside of the right border (too much capacitance). In this case it is recommended to remove one of the jumpers on ST1 and repeat the auto tuning procedure.
ASR500 Reader Operation Example: Top of tuning curve on left border In this example as a result the green LED and the yellow LED are flashing. The time of the yellow LED is much shorter than the time of the red LED (the yellow LED might not be visible), that means the top of the tuning curve is on the left border (too little capacitance). In this case it is recommended to set one of the jumpers on ST1 and repeat the auto tuning procedure. Figure 11: Example of top of tuning curve on left border 29.05.
ASR500 Reader Operation Example: Top of tuning curve outside the left border In this example as a result the yellow LED is flashing. The time of the yellow LED is much shorter than the time of the red LED (the yellow LED might not be visible), that means the top of the tuning curve is outside of the left border (too little capacitance). In this case it is recommended to set one of the jumpers on ST1 and repeat the auto tuning procedure.
ASR500 Reader Operation Figure 14: Example of tuning curve Using third-party antennas Antennas with an inductivity of 300µH ±5%, which have a quality factor equal to 140 at 134 KHz, can be tuned to the ASR500 reader. A Q factor greater than 140 may destroy the reader. A Q factor less than 140 may reduce reading range. At a frequency of 134 KHz the AC voltage may be as much as 500V peak to peak. The environment influences the Q factor and the inductance of the antenna.
ASR500 Reader Operation 2.3 Operation 2.3.1 Basic settings The ASR500 reader comes preset with a factory configuration. Following installation of the reader and an antenna, and the reader has been tuned; the reader is ready for operation in combination with suitable application software. 2.3.2 First-time use of the ASR500 – an example Requirements: • The power supply is connected • The RS232 interface is selected • An antenna has been connected and tuned Objective: To set the so-called master mode.
ASR500 Reader Operation 2.3.5 Output of the transponder data The transponder data, which are read in by the ASR500, can be made sent in various data formats as ID messages to the communication interface. The ID message data formats can be selected during configuration (for example: ASCII or binary) and this means that the user can have optimum integration into an application.
ASR500 Reader Operation 2.3.6 Connecting the reader to a control computer Point-to-point connection This structure is particularly suited to applications with just a few (or even a single) readers. Each reader is connected to the control computer by its own interface. To reduce sensitivity to interference and to increase the possible length of the line, the RS485 interface can also be used instead of the RS232.
ASR500 Reader Operation 3. Operating modes The ASR500 supports three operating modes, which can be configured. If changing the operation mode, the reader will not accept a mode change command until it has finished processing/transmitting a response, (see chapter 5) any command it has already received. Using bus systems (see chapter 2.3.6) avoid changing from slave modes (see chapter 3.1, 3.2) into master mode (see chapter 3.3) since this could result in data collisions on the lines.
ASR500 Reader Operation 'Get_Single_ID' to reader 1, reply from reader 1, 'Get_Single_ID' to reader 2, reply from reader 2, and so on. 3.2 Operating in slave continuous mode (Cfg_mode register 0x01) In slave continuous mode the read function or the RF field is continuously activated. It autonomously detects a transponder, which is present and sends the transponder data to an internal ring buffer memory (two IDs in size).
ASR500 Reader Operation 3.3 Operating in master mode (Cfg_mode register 0x00) In master mode the read function or the RF field is continuously activated. After a transponder was detected, it's transponder data are transmitted as ID message at the serial interface. Before transmitting, the transponder data are prepared in compliance with the chosen output format. Repeated output of the same ID can be configured with the 'Cfg_Delaytime' register..
ASR500 Reader Operation 4. Configuration of the ASR500 reader For information on programming the configuration described below, please refer to the corresponding parts of chapter 5. Note on notation of addresses, data and commands: Single quotation marks designate ASCII values, for example '0' (zero). If a date is preceded by the designation '0x', this indicates that the date is in hexadecimal notation; for example, 0x30 (hex notation of the ASCII zero).
ASR500 Reader Operation Register Cfg_ Adr Bits to Set 5 Cfg_ Time-out 0x34 Hex value Significance of the registers or their configuration of Settings 0x0E FDX-B, HDX and H4002 activated 0bxx1x100x Use 125 kHz (this option is possible if only H4002 transponders activated) available at version 1.61 or later 0x01* Time in which the field is active.
ASR500 Reader Operation 4.3 Description of the individual registers 4.3.1 Cfg_Delaytime The repeat rate of the ID message of the same transponder can be defined by using the configuration register Cfg_Delaytime. It can be set to any interval between 50ms and 13 seconds. If the transponder is read again after this time (Delay time), in master mode the ID will be output once more at the serial interface, independent of how often it is detected within the time interval.
ASR500 Reader Operation 4.3.6 Cfg_Timeout The switch off time of the RF field for a single read cycle in slave request mode can be defined with the configuration register Cfg_Timeout. Once the time-out period has elapsed and no transponder has been registered, the read cycle is terminated and a blank ID sent to the control computer. The configuration data stored in the EEPROM become effective at switch-on. The command 'Set_Config' causes the configuration to be changed temporarily in RAM.
ASR500 Reader Operation 5.5 Addresses 5.5.1 Destination address DST The destination address denotes the receiver of a message frame. There are individual addresses and broadcast addresses available. The broadcast address is useful to send a message to several readers at the same time or to communicate with a reader where the individual address is not known. 5.5.2 Source address SRC The destination address denotes the transmitter of a message frame.
ASR500 Reader Operation 5.6 Message commands and acknowledgements The reader supports the following commands Command / Request Connect_RQ Get_Amplitude Get_Config Get_HDX_Sample Cod.
ASR500 Reader Operation 5.7 Description of the individual messages 5.7.1 Connect_RQ The reader sends an acknowledgement when it is operationally ready. Request: STX 0x02 DST 0xFF SRC 0xF0 CMD 0x01 CRC 8 0xFB ETX 0x03 DST 0xF0 SRC 0x01 ACK 0x06 CMD 0x01 DLE 0x10 Answer: STX 0x02 CRC 8 0x16 ETX 0x03 5.7.
ASR500 Reader Operation 5.7.5 Get_Last_ID In slave continuous mode a 'Get_Last_ID' command transmits the oldest ID from the buffer. The ID message is transmitted immediately. If the buffer memory is empty, a blank ID will be transmitted at once. The RF field remains switched on. In slave request and in master mode the ID last registered is transmitted. Request: STX 0x02 DST 0xFF SRC 0xF0 CMD 0x24 CRC 8 0x53 ETX 0x03 Answer: ID message 5.7.6 Get_Phase The phase shift of the antenna is transmitted.
ASR500 Reader Operation 5.7.7 Get_PhaseAmplitude The phase shift and the amplitude of the antenna are transmitted.
ASR500 Reader Operation Answer: STX 0x02 SNR3 0x30 DST 0xF0 SNR2 0x31 SNR5…SNR0: SRC 0x01 SNR1 0x30 ACK 0x06 SNR0 0x31 CMD 0x94 DLE 0x10 SNR5 0x30 CRC 8 0x68 SNR4 0x30 ETX 0x03 Six byte serial number in ASCII notation (in this example '000101') 5.7.11 Get_TuningResult Returns the result of last auto trim. Request: STX 0x02 DST 0xFF SRC 0xF0 CMD 0x89 CRC 8 0xF3 DST 0xF0 SRC 0x01 ACK 0x06 CMD 0x89 ETX 0x03 Answer: STX 0x02 CP1: CP0: PHI: 29.05.
ASR500 Reader Operation 5.7.12 Get_Tuning The tuning status is automatically measured on a cyclical basis – every time the RF field is switched on. The Get_Tuning request does not initiate measurement of the tuning status but simply delivers an already measured (frozen) status.
ASR500 Reader Operation 5.7.14 Reset_All This restores the default configuration (factory-set values in ROM) by overwriting all of the configuration registers in RAM. The network address is set to 0x01. Request: STX 0x02 DST 0xFF SRC 0xF0 CMD 0x18 CRC 8 0x38 ETX 0x03 Answer: STX 0x02 DST 0xF0 SRC 0x01 ACK 0x06 CMD 0x18 DLE 0x10 CRC 8 0xF2 ETX 0x03 5.7.15 Retransmit_Request The reader returns the last output (ID message, version, serial number, ACK, NAK etc.).
ASR500 Reader Operation 5.7.17 Set_Config The 'Set_Config' request programs a configuration register (in RAM) with the following new values. The corresponding configuration determines how the device will currently work. When the device is switched off, the changes made with 'Set_Config' will be lost unless they are saved with 'Save_Config'. If the configuration address is not found, or the format of the following configuration value is invalid or a configuration is not supported, a NAK will be sent.
ASR500 Reader Operation 5.7.19 Start_AutoTuning Starts the auto tuning process (see chapter 2.2.4) The auto tuning will take about 10.5 seconds. After it is done, the ASR500 sends the Telegram for receipt. Request: STX 0x02 DST 0xFF SRC 0xF0 CMD 0x87 CRC 8 0x69 ETX 0x03 DST 0xF0 SRC 0x01 ACK 0x06 CMD 0x87 DLE 0x10 Answer: STX 0x02 5.8 CRC 8 0xDD ETX 0x03 Description of the acknowledgements 5.8.1 ACK Correctly received data and executed commands are acknowledged with an ACK.
ASR500 Reader Operation 5.9 ID-Format 5.9.1 Format of ID Name 0x23 Ptr1 ID-Field Ptr2 Type-Field Ptr3 Timestamp 0x00 Position 0 1 2 2+n 3+n 3+n+m 4+n+m 5+n+m+p Description Identification of ID-output Length of ID-Field incl. Ptr1 n Bytes ID Length of Type-Field incl. Ptr2 m Byte Transpondertyp Length of time field Time stamp: hh.mm.ss.aa (optional) 0-Ptr Stop Character (time field only) Table 1: Format of ID 5.9.2 ID-without time stamp 0x23 Ptr1 ID 0...n Ptr2 Type 0...m 0x00 Ptr2 Type 0...
ASR500 Reader Operation 5.9.4 Example ID- without time stamp Format ASCII Examples of an ID- telegram without time stamp. STX 0x02 ID5 ‘1’ ID15 ‘0’ DST 0xF0 ID6 ‘0’ DLE 0x10 STX DST SRC Code Ptr1 ID0...ID15 DLE Ptr2 Typ0...
ASR500 Reader Operation 5.9.7 Example ID- without time stamp Format ASCII short format 16 ID0 ‘0’ ID10 ‘3’ ID0...ID15 CR LF ID1 ‘9’ ID11 ‘1’ ID2 ‘8’ ID12 ‘6’ ID3 ‘4’ ID13 ‘3’ ID4 ‘0’ ID14 ‘6’ ID5 ‘1’ ID15 ‘0’ ID6 ‘0’ CR 0x0D ID7 ‘9’ LF 0x0A ID8 ‘0’ ID9 ‘0’ ‘0984010900316360’ 0x0D 0x0A If Short ASCII 16 is activated (see chapter 4.3.2), 16 data bytes will be transmitted in ASCII notation without frame. The leading zero is transmitted.
ASR500 Reader Operation 5.10 CRC Calculation The 8 Bit CRC will be calculated with the CCITT-CRC-8 Polygon x8+x4+x3+x2+1 with all Bytes including STX without the Checksum itself. An ESCAPE before the checksum has to be calculated as well. A frame from the ASR500 to the Host always has a DLE in front of a CRC. 5.10.
ASR500 Reader Operation 6. Clock synchronisation of ASR 400 readers When two or more antenna fields are overlapping there might be some interferences with FDX transponders. This is due to the very small differences of the frequency generated by the oscillator (clock) of the readers. To prevent this interference it is possible to synchronize the readers, this means that the clock generated by the oscillator of one reader is used for the additional readers.
ASR500 Reader Operation Figure 16: Connection diagram ASR500 as slave 29.05.
ASR500 Reader Operation 7. Synchronisation H4002 7.1 Clock synchronisation of ASR 400 readers When two or more antenna fields are overlapping there might be some interference for FDX transponders. This is due to the very small differences of the frequency generated by the oscillator (clock) of the readers. To prevent this interference it is possible to synchronize the readers, that mean that the clock generated by the oscillator of one reader is used for the additional readers.
ASR500 Reader Operation Figure 18: Connection diagram ASR500 as slave 7.4 Connection table Master Pin 1 Pin 2 Pin 7 Pin 8 Connection Slaves Pin1 * Pin 2 * Pin 7 Pin 9 Meaning Power supply +12V Power supply GND GND Clock in / clock out * Important: The amount of ASR500 readers, which can be driven by one power, supply depends on the maximum current of the power supply used. 29.05.
ASR500 Reader Operation 8. Technical data Frequency of the RF carrier generated Transponder types supported Environmental conditions Dimensions Safety class Power supply Interface Weight 29.05.2007 134,2 KHz -HDX-compatible (ISO 11784/5) -FDX-B-compatible (ISO 11784/5) -H4002 + compatible Operation: 0 - 60 °C Storage: -25° to 80 °C Air humidity: 5 – 90 % (non-condensing) L x B x H: ASR554: 170x 160 x 85 mm ASR500: ASR554: IP54 12V DC, max.
ASR500 Reader Operation 9. 1 Influence of noise, Interference and metal objects on the reading range Most of what affects ISO RFID readers is actually electrical interference, although it is often more commonly referred as "noise". Tag reading is a 2-way process, but most interference problems affect the much weaker transmissions from tag to reader. The tag to reader transmission is at a frequency of 134,2 kHz. There are many interference sources that have been identified.
ASR500 Reader Operation 9.5 Fluorescent and Low Voltage Lighting Both types of lighting can on rare occasions produce interference. Some fluorescent lights generate radio frequencies, but the emission levels are generally small. We have come across Low Voltage lighting systems that generate high emission levels in their "transformer" module, which actually contains a switch-mode converter. These do not meet current EMC regulations, but may have been legal when installed. 9.
ASR500 Reader Operation 10. FCC digital device limitations Radio and Television Interference This equipment has been tested and found to comply with the limits for a digital device, pursuant to Part 15 of the FCC rules. These limits are designed to provide reasonable protection against harmful interference when the equipment is operated in a commercial environment.
ASR500 Reader Operation 13. Warranty The manufacturer of the ASR500 reader Electronic will provide a warranty of 12 months From the day the device is shipped and subject to the following conditions: a. Without submission of proof of purchase no warranty can be given. b. In the event that defects are detected the manufacturer is entitled to choose between up to two attempts at repair or a one time replacement of the faulty device.
ASR500 Reader Operation 14. Appendix 14.1 RF synchronisation If only one reader is to be accessed at any one time by the control computer – in other words, only that reader's RF field is activated – then wire-based synchronisation will not be necessary. If several readers are operated in the immediate vicinity of each other (in other words, closer together than 3 m) and the readers have been configured for HDX acquisition, it is possible that the corresponding synchronisation will be necessary.
ASR500 Reader Operation 14.3 Description of the registers Register Cfg_ Adr Cfg_ Delaytime 0x35 Cfg_ Format 0x32 Cfg_Mode 0x31 Cfg_Node 0x36 Cfg_RF 0x33 Bits to Set 0 1 0,1 1,2 0,1,2 5** 1 2 3 5 Cfg_ Time-out 0x34 Hex value of Settings 0x01* Significance of the registers or their configuration Time interval for repeated ID message Repetition blockage for time 't' of an already transmitted/saved ID message: Time 't' = register value * approx.
ASR500 Reader Operation 14.4 Factory configuration Parameter Mode (Cfg_Mode*) Data output format (Cfg_Format*) Transponder types (Cfg_RF*) Time out (Cfg_Timeout*) Delay time (Cfg_Delaytime*) Network address (Cfg_Node*) Interface (fixed) 29.05.
ASR500 Reader Operation 15. Trouble shooting For any undescribed problem please contact us: Agrident GmbH Steinklippenstr. 10 30890 Barsinghausen Germany Telephone FAX e-mail 29.05.2007 +49 5105 520614 +49 5105 520616 mail@agrident.