Balluff LRP800 Passive Tag Reader LRP820/LRP830 User Manual C transfer 1269 LRP820vc vp

BALLUFF inc Passive Tag Reader LRP820/LRP830 C transfer 1269 LRP820vc vp

Contents

User Manual Lrp820

OPERATOR'S MANUALLRP820-SeriesLong-Range PassiveReader/WritersManual Revision 3, July, '00Publication #17-1269
Copyright © 2000 Escort Memory Systemsii LRP820-Series Long-Range Passive Reader/WriterEscort Memory Systems WarrantyEscort Memory Systems warrants that all products of its own manufacture conform to Es-cort Memory Systems specifications and are free from defects in material and workmanshipwhen used under normal operating conditions and within the service conditions for whichthey were furnished. The obligation of Escort Memory Systems hereunder shall expire one(1) year after delivery, unless otherwise specified, and is limited to repairing, or at its option,replacing without charge, any such product which in Escort Memory System's sole opinionproves to be defective within the scope of this Warranty. In the event Escort Memory Sys-tems is not able to repair or replace defective products or components within a reasonabletime after receipt thereof, Buyers shall be credited for their value at the original purchaseprice. Escort Memory Systems must be notified in writing of the defect or nonconformitywithin the warranty period and the affected product returned to Escort Memory Systemsfactory or to an authorized service center within thirty (30) days after discovery of such de-fect or nonconformity. Shipment shall not be made without prior authorization by EscortMemory Systems.This is Escort Memory Systems' sole warranty with respect to the products delivered here-under. No statement, representation, agreement or understanding oral or written, made byan agent, distributor, representative, or employee of Escort Memory Systems which is notcontained in this warranty, will be binding upon Escort Memory Systems, unless made inwriting and executed by an authorized Escort Memory Systems employee. Escort MemorySystems makes no other warranty of any kind whatsoever, expressed or implied, and all im-plied warranties of merchantability and fitness for a particular use which exceed theaforestated obligation are hereby disclaimed by Escort Memory Systems and excludedfrom this agreement. Under no circumstances shall Escort Memory Systems be liable toBuyer, in contract or in tort, for any special, indirect, incidental, or consequential damages,expenses, losses or delay however caused.Equipment or parts which have been subject to abuse, misuse, accident, alteration, ne-glect, unauthorized repair or installation are not covered by warranty. Escort Memory Sys-tems shall make the final determination as to the existence and cause of any alleged defect.No liability is assumed for expendable items such as lamps and fuses. No warranty is madewith respect to custom equipment or products produced to Buyer's specifications except asspecifically stated in writing by Escort Memory Systems in the contract for such customequipment.This warranty is the only warranty made by Escort Memory Systems with respect to thegoods delivered hereunder, and may be modified or amended only by a written instrumentsigned by a duly authorized officer of Escort Memory Systems and accepted by the Buyer.Extended warranties of up to four years are available for purchase for most EMS products.Contact EMS or your distributor for more information.This document contains proprietary information which is protected by copyright. All rights are re-served. The information in this manual has been carefully checked and is believed to be accu-rate; however, no responsibility is assumed for possible inaccuracies or omissions.Specifications are subject to change without notice.EMS®, Escort Memory Systems® and the EMS® logo are registered trademarks of EscortMemory Systems, a Datalogic Group Company. Other brand and product names mentioned aretrademarks or registered trademarks of their respective holders.Escort Memory SystemsA Datalogic Group Company170 Technology CircleScotts Valley, CA 95066Telephone (831) 438-7000FAX (831) 438-5768www.ems-rfid.comemail: info@ems-rfid.com
Copyright © 2000 Escort Memory SystemsLRP820-Series Long-Range Passive Reader/Writer iiiTABLE OF CONTENTS1GETTING STARTED 11.1 Introduction ....................11.2 Unpacking and Inspection ..............32MECHANICAL SPECIFICATIONS 42.1 Dimensions ....................42.2 RF Range and Orientation ..............72.3 Mounting Guidelines................12Guidelines ....................133POWER AND ELECTRICAL INTERFACE 143.1 Connector Panel .................143.2 Power Connector .................153.3 COM1/COM2 Connector .............153.4 MUX32 Connector ................16Serial Communications Cabling ...........163.5 Input Connector..................173.6 Output Connector .................173.7 Digital I/O Wiring.................183.8 Power Requirement ................23Power Options ..................23Power from the MUX32 Bus ............24Power via the external supply connector .......24Power from the MUX32 bus and from an external powersupply . . ....................263.9 LED Indicators ..................274SERIAL AND BUS COMMUNICATIONS 294.1 Serial Interfaces..................29Digital Board DIP Switch .............304.2 Bus Interfaces...................32MUX32 Interface Board DIP Switch ........335MENU CONFIGURATION 345.1 How to Enter Menu Configuration .........345.2 Set-up Operating Parameters ............35Set COM1 Parameters ...............36
Copyright © 2000 Escort Memory Systemsiv LRP820-Series Long-Range Passive Reader/WriterSet COM2 Parameters ...............36Set Operating Mode ................36Set RF Communication ..............38Restore Factory Defaults ..............38Return to Main Menu ...............395.3 Download New Program ..............395.4 Downloading DSP Firmware ............395.5 Exit to Operating Mode ..............406 RFID INTERFACE 416.1 Introduction ...................41Command Timeout . . . .............41MUX32 and Anticollision Limitations ........436.2 ABx Error Codes .................44Non-Anticollision Error Codes ............44ABx Standard...................44ABx Fast.....................45Anticollision Status Byte ..............466.3 Anticollision Commands ..............47Family Interrogation . . . .............47Family ID ....................47Anticollision Index . . . .............486.4 ABx Standard Protocol ..............49ABxS Command 4 (04H): Fill Tag .........49ABxS Command 5 (05H): Block Read ........51ABxS Command 6 (06H): Block Write........53ABxS Command 7 (07H): Read Tag Serial Number . . 55ABxS Command 8 (08H): Tag Search ........56ABxS Command D (0DH): Continuous Block Read . . 57ABxS Command 10 (10H): Set Output ........60ABxS Command 11 (11H): Input Status .......62ABxS Command 84 (84H): Fill Tag All .......64ABxS Command 85 (85H): Block Read All......66ABxS Command 86 (86H): Block Write All .....68ABxS Command 87 (87H): Read Tag SN All .....70ABxS Command 88 (88H): Tag Search All ......72ABxS Command 89 (89H): EAS Set/Reset All ....73ABxS Command 8A (8AH): EAS Start/Stop .....75ABxS Command 8D (8DH): Continuous Read All. . . 77ABxS Command 8E (8EH): Memory Lock All ....79
Copyright © 2000 Escort Memory SystemsLRP820-Series Long-Range Passive Reader/Writer vABxS Command 94 (94H): SN Fill .........81ABxS Command 95 (95H): SN Block Read......83ABxS Command 96 (96H): SN Block Write .....85ABxS Command 97 (97H): SN Block Read All ....876.5 ABx Fast Protocol.................89ABx Command Packet Structure: ..........89Command/Response Size..............90Checksum ....................91ABxF Command 4 (04H): Fill Tag .........92ABxF Command 5 (05H): Block Read ........94ABxF Command 6 (06H): Block Write .......96ABxF Command 7 (07H): Read Tag Serial Number . . 98ABxF Command 8 (08H): Tag Search .......100ABxF Command D (0DH): Continuous Block Read . 101ABxF Command 10 (10H): Set Output .......104ABxF Command 11 (11H): Input Status.......106ABxF Command 84 (84H): Fill All.........108ABxF Command 85 (85H): Block Read All .....110ABxF Command 86 (86H): Block Write All .....112ABxF Command 87 (87H): Read Tag SN All ....114ABxF Command 88 (88H): Tag Search All .....116ABxF Command 89 (89H): EAS Set/Reset All....118ABxF Command 8A (8AH): EAS Start/Stop.....120ABxF Command 8D (8DH): Continuous Read All . . 123ABxF Command 8E (8EH): Memory Lock All . . . 126ABxF Command 94 (94H): SN Fill.........128ABxF Command 95 (95H): SN Block Read .....130ABxF Command 96 (96H): SN Block Write ....132ABxF Command 97 (97H): SN Block Read All . . . 1346.6 ABx ASCII Protocol ...............138Command Packet Structure: ............138Command/Response Size .............139Checksum ....................140Example ASCII Command ............140AAPPENDIX: SPECIFICATIONS 142BAPPENDIX: MODELS 143CAPPENDIX: ASCII CHART 144
Copyright © 2000 Escort Memory Systemsvi LRP-Series Long-Range Passive Reader/WriterNOTICEThis equipment has been tested and found to comply with the limits for aClass B digital device, pursuant to Part 15 of the FCC Rules. These limitsare designed to provide reasonable protection against harmful interference ina residential installation. This equipment generates, uses and can radiateradio frequency energy and, if not installed and used in accordance with theinstructions, may cause harmful interference to radio communications.However, there is no guarantee that interference will not occur in a particularinstallation. If this equipment does cause harmful interference to radio ortelevision reception, which can be determined by turning the equipment offand on, the user is encouraged to try and correct the interference by one ormore of the following measures:nReorient or relocate the receiving antenna.nIncrease the separation between the equipment and the re-ceiver.nConnect the equipment into an outlet on a circuit differentfrom that to which the receiver is connected.nConsult the dealer or an experienced radio/TV technician forhelp.CAUTIONChanges or modifications not expressly approved by Escort Memory Sys-tems could void the user’s authority to operate the equipment.
1 GETTING STARTED1.1 IntroductionEscort Memory Systems' passive read/write system is a complete familyof field-proven read/write Radio-Frequency Identification products. Thesystem consists of RFID tags, reader/writers, antennas, controllers, bus inter-faces, and ancillary equipment. Tags can be attached to a product or its car-rier and act as an electronic identifier, job sheet, portable database, ormanifest. Tags are read and updated via an Escort Memory SystemsReader/Writer, through any nonconductive material, while moving or stand-ing still.Escort Memory Systems' LRP-Series long range passive RFID system is thelatest in our line of high performance, industrial RFID equipment. The pas-sive design of the LRP read/write system uses the RF field from the antennato power the tag, eliminating the need for tag batteries. The LRP passiveread/write system is designed to provide cost effective RFID data collectionand control solutions to automation and material handling applications.The LRP system uses the internationally recognized ISM frequency of 13.56MHZ to both power the tag, and to establish a radio link to transfer the infor-mation.The LRP820 is specifically designed to work with LRP-Series passive tags,which provide 48 bytes of reprogrammable memory.Copyright © 2000 Escort Memory SystemsLRP820-Series Long-Range Passive Reader/Writer 1
The LRP820 supports the multidrop protocol MUX32. The LRP820 isencased in a NEMA4 enclosure and features two serial ports, 4 opto-isolated inputs, 4 opto-isolated outputs. The LRP820-04 is equipped withan antenna designed for conveyor mounting and the LRP820-08 features arectangular plate antenna.The COM1 serial port is used to receive commands from the host and tosend the data back. The LRP820 COM1 can be configured either asMUX32, RS232, or RS422 interface.COM2 is an RS232 serial port used to download new software releases andto setup the configuration parameters.Copyright © 2000 Escort Memory Systems2LRP820-Series Long-Range Passive Reader/Writer
1.2 Unpacking and InspectionUnpack the LRP820 and documentation and retain the original shippingcarton and packing material in case any items need to be returned. Inspecteach item carefully for evidence of damage. If any item appears to be dam-aged, notify your distributor immediately. The LRP820 is delivered with thefollowing components:nLRP820 (-04, -08) Reader/WriternLRP820 to Antenna cablenLRP820 Operator's ManualThe following components are required for configuring a complete system:nLRP-Series Passive Read/Write TagsnUser supplied LRP820-to-host cablenMUX32 hostn18 - 30 Vdc, 36 W (1.5 A @ 24 Vdc) power supplynMating connectors. See Appendix B for more informationCopyright © 2000 Escort Memory SystemsLRP820-Series Long-Range Passive Reader/Writer 3
2 MECHANICAL SPECIFICATIONS2.1 DimensionsFigure 1 gives the dimensions for the LRP820. Figures 2-3 show the dimen-sions of the 04 and 08 remote antennas.Copyright © 2000 Escort Memory Systems4LRP820-Series Long-Range Passive Reader/WriterFigure 1 — LRP820 Dimensionsinchesmm
Copyright © 2000 Escort Memory SystemsLRP820-Series Long-Range Passive Reader/Writer 5Figure 2 — LRP-04 Conveyor-Mount Antennainchesmm
Copyright © 2000 Escort Memory Systems6LRP820-Series Long-Range Passive Reader/WriterFigure 3 — LRP-08 Antenna Dimensionsinchesmm
2.2 RF Range and OrientationFigure 4 shows the correct tag orientation as it passes the antenna. Tables 1and 2 give the typical ranges of the LRP series tags. Tables 1- 3 give the typ-ical and guaranteed ranges of the LRP series tags.Copyright © 2000 Escort Memory SystemsLRP820-Series Long-Range Passive Reader/Writer 7Figure 4 — LRP-08 to Tag Orientation
Copyright © 2000 Escort Memory Systems8LRP820-Series Long-Range Passive Reader/WriterFigure 5 — Side View of RF Field, LRP-04 Antenna, MetalTag Typical Range (Z)inches/mmGuaranteed Rangeinches/mmLRP125(HT) 2.50/64 2.00/51LRP250(HT) 6.75/171 6.00/152LRP250HT-FLX 6.75/171 6.00/152LRP-L5555 6.75/171 6.00/152LRP-L2666 5.75/146 5.00/127LRP-L4982 8.00/203 7.00/178LRP-L90140 9.00/229 8.00/203LRP-P125 2.50/64 2.00/51LRP-P3858 6.00/152 5.00/127LRP-P5050 7.00/178 6.00/152*These ranges are determined with metal near the -04 antenna as it would be in most conveyormountings. The actual tuning and testing of the -04 antenna is done with the antenna mounted be-tween two metal rollers on metal rails. The metal rollers are mounted 1/4” from the antenna.NOTE: Proximity to metal, CRT devices and other sources of electromagnetic radiation may affectantenna range.Table 1 — Antenna to Tag Ranges, LRP-04 Antenna with Metal*
Copyright © 2000 Escort Memory SystemsLRP820-Series Long-Range Passive Reader/Writer 9Figure 6 — End View of RF Field, LRP-04 Antenna, Metal
Copyright © 2000 Escort Memory Systems10 LRP820-Series Long-Range Passive Reader/WriterFigure 7 — End View of RF Field, LRP-08 Antenna, No MetalTag Typical Range (Z)inches/mmGuaranteed Rangeinches/mmLRP125(HT) 3.00/76 2.25/57LRP250(HT) 8.50/216 7.50/191LRP250HT-FLX 8.50/216 7.50/191LRP-L5555 8.50/216 7.50/191LRP-L2666 7.00/128 6.00/152LRP-L4982 10.00/254 9.00/229LRP-L90140 12.00/305 11.00/279LRP-P125 3.00/76 2.25/57LRP-P3858 7.50/190 6.50/165LRP-P5050 8.50/216 7.50/191*These ranges calculated with no metal near the antenna.NOTE: Proximity to metal, CRT devices and other sources of electromagnetic radiation may affectantenna range.Table 2 — Antenna to Tag Ranges, LRP-04 Antenna, No Metal*
Copyright © 2000 Escort Memory SystemsLRP820-Series Long-Range Passive Reader/Writer 11Tag Typical Range (Z)inches/mmGuaranteed Rangeinches/mmLRP125(HT) 8.00/203 7.00/178LRP250(HT) 17.00/432 15.00/381LRP250HT-FLX 17.00/432 15.00/381LRP-L5555 17.00/432 15.00/381LRP-L2666 16.00/406 13.00/330LRP-L4982 20.00/508 18.00/457LRP-L90140 25.00/635 22.00/559LRP-P125 8.00/203 7.00/178LRP-P3858 16.00/406 14.00/355LRP-P5050 17.00/432 15.00/381*These ranges calculated with no metal near the antenna.NOTE: Proximity to metal, CRT devices and other sources of electromagnetic radiation may affectantenna range.Table 3 — Antenna to Tag Ranges, LRP-08 Antenna, No MetalFigure 8 — Side View of RF Field, LRP-08 Antenna, No Metal
2.3 Mounting GuidelinesElectromagnetic radiation and metal affect the range of the LRP820. Mountthe LRP820 and antenna to minimize the impact of these factors. The RFfield of the antenna can also cause errors when antennas are spaced tooclosely together. Do not position adjacent antennas closer than 2 meters fromeach other. The mounting holes are accessed through the inside of theLRP820 Reader/Writer. Refer to Figure 9 for locations and dimensions.The remote antennas for the LRP820 have a cable length 2 meters. Sur-rounding the antenna with metal will greatly reduce the reading range of theantenna. As rule of thumb, keep any metal structure away from the antennaat least more than the reading range along the axis, and a third of such dis-tance on the side.Copyright © 2000 Escort Memory Systems12 LRP820-Series Long-Range Passive Reader/WriterFigure 9 — LRP820 Mounting Holesinchesmm
Special mounting instructions must be followed to get optimal read/writeperformance from the LRP820-08 antenna. Mount the antenna with a mini-mum 5.90" (150mm) spacing from any metal to the back or sides of the an-tenna, as shown in Figure 10.GuidelinesnIsolate the LRP820 and antenna from electromagneticradiation.nAvoid surrounding LRP820 and remote antenna with metal.nMaintain at least 2 meters minimum spacing between adjacentLRP820s or antennas.nStay within the guaranteed range for the tag to be used.nConform with EIA RS232, RS422 and RS485 standards.Copyright © 2000 Escort Memory SystemsLRP820-Series Long-Range Passive Reader/Writer 13Figure 10 — Antenna Mounting, -08inchesmm
3 POWER AND ELECTRICAL INTERFACE3.1 Connector PanelFigure 11 shows the LRP connectors, LEDs and connector panel. Unusedconnectors can be sealed with optional connector caps. Please see AppendixB for ordering information.Copyright © 2000 Escort Memory Systems14 LRP820-Series Long-Range Passive Reader/WriterFigure 11 — Connector Panel
3.2 Power ConnectorFigure 12 shows the power connector pin designations.3.3 COM1/COM2 ConnectorFigure 13 shows the connector pin designations for the COM port connec-tions.Copyright © 2000 Escort Memory SystemsLRP820-Series Long-Range Passive Reader/Writer 15Figure 12 — Power ConnectorFigure 13 — COM1/COM2 Connector
3.4 MUX32 ConnectorFigure 14 shows the connections for the MUX32/RS485 connector.Serial Communications CablingEscort Memory Systems recommends that you use Belden cables 3082A(trunkline) and 3084A (dropline) for RS485/RS422 communications. UseBelden cable 9941 for RS232 communications. More information on Beldencables can be found on their web site at www.belden.com.Copyright © 2000 Escort Memory Systems16 LRP820-Series Long-Range Passive Reader/WriterFigure 14 — MUX32 Connector Pinouts
3.5 Input ConnectorFigure 15 shows the Input Connector pin designations.3.6 Output ConnectorFigure 16 shows the Output Connector pin designations.Copyright © 2000 Escort Memory SystemsLRP820-Series Long-Range Passive Reader/Writer 17Figure 16 — Output Connector PinoutsFigure 15 — Input Connector Pinouts
3.7 Digital I/O WiringBoth the Digital Inputs and Digital Outputs are optically isolated circuitswith no common path between any channel terminal and another channel, orbetween any channel and the LRP820 power. Because they are independentand floating, the external wiring controls their use. The inputs can be config-ured for sensors with a PNP or NPN output. The outputs can be configuredin a Sourcing or Sinking configuration. The examples in Figures 17 through24 show different connections for common input and output devices.InputsThe +IN terminal must be at a higher positive potential than the -IN terminalfor current to be sensed correctly. The voltage range is 4.5 to 30V betweenthe +IN and the -IN inputs and the maximum current is 25 mA.OutputsThe output is limited to 30Vdc when off and 500 mA. These are maximumratings. A device that operates at 200 mA may destroy the output due to in-rush current if that current exceeds 500 mA (e.g. an incandescent light). Theinductive "kick" (back EMF from a collapsing magnetic field) when a relayis released can impose a voltage higher than 30V and destroy the outputtransistor (use a backwards diode to clamp the back EMF).Copyright © 2000 Escort Memory Systems18 LRP820-Series Long-Range Passive Reader/Writer
Figure 17 shows the switch on the high side with the low side grounded. Asthis is a "Dry" contact (the current is limited to 15 mA) a high quality sealedswitch should be used.Figure 18 shows a switch connected on the low side with the high side con-nected to the positive supply. This also requires a high quality sealed contact.Copyright © 2000 Escort Memory SystemsLRP820-Series Long-Range Passive Reader/Writer 19Figure 17 — Input from Sourcing ContactFigure 18 — Input from Sinking Contact
Figure 19 shows an Open Collector NPN output from a photosensor switch-ing to ground. It can be wired as a sinking or low-side contact.Figure 20 shows an Open Collector PNP output from a photosensorswitches to the positive supply. It can be wired as a sourcing or high-sidecontact.Copyright © 2000 Escort Memory Systems20 LRP820-Series Long-Range Passive Reader/WriterFigure 20 — Input from PNP SensorFigure 19 — Input from NPN Sensor
Figure 21 shows a relay connected as a current sourcing "Contact." The re-lay is grounded and the +OUT terminal goes to the positive supply. The di-ode across the relay coil is essential to protect the output circuit and reducenoise along the wiring. It should be connected at the relay to minimize thelength of wiring that could radiate noise. A 1N4001 or similar diode may beused.Figure 22 shows a "Contact" sinking current from a relay, the -OUT terminalis grounded and the relay goes to the positive supply. This configurationmust also have a diode across the relay coil to protect the circuit and reducenoise.Copyright © 2000 Escort Memory SystemsLRP820-Series Long-Range Passive Reader/Writer 21Figure 22 — Sinking Output "Contact"Figure 21 — Sourcing Output "Contact"
In Figure 23, the LED and current limiting resistor are in series between thepositive supply and the +OUT terminal. The -OUT terminal is grounded.The resistor in series with the LED sets the forward current. 1.2K will pro-vide 20 mA LED current when run from 24 Vdc.In Figure 24 the output acts as an Open Collector. This will provide a TTLor CMOS compatible signal when a 1K to 10K pull-up to +5 Vdc (the logicsupply) is used.Copyright © 2000 Escort Memory Systems22 LRP820-Series Long-Range Passive Reader/WriterFigure 24 — Output to TTL or CMOSFigure 23 — Sinking Output LED Driver
3.8 Power RequirementThe LRP820 power supply requirements are:n18 to 30Vdcn31Watts maximum consumptionThe maximum current consumption at 24Vdc is 1.3 A.Power OptionsThere are three options for powering the LRP820:nPowered from the MUX32 bus (default)This is the default configuration for powering the LRP820. If thepower available over your MUX32 network is not sufficient topower the LRP820, use one of the following methods.nPowered via the external power connectorThis is how you must power the LRP820 if you are not connectingthe LRP820 to a MUX32 network.nPowered from an external power supply and isolated MUX32bus power (isolated mode)When the LRP is powered from both sources, the LRP820 will beopto-isolated from the MUX32 bus.The MUX32 interface board will draw 2.5 mA at 24 Vdc from theMUX32 bus when the LRP820 is powered with this method.Power to the external power connector should conform to the spec-ifications given above.If you choose to power the LRP820 with an external supply via the powerconnector, you must open the LRP820 and changed jumper and cable loca-tions. The following sections describe how to make these changes.Copyright © 2000 Escort Memory SystemsLRP820-Series Long-Range Passive Reader/Writer 23
Power from the MUX32 BusBy default, the LRP820 is configured to run with power supplied by the net-work. In this mode, there is no galvanic isolation between the MUX32wires and the LRP820, and there is no need for a separate power supply.If you choose to power the LRP820 form the MUX32 bus, you do not needto make any internal changes to cables and jumpers. Wire power accordingto the pinouts given for the MUX32 connector in Figure 14, page 16.Power via the external supply connectorThe LRP820 contains components sensitive to electro-static discharge. Takeproper grounding precautions before opening the LRP820.To change the LRP820 to run in isolated mode:1. Open the LPR820 by loosening the four captive screws that se-cure the cover.2. Refer to Figure 25 and then move the power cable, labeled assem-bly 10-3110, from connector J7 to J9.3. The MUX32 cable, labeled assembly 10-3111, must then ex-change places with the power cable, moving from J9 to J7.Figure 25 — Power Cable Connectors J7 and J9Copyright © 2000 Escort Memory Systems24 LRP820-Series Long-Range Passive Reader/Writer
4. Referring to Figure 26, locate jumper J1 and move the shunt frompins 4 and 3 to pins 2 and 1.5. Close the LRP820 and connect a separate +24V power supply tothe external power connector shown in Figure 12, page 15.Copyright © 2000 Escort Memory SystemsLRP820-Series Long-Range Passive Reader/Writer 25Figure 26 — Power Jumper Position for External Powering Only
Power from the MUX32 bus and from an external power supplyWhen the LRP is powered from both sources, the LRP820 will beopto-isolated from the MUX32 bus.The LRP820 contains components sensitive to electro-static discharge. Takeproper grounding precautions before opening the LRP820.To power the LRP820 from an external supply and the MUX32 bus:1. Open the LPR820 by loosening the four captive screws that se-cure the cover.2. Refer to Figure 25 and then move the power cable, labeled assem-bly 10-3110, from connector J7 to J9.3. The MUX32 cable, labeled assembly 10-3111, must then ex-change places with the power cable, moving from J9 to J7.4. Make sure that the jumper on J1of the MUX32 Interface Boardconnects pins 3 and 4, and then close the LRP820.5. Connect a separate +24V power supply to the external powerconnector shown in Figure 12, page 15.6. Wire the MUX32 interface and power according to the pinoutsgiven for the MUX32 connector in Figure 14, page 16.Copyright © 2000 Escort Memory Systems26 LRP820-Series Long-Range Passive Reader/Writer
3.9 LED IndicatorsThe LRP820 has 16 LEDs indicating status of the LRP820 Reader/Writer,interface communications, and I/O status.Copyright © 2000 Escort Memory SystemsLRP820-Series Long-Range Passive Reader/Writer 27Figure 27 — LRP820 Front with LEDs
Table 4 shows these LEDs and their meaning.Additional LED behavior may be observed during certain commands andconditions. This behavior will be indicated as appropriate elsewhere in thismanual.Copyright © 2000 Escort Memory Systems28 LRP820-Series Long-Range Passive Reader/WriterLED Color IndicatesPWR red The LRP820 is receiving powerRF green RF Data TransferANT red Antenna On and tag in fieldERROR Red Unsuccessful RF command (.5 sec. flash)Entering Download Mode via DIP switch 5 (4 flashes)CONFIG green Successful RF command-1.5sec. flashERROR +CONFIGgreen/red Entering Operating Mode - 4 alternate flashesConfiguration Mode initiated (CTRL-D) - Both LEDS flash 4 timesConfiguration Mode initiated (CTRL-E) - Both LEDS flash 2 timesIN-A yellow Input activeIN-B yellow Input activeIN-C yellow Input activeIN-D yellow Input activeCOM1 green/red Incoming data (RX): redOutgoing data (TX): greenCOM2 green/red Incoming data (RX): redOutgoing data (TX): greenMUX32 red Data transfer (RX/TX): redOUT-A green Output activeOUT-B green Output activeOUT-C green Output activeOUT-D green Output activeTable 4 — LED Indicators
4 SERIAL AND BUS COMMUNICATIONS4.1 Serial InterfacesThe LRP820 has RS232 and RS422 available on the COM1 serial port.COM2 is configured for RS232 communications and is reserved for down-loading programs to the LRP820 and for setting up the configurationparameters.Both RS232 and RS422 interfaces are opto-isolated. The RS422 interfaceis specially suitable for long cable, noisy environment links.The specification for the COM1 interface follows:nBaud rate: 1200, 2400, 4800, 9600, 19200, 38400 bpsnData: 7, 8nParity: Even, Odd, NonenHandshake: None, Xon/XoffThe specification for the COM2 interface follows:nBaud rate: 1200, 2400, 4800, 9600, 19200 bpsnData: 7, 8nParity: Even, Odd, NonenHandshake: None, Xon/XoffCopyright © 2000 Escort Memory SystemsLRP820-Series Long-Range Passive Reader/Writer 29
Digital Board DIP SwitchThe digital board is mounted inside the top of the LRP820 enclosure. Thefirst 5 switches of the main board sets the COM1 baud rate, electricalinterface, and the download options for COM2. Switches 6, 7 and 8 are notused and should remain OFF. When switch 1 and 2 are both set ON, thebaud rate is set via the Configuration Menu.NOTE:When you set switch 5 ON to enable download, the default parameters willfirst be restored and saved to the non-volatile memory.The baud rate configuration on the main board only applies to the RS232and RS422 serial interfaces. When a Bus Interface (MUX32) is selected, thebaud rate is set by the Interface Board DIP switches.Copyright © 2000 Escort Memory Systems30 LRP820-Series Long-Range Passive Reader/WriterFigure 28 — Digital Board with DIP Switch
NOTE:DIP switch 4 must be in the default ON position for the MUX32 interface tofunction.Copyright © 2000 Escort Memory SystemsLRP820-Series Long-Range Passive Reader/Writer 31Baud rate InterfaceDownload/RestoreDefaultsSW 2 SW 3 SW 4 SW 5 Settings9600ON 19200ON 38400ON ON Set from Configuration MenuRS232ON RS422ON MUX32ON ON ReservedDisabledON Enabled Download/ Restore defaultsTable 5 Main Board DIP Switch Settings
4.2 Bus InterfacesThe COM1 serial port, beside the RS232 or RS422 options, can be config-ured as a MUX32 interface.The following MUX32 bus parameters are set by the DIP switches found onthe Interface Board.nBus Rate: 9600, 346KbpsnMUX32 Slave AddressCopyright © 2000 Escort Memory Systems32 LRP820-Series Long-Range Passive Reader/WriterFigure 29 — MUX32 Interface Board DIP Switch
MUX32 Interface Board DIP SwitchS1 is an eight position DIP switch. Switches 1 to 6 set the MUX32 slaveaddress, switches 6 and 7 are reserved and switch 8 sets the bus rate. Table 6shows these settings.Copyright © 2000 Escort Memory SystemsLRP820-Series Long-Range Passive Reader/Writer 33MUX32 Address Reserved Bus RateSW 1 SW 2 SW 3 SW 4 SW 5 SW 6 SW 7 SW 8 SettingSwitches 6 and7 are not used- leave in theOFFpositionMUX Addr. 0ON MUX Addr. 1ON MUX Addr. 2ON ON MUX Addr. 3ON MUX Addr. 4ON ON MUX Addr. 5ON ON MUX Addr. 6ON ON ON MUX Addr. 7ON MUX Addr. 8ON ON MUX Addr. 9ON ON MUX Addr. 10ON ON ON MUX Addr. 11ON ON MUX Addr. 12ON ON ON MUX Addr. 13ON ON ON MUX Addr. 14ON ON ON ON MUX Addr. 15ON MUX Addr. 16ON ON MUX Addr. 17ON ON MUX Addr. 18ON ON ON MUX Addr. 19ON ON MUX Addr. 20ON ON ON MUX Addr. 21ON ON ON MUX Addr. 22ON ON ON ON MUX Addr. 23ON ON MUX Addr. 24ON ON ON MUX Addr. 25ON ON ON MUX Addr. 26ON ON ON ON MUX Addr. 27ON ON ON MUX Addr. 28ON ON ON ON MUX Addr. 29ON ON ON ON MUX Addr. 30ON ON ON ON ON MUX Addr. 31OFF 9600 bpsON 346K bpsTable 6 — MUX32 DIP Switch Settings
5 MENU CONFIGURATIONThe LRP820 feature a menu-driven program designed to give convenientaccess to the serial parameters, restore defaults or change operating modes.5.1 How to Enter Menu ConfigurationBegin by connecting the COM2 port to your PC host (see table below) andrunning EC that is available on the diskette or from Escort Memory Sys-tems’ Web site at www.ems-rfid.com.LRP820 Standard PC Serial PortCOM2 Pin Number Signal Name DB9 Pin Number Signal NameRTX2 RXPRX3TXM GND 5 GNDSet the serial parameters to the LRP820 default settings or the last knownstate of COM2.The default settings for COM2 are as follows:Baud 9600Parity NoneData bits 8Stop bits 1Flow control NoneIf you can not establish communications with COM2, do the following torestore the default values.1. Place DIP switch five in the ON position and cycle power to theLRP820 or press the reset switch. This will load the default val-ues.2. Place DIP switch 5 in the OFF position and cycle power oncemore.Please refer to Chapter 4, Serial and Bus Communications for more infor-mation on the serial interface.Copyright © 2000 Escort Memory Systems34 LRP820-Series Long-Range Passive Reader/Writer
To enter the Main Board configuration menu, cycle power or press the resetswitch, and then press CTRL-D within the first seven seconds of the initial-ization. The LRP820 will enter the Configuration Menu. As the LRP820starts the Configuration program, both the RF and CONFIG LEDs willflash. The Main Board Configuration menu will display with the currentmain board software version number together with the DSP firmware ver-sion.******************************************************LRP820 Standard ProgramSoftware V1.7C, June 2000DSP Firmware V1.7B, June 2000*******************************************************[1] Set-up Operating Parameters[2] Download New Program[3] Download DSP Firmware[4] Exit to Operating ModeEnter Selection:5.2 Set-up Operating ParametersTo change the operating parameters of the LRP820, enter 1 at the initialmenu. The following menu will be displayed, listing the current settings:The exact appearance of the menu display will depend on the settings youhave made, and will be updated when you save your changes.Serial Port COM1: RS232, 9600, N, 8, 1, No handshake (DIP switches)Serial Port COM2: RS232, 9600, N, 8, 1, No handshakeOperating Mode: ABx StandardRF Communication: Fast Mode[1] Set COM1 Parameters[2] Set COM2 Parameters[3] Set Operating Mode[4] Set RF Communications[5] Restore Factory Defaults[6] Return to Main MenuEnter Selection:Enter the number of the sub-menu you wish to enter. When you have madeyour selection you will be prompted to save your changes to the non-volatileEEPROM. For the new settings to take effect, you must save your changesto the EEPROM and reset the LRP820. If you do not save changes to theEEPROM, the new settings will be effective only until the LRP820 is reset.Copyright © 2000 Escort Memory SystemsLRP820-Series Long-Range Passive Reader/Writer 35
The following sub-menus are presented here in their entirety. Actually themenus will presented one option at time, advancing as you enter selections.Some options shown are dependent on earlier selections.Set COM1 ParametersSelecting 1 from the above menu will present the following display for theCOM1 parameters. These settings are valid only if you are not using theDeviceNet Interfaces (e.g. DIP switch 4 is in the OFF position). Enter theappropriate number at each prompt. The default values are indicated by anasterisk (*).*** Set COM1 Parameters ***Baud Rate? [0] 1200 [1] 2400 [2] 4800 [3] 9600* [4] 19200 [5] 38400Data size? [0] 7 bit [1] 8 bit*Parity? [0] None* [1] Even [2] OddHandshake? [0] None* [1] Xon/XoffSave Changes to EEPROM? [0] No [1] YesSet COM2 ParametersSelecting 2 from the above menu will bring to the following display for theCOM2 parameters. Enter the appropriate number at each prompt. Thedefault values are indicated by an asterisk.*** Set COM2 Parameters ***Baud Rate? [0] 1200 [1] 2400 [2] 4800 [3] 9600* [4] 19200Data size? [0] 7 bit [1] 8 bit*Parity? [0] None* [1] Even [2] OddHandshake? [0] None* [1] Xon/XoffSave Changes to EEPROM? [0] No [1] YesSet Operating ModeThe Set Operating Mode menu allows you to choose the command protocolthe LRP820 will use or configure it to automatically enter Continuous ReadMode upon start-up.Copyright © 2000 Escort Memory Systems36 LRP820-Series Long-Range Passive Reader/Writer
*** Set Operating Mode ***Command Protocol? [0] ABx Standard* [1] ABx Fast [2] ABx ASCIIChecksum? [0] Disabled* [1] EnabledPower up in Continuous Read Mode? [0] NO [1] Single Tag [2] Multiple TagStart Address (0 to 47)Length (1 to 48)Delay Between Duplicate Decodes (0 to 60)Raw Read Response? [0] NO [1] CR terminate [2] CR/LF terminateSave Changes to EEPROM? [0] No [1] YesCommand Protocol?The LRP820 offers three modes for the transfer of data and commands. ABxStandard (ABxS) uses only the LSB for tag data while ABx Fast (ABxF)will use both the MSB and the LSB for the passing of data. ABx ASCII(ABxA) mode permits RFID operations using seven bit data packets in theform of printable ASCII characters.Checksum?ABx Fast and ABx ASCII also permits you to include a checksum in thecommand. To use a checksum value with the ABx commands, you mustenable the checksum option. It is recommended that you enable thechecksum option.Power up in Continuous Read Mode?You also have the option of setting the LRP820 to start-up in ContinuousRead Mode. When you have configured the LRP820 to function in thismanner, you do not issue commands to the LRP820. It will, upon start-up,enter directly into a Continuous Read Mode. Since this bypasses the normalcommand parameters, you must specify the Continuous Read Mode param-eters.The LRP820 will respond to other commands and resume Continuous ReadMode when completed.If you are using your LRP820 in this mode, you must choose if you want theLRP820 to read a single tag or read multiple tags within the field.To exit Continuous Read Mode you must either re-enter the configurationmenu and select NO from the Power up in Continuous Read Mode option,or issue a Continuous Read command from the host with a read length of 0as described in Chapter 6, RFID Interface.Copyright © 2000 Escort Memory SystemsLRP820-Series Long-Range Passive Reader/Writer 37
Start Address (0-47)Enter the tag address where you want the read to begin.Length (1-48)Enter the length of the read you wish the LRP820 to perform. Make certainthat the length value does not exceed the number of possible addresses fol-lowing the starting tag address. Entering a read length of 0 will disable Con-tinuous Read Mode.Delay Between Identical Decodes (0-60)The Delay Between Identical Decodes parameters can have a value of 0 to60 seconds. When the Delay Between Identical Decodes is set to 0, theLRP820 will continuously read AND transmit tag data to the host. This canflood the buffers and cause communication errors and data loss.Raw Read Response?If you have selected ABx Fast or ABx ASCII, you have the option of strip-ping the command protocol from the data and adding a terminator to sepa-rate the data packets. You can choose a CR (0DH) or CR/LF (0DH, 0AH) toterminate the data.Set RF CommunicationThe LRP820 should be configured with the default (0) Fast Mode.*** Set RF Communication ***RF Communication? [0] Fast Mode* [1] Standard Mode 0Save Changes to EEPROM? [0] No [1] YesRestore Factory DefaultsIt is often helpful during troubleshooting to restore the LRP820 to knowndefault values. To do so, select 1from this menu.*** Restore Factory Defaults ***Restore Factory Default? [0] No [1] YesThe restored defaults will be saved to the EEPROM. The communicationdefaults can also be restored by placing the main board DIP switch number 5in the ON position and then restarting the LRP820. After you have savedany changes, you must re-initialize the LRP820 with switch 5 in the OFFposition.Copyright © 2000 Escort Memory Systems38 LRP820-Series Long-Range Passive Reader/Writer
Return to Main MenuWhen you have completed your configuration, entering 5 will return you tothe initial menu. Unsaved changes will be effective until the LRP820 is re-set. Saved changes will be loaded automatically the next time the LRP820 isreset.5.3 Download New ProgramBefore attempting to download new firmware to the LRP820 main board,read the instructions provided in a readme.txt file on the update diskette.When you select 2 from the Main Menu, the LRP820 will display informa-tion on the current program and prompt you to begin the download.*** Download New Program***Program Size :21824 BytesProgram Checksum :5AE0H (OK)Free Program Memory :39600 BytesFlash Write Counter :2 timesPress a key to start DownloadingAfter you have pressed a key, the LRP820 will display:Send the Intel Hex file. Downloading now.Send the new program file via your terminal emulation program in ASCIItext or Hexadecimal format. Wait 10 seconds after the download is completebefore resetting the LRP820.IMPORTANT:It is not necessary to download firmware into the unit unless instructed to doso by Escort Memory Systems technical support personnel.5.4 Downloading DSP FirmwareBefore attempting to download new firmware to the LRP820 main board,read the instructions provided in a readme.txt file on the update diskette.When upgrading software in the controller the number and meaning of theconfiguration parameters may not match between the old and new software.The old settings may not be interpreted properly with the new software. Be-Copyright © 2000 Escort Memory SystemsLRP820-Series Long-Range Passive Reader/Writer 39
fore downloading another version of software, display and record the currentconfiguration settings. Then download the new software version. Set switch5 (on the main board) on and apply power to initialize the configuration pa-rameters to their default states. When the LEDs stop flashing, turn Switch 5to Off and press the reset switch. Enter the Configuration Menu and re-enterany non-default configuration parameters.When you select 3 from the Main Menu, the LRP820 will prompt you tobegin the download.*** Download DSP Firmware***Press a key to start DownloadingAfter you have pressed a key, the LRP820 will display:Send the Intel Hex file. Downloading now.Send the new firmware via your terminal emulation program in ASCII textor Hexadecimal format. The firmware will be automatically transferred tothe DSP Flash Memory. Wait 10 seconds after the download is completebefore resetting the LRP820.Record: 750Download OKFile Transfer to DSPBlocco 24/24DSP Flash Programming...New Firmware Transferred to DSPWARNING:Do not download INTERFACE BOARD firmware to the main board.IMPORTANT:It is not necessary to download firmware into the unit unless instructed to doso by Escort Memory Systems technical support personnel.5.5 Exit to Operating ModeThis option is available if you wish to use temporary, unsaved, configurationparameters. The unsaved options you have selected will be used until theLRP820 is reset and the saved parameters are restored.Copyright © 2000 Escort Memory Systems40 LRP820-Series Long-Range Passive Reader/Writer
6RFID INTERFACE6.1 IntroductionThe LRP820 offer three possible command protocols: ABx Standard, ABxFast and ABx ASCII. The ABx Standard format is word-based and is com-patible with most existing RFID systems by Escort Memory Systems. TheABx Fast protocol is a byte-based packet structure that permits commandexecution with fewer total bytes transferred. The ABx ASCII protocol is alsoa byte-based format that permits the execution of RFID commands using aseven-bit ASCII character set.The ABx Fast protocol is the most efficient and therefore recommended byEscort Memory Systems. Table 7 on page 39 lists the ABx commands avail-able for the LRP820.The LRP820 command set is made of two subsets: the ‘Non-Anticollision’commands and the ‘Anticollision’ commands. The Anticollision commandsallow you to manage the multiple-tags-in-field capability of the LRP system.Command TimeoutMost commands have a timeout value that is used to limit the time theLRP820 will attempt to complete the specified operation. This value is givenin 1 ms increments with a maximum value of 65,534 ms (FFFEH). A time-out value of 0 will generate a syntax error.Between 500ms and 1000ms is recommended for a timeout value for singletag commands. Shorter timeouts may result in diminished range. A 30mstimeout value is the shortest allowable timeout and should only be used forshort range, single tag command applications. Multiple tag commands willrequire longer timeout values. For time critical applications the timeoutvalue should be tested to obtain the maximum performance value. A longertimeout value does not mean that the command will take any longer to exe-cute if the tag being addressed is in the field, it only represents the period oftime (in milliseconds) the unit will attempt to execute the command. If thetag is present, the response time to execute the command will be the samewhether the timeout is 100ms or 10,000ms.Copyright © 2000 Escort Memory SystemsLRP820-Series Long-Range Passive Reader/Writer 41
NOTE:The delay between the characters of the command packet the LRP820 can-not be longer than 200 ms.Copyright © 2000 Escort Memory Systems42 LRP820-Series Long-Range Passive Reader/WriterNon-Anticollision Commands04 Hex Fill Tag05 Hex Block Read06 Hex Block Write07 Hex Read Tag Serial Number08 Hex Tag Search0D Hex Continuous Block Read10 Hex Set Output11 Hex Input StatusAnticollision Commands84 Hex Fill Tag All*85 Hex Block Read All*86 Hex Block Write All*87 Hex Read Tag SN All*88 Hex Tag Search All*89 Hex EAS Set/Reset8A Hex EAS Start/Stop8D Hex Continuous Read All*8E Hex Memory Lock All*94 Hex SN Fill95 Hex SN Block Read96 Hex SN Block Write97 Hex SN Block Read All**These commands can not be used with a MUX32 interface.Table 7 - ABx Command Set Listing
MUX32 and Anticollision LimitationsMUX32 does not support the following “All” commands in multipletag-in-field mode (i.e. Anticollision Index is not 0):Command Number Command84H Fill Tag All85H Block Read All86H Block Write All87H Read Tag SN All88H Tag Search All8DH Continuous Read All97H SN Block Read AllThe entire command set is available for point-to-point serial communica-tions.Copyright © 2000 Escort Memory SystemsLRP820-Series Long-Range Passive Reader/Writer 43
6.2 ABx Error CodesNon-Anticollision Error CodesThe LRP820 will return an error if it encounters a fault during operation.Table 8 lists the possible error codes in Hexadecimal format.Additionally there are internal DSP errors, F1H through F5H, for use byEscort Memory Systems technical support.ABx StandardABxS error codes are returned in the LSB of the second register passed tothe PLC. The format of the error response is shown below.A Block Write fail error message would appear as: AAFF 0006 FFFFH.Copyright © 2000 Escort Memory Systems44 LRP820-Series Long-Range Passive Reader/WriterMSB LSB RemarksAAH FFH Command Error00H XXH Error CodeFFH FFH Message TerminatorError Code Description04H Fill Operation has failed05H Block Read has failed06H Block Write has failed08H Search Tag Operation failed21H Input Command does not match pre-defined format (syntax error)Table 8 — Non-Anticollision Error Codes
ABx FastThe format of the error response is shown below.A Block Write fail error message would appear as: 0202 0002 FF06 F803H.ABx ASCIIThe format of the error response is shown below.In ABx ASCII format the response size is the number of hex values and notthe number of ASCII characters used to represent the hex value.A Block Write fail error message would appear as an ASCII characterstring: <STX><STX>0002FF06F8<ETX>.In hexadecimal the commands appears as:02H 02H 30H 30H 30H 32H 46H 46H 30H 36H 46H 38H 03HCopyright © 2000 Escort Memory SystemsLRP820-Series Long-Range Passive Reader/Writer 45Field Bytes ContentsHeader<STX><STX>02H02HResponse Size 00H02HError Flag FFHError Code XXHChecksum XXHTerminators <ETX> 03HField # of ASCIIcharactersContentsHeader<STX><STX> 2<STX> 02H<STX> 02HResponse Size 4 Packet length in bytes excluding the header, response size,checksum and terminator bytesError Flag 2 FFHError Code 2 XXH - see Table 7 for detailsChecksum 2 XXH - optional checksumTerminators <ETX> 1 <ETX> 03H
Anticollision Status ByteWhen the anticollision commands encounter a fault condition they indicatethe error in a STATUS byte returned in the response. If any of the flag bits ofthe Status byte are set, then an error has occurred during command execu-tion. The format of the response is in all other ways, the same as a successfulresponse.The STATUS byte is defined as follows:76543210AntennaFailureR/W Error Collisions InternalErrorTimeout VerifyErrorReserved ReservedSome of the error conditions are the same as found in the non-anticollisioncommands, some are new and relate only to the anticollision.If any of the flag bits of the returned Status are set, then that condition oc-curred during the command execution. Multiple conditions can occur in thesame command.Antenna There is an error at the antennaFailureR/W error Error during the tag memory accessCollision Collisions detected: more than one tag in the field answeredto the LRP820 at the same time, meaning a higherAnticollision Index probably needs to be setInternal Error Internal error in low-level firmware(contact Escort Memory Systems technical assistance)Timeout Timeout expiredVerify Error Set when re-read verification failsSyntax ErrorsSyntax errors (error code 21H) will be returned in the same format asdescribed for the non-anticollision commands.Copyright © 2000 Escort Memory Systems46 LRP820-Series Long-Range Passive Reader/Writer
6.3 Anticollision CommandsFamily InterrogationThe anticollision commands always have a Family ID and an AnticollisionIndex as parameters. These parameters manage the read/writes when multi-ple tags are in the same reading field. The Family ID and Anticollision Indexcan be used separately or together. If the Family ID is zero, that feature isdisabled, if the Anticollision Index is zero, the multiple tag-in-field featureis disabled as well.If both the features are disabled, the commands operate exactly the same asthe Non-Anticollision commands.Family IDThe Family ID is a 1 byte field in the LRP tag memory at address 0. Whenthe Family ID parameter is set to 0, the command is broadcast to all the tagsin the field. On the other hand, if it is not equal to 0, only the tags with thespecified Family ID in byte 0 will respond to the LRP820.This feature can help in implementing a multi-level organization of the tags,by permitting the selective reading of tags by Family ID. This gives fasteraccess to the tags than by using Anticollision Index alone. As previouslynoted, Family ID and the Anticollision Index can be used together forincreased efficiency.When using the Family ID feature, the first byte of tag memory is reserved,and thus only 47 bytes are allowed to be used. When the feature is disabled,48 bytes are available for user data.For this reason, in the read and write commands, once the parameter FamilyID is not equal to zero, the addresses can go from 1 to 47, and the size from0 to 47. However, when the Family Code is zero, the addresses can startfrom 0, and the size can be up to 48.In order to initialize a tag with a chosen Family ID, byte 0 in the tag must beset to that value by means of a Block Write or a Block Write All command.Copyright © 2000 Escort Memory SystemsLRP820-Series Long-Range Passive Reader/Writer 47
Anticollision IndexThe Anticollision Index controls the tag reading algorithm to achieve thefastest reading speed for the number of tags expected in the reading field atany given moment. It can also disable the multiple tag-in-field feature.The Anticollision Index should be set in relation to the maximum numberof tags possibly present in the reading field at one time. Setting theAnticollision Index higher increases the number of tags that will be expectedto be read in the field. Lowering the Index speeds up the tag read operation.Selecting the Anticollision Index is therefore a tradeoff choice between thenumber of tags in the reading field, and the time required to read/write tothem. Regardless of the index setting, ALL tags present will be read. Theindex simply makes the process more efficient.None of the Anticollision Index values will absolutely limit the number oftags that can be read by the LRP820. The following table can assist you insetting the Index value, but tests should be done to find the best value. Theallowed values are from 0 to 7.Anticollision Index Max number of tags0 1 (*)1 2-42 4-83 8-164 16-325 32-646 64-1287 >128(*) anticollision disabledSome commands return or have as a parameter, the Serial Number (SN).The tag serial number is a unique read-only, 64 bit (8 bytes) code in the tagmemory. SN commands can be used to selectively write to a specific tag,identified by the SN. Target tag can be identified with a previous SN readcommand.Note that the anticollision commands, except SN Block Write, SN Fill andTag Search All, will return a response packet only after the timeout is ex-pired. If the command has the Anticollision Index set to 0, then a responsewill be returned after the first successful operation.Copyright © 2000 Escort Memory Systems48 LRP820-Series Long-Range Passive Reader/Writer
The Anticollision Commands return a successful response whenever the op-eration has been successfully completed on at least 1 tag. They will returnan Error Response when no tag, as permitted by the Family ID andAnticollision Index, can be found in the antenna field.Note also that all the start addresses, byte lengths and packet sizes are ex-pressed in 2 byte words, in order to be compatible with the HMS commandsand to allow future developments.6.3 ABx Standard ProtocolThe ABx standard is a binary protocol, word (2-byte) oriented, so the syntaxtable reports the Most Significant Byte (MSB) and the Least SignificantByte (LSB). In the serial transmission, the MSB is transmitted first.ABxS Command 4 (04H): Fill TagDESCRIPTIONFill an RFID tag with a one byte value over multiple contiguous addresses.DISCUSSIONThis command is commonly used to clear an RFID tag's memory. It writes aone byte value repetitively across a specified range of tag addresses.The fill function requires one data value byte, a starting address, and a filllength. It will then proceed to fill the tag with the data value byte, starting atthe specified start address for the specified number of consecutive bytes.When Fill Length is set to 0, the LRP820 will write fill data from the startaddress to the end of the tag's memory. The timeout value is given in 1 msecincrements and can have a value of 1EH to FFFEH (65,534 ms). When thetimeout is set to 0, the LRP820 will return a syntax error.Field RemarksCommand Command number in hex preceded by AAHStart Address The tag address where the fill will startFill Length The number of tag addresses to be filled in bytesTimeout Timeout value given in 1 ms units (1EH - FFFEH)Data Value Byte The byte to be used as fillMessage Terminator FFFFHCopyright © 2000 Escort Memory SystemsLRP820-Series Long-Range Passive Reader/Writer 496.4 ABx Standard Protocol
EXAMPLEWrites 'A' (41H) to the tag starting at address 0005H for the following nextconsecutive 10 bytes. A timeout of 2 seconds (07D0H = 2000 x 1 msecincrements) is set for the completion of the configuration.Copyright © 2000 Escort Memory Systems50 LRP820-Series Long-Range Passive Reader/WriterCommand from HostMSB LSB RemarksAAH 04H Perform Command 400H 05H Start Address = 0005H00H 0AH Fill Length= 10 bytes(000AH)07H D0H Timeout value00H 41H Data Value Byte = 41HFFH FFH Message TerminatorResponse from LRP820MSB LSB RemarksAAH 04H Command echoFFH FFH Message Terminator
ABxS Command 5 (05H): Block ReadDESCRIPTIONRead a block of data from an RFID tag.DISCUSSIONThis command is used to read segments of data from contiguous areas of tagmemory. It is capable of handling up to 48 bytes of data transferred to thehost with one command. The timeout value is given in 1 msec incrementsand can have a value of 1EH to FFFEH (65,534 ms). When the timeout isset to 0, the LRP820 will return a syntax error.The Block Read command consists of a start address and length, followedby the message terminator, FFFFH, as shown below. If the read range ex-ceeds the last tag address, the LRP820 will return error message 21H, in-valid format.The data read from the tag is returned in the LSB of the register, and theMSB is always 00H.Field RemarksCommand Command number in hex preceded by AAHStart Address The tag address where the read will startRead Length The number of tag addresses to be readTimeout Timeout value given in 1 ms units (1EH - FFFEH)Message Terminator FFFFHCopyright © 2000 Escort Memory SystemsLRP820-Series Long-Range Passive Reader/Writer 51
EXAMPLE:Reads 8 bytes of data from the tag starting at address 0001H. A timeout of 2seconds (07D0H = 2000 x 1 msec increments) is set for the completion ofthe Block Read.Copyright © 2000 Escort Memory Systems52 LRP820-Series Long-Range Passive Reader/WriterCommand from HostMSB LSB RemarksAAH 05H Perform Command 500H 01H Start Address = 0001H00H 08H Read Block Length = 8 bytes(0008H)07H D0H Timeout ValueFFH FFH Message TerminatorResponse from LRP820MSB LSB RemarksAAH 05H Command echo00H 52H Read Data1=52H00H 46H Read Data2=46H00H 49H Read Data3=49H00H 44H Read Data4=44H00H 20H Read Data5=20H00H 54H Read Data6=54H00H 61H Read Data7=61H00H 67H Read Data8=67HFFH FFH Message Terminator
ABxS Command 6 (06H): Block WriteDESCRIPTIONWrite a block of data to an RFID tag.DISCUSSIONThis command is used to write segments of data to contiguous areas of tagmemory. It is capable of transferring up to 48 bytes of data transferred fromthe Host with one command. The timeout value is given in 1 msec incre-ments and can have a value of 1EH to FFFEH (65,534 ms). When the time-out is set to 0, the LRP820 will return a syntax error.The Block Write command consists of a start address followed by the datastream to be written to the RFID tag. If the write range exceeds the last tagaddress, the LRP820 will return error message 21H, invalid format. TheLRP820 will also return an error if the write length is 0.The data to be written to the tag is contained in the LSB of the register, andthe MSB is always 00H.Field RemarksCommand Command number in hex preceded by AAHStart Address The tag address where the write will startWrite Length The number of tag addresses to be written to in bytesTimeout Timeout value given in 1 ms units (1EH - FFFEH)Write Data The data to be writtenMessage Terminator FFFFHCopyright © 2000 Escort Memory SystemsLRP820-Series Long-Range Passive Reader/Writer 53
EXAMPLE:Writes 4 bytes of data to the tag starting at address 0020H. A timeout of 2seconds (07D0H = 2000 x 1 msec increments) is set for the completion ofthe Block Write.Copyright © 2000 Escort Memory Systems54 LRP820-Series Long-Range Passive Reader/WriterCommand from HostMSB LSB RemarksAAH 06H Perform Command 600H 20H Start Address = 0020H00H 04H Write Length = 4 bytes07H D0H Timeout Value00H 52H Write Data1=52H00H 46H Write Data2=46H00H 49H Write Data3=49H00H 44H Write Data4=44HFFH FFH Message TerminatorResponse from LRP820MSB LSB RemarksAAH 06H Command echoFFH FFH Message Terminator
ABxS Command 7 (07H): Read Tag Serial NumberDESCRIPTIONThis command retrieves the eight-byte tag serial number.DISCUSSIONEach LRP tag has an unique (264 possible numbers) serial number. Thisnumber cannot be changed and is not part of the 48 available data bytes. Thetag serial number will be returned in the LSB only, with the MSB as 00H.Field RemarksCommand Command number in hex preceded by AAHTimeout Timeout value given in 1 ms units (1EH - FFFEH)Message Terminator FFFFHEXAMPLE:This example will wait until a tag is in range and then reads the 8-byte serialnumber. In this example the ID is 1E6E3DC200000000H in hexadecimal.Copyright © 2000 Escort Memory SystemsLRP820-Series Long-Range Passive Reader/Writer 55Command from HostMSB LSB RemarksAAH 07H Perform Command 707H D0H TimeoutFFH FFH Message TerminatorResponse from LRP820MSB LSB RemarksAAH 07H Command Echo00H 1EH First SN byte00H 6EH Second SN byte00H 3DH Third SN byte00H C2H Fourth SN byte00H 00H Fifth SN byte00H 00H Sixth SN byte00H 00H Seventh SN byte00H 00H Eighth SN byteFFH FFH Message Terminator
ABxS Command 8 (08H): Tag SearchDESCRIPTIONCheck to see if there is an RFID tag in the LRP820 field.DISCUSSIONThis command will activate LRP820 to "look" for a tag in the RF field. If theLRP820 finds a tag it will return a command echo to the host. The timeoutvalue is given in 1 msec increments and can have a value of 1EH to FFFEH(65,534 ms). When the timeout is set to 0, the LRP820 will return a syntaxerror. If no tag is present, it will return an error message. See Section 6.2 formore information on error codes.Field RemarksCommand Command number in hex preceded by AAHTimeout Timeout value given in 1 ms units (1EH - FFFEH)Message Terminator FFFFHEXAMPLEChecks for an RFID tag in the RF field. A timeout of 2 seconds (07D0H =2000 x 1 msec increments) is set for the completion of the Tag Search.Copyright © 2000 Escort Memory Systems56 LRP820-Series Long-Range Passive Reader/WriterCommand from HostMSB LSB RemarksAAH 08H Perform Command 807H D0H Timeout ValueFFH FFH Message TerminatorResponse from LRP820MSB LSB RemarksAAH 08H Command echoFFH FFH Message Terminator
ABxS Command D (0DH): Continuous Block ReadDESCRIPTIONWhen in Continuous Block Read mode, the LRP820 sends block reads con-tinuously to any tag in range of the antenna. When a tag enters the RF field,it is read and the data passed to the host computer. The LRP820 continues toread the tag but will not send the same data to the host until the tag has beenoutside the RF field for a specified time period. This Delay Between Identi-cal Decodes parameter prevents redundant data transmissions when theLRP820 is in Continuous Block Read mode.DISCUSSIONThe initiate/cancel Continuous Block Read command contains three param-eters: read length, start address, and delay between identical decodes. Theread length parameter switches the mode. Any valid, non-zero length (1-48)will set the LRP820 into Continuous Block Read mode. A read length valueof 00H will turn Continuous Block Mode off.The Delay Between Identical Decodes parameters can have a value of 0 to60 seconds. When the Delay Between Identical Decodes is set to 0, theLRP820 will continuously read AND transmit tag data to the host. This canflood the buffers and cause communication errors and data loss.If the LRP820 receives other commands from the host, it will execute themand then resume Continuous Block Read mode. To exit Continuous BlockRead mode, issue the command with a read length of 0.In Continuous Block Read mode, the LEDs will display as follows:LED Behavior DescriptionANT LED ON Assumes the Antenna is powered and functioningCONFIG LED BLINK Tag entered the RF fieldRF LED ON A tag has been read and is still in the fieldRF LED OFF A read tag has been out of range for the specified timeCopyright © 2000 Escort Memory SystemsLRP820-Series Long-Range Passive Reader/Writer 57
The command is formatted as follows.Field RemarksCommand Command number in hex preceded by AAHStart Address 2 byte value for the start address in the tagRead Length 2 byte value for the block read lengthDelay BetweenIdentical DecodesTime the tag must be out of the antenna range before the LRP820 willtransmit data again from that tag. Value is expressed in 1 second units.Message Terminator FFFFHEXAMPLEThis example places the LRP820 in Continuous Block Read mode and reads8 bytes of data from the tag starting at address 0001H. A delay betweenidentical reads of 2 seconds (0002H = 2 x 1 second increments) is set.The LRP820 will first return an acknowledgment of the command followedby a response containing read data when a tag enters the antenna field.Copyright © 2000 Escort Memory Systems58 LRP820-Series Long-Range Passive Reader/WriterResponse from LRP820MSB LSB RemarksAAH 0DH Command echoFFH FFH Message TerminatorCommand from HostMSB LSB RemarksAAH 0DH Perform Command D00H 01H Start address00H 08H Read 8 bytes00H 02H 2 second delayFFH FFH Message TerminatorResponse from LRP820MSB LSB RemarksAAH 0DH Command echo00H 52H Read data byte 100H 46H Read data byte 200H 49H Read data byte 300H 44H Read data byte 400H 41H Read data byte 500H 20H Read data byte 600H 54H Read data byte 700H 61H Read data byte 8FFH FFH Message Terminator
To exit Continuous Block Read mode, Send the command with the readlength variable set to 0 as shown below. The value of the other variables arenot considered.Copyright © 2000 Escort Memory SystemsLRP820-Series Long-Range Passive Reader/Writer 59Command from HostMSB LSB RemarksAAH 0DH Perform Command D00H 01H Start address00H 00H Read 0 bytes/end mode00H 02H 2 second delayFFH FFH Message TerminatorResponse from LRP820MSB LSB RemarksAAH 0DH Command echoFFH FFH Message Terminator
ABxS Command 10 (10H): Set OutputDESCRIPTIONSet the levels of the output lines and output LEDs "A" through "D."DISCUSSIONThis command uses bit logic to set the levels of the digital output lines. Thefour least significant bit toggle the output levels;1=ONand0=OFF.Thefollowing chart shows the hex values for all output high combinations. Toreset all output, issue the command with 00H in the second word.Field RemarksCommand Command number in hex preceded by AAHOutput Pattern Hex value for the bit output settingsMessage Terminator FFFFHCopyright © 2000 Escort Memory Systems60 LRP820-Series Long-Range Passive Reader/WriterMSB LSB Remarks LSB Bit 3Output DLSB Bit 2Output CLSB Bit 1Output BLSB Bit 0Output A00H 00H Reset A, B, C, D 000000H 01H Set Output A - Reset B, C, D 000100H 02H Set Output B - Reset A, C, D 001000H 03H Set Output A, B - Reset C, D 001100H 04H Set Output C - Reset A, B, D 010000H 05H Set Output A, C - Reset B, D 010100H 06H Set Output B, C - Reset A, D 011000H 07H Set Output A, B, C - Reset D 011100H 08H Set Output D - Reset A, B, C 100000H 09H Set Output A, D - Reset B, C 100100H 0AH Set Output B, D - Reset A, C 101000H 0BH Set Output A, B, D - Reset C 101100H 0CH Set Output C, D - Reset A, B 110000H 0DH Set Output A, C, D - Reset B 110100H 0EH Set Output B, C, D - Reset A 111000H 0FH Set Output A, B, C, D 1111
EXAMPLEThe following example sets Output B only and resets A, C, and D.Copyright © 2000 Escort Memory SystemsLRP820-Series Long-Range Passive Reader/Writer 61Command from HostMSB LSB RemarksAAH 10H Perform Command 1000H 02H Set Output BFFH FFH Message TerminatorResponse from LRP820MSB LSB RemarksAAH 10H Command echoFFH FFH Message Terminator
ABxS Command 11 (11H): Input StatusDESCRIPTIONRetrieves the input line levels.DISCUSSIONThis command uses bit logic to monitor the levels of the digital input lines.The four least significant bits display the input levels;1=ONand0=OFF.The following chart shows the hex values for all input conditions that can bereturned in the second word of the response.Field RemarksCommand Command number in hex preceded by AAHMessage Terminator FFFFHCopyright © 2000 Escort Memory Systems62 LRP820-Series Long-Range Passive Reader/WriterMSB LSB Remarks LSB Bit 3Input DLSB Bit 2Input CLSB Bit 1Input BLSB Bit 0Input A00H 00H Inputs A, B, C, D, OFF 000000H 01H Input A, ON - B, C, D, OFF 000100H 02H Input B, ON - A, C, D, OFF 001000H 03H Input A, B, ON - C, D, OFF 001100H 04H Input C, ON - A, B, D, OFF 010000H 05H Input A, C, ON - B, D, OFF 010100H 06H Input B, C, ON - A, D, OFF 011000H 07H Input A, B, C, ON - D, OFF 011100H 08H Input D, ON - A, B, C, OFF 100000H 09H Input A, D, ON - B, C, OFF 100100H 0AH Input B, D, ON - A, C, OFF 101000H 0BH Input A, B, D, ON - C, OFF 101100H 0CH Input C, D, ON - A, B, OFF 110000H 0DH Input A, C, D, ON - B, OFF 110100H 0EH Input B, C, D, ON - A, OFF 111000H 0FH Input A, B, C, D, ON 1111
EXAMPLEThe following example shows only Input B is ON.Copyright © 2000 Escort Memory SystemsLRP820-Series Long-Range Passive Reader/Writer 63Command from HostMSB LSB RemarksAAH 11H Perform Command 11FFH FFH Message TerminatorResponse from LRP820MSB LSB RemarksAAH 11H Command echo00H 02H Input B ONFFH FFH Message Terminator
ABxS Command 84 (84H): Fill Tag AllDESCRIPTIONFill all RFID tags-in-field or all tags in the same family with a one bytevalue over multiple contiguous addresses.DISCUSSIONThis command is commonly used to clear an RFID tag's memory. It writes aone byte value repetitively across a specified range of tag addresses. All tagspresent in the antenna field with the specified Family ID will be affected bythis command.The fill function requires one data value byte, a starting address, and a filllength. It will then proceed to fill the tag with the data value byte, starting atthe specified start address for the specified number of consecutive bytes.The Fill Length must be set to a non-zero value (1-48). The timeout value isgiven in 1 msec increments and can have a value of 1EH to FFFEH (65,534ms). When the Anticollision Index is not zero (multiple tag-in-field en-abled), the LRP820 will return a response after the timeout expires. If theAnticollision Index is 0, a response is returned when a successful operationis performed on 1 tag or when the timeout has expired. When the timeout isset to 0, the LRP820 will return a syntax error.Field RemarksCommand Command number in hex preceded by AAHFamily Code Tag Family ID - 00H = all tagsAnticollision index Number of tags expected in fieldStart Address The tag address where the fill will startFill Length The number of tag addresses to be filled (1-48)Timeout Timeout value given in 1 ms units (1EH - FFFEH)Data Value Byte The byte to be used as fillMessage Terminator FFFFHNOTE:This command can not be used over a MUX32 interface.Copyright © 2000 Escort Memory Systems64 LRP820-Series Long-Range Passive Reader/Writer
A response to a successful command will follow this form.Field RemarksCommand Echo Command number in hex preceded by AAHNumber of Tags filled Number of tags found in the field and filledCommand Status One byte Error statusMessage Terminator FFFFHEXAMPLEWrites 'A' (41H) to all tags of family 01H, starting at tag address 0005H forthe following next consecutive 40 bytes with four to eight tags expected inthe field.. A timeout of 2 seconds (07D0H = 2000 x 1 msec increments) isset for the completion of the Fill All Tag. The Anticollision Index is set to 2so 4 to 8 tags will be expected. Four tags are successfully filled within thetimeout.Copyright © 2000 Escort Memory SystemsLRP820-Series Long-Range Passive Reader/Writer 65Command from HostMSB LSB RemarksAAH 84H Perform Command 8401H 02H Tag Family 01/ Index 200H 05H Start Address00H 28H Fill Length07H D0H Timeout00H 41H Fill byteFFH FFH Message TerminatorResponse from LRP820MSB LSB RemarksAAH 84H Command Echo04H 08H Ntag/StatusFFH FFH Message Terminator
ABxS Command 85 (85H): Block Read AllDESCRIPTIONRead a block of data from all RFID tags-in-field or those with the specifiedFamily ID.DISCUSSIONThis command is used to read segments of data from contiguous areas of tagmemory. It is capable of handling up to 48 bytes of data transferred to thehost with one command. The timeout value is given in 1 msec incrementsand can have a value of 1EH to FFFEH (65,534 ms). When the timeout isset to 0, the LRP820 will return a syntax error message 21H.The Block Read All consists of Tag Family ID and an Anticollision Index, astart address and length, followed by a timeout value and the message termi-nator, FFFFH. If the read length exceeds the last tag address, the LRP820will return a syntax error message 21H.The data read from the tag is returned in the LSB of the register, and theMSB is always 00H.A special termination packet (AAH FFH) is sent after the timeout expires.When the Anticollision Index is not zero (multiple tag-in-field enabled), theLRP820 will return a response after the timeout expires. If the AnticollisionIndex is 0, the command returns a response after the successful operation onone tag or when the timeout expires. No termination packet is sent when theAnticollision Index is set to 0.Field RemarksCommand Command number in hex preceded by AAHTag Family Tag Family ID - 00H = all tagsAnticollision index Number of tags expected in fieldStart Address The tag address where the read will startRead Length The number of tag addresses to be readTimeout Timeout value given in 1 ms units (1EH - FFFEH)Message Terminator FFFFHNOTE:This command can not be used over a MUX32 interface.Copyright © 2000 Escort Memory Systems66 LRP820-Series Long-Range Passive Reader/Writer
EXAMPLE:Reads 4 bytes of data from the tag starting at address 0001H. A timeout of 2seconds (07D0H = 2000 x 1 msec increments) is set for the completion ofthe Block Read All. The Family ID byte is set to zero so all tags will be read.The Anticollision Index is set to 2, so 4 to 8 tags will be expected. Threetags respond with read data.Copyright © 2000 Escort Memory SystemsLRP820-Series Long-Range Passive Reader/Writer 67Command from HostMSB LSB RemarksAAH 85H Perform Command 8500H 02H Tag Family 00/ Index 200H 01H Start Address00H 04H Read Length07H D0H TimeoutFFH FFH Message TerminatorResponse from LRP820MSB LSB RemarksAAH 85H Command Echo/Tag 100H 30H Data byte 1/Tag 100H 31H Data byte 2/Tag 100H 32H Data byte 3/Tag 100H 33H Data byte 4/Tag 1FFH FFH Terminator/ Tag 1AAH 85H Command Echo/Tag 200H 40H Data byte 1/Tag 200H 41H Data byte 2/Tag 200H 42H Data byte 3/Tag 200H 43H Data byte 4/Tag 2FFH FFH Terminator/ Tag 2AAH 85H Command Echo/Tag 300H 34H Data byte 1/Tag 300H 35H Data byte 2/Tag 300H 36H Data byte 3/Tag 300H 37H Data byte 4/Tag 3FFH FFH Terminator/ Tag 3AAH FFH Termination Packet03H 08H Ntag/StatusFFH FFH Terminator Message
ABxS Command 86 (86H): Block Write AllDESCRIPTIONWrite a block of data to all RFID tags or all tags with the same Family ID.DISCUSSIONThis command is used to write segments of data to contiguous areas of tagmemory. It is capable of transferring up to 48 bytes of data transferred fromthe Host with one command. The timeout value is given in 1 msec incre-ments and can have a value of 1EH to FFFEH (65,534 ms). When the time-out is set to 0, the LRP820 will return a syntax error.The Block Write consists of a Tag Family ID and an Anticollision Index,start address followed by the data stream to be written to the RFID tag. If thewrite range exceeds the last tag address, the LRP820 will return error mes-sage 21H, invalid format.The data to be written to the tag is contained in the LSB of the register, andthe MSB is always 00H.The LRP820 returns a response when the timeout expires. If theAnticollision Index is 0 the command returns a response after the successfuloperation on 1 tag, or when the timeout expires.Field RemarksCommand Command number in hex preceded by AAHFamily ID Tag Family ID - 00H = all tagsAnticollision Index Number of tags expectedStart Address The tag address where the write will startWrite Length The number of tag addresses to be written to in bytesTimeout Timeout value given in 1 ms units (1EH - FFFEH)Write Data The data to be written (1-48 bytes)Message Terminator FFFFHNOTE:This command can not be used over a MUX32 interface.Copyright © 2000 Escort Memory Systems68 LRP820-Series Long-Range Passive Reader/Writer
EXAMPLE:Writes 4 bytes of data, starting at address 0001H. A timeout of 2 seconds(07D0H = 2000 x 1 msec increments) is set for the completion of the BlockWrite. The Family ID byte is set to 2, so all tags with Family ID of 2 will bewritten to (four tags in this example). The Anticollision Index is set to 2, so4 to 8 tags are expected in the field.Copyright © 2000 Escort Memory SystemsLRP820-Series Long-Range Passive Reader/Writer 69Command from HostMSB LSB RemarksAAH 86H Perform Command 8602H 02H Tag Family/ Index 200H 01H Start Address00H 04H Write Length07H D0H Timeout00H 40H Data byte 100H 41H Data byte 200H 42H Data byte 300H 43H Data byte 4FFH FFH Message TerminatorResponse from LRP820MSB LSB RemarksAAH 86H Command Echo04H 08H Ntags/StatusFFH FFH Message Terminator
ABxS Command 87 (87H): Read Tag SN AllDESCRIPTIONThis command retrieves the 8-byte tag serial number from all tags or thosewith the specified Family ID number.DISCUSSIONEach LRP tag has an unique (264 possible numbers) serial number. Thisnumber cannot be changed and is not part of the 48 available data bytes. Thetag serial number is returned in the LSB only, with the MSB as 00H.The timeout value is given in 1 msec increments and can have a value of1EH to FFFEH (65,534 ms). When the timeout is set to 0, the LRP820 willreturn a syntax error. A special termination packet (starting with AAH FFH)is sent when the timeout expires. If the Anticollision Index is 0, a response isreturned after successful operation to 1 tag or after the timeout has expired.No termination packet is sent after a successful operation when theAnticollision Index set to 0.Field RemarksCommand Command number in hex preceded by AAHFamily ID Tag Family ID - 00H = all tagsAnticollision Index Number of tags-in-field expectedTimeout Timeout value given in 1 ms units (1EH - FFFEH)Message Terminator FFFFHNOTE:This command can not be used over a MUX32 interface.Copyright © 2000 Escort Memory Systems70 LRP820-Series Long-Range Passive Reader/Writer
EXAMPLE:This example will read the 8-byte serial number from Tag Family 2. TheAnticollision Index of 1 sets the number of expected tags at 2-4. In thisexample the ID for the found tag is 1E6E3CD200000000H in hexadecimal.Multiple tags will return a complete response packet for each tag.Copyright © 2000 Escort Memory SystemsLRP820-Series Long-Range Passive Reader/Writer 71Command from HostMSB LSB RemarksAAH 87H Perform Command 8701H 01H Family ID/ Index 107H D0H TimeoutFFH FFH Message TerminatorResponse from LRP820MSB LSB RemarksAAH 87H Command Echo00H 1EH First SN byte00H 6EH Second SN byte00H 3CH Third SN byte00H D2H Fourth SN byte00H 00H Fifth SN byte00H 00H Sixth SN byte00H 00H Seventh SN byte00H 00H Eighth SN byteFFH FFH Message TerminatorAAH FFH Termination packet01H 08H Ntags/StatusFFH FFH Message Terminator
ABxS Command 88 (88H): Tag Search AllDESCRIPTIONCheck to see if there is an RFID tag in the LRP820 field.DISCUSSIONThis command will activate LRP820 to "look" for a tag in the RF field. Assoon as the LRP820 finds a tag it will return a command echo to the host.The timeout value is given in 1 msec increments and can have a value of1EH to FFFEH (65,534 ms). When the timeout is set to 0, the LRP820 willreturn a syntax error. If no tag is present, it will return an error message. SeeSection 6.2 for more information on error codes.The number of tags returned can be either 1 (tag found) or 0 (timeout ex-pired without having found a tag).Field RemarksCommand Command number in hex preceded by AAHFamily ID Tag Family ID - 00H = all tagsAnticollision Index Number of tags expectedTimeout Timeout value given in 1 ms units (1EH - FFFEH)Message Terminator FFFFHNOTE:This command can not be used over a MUX32 interface.EXAMPLEChecks for an RFID tag in the RF field. A timeout of 1 seconds (07D0H =2000 x 1 msec increments) is set for the completion of the Tag Search. TheFamily ID is set for any tag, and the Anticollision Index is set to expect 2-4tags. One tag is found and the command is successful.Copyright © 2000 Escort Memory Systems72 LRP820-Series Long-Range Passive Reader/WriterCommand from HostMSB LSB RemarksAAH 88H Perform Command 8800H 01H Family ID/Anticollision Index 107H D0H 2 second TimeoutFFH FFH Message TerminatorResponse from LRP820MSB LSB RemarksAAH 88H Command Echo01H 00H Ntags/StatusFFH FFH Message Terminator
ABxS Command 89 (89H): EAS Set/Reset AllDESCRIPTIONSets or resets the EAS feature in tag memory for all tags in range, and of thespecified Family, when the command is issued.DESCRIPTIONThe commands contains a 1 byte parameter that enables or Disables theEAS feature in tags that receive the command. When the EAS Set/Reset Allcommand is issued, the LRP820 responds with the number of tags affected(Ntag). If the LRP820 returns a 0 for Ntag, no tags were set or reset by thecommand.The timeout value is given in 1 msec increments and can have a value of1EH to FFFEH (65,534 ms). When the timeout is set to 0, the LRP820 willreturn a syntax error.When multiple tag-in-field is enabled (Anticollision Index is not 0), theLRP820 will return a response when the timeout period expires. When mul-tiple tag-in-field is disabled, the LRP820 will return a response when it readsa tag or the timeout expires.Field RemarksCommand Command number in hex preceded by AAHFamily ID Tag Family ID - 00H = all tagsAnticollision Index Number of tags expectedTimeout Timeout value given in 1 ms units (1EH - FFFEH)Set/Reset 1 = enable, 0 = disableMessage Terminator FFFFHCopyright © 2000 Escort Memory SystemsLRP820-Series Long-Range Passive Reader/Writer 73
EXAMPLEThis example assumes that the tags-in-field are not enabled for the EASfeature. It will enabled the EAS feature for tags with Family ID 09H. TheAnticollision Index is 2, so 4-8 tags are expected in the field. When the com-mand is issued, 5 tags with Family ID 09H are found and enabled for EAS.Copyright © 2000 Escort Memory Systems74 LRP820-Series Long-Range Passive Reader/WriterCommand from HostMSB LSB RemarksAAH 89H Perform Command 8909H 02H Family ID/Anticollision Index 207H D0H Timeout00H 01H Enable EASFFH FFH Message TerminatorResponse from LRP820MSB LSB RemarksAAH 89H Command Echo05H 08H Ntags/StatusFFH FFH Message Terminator
ABxS Command 8A (8AH): EAS Start/StopDESCRIPTIONIf are using the EAS feature in your application, the EAS Start/Stop com-mand enters and exits the LRP820 from EAS mode.DISCUSSIONWhen EAS mode has been started, the LRP820 will return a response whenone or more EAS-enabled tags have entered the antenna field. It will send asecond response when all EAS-enabled tags have exited the field. The com-mand contains a control byte that toggles EAS: 1 = start, 0 = stop. A FamilyID can be set so that only EAS-enabled tags from the specified Family trig-ger EAS responses. The Anticollision Index is ignored and should be set to00H for this command.The EAS mode also controls the CONFIG, ERROR and RF LEDs. The fol-lowing table explains LED behavior.LED(s) Behavior DescriptionCONFIG,ERROR,RF LEDOFF No EAS-enabled tag in fieldCONFIG LED BLINK EAS-enabled tag entered field.RF LED ON EAS tag has been read. LED will remain ON until all EAS tags have leftthe field.ERROR LED BLINKS Last EAS tag left the field.IMPORTANT:EAS mode prevents any other commands from being acknowledged orexecuted until EAS has been stopped.Field RemarksCommand Command number in hex preceded by AAHFamily ID Tag Family ID - 00H = all tagsStart/Stop 1 = start, 0 = stopMessage Terminator FFFFHCopyright © 2000 Escort Memory SystemsLRP820-Series Long-Range Passive Reader/Writer 75
EXAMPLEThis example starts EAS mode. Three responses follow. The first is a com-mand acknowledgment. The LRP820 sends the second when the firstEAS-enabled tag enters the field, A third response is sent when field is clearof EAS-enabled tags. Family ID is set to 0 so that any EAS-enabled tag willtrigger responses.When an EAS-enabled tag enters the antennas’ field, the LRP820 respondswith an EAS tag-in-field response.When all EAS-enabled tags have left the field, the LRP820 will send the fol-lowing response.Copyright © 2000 Escort Memory Systems76 LRP820-Series Long-Range Passive Reader/WriterTags-in-Field Response from LRP820MSB LSB RemarksAAH 8AH Command Echo01H 00H Ntag/StatusFFH FFH Message TerminatorEAS Tags Left FieldResponse from LRP820MSB LSB RemarksAAH 8AH Command Echo00H 00H Ntag/StatusFFH FFH Message TerminatorCommand from HostMSB LSB RemarksAAH 8AH Perform Command 8A00H 00H Family ID/null byte00H 01H Start/StopFFH FFH Message TerminatorACT Response from LRP820MSB LSB RemarksAAH 8AH Command EchoFFH 00H Ntag/StatusFFH FFH Message Terminator
ABxS Command 8D (8DH): Continuous Read AllDESCRIPTIONStarts and stops Continuous Read All mode for multiple tags.DISCUSSIONContinuous Read All mode is set by the length byte. To start ContinuousRead All mode send the command with valid, non-zero value for the lengthof the read (1-48). Stop the mode by sending the command with a readlength of 0.While in this mode, any other command can be issued and it will be handledproperly. After processing the new command, the LRP820 will resume theContinuous Read All mode.The command has a parameter, tag delay, that can prevent multiple reads ofthe same tag. A tag is not read a second time until a specified number oftags have been read since it was last read. Allowed value are from 0 to 255(FFH), where 0 means the tag can be re-read anytime. When ContinuousRead All mode is interrupted with other commands, the tag delay count isstopped during execution of the other commands and then resumed.The LRP820 will respond with an acknowledge packet followed by datapackets for each tag read.CONFIG LED blinks after each packet transmission.Field RemarksCommand Command number in hex preceded by AAHFamily ID Tag Family ID - 00H = all tagsAnticollision Index Number of tags expectedStart Address Tag address for the start of the readRead Length 1-48 = start, 0 = stopTag Delay Number of tag that must be read before the same tag will be read again(0-255)Message Terminator FFFFHNOTE:This command can not be used over a MUX32 interface.Copyright © 2000 Escort Memory SystemsLRP820-Series Long-Range Passive Reader/Writer 77
EXAMPLEReads 4 bytes of data from the tag starting at address 0001H. The Family IDbyte is set to zero so all tags will be read. The Anticollision Index is set to 2so 4 to 8 tags will be expected. The Tag Delay is set to 20 (14H). Three tagsrespond with read data.After the LRP820 sends the acknowledgment, it will send the read data fromthe 3 tags.Copyright © 2000 Escort Memory Systems78 LRP820-Series Long-Range Passive Reader/WriterCommand from HostMSB LSB RemarksAAH 8DH Perform Command 8D00H 02H Tag Family 00/ Index 200H 01H Start Address00H 04H Read Length00H 14H Tag DelayFFH FFH Message TerminatorACK Response from LRP820MSB LSB RemarksAAH 8DH Command EchoFFH FFH Message TerminatorData response from LRP820MSB LSB RemarksAAH 8DH Command Echo/Tag 100H 30H Data byte 1/Tag 100H 31H Data byte 2/Tag 100H 32H Data byte 3/Tag 100H 33H Data byte 4/Tag 1FFH FFH Terminator/ Tag 1AAH 8DH Command Echo/Tag 200H 40H Data byte 1/Tag 200H 41H Data byte 2/Tag 200H 42H Data byte 3/Tag 200H 43H Data byte 4/Tag 2FFH FFH Terminator/ Tag 2AAH 8DH Command Echo/Tag 300H 34H Data byte 1/Tag 300H 35H Data byte 2/Tag 300H 36H Data byte 3/Tag 300H 37H Data byte 4/Tag 3FFH FFH Terminator/ Tag 3
ABxS Command 8E (8EH): Memory Lock AllDESCRIPTIONThis command “locks” tag addresses in four byte blocks. Once bytes arelocked, they can not be unlocked.DISCUSSIONThe memory can be locked only in 4-byte blocks. The command passes atwo byte word with bits assigned to 4-byte blocks that can be locked. Re-maining bits can lock the EAS feature and the lock configuration itself.When multiple tag-in-field is enabled (Anticollision Index is not 0), theLRP820 will return a response when the timeout period expires. When mul-tiple tag-in-field is disabled, the LRP820 will return a response when it locksbytes or the timeout expires.Attempting to write to locked bytes will return a write timeout error in thestatus byte. If you write to addresses that contain both locked andnon-locked bytes, the LRP820 will return a write error in the status byte.The configuration word formatted as shown below.Byte Bit DescriptionLockLSB 0 Tag bytes 0-31 Tag bytes 4-72 Tag bytes 8-113 Tag bytes 12-154 Tag bytes 16-195 Tag bytes 20-236 Tag bytes 24-277 Tag bytes 28-31LockMSB 8 Tag bytes 32-359 Tag bytes 36-3910 Tag bytes 40-4311 Tag bytes 44-4712 Lock Configuration13 Lock EAS feature14 Reserved15 ReservedCopyright © 2000 Escort Memory SystemsLRP820-Series Long-Range Passive Reader/Writer 79
If a bit in the configuration word is set, then the corresponding block in thetag is locked when the command is issued. If a bit in the configuration wordis cleared (0), then the corresponding block will not change. Once locked, ablock can not be unlocked.The timeout value is given in 1 msec increments and can have a value of1EH to FFFEH (65,534 ms). When the timeout is set to 0, the LRP820 willreturn a syntax error.The command is formatted as shown below.Field RemarksCommand Command number in hex preceded by AAHFamily Code Tag Family ID - 00H = all tagsAnticollision index Number of tags-in-field expectedTimeout Timeout value given in 1 ms units (1EH - FFFEH)LockMSB Bits 8-15 of the configuration wordLockLSB Bits 0-7 of the configuration wordMessage Terminator FFFFHEXAMPLEThis example will lock bytes 0-3 on all tags-in-field with the Family ID of02H. Two tags are found and locked.Copyright © 2000 Escort Memory Systems80 LRP820-Series Long-Range Passive Reader/WriterCommand from HostMSB LSB RemarksAAH 8EH Perform Command 8E02H 01H Family ID/anticollision Index07H D0H 2 second timeout00H 01H Lock ConfigurationFFH FFH Message TerminatorResponse from LRP820MSB LSB RemarksAAH 8EH Command Echo02H 08H Ntag/StatusFFH FFH Message Terminator
ABxS Command 94 (94H): SN FillDESCRIPTIONFills only the RFID tag specified by serial number with a one byte valueover multiple contiguous addresses.DISCUSSIONThis command is commonly used to clear an RFID tag's memory. It writes aone byte value repetitively across a specified range of tag addresses. Onlythe tag with the specified serial number will be affected by this command.The LRP820 will return a response after the successful fill operation orwhen the timeout expires.The fill function requires a Family ID and an Anticollision Index, one datavalue byte, a starting address, and a fill length. Then the command lists theserial numbers of the tag to be filled. It fills the specified tag with the datavalue byte, starting at the specified start address for the specified number ofconsecutive bytes. When Fill Length is set to 0, the LRP820 will write filldata from the start address to the end of the tags memory.The timeout value is given in 1 msec increments and can have a value of1EH to FFFEH (65,534 ms). When the timeout is set to 0, the LRP820 willreturn a syntax error. It returns a response when done or when the timeoutexpires.Field RemarksCommand Command number in hex preceded by AAHFamily Code Tag Family ID - 00H = all tagsAnticollision index Number of tags-in-field expectedStart Address The tag address where the fill will startFill Length The number of tag addresses to be filledTimeout Timeout value given in 1 ms units (1EH - FFFEH)Tag Serial Number The 8-byte serial numberData Value Byte The byte used to fillMessage Terminator FFFFHCopyright © 2000 Escort Memory SystemsLRP820-Series Long-Range Passive Reader/Writer 81
A response to a successful command will follow this form.Field RemarksCommand Echo Command number in hex preceded by AAHNumber of Tags filled 0 = tag not found, 1 = tag filledCommand Status One byte Error statusMessage Terminator FFFFHEXAMPLEWrites 'A' (41H) to a single tag, starting at tag address 0005H for the follow-ing next consecutive 40 bytes. The Family ID is turned off and theAnticollision Index is set to expect 2-4 tags. A timeout of 2 seconds (07D0H= 2000 x 1 msec increments) is set for the completion of the configuration.Copyright © 2000 Escort Memory Systems82 LRP820-Series Long-Range Passive Reader/WriterCommand from HostMSB LSB RemarksAAH 94H Perform Command 9400H 01H Family ID/ Index 100H 05H Start Address00H 28H Fill Length07H D0H Timeout00H 01H SN byte 100H ACH SN byte 200H 42H SN byte 300H D0H SN byte 400H 27H SN byte 500H 1CH SN byte 600H 65H SN byte 700H 33H SN byte 800H 41H Fill byteFFH FFH Message TerminatorResponse from HostMSB LSB RemarksAAH 94H Command Echo01H 00H Ntag/StatusFFH FFH Message Terminator
ABxS Command 95 (95H): SN Block ReadDESCRIPTIONRead a block of data from a specified RFID tag.DISCUSSIONThis command is used to read segments of data from contiguous areas of tagmemory. It is capable of handling up to 48 bytes of data transferred to thehost with one command if there is no tag Family ID. The timeout value isgiven in 1 msec increments and can have a value of 1EH to FFFEH (65,534ms). When the timeout is set to 0, the LRP820 will return a syntax error.The SN Block Read consists of Family ID and an Anticollision Index, a startaddress and length, followed by a timeout value. The 8-byte serial number ofthe target tag is specified. If the read length exceeds the last tag address, theLRP820 will return error message in the status byte. It returns a responsewhen done or when the timeout expires.The data read from the tag is returned in the LSB of the register, and theMSB is always 00H. A special error packet (AAH FFH) is sent if the time-out expires.Field RemarksCommand Command number in hex preceded by AAHTag Family Tag Family ID - 00H = all tagsAnticollision index Number of tags expectedStart Address The tag address where the read will startRead Length The numbers of tag addresses to be readTimeout Timeout value given in 1 ms units (1EH - FFFEH)Tag Serial Number 8-byte tag serial numberMessage Terminator FFFFHCopyright © 2000 Escort Memory SystemsLRP820-Series Long-Range Passive Reader/Writer 83
EXAMPLE:Reads 4 bytes of data from the tag specified by serial number starting ataddress 0001H. A timeout of 2 seconds (07D0H = 2000 x 1 msec incre-ments) is set for the completion of the SN Block Read. The Family ID byteis set to zero. The Anticollision Index is set to 2, expecting 4-8 tags in thefield.Copyright © 2000 Escort Memory Systems84 LRP820-Series Long-Range Passive Reader/WriterCommand from HostMSB LSB RemarksAAH 95H Perform Command 9500H 02H Tag Family 00/ Index 200H 01H Start Address00H 04H Read Length07H D0H Timeout00H ABH SN byte 100H 02H SN byte 200H F3H SN byte 300H 55H SN byte 400H C5H SN byte 500H 2DH SN byte 600H 41H SN byte 700H A0H SN byte 8FFH FFH Message TerminatorResponse from LRP820MSB LSB RemarksAAH 95H Command Echo00H 30H Data byte 100H 31H Data byte 200H 32H Data byte 300H 33H Data byte 401H 00H Ntag/StatusFFH FFH Message Terminator
ABxS Command 96 (96H): SN Block WriteDESCRIPTIONWrite a block of data to a single RFID tag specified by its serial number.DISCUSSIONThis command is used to write segments of data to contiguous areas of tagmemory. It is capable of transferring up to 48 bytes of data transferred fromthe Host with one command. The timeout value is given in 1 msec incre-ments and can have a value of 1EH to FFFEH (65,534 ms). When the time-out is set to 0, the LRP820 will return a syntax error.The SN Block Write consists of a Family ID, Anticollision Index, and startaddress followed by the data stream to be written to the RFID tag. If thewrite range exceeds the last tag address, the LRP820 will return an errormessage 21H, invalid format. It returns a response when done or when thetimeout expires.The data to be written to the tag is contained in the LSB of the register, andthe MSB is always 00H.Field RemarksCommand Command number in hex preceded by AAHFamily ID Tag Family ID - 00H = all tagsAnticollision Index Number of tags expectedStart Address The tag address where the write will startWrite Length The number of tag addresses to be written toTimeout Timeout value given in 1 ms units (1EH - FFFEH)Tag Serial Number 8-byte tag serial numberWrite Data The data to be written (1-48 bytes)Message Terminator FFFFHCopyright © 2000 Escort Memory SystemsLRP820-Series Long-Range Passive Reader/Writer 85
EXAMPLE:Writes 4 bytes of data, starting at address 0001H. A timeout of 2 seconds(07D0H = 2000 x 1 msec increments) is set for the completion of the BlockWrite. The Family ID byte is set to 0 and the Anticollision Index is set to 2for this example, meaning the LRP820 will be expecting 4-8 tags in thefield.Copyright © 2000 Escort Memory Systems86 LRP820-Series Long-Range Passive Reader/WriterResponse from LRP820MSB LSB RemarksAAH 96H Command Echo01H 00H Ntags/StatusFFH FFH Message TerminatorCommand from HostMSB LSB RemarksAAH 96H Perform Command 9602H 02H Tag Family 02/ Index 200H 01H Start Address00H 04H Write Length07H D0H Timeout00H A4H SN byte 100H 6CH SN byte 200H 18H SN byte 300H 92H SN byte 400H 2DH SN byte 500H 34H SN byte 600H DEH SN byte 700H 20H SN byte 800H 40H Data byte 100H 41H Data byte 200H 42H Data byte 300H 43H Data byte 4FFH FFH Message Terminator
ABxS Command 97 (97H): SN Block Read AllDESCRIPTIONRead a block of data from all RFID tags-in-field or those with the specifiedFamily ID. Returns the serial number of the tags read, along with tag data.DISCUSSIONThis command is used to read segments of data from contiguous areas of tagmemory. It is capable of handling up to 48 bytes of data transferred to thehost with one command if there is no tag family ID. The timeout value isgiven in 1 msec increments and can have a value of 1EH to FFFEH (65,534ms). When the timeout is set to 0, the LRP820 will return a syntax error.The response to this command will contain the serial number of the respond-ing tags preceding the data from those tags. The termination packet is trans-mitted when the timeout expires. Each packet will be sent to the host as soonas it is available. The returned serial numbers can be used to read/write totags-in-field via the SN Block Read/Write command.The SN Block Read All consists of Family ID, Anticollision Index, a startaddress and length, followed by a timeout value and the message terminator,FFFFH. A special termination packet is sent when the timeout expires. If theAnticollision Index is 0, a response is returned when the operation is suc-cessfully completed on 1 tag, or when the timeout expires. A terminationpacket is not sent for successful completion if the Anticollision Index is 0.If the read length exceeds the last tag address, the LRP820 will return aninvalid format error message (error code 21H).Field RemarksCommand Command number in hex preceded by AAHTag Family Tag Family ID - 00H = all tagsAnticollision index Number of tags expectedStart Address The tag address where the read will startRead Length The numbers of tag addresses to be readTimeout Timeout value given in 1 ms units (1EH - FFFEH)Message Terminator FFFFHNOTE:This command can not be used with a MUX32 interface.Copyright © 2000 Escort Memory SystemsLRP820-Series Long-Range Passive Reader/Writer 87
EXAMPLE:Reads 2 bytes of data from the tag starting at address 0001H. A timeout of 2seconds (07D0H = 2000 x 1 msec increments) is set for the completion ofthe SN Block Read All. The Family ID byte is set to zero so all tags will beread. The Anticollision Index is set to 2 so 4-8 tags are expected. Two tagsrespond with read data.Copyright © 2000 Escort Memory Systems88 LRP820-Series Long-Range Passive Reader/WriterCommand from HostMSB LSB RemarksAAH 97H Perform Command 9700H 02H Tag Family 00/ Index 200H 01H Start Address00H 02H Read Length07H D0H TimeoutFFH FFH Message TerminatorResponse from LRP820MSB LSB RemarksAAH 97H Command Echo/Tag 100H 10H SN byte 1/Tag 100H 43H SN byte 2/Tag 100H 6CH SN byte 3/Tag 100H 73H SN byte 4/Tag 100H 92H SN byte 5/Tag 100H C0H SN byte 6/Tag 100H D6H SN byte 7/Tag 100H 54H SN byte 8/Tag 100H 30H Data byte 1/Tag 100H 31H Data byte 2/Tag 1FFH FFH Terminator/ Tag 1AAH 97H Command Echo/Tag 200H 08H SN byte 1/Tag 200H 0AH SN byte 2/Tag 200H 81H SN byte 3/Tag 200H 18H SN byte 4/Tag 200H 23H SN byte 5/Tag 200H CCH SN byte 6/Tag 200H D0H SN byte 7/Tag 200H EFH SN byte 8/Tag 200H 40H Data byte 1/Tag 200H 41H Data byte 2/Tag 2FFH FFH Terminator/ Tag 2AAH FFH Command end02H 08H Ntags/StatusFFH FFH Message Terminator
6.4 ABx Fast ProtocolThe difference from the standard ABx are:nThe command/response packet contains the packet sizenYou can include a checksum in the commandnThe headers and terminator are ASCII charactersnSince ABx Fast is a binary protocol, the Xon/Xoff handshakecannot be used.ABx Command Packet Structure:The command protocol is based on the following minimal packet structure.The data field and the checksum may not be present depending on the com-mand type and your checksum setting.Field Number of Bytes ContentHeader 2 <STX><STX> (02H, 02H)Command Size 2 Packet length in bytes excluding the header, commandsize, checksum and terminator bytes.Command 1 Command Code(Data) variable command data/parameters(Checksum) 1 Optional ChecksumTerminator 1 <ETX> (03H)Following a successful operation, the LRP820 will respond with the follow-ing. The data field and the checksum may not be present depending on yourchecksum setting.Field Number of Bytes ContentHeader 2 <STX><STX> (02H, 02H)Response Size 2 Packet length in bytes excluding the header, responsesize, checksum and terminator bytes.Command 1 Command Echo(Data) variable response data(Checksum) 1 Optional ChecksumTerminator 1 <ETX> (03H)Copyright © 2000 Escort Memory SystemsLRP820-Series Long-Range Passive Reader/Writer 896.5 ABx Fast Protocol
If the LRP820 Reader/Writer encounters a fault it will respond with the fol-lowing:Field Number of Bytes ContentHeader 2 <STX><STX> (02H, 02H)Response Size 2 Packet length in bytes excluding the header, packetsize, checksum and terminator bytes.Error Flag 1 FFHError Code 1 Hex error code, see Table 7 for details(Checksum) 1 Optional ChecksumTerminator 1 <ETX> (03H)nThe Header and Terminator are always STX-STX and ETXrespectively.nAll other bytes are interpreted as binary data (0 - 255 dec).nFields with two bytes are sent most significant byte (MSB)first.The sequence for each command is given with the response format in thefollowing section.Command/Response SizeThe ABx Fast requires that the length of the packet be included in the com-mand. All parameters and data between the Command/Response Size andthe Checksum or Terminator bytes must be accounted for in the com-mand/response size word. This includes all command codes and parameterssuch as field definitions for Block Read/Writes. The command/response sizewill be the same with, or without, a checksum.Copyright © 2000 Escort Memory Systems90 LRP820-Series Long-Range Passive Reader/Writer
ChecksumThe optional checksum must be enabled from the operating mode menu tobe available. The checksum is calculated by adding all the byte values in thepacket (less the values in the header, checksum if present, and terminator),discarding byte overflow and subtracting the byte sum from FFH. Thus,when the packet length through the checksum are added as byte values, thesum will be FFH.EXAMPLEThe following is a typical command using a checksum.The summed values begin with the Command Size and end with the timeoutvalue. That sum, less overflow, is subtracted from FFH for the checksumvalue.Thus: 00 + 03 + 01 +07 + D0 = DB FF - DB = 24HThe optional Checksum is included in the following command explanations.Copyright © 2000 Escort Memory SystemsLRP820-Series Long-Range Passive Reader/Writer 91Command from HostField ContentsHeader<STX><STX>02H02HCommand Size 00H03HCommand Code 01HTimeout 07HD0HChecksum 24HTerminators <ETX> 03HSum these values to calculatethe checksum
ABxF Command 4 (04H): Fill TagDESCRIPTIONFill an RFID tag with a one byte value over multiple contiguous addresses.DISCUSSIONThis command is commonly used to clear an RFID tag's memory. It writes aone byte value repetitively across a specified range of tag addresses.The fill function requires one data value byte, a starting address, and a filllength. It will fill the tag with the data value byte, starting at the specifiedstart address for the specified number of consecutive bytes. When FillLength is set to 0, the LRP820 will write fill data from the start address tothe end of the tag’s memory. The timeout value is given in 1 msec incre-ments and can have a value of 1EH to FFFEH (65,534 ms). When the time-out is set to 0, the LRP820 will return a syntax error.Field ContentHeader <STX><STX>Command Size Packet length in bytes excluding the header, command size, checksum andterminator bytes. 0008H for this commandCommand 04HStart Address 2-byte value for the starting tag addressFill Length 2-byte value for the length of the fill in number of bytesTimeout 2-byte value for timeout in 1 ms units. (1EH - FFFEH)Data value byte 1 byte of fillChecksum Optional ChecksumTerminator <ETX>A response to a successful command will follow this form.Field ContentHeader <STX><STX>Command Size Packet length in bytes excluding the header, command size, checksum andterminator bytes.Command 04HChecksum Optional ChecksumTerminator <ETX>Copyright © 2000 Escort Memory Systems92 LRP820-Series Long-Range Passive Reader/Writer
EXAMPLEWrites 'A' (41H) to the tag starting at address 0005H for the following nextconsecutive 40 bytes. A timeout of 2 seconds (07D0H = 2000 x 1 msec in-crements) is set for the completion of the configuration.Copyright © 2000 Escort Memory SystemsLRP820-Series Long-Range Passive Reader/Writer 93Command from HostField ContentsHeader<STX><STX>02H02HCommand Size 00H08HCommand Code 04HStart address 00H05HBlock Size 00H28HTimeout,2 seconds07HD0HData Value Byte 41HChecksum AEHTerminators <ETX> 03HResponse from LRP820Field ContentsHeader<STX><STX>02H02HResponse Size 00H01HCommand Echo 04HChecksum FAHTerminators <ETX> 03H
ABxF Command 5 (05H): Block ReadDESCRIPTIONReads a block of data from an RFID tag.DISCUSSIONThis command is used to read segments of data from contiguous areas of tagmemory. It is capable of handling up to 48 bytes of data transferred to thehost. The timeout value is given in 1 msec increments and can have a valueof 1EH to FFFEH (65,534 ms). When the timeout is set to 0, the LRP820will return a syntax error.The Block Read consists of a start address and length, followed by a timeoutvalue and a message terminator as shown below.Field ContentHeader <STX><STX>Command Size Packet length in bytes excluding the header, command size, checksum andterminator bytes. 0007H for this commandCommand 05HStart Address 2-byte value for the starting tag addressBlock Size 2-byte value for the length of the read in number of bytesTimeout 2-byte value for timeout in 1 ms units. (1EH - FFFEH)Checksum Optional ChecksumTerminator <ETX>Copyright © 2000 Escort Memory Systems94 LRP820-Series Long-Range Passive Reader/Writer
EXAMPLE:Reads 4 bytes of data from the tag starting at address 0001H. A timeout of 2seconds (07D0H = 2000 x 1 msec increments) is set for the completion ofthe Block Read.Copyright © 2000 Escort Memory SystemsLRP820-Series Long-Range Passive Reader/Writer 95Command from HostField ContentsHeader<STX><STX>02H02HCommand Size 00H07HCommand Code 05HStart address 00H01HBlock size 00H04HTimeout,2 seconds07HD0HChecksum 17HTerminator <ETX> 03HResponse from LRP820Field ContentsHeader<STX><STX>02H02HResponse Size 00H05HCommand Echo 05HData fromaddress 0001H05HData fromaddress 0002HAAHData fromaddress 0003HE7HData fromaddress 0004H0AHChecksum 55HTerminator <ETX> 03H
ABxF Command 6 (06H): Block WriteDESCRIPTIONWrite a block of data to an RFID tag.DISCUSSIONThe Block Write command is used to write segments of data to contiguousareas of tag memory. It is capable of handling up to 48 bytes of data trans-ferred to the host. The timeout value is given in 1 msec increments and canhave a value of 1EH to FFFEH (65,534 ms). When the timeout is set to 0,the LRP820 will return a syntax error.The Block Write command consists of a start address followed by the data tobe written to the RFID tag. If the write range exceeds the last tag address,the LRP820 will return an invalid format error message (error code 21H).Field ContentHeader <STX><STX>Packet Size Packet length in bytes excluding the header, command size, checksum andterminator bytes. 0007H plus the number of data bytesCommand 06HStart Address 2-byte value for the starting tag addressBlock Size 2-byte value for the length of the write in number of bytesTimeout 2-byte value for timeout in 1 ms units. (1EH - FFFEH)Data Data bytes to be writtenChecksum Optional ChecksumTerminator <ETX>Copyright © 2000 Escort Memory Systems96 LRP820-Series Long-Range Passive Reader/Writer
EXAMPLE:Writes 4 bytes of data to the tag starting at address 0000H. A timeout of 2seconds (07D0H = 2000 x 1 msec increments) is set for the completion ofthe Block Write.Copyright © 2000 Escort Memory SystemsLRP820-Series Long-Range Passive Reader/Writer 97Command from HostField ContentsHeader<STX><STX>02H02HCommand Size 00H0BHCommand Code 06HStart address 00H00HBlock Size 00H04HTimeout,2 seconds07HD0HData to write toaddress 0000H52HData to write toaddress 0001H46HData to write toaddress 0002H49HData to write toaddress 0003H44HChecksum EEHTerminators <ETX> 03HResponse from LRP820Field ContentsHeader<STX><STX>02H02HResponse Size 00H01HCommand Echo 06HChecksum F8HTerminators <ETX> 03H
ABxF Command 7 (07H): Read Tag Serial NumberDESCRIPTIONThis command retrieves the 8-byte tag serial number.DISCUSSIONEach LRP tag has an unique (264 possible numbers) serial number. Thisnumber can not be changed and is not part of the 48 available data bytes.Field ContentHeader <STX><STX>Command Size Packet length in bytes excluding the header, command size, checksum andterminator bytes. 0003H for this commandCommand 07HTimeout 2-byte timeout value in 1 ms increments (1EH - FFFEH)Checksum Optional ChecksumTerminator <ETX>Copyright © 2000 Escort Memory Systems98 LRP820-Series Long-Range Passive Reader/Writer
EXAMPLE:This example will wait until a tag is in range and then reads the 8-byte serialnumber. In this example the ID is 1E6E3DC200000000 in hexadecimal.Copyright © 2000 Escort Memory SystemsLRP820-Series Long-Range Passive Reader/Writer 99Command from HostField ContentsHeader<STX><STX>02H02HCommand Size 00H03HCommand Code 07HTimeout 07HD0HChecksum 1EHTerminators <ETX> 03HResponse from LRP820Field ContentsHeader<STX><STX>02H02HResponse Size 00H09HCommand Echo 07HFirst ID byte 1EHSecond ID byte 6EHThird ID byte 3DHFourth ID byte C2HFifth ID byte 00HSixth ID byte 00HSeventh ID byte 00HEighth ID byte 00HChecksum 64HTerminators <ETX> 03H
ABxF Command 8 (08H): Tag SearchDESCRIPTIONChecks for an RFID tag in the LRP820 field.DISCUSSIONThis command will activate the reader/write to "look" for a tag in the RFfield. If the LRP820 finds a tag it will return a command echo to the host.The timeout value is given in 1 msec increments and can have a value of1EH to FFFEH (65,534 ms). When the timeout is set to 0, the LRP820 willreturn a syntax error. If no tag is present it will return an error message. SeeSection 6.2 for information on the error messages.Field ContentHeader <STX><STX>Command Size Packet length in bytes excluding the header, command size, checksum andterminator bytes. 0003H for this commandCommand 08HTimeout 2-byte value for the time in 1 ms units (1EH - FFFEH)Checksum Optional ChecksumTerminator <ETX>EXAMPLEChecks for an RFID tag in the RF field. A timeout of 2 seconds (07D0H =2000 x 1 msec increments) is set for the completion of the Tag Search.Copyright © 2000 Escort Memory Systems100 LRP820-Series Long-Range Passive Reader/WriterResponse from LRP820Field ContentsHeader<STX><STX>02H02HResponse Size 00H01HCommand Echo 08HChecksum F6HTerminators <ETX> 03HCommand from HostField ContentsHeader<STX><STX>02H02HCommand Size 00H03HCommand Code 08HTimeout 07HD0HChecksum 1DHTerminators <ETX> 03H
ABxF Command D (0DH): Continuous Block ReadDESCRIPTIONSends block reads continuously to any tag in range of the antenna. When atag enters the RF field, it is read and the data passed to the host computer.The LRP820 continues to read the tag but will not send the same data to thehost until the tag has been outside the RF field for a specified time period.This Delay Between Identical Decodes parameter prevents redundant datatransmissions when the LRP820 is in Continuous Block Read mode.DISCUSSIONThe initiate/cancel Continuous Block Read command contains three param-eters: read length, start address, and delay between identical decodes. Theread length parameter switches the mode. Any valid, non-zero length will setthe LRP820 into Continuous Block Read mode. A read length value of 00Hwill turn Continuous Block Mode off.The Delay Between Identical Decodes parameter can have a value of 0 to 60seconds. When the Delay Between Identical Decodes is set to 0, the LRP820will continuously read AND transmit tag data to the host. This can flood thebuffers and cause communication errors and data loss.If the LRP820 receives other commands from the host, it will execute themand then resume Continuous Block Read mode. To exit Continuous BlockRead mode, issue the command with a read length of 0.In Continuous Block Read mode, the LEDs will display as follows:LED Behavior DescriptionANT LED ON Assumes the Antenna is powered and functioningCONFIG LED BLINK Tag entered the RF fieldRF LED ON A tag has been read and is still in the fieldRF LED OFF A read tag has been out of range for the specified timeCopyright © 2000 Escort Memory SystemsLRP820-Series Long-Range Passive Reader/Writer 101
The command is formatted as follows.Field ContentHeader <STX><STX>Command Size Command length in bytes excluding the header, command size, checksumand terminator bytes.Command 0DHStart Address 2 byte value for the start address in the tagRead Length 2 byte value for the block read lengthDelay Between IdenticalReadsDelay value given in 1 second unitsChecksum Optional ChecksumTerminator <ETX>EXAMPLEThis example places the LRP820 in Continuous Block Read mode and reads8 bytes of data from the tag starting at address 0001H. A delay betweenidentical reads of 2 seconds (0002H = 2 x 1 second increments) is set.Copyright © 2000 Escort Memory Systems102 LRP820-Series Long-Range Passive Reader/WriterCommand from HostField ContentsHeader<STX><STX>02H02HCommand Size 00H06HCommand Code 0DHStart Address 00H01HRead Length 00H08HDelay Between IdenticalDecodes02HChecksum E1HTerminator <ETX> 03HResponse from LRP820Field ContentsHeader<STX><STX>02H02HResponse Size 00H01HCommand Echo 0DHChecksum F1HTerminator <ETX> 03H
The LRP820 will first return an acknowledgment of the command followedby a response containing read data when a tag enters the antenna field.Copyright © 2000 Escort Memory SystemsLRP820-Series Long-Range Passive Reader/Writer 103Response from LRP820Field ContentsHeader<STX><STX>02H02HCommand Size 00H09HCommand Echo 0DHData Byte 1 05HData Byte 2 AAHData Byte 3 E7HData Byte 4 0AHData Byte 5 05HData Byte 6 AAHData Byte 7 E7HData byte 8 0AHChecksum A9HTerminator <ETX> 03H
ABxF Command 10 (10H): Set OutputDESCRIPTIONSet the levels of the output lines and output LEDs "A" through "D."DISCUSSIONThis command is used to set the levels of the digital output lines using bitlogic. The four least significant bit toggle the output levels;1=ONand0 = OFF. The following chart shows the hex values for all output high com-binations. To reset all output, issue the command with 0000H for the OutputPattern byte.Field ContentHeader <STX><STX>Command Size Packet length in bytes excluding the header, command size, checksum andterminator bytes.Command 10HOutput Pattern 1 byte representing the desired output settings in bits 0-3Checksum Optional ChecksumTerminator <ETX>Copyright © 2000 Escort Memory Systems104 LRP820-Series Long-Range Passive Reader/WriterMSB LSB Remarks LSB Bit 3Output DLSB Bit 2Output CLSB Bit 1Output BLSB Bit 0Output A00H 00H Reset A, B, C, D 000000H 01H Set Output A - Reset B, C, D 000100H 02H Set Output B - Reset A, C, D 001000H 03H Set Output A, B - Reset C, D 001100H 04H Set Output C - Reset A, B, D 010000H 05H Set Output A, C - Reset B, D 010100H 06H Set Output B, C - Reset A, D 011000H 07H Set Output A, B, C - Reset D 011100H 08H Set Output D - Reset A, B, C 100000H 09H Set Output A, D - Reset B, C 100100H 0AH Set Output B, D - Reset A, C 101000H 0BH Set Output A, B, D - Reset C 101100H 0CH Set Output C, D - Reset A, B 110000H 0DH Set Output A, C, D - Reset B 110100H 0EH Set Output B, C, D - Reset A 111000H 0FH Set Output A, B, C, D 1111
EXAMPLEThe following example sets Output B only and resets A, C, and D.Copyright © 2000 Escort Memory SystemsLRP820-Series Long-Range Passive Reader/Writer 105Command from HostField ContentsHeader<STX><STX>02H02HCommand Size 00H02HCommand Code 10HOutput Value Byte 02HChecksum EBHTerminator <ETX> 03HResponse from LRP820Field ContentsHeader<STX><STX>02H02HResponse Size 00H01HCommand Echo 10HChecksum EEHTerminator <ETX> 03H
ABxF Command 11 (11H): Input StatusDESCRIPTIONRetrieves the input line levels.DISCUSSIONThis command is used to monitor the levels of the digital input lines usingbit logic. The four least significant bit toggle the input levels;1=ONand0 = OFF. The following chart shows all possible conditions that can bereturned in the response.Field ContentHeader <STX><STX>Command Size Packet length in bytes excluding the header, command size, checksum andterminator bytes.Command 11HChecksum Optional ChecksumTerminator <ETX>Copyright © 2000 Escort Memory Systems106 LRP820-Series Long-Range Passive Reader/WriterMSB LSB Remarks LSB Bit 3Input DLSB Bit 2Input CLSB Bit 1Input BLSB Bit 0Input A00H 00H Inputs A, B, C, D, OFF 000000H 01H Input A, ON - B, C, D, OFF 000100H 02H Input B, ON - A, C, D, OFF 001000H 03H Input A, B, ON - C, D, OFF 001100H 04H Input C, ON - A, B, D, OFF 010000H 05H Input A, C, ON - B, D, OFF 010100H 06H Input B, C, ON - A, D, OFF 011000H 07H Input A, B, C, ON - D, OFF 011100H 08H Input D, ON - A, B, C, OFF 100000H 09H Input A, D, ON - B, C, OFF 100100H 0AH Input B, D, ON - A, C, OFF 101000H 0BH Input A, B, D, ON - C, OFF 101100H 0CH Input C, D, ON - A, B, OFF 110000H 0DH Input A, C, D, ON - B, OFF 110100H 0EH Input B, C, D, ON - A, OFF 111000H 0FH Input A, B, C, D, ON 1111
EXAMPLEThe following example shows only Input B is ON and A, C, and D are OFF.Copyright © 2000 Escort Memory SystemsLRP820-Series Long-Range Passive Reader/Writer 107Command from HostField ContentsHeader<STX><STX>02H02HCommand Size 00H01HCommand Code 11HChecksum EDHTerminator <ETX> 03HResponse from LRP820Field ContentsHeader<STX><STX>02H02HResponse Size 00H02HCommand Echo 11HInput Value Byte 02HChecksum EAHTerminator <ETX> 03H
ABxF Command 84 (84H): Fill AllDESCRIPTIONFill all RFID tags-in-field or all tags in the same family, with a one bytevalue over multiple contiguous addresses.DISCUSSIONThis command is commonly used to clear an RFID tag's memory. It writes aone byte value repetitively across a specified range of tag addresses. All tagspresent in the antenna field with the specified Family ID will be affected bythis command.The Fill All function requires one data value byte, a starting address, and afill length. It will fill the tag with the data value byte, starting at the specifiedstart address for the specified number of consecutive bytes. The Fill Lengthmust be set to a non-zero value (1-48).The timeout value is given in 1 msec increments and can have a value of1EH to FFFEH (65,534 ms). When the Anticollision Index is not zero (mul-tiple tag-in-field enabled), the LRP820 returns a response after the timeoutexpires. If the Anticollision Index is 0, a response is returned when a suc-cessful operation is performed on 1 tag or when the timeout has expired.When the timeout is set to 0, the LRP820 will return a syntax error.Field ContentHeader <STX><STX>Packet Size Packet length in bytes excluding the header, packet size, checksum and ter-minator bytes. 0008H for this commandCommand 84HFamily ID Tag Family ID - 00H = all tagsAnticollision Index Number of tags expectedStart Address 2-byte value for the starting tag addressFill Length 2-byte value for the length of the fill in number of bytes (1-48)Timeout 2-byte value for timeout in 1 ms units. (1EH - FFFEH)Data value byte 1 byte of fillChecksum Optional ChecksumTerminator <ETX>NOTE:This command can not be used over a MUX32 interface.Copyright © 2000 Escort Memory Systems108 LRP820-Series Long-Range Passive Reader/Writer
EXAMPLEWrites 'A' (41H) to all tags with Family ID 03H, starting at address 0005Hfor the following next consecutive 40 bytes. A timeout of 2 seconds (07D0H= 2000 x 1 msec increments) is set for the completion of the configuration.Four tags are found and filled successfully.Copyright © 2000 Escort Memory SystemsLRP820-Series Long-Range Passive Reader/Writer 109Command from HostField Bytes ContentsHeader<STX><STX>02H02HCommand Size 00H0AHCommand Code 84HFamily ID 03HAnticollision Index 02HStart address 00H05HFill Length 00H28HTimeout,2 seconds07HD0HData Value Byte 41HChecksum 27HTerminator <ETX> 03HResponse from LRP820Field Bytes ContentsHeader<STX><STX>02H02HResponse Size 00H03HCommand Echo 84HNumbers of tags 04HStatus byte 08HChecksum 6CHTerminator <ETX> 03H
ABxF Command 85 (85H): Block Read AllDESCRIPTIONRead a block of data from all RFID tags-in-field or all those with the speci-fied Family ID.DISCUSSIONThis command is used to read segments of data from contiguous areas of tagmemory. The timeout value is given in 1 msec increments and can have avalue of 1EH to FFFEH (65,534 ms). When the timeout is set to 0, theLRP820 will return a syntax error.The Block Read All consists of a Family ID, an Anticollision Index, a startaddress and length, followed by a timeout value and a message terminator asshown below.If the read length exceeds the last tag address, the LRP820 will return an in-valid format error message (error code 21H). A special termination packet issent when the timeout expires. If the Anticollision Index is set to 0, aresponse is returned after successful completion of the operation to 1 tag, orwhen the timeout expires. When the Anticollision Index is 0, no specialtermination packet is sent after timeout.Field ContentHeader <STX><STX>Command Size Packet length in bytes excluding the header, command size, checksum andterminator bytes.Command 85HFamily ID Tag Family ID - 00H = all tagsAnticollision Index Number of tags expectedStart Address 2-byte value for the starting tag addressBlock Size 2-byte value for the length of the read in number of bytesTimeout 2-byte value for timeout in 1 ms units. (1EH - FFFEH)Checksum Optional ChecksumTerminator <ETX>NOTE:This command can not be used with a MUX32 interface.Copyright © 2000 Escort Memory Systems110 LRP820-Series Long-Range Passive Reader/Writer
EXAMPLE:Reads 4 bytes of data from tags with Family ID AAH, starting at address0001H. A timeout of 2 seconds (07D0H = 2000 x 1 msec increments) is setfor the completion of the Block Read All. The Tag Family byte is set to zeroso all tags will be read. The Anticollision Index is set to 2, expecting 4-8tags. Two tags respond with data.Copyright © 2000 Escort Memory SystemsLRP820-Series Long-Range Passive Reader/Writer 111Command from HostField ContentsHeader<STX><STX>02H02HCommand Size 00H09HCommand Code 85HFamily ID AAHAnticollision Index 02HStart address 00H01HBlock size 00H02HTimeout,2 seconds07HD0HChecksum EBHTerminator <ETX> 03HResponse from LRP820Field ContentsHeader<STX><STX>02H02HResponse Size 00H03HCommand Echo/Tag 1 85HData fromaddress 0001H05HData fromaddress 0002HAAHChecksum C8HTerminator <ETX> 03HHeader<STX><STX>02H02HResponse Size 00H03HCommand Echo/Tag 2 85HData fromaddress 0001H05HData fromaddress 0002HAAHChecksum C8HTerminator <ETX> 03HHeader<STX><STX>02H02HResponse Size 00H03HCommand Status FFHNumber of tags 02HStatus Byte 08HChecksum F3HTerminator <ETX> 03H
ABxF Command 86 (86H): Block Write AllDESCRIPTIONWrite a block of data to an RFID tag.DISCUSSIONThe Block Write All command is used to write segments of data to contigu-ous areas of tag memory. The timeout value is given in 1 msec incrementsand can have a value of 1EH to FFFEH (65,534 ms). When the timeout isset to 0, the LRP820 will return a syntax error.The Block Write All consists of a Family ID, Anticollision Index, a start ad-dress followed by the data stream to be written to the RFID tag. If the writerange exceeds the last tag address, the LRP820 will return an invalid formaterror message (error code 21H).The LRP820 will return a response when the timeout expires. If theAnticollision Index is 0, a response is returned when the operation is suc-cessfully completed on 1 tag, or when the timeout expires.Field ContentHeader <STX><STX>Command Size Packet length in bytes excluding the header, command size, checksum andterminator bytes. 0009H plus the number of data bytesCommand 86HFamily ID Tag Family ID - 00H = all tagsAnticollision Index Number of tags expectedStart Address 2-byte value for the starting tag addressBlock Size 2-byte value for the length of the write in number of bytesTimeout 2-byte value for timeout in 1 ms units. (1EH - FFFEH)Data Data bytes to be writtenChecksum Optional ChecksumTerminator <ETX>NOTE:This command can not be used over a MUX32 interface.Copyright © 2000 Escort Memory Systems112 LRP820-Series Long-Range Passive Reader/Writer
EXAMPLE:Writes 4 bytes of data to the tag starting at address 0000H. A timeout of 2seconds (07D0H = 2000 x 1 msec increments) is set for the completion ofthe Block Write All. Family ID is set to 00H so all tags-in-field will be writ-ten to. The Anticollision Index is 4, expecting 32-64 tags. Five tags arewritten to.Copyright © 2000 Escort Memory SystemsLRP820-Series Long-Range Passive Reader/Writer 113Command from HostField ContentsHeader<STX><STX>02H02HCommand Size 00H0DHCommand Code 86HFamily ID 00HAnticollision Index 04HStart address 00H00HBlock Size 00H04HTimeout,2 seconds07HD0HData to write toaddress 0000H52HData to write toaddress 0001H46HData to write toaddress 0002H49HData to write toaddress 0003H44HChecksum 68HTerminator <ETX> 03HResponse from LRP820Field ContentsHeader<STX><STX>02H02HResponse Size 00H03HCommand Echo 86HNumber of Tags 05HStatus Byte 08HChecksum 69HTerminator <ETX> 03H
ABxF Command 87 (87H): Read Tag SN AllDESCRIPTIONThis command retrieves the 8-byte tag serial number from all tags-in-field orthose with the specified Family ID.DISCUSSIONEach LRP tag has an unique (264 possible numbers) serial number. Thisnumber can not be changed and is not part of the 48 available data bytes. Aspecial termination packet is sent when the timeout expires.If the Anticollision Index is set to 0, a response is returned when the opera-tion is successfully completed to 1 tag, or when the timeout expires. No spe-cial termination packet is sent upon successful completion if AnticollisionIndex is set to 0.Field ContentHeader <STX><STX>Command Size Packet length in bytes excluding the header, command size, checksum andterminator bytes. 0005H for this commandCommand 87HFamily ID Tag Family ID - 00H = all tagsAnticollision Index Number of tags expectedTimeout 2-byte timeout value in 1 ms increments (1EH - FFFEH)Checksum Optional ChecksumTerminator <ETX>NOTE:This command can not be used with a MUX32 interface.Copyright © 2000 Escort Memory Systems114 LRP820-Series Long-Range Passive Reader/Writer
EXAMPLE:This example will read the 8-byte serial number from all tags permitted bythe Family ID and Anticollision Index. In this example, one tag respondsand the serial number is 1E6E3DC200000000 in hexadecimal.Copyright © 2000 Escort Memory SystemsLRP820-Series Long-Range Passive Reader/Writer 115Command from HostField ContentsHeader<STX><STX>02H02HCommand Size 00H05HCommand Code 87HFamily ID 00HAnticollision Index 01HTimeout 07HD0HChecksum 9BHTerminator <ETX> 03HResponse from LRP820Field ContentsHeader<STX><STX>02H02HResponse Size 00H09HCommand Echo 87HSN byte 1 1EHSN byte 2 6EHSN byte 3 3DHSN byte 4 C2HSN byte 5 00HSN byte 6 00HSN byte 7 00HSN byte 8 00HChecksum E4HTerminator <ETX> 03HHeader<STX><STX>02H02HResponse Size 00H03HCommand Status FFHNumber of Tags 01HStatus Byte 08HChecksum F4HTerminator <ETX> 03H
ABxF Command 88 (88H): Tag Search AllDESCRIPTIONCheck to see if there is any RFID tags in the LRP820 antenna field.DISCUSSIONThis command will activate the LRP820 to "look" for a tag in the RF field.As soon as the LRP820 finds a tag it will return a command echo to the host.The timeout value is given in 1 msec increments and can have a value of1EH to FFFEH (65,534 ms).When the timeout is set to 0, the LRP820 will return a syntax error. If no tagis present it will return an error message. See Section 6.2 for information onthe error messages.Field ContentHeader <STX><STX>Command Size Packet length in bytes excluding the header, command size, checksum andterminator bytes. 0005H for this commandCommand 88HFamily ID Tag Family ID - 00H = all tagsAnticollision Index Number of tags expectedTimeout 2-byte value for the time in 1 ms units (1EH - FFFEH)Checksum Optional ChecksumTerminator <ETX>NOTE:This command can not be used over a MUX32 interface.Copyright © 2000 Escort Memory Systems116 LRP820-Series Long-Range Passive Reader/Writer
EXAMPLEChecks for an RFID tag in the RF field. A timeout of 2 seconds (07D0H =2000 x 1 msec increments) is set for the completion of the Tag Search All.A tag is found.Copyright © 2000 Escort Memory SystemsLRP820-Series Long-Range Passive Reader/Writer 117Command from HostField ContentsHeader<STX><STX>02H02HCommand Size 00H05HCommand Code 88HFamily ID 00HAnticollision Index 02HTimeout 07HD0HChecksum 99HTerminators <ETX> 03HResponse from LRP820Field ContentsHeader<STX><STX>02H02HResponse Size 00H03HCommand Echo 88HNumber of Tags 01HStatus byte 00HChecksum 73HTerminators <ETX> 03H
ABxF Command 89 (89H): EAS Set/Reset AllDESCRIPTIONSets or resets the EAS feature in tag memory for all tags in range when thecommand is issued.DESCRIPTIONWhen the EAS Set/Reset All command is issued, the LRP820 will respondwith the number of tags affected. If the LRP820 return a 0 for Ntag it meansthat no tags were set or reset by the command.When multiple tag-in-field is enabled (Anticollision index is not 0), theLRP820 will return a response when the timeout period expires. When mul-tiple tag-in-field is disabled, the LRP820 will return a response when it readsa tag or the timeout expires.Field ContentHeader <STX><STX>Command Size Command length in bytes excluding the header, command size, checksumand terminator bytes.Command 89HFamily ID Tag Family ID - 00H = all tagsAnticollision Index Number of tags expectedTimeout Timeout value given in 1 ms units (1EH - FFFEH)Checksum Optional ChecksumMessage Terminator <ETX>Copyright © 2000 Escort Memory Systems118 LRP820-Series Long-Range Passive Reader/Writer
EXAMPLEThis example assumes that the tags-in-field are not enabled for the EAS fea-ture. It will enabled the EAS feature for tags with Family ID 09H. TheAnticollision Index is 2, so 4-8 tags are expected in the field. When the com-mand is issued, 5 tags with Family ID 09H are found and enabled for EAS.Copyright © 2000 Escort Memory SystemsLRP820-Series Long-Range Passive Reader/Writer 119Command from HostField ContentsHeader<STX><STX>02H02HCommand Size 00H05HCommand Code 89HFamily ID 09HAnticollision Index 02HTimeout 07HD0HChecksum 8FHTerminator <ETX> 03HResponse from LRP820Field ContentsHeader<STX><STX>02H02HResponse Size 00H03HCommand Echo 89HNumber of Tags 05HStatus byte 08HChecksum 66HTerminator <ETX> 03H
ABxF Command 8A (8AH): EAS Start/StopDESCRIPTIONIf are using the EAS feature in your application, the EAS Start/Stop com-mand enters and exits the LRP820 from EAS mode.DISCUSSIONWhen EAS mode has been started, the LRP820 will return a response whenone or more EAS-enabled tags have entered the antenna field. It will send asecond response when all EAS-enabled tags have exited the field. The com-mand contains a control byte that toggles EAS: 1 = start, 0 = stop. A FamilyID can be set so that only EAS-enabled tags from the specified Family trig-ger EAS responses. The Anticollision Index is ignored and should be set to00H for this command.The EAS mode also controls the CONFIG, ERROR and RF LEDs. The fol-lowing table explains LED behavior.LED(s) Behavior DescriptionCONFIG,ERROR,RF LEDOFF No EAS-enabled tag in fieldCONFIG LED BLINK EAS-enabled tag entered field.RF LED ON EAS tag has been read. LED will remain ON until all EAS tags have leftthe field.ERROR LED BLINKS Last EAS tag left the field.IMPORTANT:EAS mode prevents any other commands from being acknowledged or exe-cuted until EAS has been stopped.Field ContentHeader <STX><STX>Command Size Command length in bytes excluding the header, command size, checksum andterminator bytes.Command 8AHFamily ID Tag Family ID - 00H = all tagsAnticollision Index Anticollision not considered for this command, 00HChecksum Optional ChecksumMessage Terminator <ETX>Copyright © 2000 Escort Memory Systems120 LRP820-Series Long-Range Passive Reader/Writer
EXAMPLEThis example starts EAS mode. Three responses follow. The first is a com-mand acknowledgment. The LRP820 sends the second when the firstEAS-enabled tag enters the field, A third response is sent when field is clearof EAS-enabled tags. Family ID is set to 0 so that any EAS-enabled tag willtrigger responses.When an EAS-enabled tag enters the antennas’ field, the LRP820 respondswith an EAS tag-in-field response.Copyright © 2000 Escort Memory SystemsLRP820-Series Long-Range Passive Reader/Writer 121Response from LRP820Field ContentsHeader<STX><STX>02H02HResponse Size 00H03HCommand Echo 8AHNumber of Tags FFHStatus byte 00HChecksum 73HTerminator <ETX> 03HCommand from HostField ContentsHeader<STX><STX>02H02HCommand Size 00H03HCommand Code 8AHFamily ID 00HAnticollision Index 00HChecksum 72HTerminator <ETX> 03HResponse from LRP820Field ContentsHeader<STX><STX>02H02HResponse Size 00H03HCommand Echo 8AHNumber of Tags 01HStatus byte 00HChecksum 71HTerminator <ETX> 03H
When all EAS-enabled tags have left the field, the LRP820 will send the fol-lowing response.Copyright © 2000 Escort Memory Systems122 LRP820-Series Long-Range Passive Reader/WriterResponse from LRP820Field ContentsHeader<STX><STX>02H02HResponse Size 00H03HCommand Echo 8AHNumber of Tags 00HStatus byte 00HChecksum 72HTerminator <ETX> 03H
ABxF Command 8D (8DH): Continuous Read AllDESCRIPTIONStarts and stops Continuous Read All mode for multiple tags.DISCUSSIONContinuous Read All mode is set by the length byte. To start ContinuousRead All mode send the command with valid, non-zero value for the lengthof the read (1-48). Stop the mode by sending the command with a readlength of 0. While in this mode, any other command can be issued and itwill be handled properly. After processing the new command, the LRP willresume the Continuous Read All mode.The command has a parameter, tag delay, that can prevent multiple reads ofthe same tag. A tag is not read a second time until a specified number oftags have been read since it was last read. Allowed value are from 0 up to255 (FFH), where 0 means the tag can be re-read anytime. When Continu-ous Read All mode is interrupted with other commands, the tag delay countis stopped during execution of the other commands and then resumed.The LRP820 will respond with an acknowledge packet followed by datapackets for each tag read.CONFIG LED blinks after each packet transmission.Field ContentHeader <STX><STX>Command Size Command length in bytes excluding the header, command size, checksum andterminator bytes.Command 8DHFamily ID Tag Family ID - 00H = all tagsAnticollision Index Anticollision not considered for this command, 00HStart Address Tag address for the start of the readRead Length 1-48 = start, 0 = stopTag Delay Number of tags that must be read before the same tag will be read again (0-225)Checksum Optional ChecksumMessage Terminator <ETX>NOTE:This command can not be used with a MUX32 interface>Copyright © 2000 Escort Memory SystemsLRP820-Series Long-Range Passive Reader/Writer 123
EXAMPLEReads 4 bytes of data from the tag starting at address 0001H. The Family IDbyte is set to zero so all tags will be read. The Anticollision Index is set to 1so 2 to 4 tags will be expected. The Tag Delay is set to 20 (14H). Two tagsrespond with read data.Copyright © 2000 Escort Memory Systems124 LRP820-Series Long-Range Passive Reader/WriterResponse from LRP820Field ContentsHeader<STX><STX>02H02HResponse Size 00H01HCommand Echo 8DHChecksum 71HTerminator <ETX> 03HCommand from HostField ContentsHeader<STX><STX>02H02HCommand Size 00H08HCommand Code 8DHFamily ID 00HAnticollision Index 01HStart Address 00H01HRead Length 00H04HTag Delay 14HChecksum 50HTerminator <ETX> 03H
After the LRP820 sends the acknowledgment, it will send the read data fromthe 2 tags.Copyright © 2000 Escort Memory SystemsLRP820-Series Long-Range Passive Reader/Writer 125Response from LRP820Field ContentsHeader<STX><STX>02H02HResponse Size 00H05HCommand Echo/Tag 1 8DHData fromaddress 0001H05HData fromaddress 0002HAAHData fromaddress 0003H21HData fromaddress 0004H44HChecksum 59HTerminator <ETX> 03HHeader<STX><STX>02H02HResponse Size 00H03HCommand Echo/Tag 2 85HData fromaddress 0001H05HData fromaddress 0002HAAHData fromaddress 0003H21HData fromaddress 0004H44HChecksum 59HTerminator <ETX> 03H
ABxF Command 8E (8EH): Memory Lock AllDESCRIPTIONThis command “locks” tag addresses in four byte blocks. Once bytes arelocked, they can not be unlocked.DISCUSSIONThe memory can be locked only in 4-byte blocks. The command passes atwo byte word with bits assigned to 4-byte blocks that can be locked.Remaining bits can lock the EAS feature and the lock configuration itself.When multiple tag-in-field is enabled (Anticollision Index is not 0), theLRP820 will return a response when the timeout period expires. When mul-tiple tag-in-field is disabled, the LRP820 will return a response when it locksbytes or the timeout expires.Attempting to write to locked bytes will return a write timeout error in thestatus byte. If you write to addresses that contain both locked andnon-locked bytes, the LRP820 will return a write error in the status byte.The configuration word formatted as shown below.Byte Bit DescriptionLockLSB 0 Tag bytes 0-31 Tag bytes 4-72 Tag bytes 8-113 Tag bytes 12-154 Tag bytes 16-195 Tag bytes 20-236 Tag bytes 24-277 Tag bytes 28-31LockMSB 8 Tag bytes 32-359 Tag bytes 36-3910 Tag bytes 40-4311 Tag bytes 44-4712 Lock Configuration13 Lock EAS feature14 Reserved15 ReservedCopyright © 2000 Escort Memory Systems126 LRP820-Series Long-Range Passive Reader/Writer
The command is formatted as shown below.Field RemarksHeader <STX><STX>Command Size Command length in bytes excluding the header, command size, checksumand terminator bytes.Command 8EHFamily Code Tag Family ID - 00H = all tagsAnticollision index Number of tags-in-field expectedTimeout Timeout value given in 1 ms unitsLockMSB Bits 8-15 of the configuration wordLockLSB Bits 0-7 of the configuration wordChecksum Optional ChecksumMessage Terminator <ETX>EXAMPLEThis example will lock bytes 0-3 on all tags-in-field with the Family ID of02H. Two tags are found and locked.Copyright © 2000 Escort Memory SystemsLRP820-Series Long-Range Passive Reader/Writer 127Response from LRP820Field ContentsHeader<STX><STX>02H02HResponse Size 00H03HCommand Echo 8EHNumber of Tags 02HStatus byte 08HChecksum 64HTerminator <ETX> 03HCommand from HostField ContentsHeader<STX><STX>02H02HCommand Size 00H07HCommand Code 8EHFamily ID 02HAnticollision Index 01HTimeout 07HD0HLockMSB 00HLockLSB 01HChecksum 8FHTerminator <ETX> 03H
ABxF Command 94 (94H): SN FillDESCRIPTIONFill an RFID tag, identified by serial number, with a one byte value overmultiple contiguous addresses.DISCUSSIONThis command is commonly used to clear an RFID tag's memory. It writes aone byte value repetitively across a specified range of tag addresses.The SN Fill command requires a specific serial number of the tag to befilled. It will fill the tag with the data value byte, starting at the specified startaddress for the specified number of consecutive bytes. When Fill Length isset to 0, the LRP820 will write fill data from the start address to the end ofthe tags memory. The timeout value is given in 1 msec increments and canhave a value of 1EH to FFFEH (65,534 ms). When the timeout is set to 0,the LRP820 will return a syntax error.Field ContentHeader <STX><STX>Command Size Packet length in bytes excluding the header, command size, checksum andterminator bytes.Command 94HFamily ID Tag Family ID - 00H = all tagsAnticollision Index Number of tags expectedStart Address 2-byte value for the starting tag addressFill Length 2-byte value for the length of the fill in number of bytesTimeout 2-byte value for timeout in 1 ms units. (1EH - FFFEH)Tag Serial Number 8-byte tag serial numberData value byte 1 byte of fillChecksum Optional ChecksumTerminator <ETX>Copyright © 2000 Escort Memory Systems128 LRP820-Series Long-Range Passive Reader/Writer
EXAMPLEWrites 'A' (41H) to the tag specified by serial number starting at address0005H for the following next consecutive 4 bytes. A timeout of 2 seconds(07D0H = 2000 x 1 msec increments) is set for the completion of the config-uration.Copyright © 2000 Escort Memory SystemsLRP820-Series Long-Range Passive Reader/Writer 129Command from HostField ContentsHeader<STX><STX>02H02HCommand Size 00H0EHCommand Code 94HFamily ID 00HAnticollision Index 02HTimeout 07HD0HSN byte 1 ADHSN byte 2 23HSN byte 3 81HSN byte 4 1DHSN byte 5 C3HSN byte 6 66HSN byte 7 78HSN byte 8 21HFill byte 41HChecksum 13HTerminators <ETX> 03HResponse from LRP820Field ContentsHeader<STX><STX>02H02HResponse Size 00H03HCommand Echo 94HNumber of Tags 01HStatus byte 00HChecksum 67HTerminators <ETX> 03H
ABxF Command 95 (95H): SN Block ReadDESCRIPTIONRead a block of data from an RFID tag.DISCUSSIONThis command is used to read segments of data from contiguous areas of tagmemory. The timeout value is given in 1 msec increments and can have avalue of 1EH to FFFEH (65,534 ms). When the timeout is set to 0, theLRP820 will return a syntax error. A special error packet is sent if the time-out expires.If the read range exceeds the last tag address, the LRP820 will return aninvalid format error message (error code 21H).Field ContentHeader <STX><STX>Command Size Packet length in bytes excluding the header, command size, checksum andterminator bytes.Command 95HFamily ID Tag Family ID - 00H = all tagsAnticollision Index Number of tags expectedStart Address 2-byte value for the starting tag addressBlock Size 2-byte value for the length of the read in number of bytesTimeout 2-byte value for timeout in 1 ms units. (1EH - FFFEH)Tag Serial Number 8-byte tag serial numberChecksum Optional ChecksumTerminator <ETX>Copyright © 2000 Escort Memory Systems130 LRP820-Series Long-Range Passive Reader/Writer
EXAMPLE:Reads 2 bytes of data from the tag starting at address 0001H. A timeout of 2seconds (07D0H = 2000 x 1 msec increments) is set for the completion ofthe SN Block Read. If the timeout expires before reading a tag the responsepacket is: 02H 02H 00 03 FF 00 Status Chk 03H.Copyright © 2000 Escort Memory SystemsLRP820-Series Long-Range Passive Reader/Writer 131Command from HostField ContentsHeader<STX><STX>02H02HCommand Size 00H11HCommand Code 95HFamily ID AAHAnticollision Index 02HStart address 00H01HBlock size 00H02HTimeout,2 seconds07HD0HSN byte 1 ADHSN byte 2 23HSN byte 3 81HSN byte 4 1DHSN byte 5 C3HSN byte 6 66HSN byte 7 78HSN byte 8 21HChecksum A3HTerminator <ETX> 03HResponse from LRP820, tag foundField ContentsHeader<STX><STX>02H02HResponse Size 00H03HCommand Echo 95HData fromaddress 0001H05HData fromaddress 0002HAAHChecksum B8HTerminator <ETX> 03HResponse from LRP820, tag not foundField ContentsHeader<STX><STX>02H02HResponse Size 00H03HCommand Fail FFHNtag 00HStatus byte 08HChecksum B8HTerminator <ETX> 03H
ABxF Command 96 (96H): SN Block WriteDESCRIPTIONWrite a block of data to an RFID tag identified by its serial number.DISCUSSIONThe SN Block Write command is used to write segments of data to contigu-ous areas of tag memory. The timeout value is given in 1 msec incrementsand can have a value of 1EH to FFFEH (65,534 ms). When the timeout isset to 0, the LRP820 will return a syntax error.The SN Block Write consists of a start address followed by the data streamto be written to the RFID tag specified by the serial number given in thecommand. If the block size exceeds the last tag address, the LRP820 willreturn an invalid format error message (error code 21H).Field ContentHeader <STX><STX>Packet Size Packet length in bytes excluding the header, packet size, checksum andterminator bytes. 0007H plus the number of data bytesCommand 96HFamily ID Tag Family ID - 00H = all tagsAnticollision Index Number of tags expectedStart Address 2-byte value for the starting tag addressBlock Size 2-byte value for the length of the write in number of bytesTimeout 2-byte value for timeout in 1 ms units (1EH - FFFEH)Tag Serial Number 8-byte tag serial numberData Data bytes to be writtenChecksum Optional ChecksumTerminator <ETX>Copyright © 2000 Escort Memory Systems132 LRP820-Series Long-Range Passive Reader/Writer
EXAMPLE:Writes 4 bytes of data to the tag starting at address 0000H. A timeout of 2seconds (07D0H = 2000 x 1 msec increments) is set for the completion ofthe SN Block Write.Copyright © 2000 Escort Memory SystemsLRP820-Series Long-Range Passive Reader/Writer 133Command from HostField ContentsHeader<STX><STX>02H02HCommand Size 00H15HCommand Code 96HFamily ID 03HAnticollision Index 03HStart address 00H00HBlock Size 00H04HTimeout,2 seconds07HD0HSN byte 1 ADHSN byte 2 23HSN byte 3 81HSN byte 4 1DHSN byte 5 C3HSN byte 6 66HSN byte 7 78HSN byte 8 21HData to write toaddress 0000H52HData to write toaddress 0001H46HData to write toaddress 0002H49HData to write toaddress 0003H44HChecksum 1EHTerminators <ETX> 03HResponse from LRP820Field ContentsHeader<STX><STX>02H02HResponse Size 00H03HCommand Echo 96HNumber of tags 01HStatus byte 00HChecksum 65HTerminators <ETX> 03H
ABxF Command 97 (97H): SN Block Read AllDESCRIPTIONRead a block of data from all RFID tags-in-field or all those with the speci-fied Family ID. Data will be returned with the serial number of the corre-sponding tag.DISCUSSIONThis command is used to read segments of data from contiguous areas of tagmemory. It is capable of handling up to 48 bytes of data transferred to thehost with one command if there is no tag family ID. The timeout value isgiven in 1 msec increments and can have a value of 1EH to FFFEH (65,534ms). When the timeout is set to 0, the LRP820 will return a syntax error.The response to this command will contain the serial number of the respond-ing tags preceding the data from those tags. The termination packet is trans-mitted when the timeout expires. Each packet will be sent to the host as soonas it is available. The returned serial numbers can be used to read/write totags-in-field via the SN Block Read/Write command.The SN Block Read All consists of Family ID and an Anticollision Index, astart address and length, followed by a timeout value and the message termi-nator, <ETX>, as shown below.A special termination packet is sent when the timeout expires. If theAnticollision Index is 0, a response is returned when the operation is suc-cessfully completed on 1 tag, or when the timeout expires. A terminationpacket is not sent for successful completion if the Anticollision Index is 0.If the read range exceeds the last tag address, the LRP820 will return anerror message in the status byte.Copyright © 2000 Escort Memory Systems134 LRP820-Series Long-Range Passive Reader/Writer
The command is formatted as follows.Field ContentHeader <STX><STX>Command Size Packet length in bytes excluding the header, command size, checksum andterminator bytes.Command 97HFamily ID Tag Family ID - 00H = all tagsAnticollision Index Number of tags expectedStart Address 2-byte value for the starting tag addressBlock Size 2-byte value for the length of the read in number of bytesTimeout 2-byte value for timeout in 1 ms units. (1EH - FFFEH)Checksum Optional ChecksumTerminator <ETX>NOTE:This command can not be used with a MUX32 interface.Copyright © 2000 Escort Memory SystemsLRP820-Series Long-Range Passive Reader/Writer 135
EXAMPLE:Reads 4 bytes of data from the tag starting at address 0001H. A timeout of 2seconds (07D0H = 2000 x 1 msec increments) is set for the completion ofthe SN Block Read All. The Tag Family byte is set to zero so all tags will beread. Three tags respond with data.Copyright © 2000 Escort Memory Systems136 LRP820-Series Long-Range Passive Reader/WriterCommand from HostField ContentsHeader<STX><STX>02H02HCommand Size 00H09HCommand Echo 97HFamily ID 03HAnticollision Index 00HStart address 00H00HBlock Size 00H04HTimeout,2 seconds07HD0HChecksum 81HTerminators <ETX> 03HResponse from LRP820Field ContentsHeader/tag 1<STX><STX>02H02HResponse Size 00H0DHCommand Code 97HSN byte 1/tag 1 ADHSN byte 2/ tag 1 23HSN byte 3/tag 1 81HSN byte 4/tag 1 1DHSN byte 5/tag 1 C3HSN byte 6/tag 1 66HSN byte 7/tag 1 78HSN byte 8/tag 1 21HData byte 1/ tag 1 52HData byte 2/tag 1 46HData byte 3/tag 1 49HData byte 4/tag 1 44HChecksum 06HTerminators <ETX> 03H
Copyright © 2000 Escort Memory SystemsLRP820-Series Long-Range Passive Reader/Writer 137Header/tag 2<STX><STX>02H02HResponse Size 00H0DHCommand Code 97HSN byte 1/tag 2 ADHSN byte 2/ tag 2 23HSN byte 3/tag 2 81HSN byte 4/tag 2 1DHSN byte 5/tag 2 C3HSN byte 6/tag 2 66HSN byte 7/tag 2 78HSN byte 8/tag 2 21HData byte 1/ tag 2 52HData byte 2/tag 2 46HData byte 3/tag 2 49HData byte 4/tag 2 44HChecksum 06HTerminators <ETX> 03HHeader/tag 3<STX><STX>02H02HResponse Size 00H0BHCommand Echo 97HSN byte 1/tag 3 ADHSN byte 2/ tag 3 23HSN byte 3/tag 3 81HSN byte 4/tag 3 1DHSN byte 5/tag 3 C3HSN byte 6/tag 3 66HSN byte 7/tag 3 78HSN byte 8/tag 3 21HData byte 1/ tag 3 52HData byte 2/tag 3 46HData byte 3/tag 3 49HData byte 4/tag 3 44HChecksum 08HTerminators <ETX> 03HHeader<STX><STX>02H02HResponse Size 00H03HCommand Echo FFHNumber of tags 03HStatus byte 08HChecksum F2HTerminators <ETX> 03H
6.5 ABx ASCII ProtocolThe ABx ASCII Protocol is based on the ABx Fast protocol. It uses thesame headers and terminator (already ASCII characters) and converts thehex value of command and data bytes to printable ASCII (2 digit Hexadeci-mal notation). In another words, the hex values given in an ABx Fast com-mand are transmitted as separate ASCII characters.Since it is an ASCII protocol, the Xon/Xoff handshake can be used.Command Packet Structure:The command protocol is based on the following minimal packet structure.The data field and the checksum may not be present depending on the com-mand type and your checksum setting.FieldNumber of ASCIICharacters ContentHeader 2 <STX><STX> (02H, 02H)Command Size 4 Packet length in bytes excluding the header, Commandsize, checksum and terminator bytes.Command 2 Command Code(Data) variable command data/parametersChecksum 2 Optional ChecksumTerminator 1 <ETX> (03H)Following a successful operation, the LRP820 will respond with the follow-ing. The data field and the checksum may not be present depending on thecommand and your checksum setting. If a checksum is enabled in the Con-figuration Menu, then it is always present for every command.FieldNumber of ASCIICharacters ContentHeader 2 <STX><STX> (02H, 02H)Response Size 4 Packet length in bytes excluding the header, response size,checksum and terminator bytes.Command 2 Command Echo(Data) variable response dataChecksum 2 Optional ChecksumTerminator 1 <ETX> (03H)Copyright © 2000 Escort Memory Systems138 LRP820-Series Long-Range Passive Reader/Writer6.6 ABx ASCII Protocol
If the LRP820 encounters a fault it will respond with the following:FieldNumber of ASCIICharacters ContentHeader 2 <STX><STX> (02H, 02H)Response Size 4 Packet length in bytes excluding the header, response size,checksum and terminator bytes.Error Flag 2 FFHError Code 2 Hex error code, see Table 11 for detailsChecksum 2 Optional checksumTerminator 1 <ETX> (03H)Most RF operations will also require additional parameters and data that willbe included in the command stream between the command code or echo andthe terminator.The Header and Terminator are always STX and ETX respectively. Anyother field value is in ASCII hex notation. Allowed values: '0'-'9', 'A'-'F'. Ex-ample: the value ABH (decimal 171) in ASCII protocol is transmitted as a2-character string «AB», i.e. the 2 bytes: 41H 42H (ASCII values for 'A' and'B'). The hex value of the hex digits given in ASCII are: '0'-'9' = 30H - 39H,'A'-'F' = 41H-46H.The sequence for each command is given with the response format in thepreceding section. Referring to the ABx Fast command you can structure theABx ASCII commands by using ASCII values for each digit of the hex val-ues, excluding the header and terminator that are already ASCII characters.Command/Response SizeThe ABx ASCII requires the length of the packet be included in the com-mand. All parameters and data between the Command Size and the termi-nator or checksum byte must be accounted for in the packet size word. Thisincludes all command codes and parameters such as field definition forBlock Read/Writes. The packet size remains the same with, or without thechecksum.Copyright © 2000 Escort Memory SystemsLRP820-Series Long-Range Passive Reader/Writer 139
ChecksumThe optional checksum must be enabled from the operating mode menu tobe available. The checksum is calculated by adding all the byte values (notthe ASCII translation values) in the packet (less the values in the header,checksum if present, and terminator), discarding byte overflow and subtract-ing the byte sum from FFH.Example ASCII CommandFill TagThis command fills the specified number of cells from the specified start ad-dress with the specified value. Block size = 0 means filling to the end of thememory. The command will take the same form as the ABx Fast command.Field ContentHeader <STX><STX>Command Size Packet length in bytes excluding the header, command size, checksum andterminator bytes. Given as four ASCII character value. 0008H for this com-mandCommand <30H><34H> (04)Start Address 4 ASCII character value for the starting tag addressFill Length 4 ASCII character value for the length of the fill in number of bytesTimeout 4 ASCII character value for timeout in 1 ms units. (1EH - FFFEH)Data value byte 2 ASCII character value for 1 byte of fillChecksum 2 ASCII character value for Optional ChecksumTerminator <ETX>Copyright © 2000 Escort Memory Systems140 LRP820-Series Long-Range Passive Reader/Writer
The ASCII character string for a fill of 32 bytes, from address 0 with 55Hvalue, timeout 5 sec., follows.Copyright © 2000 Escort Memory SystemsLRP820-Series Long-Range Passive Reader/Writer 141Command from HostField ASCIIHexValueASCIIStringHeader<STX><STX>02H STX02H STXCommand Size 30H 030H 030H 038H 8Command 30H 034H 4Start Address 30H 030H 030H 030H 0Fill Length 30H 030H 032H 230H 0Timeout Value 31H 133H 338H 838H 8Data Byte Value 35H 535H 5Checksum 45H E33H 3Terminators <ETX> 03H ETXResponse from LRP820Field ASCIIHexValueASCIIStringHeader<STX><STX>02H STX02H STXResponse Size 30H 030H 031H 130H 0Command Echo 30H 034H 4Checksum 46H F41H ATerminators <ETX> 03H ETX
A APPENDIX: SPECIFICATIONSCopyright © 2000 Escort Memory Systems142 LRP820-Series Long-Range Passive Reader/WriterElectricalSupply Voltage 18-30 VdcPower Consumption 31W (1.3 A @ 24Vdc)CommunicationRFID Interface LRP-Series Passive RFID SystemBus Interface MUX32COM1 RS232/RS422/MUX32COM2 RS232Inputs Four industrial-level inputs, 4.5-30 Vdc (25mA max)Output Four industrial-level outputs, 30 Vdc (500 mA max)Mechanical SpecificationsDimensions (LxWxH) 8.66 x 4.72 x 3.83 inches(220 x 120 x 97 cm)Weight 3.5 lb. (1.59 kg)Enclosure Cast Aluminum AlloyEnvironmentalOperating Temperature -4 to 120 degrees F(-40 to 49 degrees C)Storage Temperature -40 to 185 degrees F(-40 to 85 degrees C)Humidity 95% non-condensingShock Resistance IEC 68-2-27 test EA 30g;11 msec; 3 shocks each axisVibration Resistance IEC 68-2-6 test FC 1.5 mm;10 to 55 Hz; 2 hours each axisProtection Class NEMA 4 (IP66)NOTE: Specifications are subject to change without notice.Table 10 LRP820 Specifications
B APPENDIX: MODELSCopyright © 2000 Escort Memory SystemsLRP820-Series Long-Range Passive Reader/Writer 143Available ModelsPart Number DescriptionLRP820-10 Long range, passive controller, RS232, RS422 and MUX32/RS485 communi-cations, 4 digital inputs and 4 digital outputs, tunnel antennaLRP820-04 Long range, passive controller, RS232, RS422 and MUX32/RS485 communi-cations, 4 digital inputs and 4 digital outputs, conveyor-mount antennaLRP820-08 Long range, passive controller, RS232, RS422 and MUX32/RS485 communi-cations, 4 digital inputs and 4 digital outputs, plate antenna, 12 x 14"AccessoriesPart Number Description00-1122 Connector Kit, all five mating connectors for wiring the LRP82046-1268 Mating Connector, MUX32 connector, 8 pin metal circular46-1270 Mating Connector, Power connector, 3 socket metal circular46-1456 Mating Connector, COM1/COM2 connector, 14 pin metal circular46-1458 Mating Connector, Input connector, 12 socket metal circular46-1460 Mating Connector, Output connector, 12 pin metal circular46-5119 Connector covers, shell size 12, fits MUX32 and COM1/COM2 connectors46-5120 Connector covers, shell size 14, fits Input and Output connectorsLRP125 Passive read/write tag, 25 mm round, 48 bytes memoryLRP125HT Passive read/write tag, 25 mm round, survives 200° temperatures, 48 bytesmemoryLRP250 Passive read/write tag, 50 mm square, 48 bytes memoryLRP250HT Passive read/write tag, 50 mm square, survives 200° temperatures, 48 bytesmemoryLRP250HT-FLX Passive read/write tag, 50 mm square, survives 200° temperatures, flexiblewith high temperature adhesive backing, 48 bytes memoryLRP-L5555 Passive read/write tag, 55 mm square, thermal transfer with adhesive backing,48 bytes memoryLRP-L2666 Passive read/write tag, 26 x 66 mm, thermal transfer with adhesive backing,48 bytes memoryLRP-L4982 Passive read/write tag, 49 x 82 mm, thermal transfer with adhesive backing,48 bytes memoryLRP-L90140 Passive read/write tag, 90 x 140 mm, thermal transfer with adhesive backing,48 bytes memoryTable 12 — Models and Accessories
Copyright © 2000 Escort Memory Systems144 LRP820-Series Long-Range Passive Reader/WriterAccessoriesPart Number DescriptionLRP-P125 Passive read/write tag, 25 mm, PCB, 48 bytes memoryLRP-P3858 Passive read/write tag, 38 x 38 mm, PCB, 48 bytes memoryLRP-P5050 Passive read/write tag, 50 x 50 mm, PCB, 48 bytes memoryTable 12 — Models and Accessories (cont)
C APPENDIX: ASCII CHARTCopyright © 2000 Escort Memory SystemsLRP820-Series Long-Range Passive Reader/Writer 145Decimal Hex Character000 00 NUL001 01 SOH002 02 STX003 03 ETX004 04 EOT005 05 ENQ006 06 ACT007 07 BEL008 08 BS009 09 HT010 0A LF011 0B VT012 0C FF013 0D CR014 0E SO015 0F SI016 10 DLE017 11 DC1018 12 DC2019 13 DC3020 14 DC4021 15 NAK022 16 SYN023 17 ETB024 18 CAN025 19 EM026 1A SUB027 1B ESC028 1C FS029 1D GS030 1E RS031 1F USDecimal Hex Character032 20 (space)033 21 !034 22 ''035 23 #036 24 $037 25 %038 26 &039 27 `040 28 (041 29 )042 2A *043 2B ++044 2C '045 2D -046 2E .047 2F /048 30 0049 31 1050 32 2051 33 3052 34 4053 35 5054 36 6055 37 7056 38 8057 39 9058 3A :059 3B ;060 3C <061 3D =062 3E >063 3F ?
Copyright © 2000 Escort Memory Systems146 LRP820-Series Long-Range Passive Reader/WriterDecimal Hex Character064 40 @065 41 A066 42 B067 43 C068 44 D069 45 E070 46 F071 47 G072 48 H073 49 I074 4A J075 4B K076 4C L077 4D M078 4E N079 4F O080 50 P081 51 Q082 52 R083 53 S084 54 T085 55 U086 56 V087 57 W088 58 X089 59 Y090 5A Z091 5B [092 5C \093 5D ]094 5E ^^095 5F —Decimal Hex Character096 60 `097 61 a098 62 b099 63 c100 64 d101 65 e102 66 f103 67 g104 68 h105 69 i106 6A j107 6B k108 6C l109 6D m110 6E n111 6F o112 70 p113 71 q114 72 r115 73 s116 74 t117 75 u118 76 v119 77 w120 78 x121 79 y122 7A z123 7B {124 7C |125 7D }126 7E ~127 7F DEL

Navigation menu