Operator’s Manual LRP2000 Passive Reader/Writer Manual Revision 04, 04-04 Publication # 17-1050
Escort Memory Systems Warranty Escort Memory Systems warrants that all products of its own manufacture conform to Escort Memory Systems specifications, and are free from defects in material and workmanship when used under normal operating conditions and within the service conditions for which they were furnished.
Table of Contents Chapter 1 Introduction 1.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1.2 Unpacking and Inspection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1.3 FCC Compliance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1.3.1 FCC Certifications . . . . . . . . . . . . . .
Table of Contents 5.2.6 Return to Main Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.3 Download New Program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.4 Downloading DSP Firmware . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.5 Exit to Operating Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Table of Contents 6.5.10 ABxF Command 82H: Read Data and SN All . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.5.11 ABxF Command 83H: Start/Stop Continuous SN Read All . . . . . . . . . . . . . . . . . . . 6.5.12 ABxF Command 84H: Fill All . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.5.13 ABxF Command 85H: Block Read All . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.5.14 ABxF Command 86H: Block Write All . . . . . . . . . .
1 Introduction 1.1 Introduction Escort Memory Systems' passive read/write system is a complete family of field-proven read/write RadioFrequency Identification (RFID) products. The system consists of RFID tags, reader/writers, antennas, controllers, bus interfaces, and ancillary equipment. Tags can be attached to a product or its carrier, and act as an electronic identifier, job sheet, portable database, or manifest.
Introduction 1.3 FCC Compliance This equipment has been tested and found to comply with the limits for a Class B digital device, pursuant to Part 15 of the FCC Rules. These limits are designed to provide reasonable protection against harmful interference in a residential installation. This equipment generates, uses, and can radiate radio frequency energy and, if not installed and used in accordance with the instructions, may cause harmful interference to radio communications.
Introduction 1.3.
Introduction LRP2000 Passive Reader/Writer 4
Introduction 1.4 CE Statement This product complies with the European Community's CE standards and has been tested and certified to meet the required standards, EN 300 3300-2 and EN 301 489-3. It is the responsibility of the system installer to ensure that it is used in compliance with local regulations. Modifying the antenna or controller, or connecting other antennas will void this compliance and is in violation of law. 1.4.
Introduction 1.5 Changes and Modifications Any changes or modifications to the LRP2000 not expressly approved by Escort Memory Systems could void the user's authority to operate the equipment.
2 Installation and Guidelines 2.1 Dimensions Figure 1 gives the dimensions for the LRP2000 controller.
Installation and Guidelines Figure 2 shows the LRP2000 mounting hole locations.
Installation and Guidelines Figure 3 gives the dimensions for the LRP2000-23 antenna Figure 3: LRP2000-23 Antenna Dimensions 9 LRP2000 Passive Reader/Writer
Installation and Guidelines Figure 4 gives the dimensions for the LRP2000-26 antenna.
Installation and Guidelines 2.2 Installation Antenna Environment Electromagnetic radiation and the presence of metal within the reading field of the antenna affect the range of the LRP2000. Mount the antenna to minimize the impact of these factors. Installing the Antenna Once a suitable location is selected for the LRP2000 antenna, the structure should be securely bolted to the floor using the holes provided in the base. The dimensions for the antenna bolt pattern are shown in Figure 5.
Installation and Guidelines To assemble the LRP2000 antenna: 1. Place the base half on a flat surface and note the position of the green dots shown in Figure 6.
Installation and Guidelines 2. Align the halves according to the green dots and place the top half of the antenna on the base half. See Figure 7. Check that the halves have matching serial numbers (see Figure 6). Green Dots Joining Plate Figure 7: Green Dot Alignment 3. Make the electrical connection between the two halves as shown in Figure 8.
Installation and Guidelines 4. Slide the joining plate into place from below and secure the top row of fasteners. Make sure you do not bind the connector or wire under the joining plate. Figure 9: Joining Plate and Fasteners 5. Repeat on the other side of the antenna. 6. Fasten the bottom row of joining plate connectors on both sides. 7. Connect the cables to the LRP2000 and slide the over the connector as shown in Figure 10.
Installation and Guidelines Figure 11 shows a completed LRP2000-26 antenna.
3 Electrical Interface 3.1 Connectors and Wiring Figure 12 shows the front connector panel with the four strain reliefs and the RF connectors. The controller ships with sealing plugs in the strain reliefs. For an environmental seal, leave these plugs in place for any unused location. Figure 12: RF Connectors and Strain Relief The four strain reliefs can seal cables ranging in diameter from 0.12” [3.0 mm] minimum to 0.32” [8.0mm] maximum diameter.
Electrical Interface Figure 13 shows an internal view of the controller. It details the locations of all internal terminal blocks needed for wiring the system. Figure 13: Internal Connectors CAUTION: The controller contains ESD-sensitive components. Always observe ESD-sensitive handling procedures when working inside the controller. Terminal Blocks The controller is equipped with removable terminal blocks to aid wiring.
Electrical Interface 3.2 Antenna Cabling Figure 14 shows the two antenna connectors at the base of the LRP2000 antenna. Figure 14: Antenna Connectors Connect one end of the antenna cable assembly, CBL-1475, to the antenna connectors at the base of the antenna. Mate the connectors at the opposite end of the cable assembly to the corresponding RF connector on the controller. The cable assembly has two different types of RF connectors, one threaded TNC and one bayonet-style BNC.
Electrical Interface 3.2.1 Connecting Single Antenna System Figure 15 shows how to connect the LRP2000 and antenna in a single antenna configuration.
Electrical Interface 3.2.2 Connecting a Dual Antenna System In dual antenna systems, one LRP2000 serves as the master and the other acts as the slave. Figure 16 shows how to connect two LRP2000s in a master/slave configuration.
Electrical Interface 3.3 Data Terminal Blocks Figure 17 shows the LRP2000 RS232 terminal block J8, and a detail view the terminal arrangement. Figure 17: J8 COM1 RS232/COM2 RS232 Table 1 lists the RS232 pinouts.
Electrical Interface Figure 18 shows the LRP2000 COM1 RS422 terminal block, J10, and a detail view illustrating the arrangement of the terminals.
Electrical Interface Table 2: J 10 Pinout J10 Pin Number Signal Name Polarity Description 1 TX - - Negative Transmits data to host 2 TX + + Positive Transmits data to host 3 GND Neutral Signal reference 4 RX - - Negative Receives data from host 5 RX + + Positive Receives data from host The signal names given in Table 2 refer to the signals from the LRP2000, not the signals from the host. 3.
Electrical Interface Figure 19 shows the LRP2000 power supply and spade lugs. Figure 19: Input Power Supply Lugs Figure 20 shows the LRP2000 input power terminals.
Electrical Interface 3.5 RS232 Wiring The recommended cable type for RS232 communication is Belden part number 9941. Specifications for Belden cables can be found at WWW.BELDEN.COM. 3.6 RS422 Wiring and Termination In installations where long cable runs must be used, or in noisy environments, RS422 is the communications standard of choice for point-to-point serial communications. The recommended cable types are Belden p/n 3084A, or Belden p/n 3082A.
Electrical Interface Because of the narrow size of the strain reliefs on the LRP2000, the standard RJ-45 connector cannot be inserted through the strain relief. EMS recommends that you loosen the nut on the strain relief, feed through the cable, and crimp the connector in place. After the connector is crimped onto the cable, the cable can be connected to the Ethernet module, and the excess cable withdrawn from the unit before tightening the strain relief.
Electrical Interface 3.8.1 Inputs The +IN terminal must be at a higher positive potential than the -IN terminal for current to be sensed correctly. The voltage range is 4.5 to 30V between the +IN and the -IN inputs, and the maximum current is 25 mA.
Electrical Interface Table 4: Input Connector Pinout Connector Pin Number Signal Name Polarity 6 - IN C Negative 7 + IN D Positive 8 - IN D Negative 9 GND Neutral 3.8.2 Outputs The output is limited to 30 VDC when off and 500 mA. These are maximum ratings. A device that operates at 200 mA may destroy the output due to inrush current if that current exceeds 500 mA (such as an incandescent light).
Electrical Interface Figure 23: J20 Output Connector Table 5: Output Connector Pinout 29 Terminal Number Signal Name Polarity 1 + OUT A Positive 2 - OUT A Negative 3 + OUT B Positive 4 - OUT B Negative 5 + OUT C Positive 6 - OUT C Negative 7 + OUT D Positive 8 - OUT D Negative 9 GND Neutral LRP2000 Passive Reader/Writer
Electrical Interface Figure 24: Input from Sourcing Contact Figure 24 shows the switch on the high side with the low side grounded. As this is a “Dry” contact (the current is limited to 15 mA), a high-quality sealed switch should be used. Figure 25: Input from Sinking Contact Figure 25 shows a switch connected on the low side with the high side connected to the positive supply. This also requires a high-quality sealed contact.
Electrical Interface Figure 26: Input from NPN Sensor Figure 26 shows an Open Collector NPN output from a photosensor switching to ground. It can be wired as a sinking or low-side contact. Figure 27: Input from NPN Sensor Figure 27 shows an Open Collector PNP output from a photosensor switching to a positive supply. It can be wired as a sourcing or high-side contact.
Electrical Interface Figure 28: Sourcing Output 'Contact Figure 28 shows a relay connected as a current sourcing “Contact.” The relay is grounded and the +OUT terminal goes to the positive supply. The diode across the relay coil is essential to protect the output circuit and reduce noise along the wiring. It should be connected at the relay to minimize the length of wiring that could radiate noise. A 1N4001 or similar diode may be used.
Electrical Interface Figure 30: Sinking Output LED Driver In Figure 30, the LED and current limiting resistor are in series between the positive supply and the +OUT terminal. The -OUT terminal is grounded. The resistor in series with the LED sets the forward current. 1.2 K provides 20 mA LED current when run from 24 VDC. Figure 31: Output to TTL or CMOS LogicIn In Figure 31, the output acts as an Open Collector.
Electrical Interface 3.9 Master/Slave Configuration You can use the LRP2000 in a single or dual antenna configuration. All LRP2000s are set by default to be master controllers for single antenna systems. For dual antenna systems, you must make one jumper change to the master and change the second controller to a slave. To change an LRP2000 to act as a slave, you need to perform the following tasks: • Move a shunt from jumper J34 to jumper J32 (master LRP200).
Electrical Interface 3.9.2 DIP Switch Settings on the Slave To set a LRP2000 to operate as a slave in a dual antenna installation, you must change the settings of DIP switch banks S1 and S2. For reference, Table 6 shows the settings for a master LRP2000. The correct settings for switch banks S3 and S5 are also shown. Figure 33 shows the locations of the switch banks.
Electrical Interface To change the switches to a slave configuration, make the changes highlighted in Table 7. Make sure power to the LRP2000 is off before changing DIP switch settings.
4 Communications Interface 4.1 Configuring the Serial Interface 4.1.1 COM1 In normal use for reading and writing RFID tags, communications with the LRP2000 occurs via the main communications interface, COM1. This communications interface can be accessed by both point-to-point and addressed serial communications protocols. For point-to-point serial communication, the LRP2000 supports RS232 and RS422 as the standard protocols. For multiplexed communications, Ethernet is available as an option.
Communications Interface The communication options for the COM2 interface are listed in Table 10. Table 10: COM2 Parameters Baud Rate 1200, 2400, 4800, 9600, 19200 bps Number of Data Bits 7, 8 Parity Even, Odd, None Flow Control None, Xon/Xoff The default configuration parameters for COM2 are listed in Table 11.
Communications Interface 4.1.3 Digital Board DIP Switch The digital board is mounted inside the LRP2000 enclosure closest to the wall with the cable entries. The first five switches of the main board set the COM1 baud rate, electrical interface, and the download options for COM2. SW6, SW7 and SW8 are not used and should remain OFF. When SW1 and SW2 are both set ON, the baud rate is set via the Configuration Menu. Table 12 lists the possible switch settings for typical applications.
Communications Interface Table 12: Dip Switch Settings Baud Rate Download/ Restore Defaults Interface IGNORED IGNORED ON ON OFF Reserved OFF OFF OFF OFF OFF Disabled IGNORED IGNORED IGNORED IGNORED ON Download / Restore Defaults NOTE: By setting SW5 ON to enable download, the default parameters will first be restored and saved to the non-volatile memory, erasing the previously stored communication and operating parameters.
Communications Interface Once connected, apply power to the LRP2000 and direct the PC's web browser to http://192.168.253.222. The page shown in Figure 36 is displayed while the interface pages load.
Communications Interface Click “Connect” to see the current configuration of the module as shown in Figure 37.
Communications Interface To change the IP address, click “Server Properties” from the menu on the left. This loads the Server Properties page as shown in Figure 38. Figure 38: Server Properties Page Click the “Edit” button next to the IP address field to display a separate window. Type or paste in the desired IP address and press “Enter.” Follow the same procedure to change the Subnet Mask and the Gateway Address.
Communications Interface Figure 39: LED Indicators Table 13: LED Indicators LED Color Meaning POWER RED The LRP2000 is receiving power COM1 GREEN / RED RED: Incoming data on COM1 RS232 RX GREEN: Outgoing data on COM1 RS232 TX and COM1 RS422 Y and Z INPUT A YELLOW The Input is active INPUT B YELLOW The Input is active INPUT C YELLOW The Input is active INPUT D YELLOW The Input is active RF GREEN RF data transfer CONFIG GREEN Flashes green for 0.
Communications Interface Table 13: LED Indicators LED Color Meaning OUTPUT A GREEN Output A active OUTPUT B GREEN Output B active OUTPUT C GREEN Output C active OUTPUT D GREEN Output D active ERROR RED Flashes red for 0.5 seconds to indicate the unsuccessful execution of an ABx command ANT RED Antenna is transmitting E-DIAG Blinks in combination with E-CHAN 1 LED to provide diagnostic information. See explanation below.
Communications Interface The E-DIAG LED and the E-CHAN 1 LEDs blink at the same time to indicate the following errors: Number of Blinks Error 4 Faulty Network Connection 5 No DHCP Response Received LRP2000 Passive Reader/Writer 46
5 Menu Configuration The LRP2000 features a menu-driven program designed to give convenient access to the serial parameters, restore defaults, or change operating modes. 5.1 How to Enter the Menu Configuration Begin by connecting the COM2 port to your PC host (see table below) and running EC that is available on the diskette, or from Escort Memory Systems’ Web site at www.ems-rfid.com.
Menu Configuration 5.2 Set-Up Operating Parameters To change the operating parameters of the LRP2000, enter 1 at the initial menu.
Menu Configuration 5.2.3 Set Operating Mode The “[3] Set Operating Mode” menu allows you to choose the ABx command protocol the LRP2000 uses, or configures it to enter Continuous Read Mode automatically upon start-up. *** Set Operating Mode *** Operating Mode? [0] ABx Standard* [1] ABx Fast [2] ABx ASCII Framing Editing (for ABx Fast and ABx ASCII selection only from previous menu choice, see note below for additional setup information).
Menu Configuration If a two-character preamble is desired, you are prompted to enter the hexadecimal value of both characters. The prompts shown below are if ABx Fast protocol was selected. If ABx ASCII protocol was selected, the prompts will reflect that. First FAST Header Character (01 - 7F) = Second FAST Header character (01 - 7F0) = Once the preamble character(s) have been entered, the following prompt appears allowing the user to specify one- or two-character message termination sequence.
Menu Configuration If option 2 or 3 is selected from the “Power Up In Continuous Read Mode” menu, the following prompts appear to allow you to specify the starting tag address, how many bytes will be read, the Family Code subset of tags to be read, the number of different tags that must be seen before the same tag will be read again, and what the Raw Read Response should be: Start Address (0 to 111) Length (1 to 112) Family Code Tag Delay (0 to 225) Raw Read Response? [0] NO [1] CR terminate [2] CR/LF term
Menu Configuration 5.2.4 Set RF Communication *** Set RF Communication *** RF Communication Enter Tag Category Save Changes to EEPROM RF Communication Fast Mode or Standard Mode sets the RF data rate from the reader to the tag and should be set to the default condition “Fast Mode.” Standard Mode was implemented to meet strict certification emission limits, which is not needed in most countries.
Menu Configuration 5.3 Download New Program Before attempting to download new firmware to the LRP2000 main board, read the instructions provided in a readme.txt file on the update diskette. When you select 2 from the Main Menu, the LRP2000 displays information on the current program and prompts you to begin the download.
Menu Configuration Send the new firmware via your terminal emulation program in ASCII text or hexadecimal format. The firmware is automatically transferred to the DSP Flash Memory. Wait 10 seconds after the download is complete before resetting the LRP2000. Record: 750 Download OK File Transfer to DSP Block 24/24 DSP Flash Programming... New Firmware Transferred to DSP WARNING: Do not download INTERFACE BOARD firmware to the main board.
6 RFID Communications 6.1 Introduction Conventions In this manual, numbers expressed in hexadecimal are appended with “H.” For example, the decimal number 10 is expressed as “0AH” in hexadecimal. The addresses of the bytes of read/write memory within an RFID tag are numbered from 0 to N, where N is one less than the number of read/write bytes in the tag. The number of read/write bytes is equal to the Block Size multiplied by the Number of Blocks.
RFID Communications 6.1.1 ABx Command Set Listings Table 14, Table 15, and Table 16 list the ABx commands recognized by the LRP2000.
RFID Communications 6.2 Command Parameters 6.2.1 Command Timeout All single-tag and multi-tag commands have a timeout value that is used to specify the time the controller will attempt to complete the specified operation. The absolute minimum timeout value that can be issued to the controller is 1 millisecond. The absolute maximum time for which the controller will attempt to complete a command is just over one minute.
RFID Communications At the pallet level, a read command of the case level family coded tags would produce the quantity of cases on the pallet and the case data and the quantity of cases could be written to the pallet tag using the pallet tag family code. This way a pallet going through a gate can be read quickly by just reading the pallet family codes and ignoring the case and item level family coded tags.
RFID Communications 6.4 Standard ABx Protocol The ABx standard is a binary protocol, word (2-byte) oriented, so the syntax table reports the most significant byte (MSB) and the least significant byte (LSB). In the serial transmission, the MSB is transmitted first.
RFID Communications 6.4.1 ABxS Command 04H: Fill Tag DESCRIPTION Fill an RFID tag with a one-byte value over multiple contiguous addresses. DISCUSSION This command is commonly used to clear contiguous segments of a tag's memory. It writes a one-byte value repetitively across a specified range of tag addresses. The fill function requires one data value byte, a starting address, and a fill length.
RFID Communications 6.4.2 ABxS Command 05H: Read DESCRIPTION Read data from contiguous bytes of the RFID tag's read/write memory. DISCUSSION This command is used to read bytes from contiguous areas of tag memory. The minimum length of the data read from the tag is 1 byte. The maximum is the entire read/write address space of the tag. The timeout value is given in 1 ms increments and can have a value of 001EH to FFFEH (65,534 ms). When the timeout is set to 0, the controller returns a syntax error.
RFID Communications 6.4.3 ABxS Command 06H: Write DESCRIPTION Writes data to an RFID tag. DISCUSSION This command is used to write segments of data to contiguous areas of tag memory. It is capable of transferring up to 112 bytes of data transferred from the Host with one command. The timeout value is given in 1 ms increments and can have a value of 001EH to FFFEH (65,534 ms). When the timeout is set to 0, the controller returns a syntax error.
RFID Communications 6.4.4 ABxS Command 07H: Read Tag Serial Number DESCRIPTION This command retrieves the eight-byte tag serial number. DISCUSSION Each controller tag has a unique serial number. This number cannot be changed and is not part of the available data bytes. The tag serial number is returned in the LSB only, with the MSB as 00H.
RFID Communications 6.4.5 ABxS Command 08H: Tag Search DESCRIPTION Check to see if there is an RFID tag in the antenna field. DISCUSSION This command activates the controller to search for the presence of a tag within range of the antenna. If the controller finds a tag, it returns a command echo to the host. The timeout value is given in 1 ms increments and can have a value of 001EH to FFFEH (30 to 65,534 ms). When the timeout is set to 0, the controller returns a syntax error.
RFID Communications In Continuous Read mode, the LEDs indicate the following: LED Behavior Description ANT ON Assumes the antenna is powered and functioning CONFIG BLINK Tag entered the RF field RF ON Tag has been read and is still in the field RF OFF Read tag has been out of range for the specified time The command and response from the controller are formatted as follows.
RFID Communications To exit Continuous Read mode, send the command with the read length variable set to 0 as shown below. The value of the other variables are not considered. Command from Host Response from Controller MSB LSB Remarks MSB LSB Remarks AAH 0DH Perform Command D AAH 0DH Command Echo 00H 01H Record Length FFH FFH Message Terminator 00H 00H Read 0 bytes/end mode 00H 02H 2-second Timeout FFH FFH Message Terminator 6.4.
RFID Communications 6.4.8 ABxS Command 16H: Write Family Code DESCRIPTION Changes the family code of an RFID tag. Field Content Header AAH Command 16H Timeout Timeout value given in 1 ms units (001EH - FFFEH) New Family Code One word with 00H in the MSB and the new Family Code in the LSB Terminator FFFFH Response from controller: Field Content Header AAH Command Echo 16H Terminator FFFFH 6.4.
RFID Communications 6.4.10 ABxS Command 82H: SN Read All DESCRIPTION Command 82H reads the serial numbers and the specified bytes of data from all RFID tags in the field or those with the specified Family ID. Returns the serial number of the tags read, along with tag data. DISCUSSION This command is used to read segments of data from contiguous areas of tag memory. It is capable of transferring the entire read/write address of data transferred to the host with one command.
RFID Communications Example Reads two bytes of data from the tag starting at address 0001H. A timeout of 2 seconds (07D0H = 2000 x 1 ms increments) is set for the completion of the SN Read All. The Family ID byte is set to zero, so all tags will be read. Two tags respond with read data.
RFID Communications 6.4.11 ABxS Command 83H: Start/Stop Continuous SN Read All DESCRIPTION Command 83H starts and stops continuous read all mode for multiple tags. It reads the serial number and tag data. If the read length is zero (0), then only the tag's serial number is read. While in this mode, any other command can be issued and will be handled properly. After processing the new command, the controller resumes the continuous read.
RFID Communications 71 MSB LSB Remarks 00H 00H Serial Number byte /Tag 1 00H 01H Serial Number byte /Tag 1 00H 04H Serial Number byte /Tag 1 00H E0H Serial Number byte /Tag 1 00H 6CH Tag data byte /Tag 1 00H 6CH Tag data byte /Tag 1 00H 20H Tag data byte /Tag 1 FFH FFH Message Terminator AAH 83H Command Echo 00H 4BH Serial Number byte /Tag 2 00H C5H Serial Number byte /Tag 2 00H 0BH Serial Number byte /Tag 2 00H 01H Serial Number byte /Tag 2 00H 00H Serial Numbe
RFID Communications 6.4.12 ABxS Command 84H: Fill Tag All DESCRIPTION Command 84H fills all RFID tags-in-field or all tags in the same family, with a one-byte value over multiple contiguous addresses. DISCUSSION This command is commonly used to clear an RFID tag's memory. It writes a one-byte value repetitively across a specified range of tag addresses. All tags within range of the antenna with the specified Family ID are affected by this command.
RFID Communications 6.4.13 ABxS Command 85H: Read All DESCRIPTION Command 85H reads data from all RFID tags-in-field, or those tags with the specified Family ID. DISCUSSION This command is used to read segments of data from contiguous areas of tag memory. It is capable of handling up to 1 kByte of data transferred to the host with one command. The timeout value is given in 1 ms increments and can have a value of 001EH to FFFEH (65,534 ms).
RFID Communications Example Reads four bytes of data from the tag starting at address 0001H. A timeout of 2 seconds (07D0H = 2000 x 1 ms increments) is set for the completion of the Read All. The Family ID byte is set to zero, so all tags are read. Three tags respond with read data.
RFID Communications 6.4.14 ABxS Command 86H: Write All DESCRIPTION Command 86H writes data to all RFID tags, or all tags with the same Family ID. DISCUSSION This command is used to write segments of data to contiguous areas of tag memory. It is capable of transferring up to 1 kByte of data from the Host with one command. The timeout value is given in 1 ms increments and can have a value of 001EH to FFFEH (65,534 ms). When the timeout is set to 0, the controller returns a syntax error.
RFID Communications 6.4.15 ABxS Command 87H: Read Tag SN All DESCRIPTION Command 87H retrieves the eight-byte tag serial number from all tags, or those with the specified Family ID number. DISCUSSION Each ISO-15693 compliant tag has an unique serial number (over 280 trillion possibilities). This number cannot be changed and is not part of the available data bytes. The tag serial number is returned in the LSB only, with the MSB as 00H.
RFID Communications 6.4.16 ABxS Command 88H: Tag Search All DESCRIPTION Command 88H checks to see if there is an RFID tag within range of the antenna. DISCUSSION This command activates controller to look for a tag in range. As soon as the controller finds a tag it returns a command echo to the host. The timeout value is given in 1 ms increments and can have a value of 001EH to FFFEH (65,534 ms). When the timeout is set to 0, the controller returns a syntax error.
RFID Communications 6.4.17 ABxS Command 8BH: Write Family Code All DESCRIPTION Command 8BH can be used to write the family code of all tags in the field. It can also be used to selectively rewrite the family codes of tags with family codes already set to a particular value. The command is formatted as shown below.
RFID Communications 6.4.18 ABxS Command 8CH: Lock Family Code All DESCRIPTION Command 8CH locks the family codes of tags in the field. Once locked, the family codes cannot be changed or unlocked. DISCUSSION The command must pass a family code to select the tags whose family code will be locked. The controller returns a response when the timeout period expires. The parameter of the response in the number of tags written.
RFID Communications 6.4.19 ABxS Command 8DH: Start/Stop Continuous Read All DESCRIPTION Command 8DH starts and stops Continuous Read All mode for multiple tags. DISCUSSION The Start/Stop Continuous Read All mode is set by the length byte. To start Continuous Read All mode, send the command with valid, non-zero value for the length of the read. Stop the mode by sending the command with a read length of 0. While in this mode, any other command can be issued and will be handled properly.
RFID Communications After the controller sends the acknowledgment, it sends the read data from the three tags.
RFID Communications 6.4.20 ABxS Command 91H: Memory Lock All DESCRIPTION Command 91H locks contiguous blocks of read-write memory. Once bytes are locked, they cannot be written to, nor can they be unlocked. DISCUSSION The memory can be locked only in contiguous blocks. The command passes one parameter for the first block and another parameter for the number of blocks to be locked. This is one of only two ABx commands that address the memory of the tag using these parameters.
RFID Communications 6.4.21 ABxS Command 94H: SN Fill DESCRIPTION Command 94H fills only the RFID tag specified by the serial number with a one-byte value over multiple contiguous addresses. DISCUSSION This command is commonly used to clear an RFID tag's memory. It writes a one-byte value repetitively across a specified range of tag addresses. Only the tag with the specified serial number is affected by this command.
RFID Communications Example Writes 'A' (41H) to a single tag, starting at tag address 0005H for the next consecutive 40 bytes. The family code is set to 00H. A timeout of 2 seconds (07D0H = 2000 x 1 ms increments) is set for the completion of the command.
RFID Communications 6.4.22 ABxS Command 95H: SN Read DESCRIPTION Command 95H reads data from a specified RFID tag. DISCUSSION This command is used to read segments of data from contiguous areas of tag memory. It is capable of handling up to 48 bytes of data transferred to the host with one command if there is no tag Family ID. The timeout value is given in 1 ms increments and can have a value of 001EH to FFFEH (65,534 ms). When the timeout is set to 0, the controller returns a syntax error.
RFID Communications 6.4.23 ABxS Command 96H: SN Write DESCRIPTION Command 96H writes data to a single RFID tag specified by its serial number. DISCUSSION This command writes segments of data to contiguous areas of tag memory. It is capable of transferring up to 1 kByte of data transferred from the host to the controller in a single command. The timeout value is given in 1 ms increments and can have a value of 001EH to FFFEH (65,534 ms). When the timeout is set to 0, the controller returns a syntax error.
RFID Communications Example Writes four bytes of data, starting at address 0001H. A timeout of 2 seconds (07D0H = 2000 x 1 ms increments) is set for the completion of the Write. The Family ID Code is set to 00H.
RFID Communications 6.4.24 ABxS Command 10H: Set Output DESCRIPTION Command 10H sets the states of the output lines and output LEDs “A” through “D.” DISCUSSION This command sets the state of the digital output lines using a one-byte parameter, Output Status. The least significant nibble of the Output Status Byte determines the status of the outputs. The least significant bit of this nibble corresponds to Output A. The most significant bit of this nibble corresponds to Output D.
RFID Communications 6.4.25 ABxS Command 11H: Input Status DESCRIPTION Command 11H returns the status of user inputs. DISCUSSION This command interrogates the state of the user input lines and return a one-byte parameter, Input Status. The least significant nibble of the Input Status Byte is determined by the status of the outputs. The least significant bit of this nibble corresponds to Input A. The most significant bit of this nibble corresponds to input D.
RFID Communications 6.5 ABx Fast Protocol The ABx Fast protocol differs from the Abx Standard Protocol in that the atomic data element is a byte instead of a 16-bit word. ABx Fast commands and responses also contain a two-byte word to indicate the size of the packet being sent. ABx Fast also supports the use of a one-byte checksum. Packet Size The ABx Fast protocol requires that the size of the packet be included following the terminator in every packet.
RFID Communications The summed values begin with the Command Size and end with the timeout value. That sum, less overflow, is subtracted from FFH for the checksum value. Thus: 00H + 03H + 01H + 07H + D0H = DBH FFH - DBH = 24H ABx Fast Single Tag Command Structure Field Number of Bytes Content Header 2 0202H Command Size 2 Packet length in bytes excluding the header, command size, checksum, and terminator bytes Command 1 Command code Byte Addresses 4 The first two bytes give the start address.
RFID Communications 6.5.1 ABxF Command 04H: Fill Tag DESCRIPTION Command 04H fills an RFID tag with a one-byte value over multiple contiguous addresses. DISCUSSION This command is commonly used to clear an RFID tag's memory. It writes a one-byte value repetitively across a specified range of tag addresses. The fill function requires one data value byte, a starting address, and a fill length.
RFID Communications Example Writes 'A' (41H) to the tag starting at address 0005H and continuing for the next consecutive 40 bytes. A timeout of 2 seconds (07D0H =2000 x 1 ms increments) is set for the completion of the configuration.
RFID Communications Example Reads four bytes of data from the tag starting at address 0001H. A timeout of 2 seconds (07D0H = 2000 x 1 ms increments) is set for the completion of the Read.
RFID Communications Example Writes four bytes of data to the tag starting at address 0000H. A timeout of 2 seconds (07D0H = 2000 x 1 ms increments) is set for the completion of the Write.
RFID Communications Example This example waits until a tag is in range and then reads the eight-byte serial number. In this example, the serial number is F2720300000104E0.
RFID Communications Example Checks for an RFID tag within range of the antenna. A timeout of 2 seconds (07D0H = 2000 x 1 ms increments) is set for the completion of the Tag Search. Command from Host Response from Controller Field Content Field Content Header 0202H Header 0202H Command Size 0003H Response Size 0001H Command Code 08H Command Echo 08H Timeout 07D0H Checksum F6H Checksum 1DH Terminators 03H Terminators 03H 6.5.
RFID Communications This example places the controller in Continuous Read mode and reads eight bytes of data from the tag, starting at address 0001H. A delay between identical reads of 2 seconds (0002H = 2 x 1 second increments) is set.
RFID Communications Example Command from Host Response from Controller Field Content Field Content Header 0202H Header 0202H Command Size 0005H Response Size 0005H Command Code 14H Command Echo 14H First Block 00H Status of Block Zero 00H Number of Blocks 04H Status of Block One 00H Timeout, 2 seconds 07D0H Status of Block Two 01H Checksum 0BH Status of Block Three 00H Terminator 03H Checksum E5H Terminator 03H 6.5.
RFID Communications 6.5.9 ABxF Command 17H: Lock Family Code DESCRIPTION: Command 17H locks the family code byte to its current value, so that it cannot be written. Once locked, the family code cannot be unlocked. Command from Host Response from Controller Field Content Field Content Header 0202H Header 0202H Command Size 0003H Response Size 0001H Command Code 17H Command Echo 17H Timeout, 2 seconds 07D0H Checksum E7H Checksum 0EH Terminator 03H Terminator 03H 6.5.
RFID Communications Example This example reads four bytes of data from the tag starting at address 0001H. A timeout of 2 seconds (07D0H = 2000 x 1 msec increments) is set for the completion of the SN Block Read All. The Tag Family Byte is set to zero so all tags will be read. Three tags respond with data.
RFID Communications Command from Host Field LRP2000 Passive Reader/Writer Response from Controller Content Field Content SN Byte 1/tag 3 71H SN Byte 2/ tag 3 72H SN Byte 3/tag 3 03H SN Byte 4/tag 3 00H SN Byte 5/tag 3 00H SN Byte 6/tag 3 01H SN Byte 7/tag 3 04H SN Byte 8/tag 3 E0H Data Byte 1/ tag 3 53H Data Byte 2/tag 3 48H Data Byte 3/tag 3 49H Data Byte 4/tag 3 54H Checksum 6FH Terminator 03H Header 0202H Response Size 0003H Command Status FFH Number of tags 03H
RFID Communications 6.5.11 ABxF Command 83H: Start/Stop Continuous SN Read All DESCRIPTION Command 83H starts and stops continuous read all mode for multiple tags. It reads the serial number and tag data. While in this mode, any other command can be issued and it will be handled properly. After processing the interrupting command, the controller resumes the continuous read. Continuous SN Read All is started or stopped through a unique parameter, Start Continuous Read.
RFID Communications Example Starts continuous read of three bytes starting at address two, has a repeat count of four, and the family code is set to 00H, so that all tags in the field respond.
RFID Communications Response from controller 105 Field Content Header 0202H Response Size 000BH Command Echo/Tag 1 83H SN Byte 1/tag 1 A6H SN Byte 2/ tag 1 72H SN Byte 3/tag 1 03H SN Byte 4/tag 1 00H SN Byte 5/tag 1 00H SN Byte 6/tag 1 01H SN Byte 7/tag 1 04H SN Byte 8/tag 1 E0H Data from Address 0002H AAH Data from Address 0003H 21H Data from Address 0004H 44H Checksum 62H Terminator 03H Field Content Header 0202H Response Size 000BH Command Echo/Tag 2 83H SN By
RFID Communications Field Content SN Byte 3/tag 3 03H SN Byte 4/tag 3 00H SN Byte 5/tag 3 00H SN Byte 6/tag 3 01H SN Byte 7/tag 3 04H SN Byte 8/tag 3 E0H Data from Address 0002H AAH Data from Address 0003H 21H Data from Address 0004H 44H Checksum 62H Terminator 03H 6.5.12 ABxF Command 84H: Fill All DESCRIPTION Command 84 H fills all RFID tags-in-field or all tags in the same family, with a one-byte value over multiple contiguous addresses.
RFID Communications Example Writes 41H—the ASCII character "A"—to all tags with family code 03H, starting at address 0005H for the next consecutive 40 Bytes. A timeout of 2 seconds (07D0H = 2000 x 1 msec increments) is set for the completion of the configuration. In this example, four tags are found and filled successfully.
RFID Communications Example Reads four bytes of data from tags with Family ID AAH, starting at address 0001H. A timeout of 2 seconds (07D0H = 2000 x 1 msec increments) is set for the completion of the Block Read All. The family code is set to zero so all tags will be read.
RFID Communications 6.5.14 ABxF Command 86H: Block Write All DESCRIPTION Command 86H writes a block of data to an RFID tag. DISCUSSION The Block Write All command is used to write segments of data to contiguous areas of tag memory. The timeout value 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 controller returns a syntax error.
RFID Communications Example Writes four bytes of data to the tag starting at address 0000H. A timeout of 2 seconds (07D0H = 2000 x 1 msec increments) is set for the completion of the Block Write All. Family ID is set to 00H so all tags-in-field are written to. In this example, the LRP2000 write to five tags.
RFID Communications Example This example reads the eight-byte serial number from all tags permitted by the Family ID and Reserved. In this example, one tag responds and the serial number is F20300000104E0H.
RFID Communications 6.5.16 ABxF Command 88H: Tag Search All DESCRIPTION Command 88H searches for tags within range of the antenna. DISCUSSION This command activates the controller to look for tags within range of the antenna. As soon as the controller finds a tag, it returns a command echo to the host. The timeout value is given in 1 msec increments and can have a value of 1EH to FFFEH (65,534 ms). If no tag is present, it returns an error message. See Section 6.6 for information on the error messages.
RFID Communications 6.5.17 ABxF Command 8DH: Stop/Start Continuous Read All DESCRIPTION Command 8DH starts and stops continuous read mode for multiple tags. DISCUSSION The Start/Stop Continuous Read All mode is initiated by issuing the command with the Number of Bytes set to any valid nonzero value. Stop the mode by sending the command with a read length of 0. While in this mode, any other command can be issued and will be handled properly.
RFID Communications After the controller sends the acknowledgment, it sends the read data from the two tags.
RFID Communications Example This example locks blocks 0-2 on all tags-in-field with the family code of 02H. Two tags are found and locked.
RFID Communications Example This example changes the family code depending on the current value of the family code. Two tags are found with family code 02H and are changed to 03H.
RFID Communications Example This example locks the family code on all tags with the family code of 02H. Two tags are found and locked. Command from Host Response form Controller Field Content Field Content Header 0202H Header 0202H Command Size 0005H Response Size 0003H Command Code 8CH Command Echo 8CH Family ID 02H Number of Tags 02H Reserved 00H Status Byte 08H Timeout 07D0H Checksum 67H Checksum 95H Terminator 03H Terminator 03H 6.5.
RFID Communications Example This example fills the tag with serial number 1DB0320000104E0 with FFH.
RFID Communications 6.5.22 ABxF Command 95H: SN Block Read DESCRIPTION Command 95H reads a block of data from a specified RFID tag. DISCUSSION This command is used to read segments of data from contiguous areas of tag memory. It handles up to 1 kByte of data transferred to the host with one command. The timeout value 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 controller returns a syntax error.
RFID Communications Example This example reads 10 bytes from the tag with serial number 1DB0320000104E0 starting at address 0AH.
RFID Communications 6.5.23 ABxF Command 96H: SN Block Write DESCRIPTION Command 96H writes data to a single RFID tag specified by its serial number. DISCUSSION This command is used to write data to contiguous areas of tag memory. It transfers up to 1 kByte of data from the host to the controller in a single command. The timeout value 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 controller returns a syntax error.
RFID Communications Example This example writes 4 bytes to the tag with serial number 1DB0320000104E0 starting at address 0AH.
RFID Communications 6.5.24 ABxF Command 10H: Set Output DESCRIPTION Command 10H sets the states of the output lines and output LEDs "A" through "D." DISCUSSION This command sets the state of the digital output lines using a one-byte parameter, Output Status. The least significant nibble of the Output Status Byte determines the status of the outputs. The least significant bit of this nibble corresponds to Output A. The most significant bit of this nibble corresponds to Output D.
RFID Communications Example The following example sets Output B only and resets A, C, and D. Command from Host Field Response from Controller Content Field Content Header 0202H Header 0202H Command Size 0002H Response Size 0001H Command Code 10H Command Echo 10H Output Value Byte 02H Checksum EEH Checksum EBH Terminator 03H Terminator 03H 6.5.25 ABxF Command 11H: Input Status DESCRIPTION Command 11H returns the status of user inputs.
RFID Communications Field Content Header 0202H Command Size Packet length in bytes excluding the header, command size, checksum, and terminator bytes Command 11H Checksum Optional checksum Terminator 03H Example The following example shows only input B is ON, and A, C, and D are OFF.
RFID Communications 6.6 ABx ASCII Protocol The ABx ASCII Protocol is based on the ABx Fast protocol. It uses the same headers and terminator (already ASCII characters) and converts the hex value of command and data bytes to printable ASCII (twodigit hexadecimal notation). In another words, the hex values given in an ABx Fast command are transmitted as separate ASCII characters. Since it is an ASCII protocol, the Xon/Xoff handshake can be used.
RFID Communications If the controller encounters a fault, it responds with the following: Field Number of ASCII Characters Content Header 2 (02H, 02H) Response Size 4 Packet length in bytes excluding the header, response size, checksum and terminator bytes.
RFID Communications The ASCII character string for a fill of 32 bytes, from address 0 with 55H value, timeout 5 sec.
RFID Communications 6.7 ABx Error Codes 6.7.1 Multi-tag Error Codes The LRP2000 returns an error if it encounters a fault during operation. The table below lists the possible error codes in hexadecimal format.
RFID Communications 6.7.3 ABx Fast Error Codes The format of the error response is shown in the table below. Field Bytes Contents Header 02H 02H Response Size 00H 02H Error Flag FFH Error Code XXH Checksum XXH Terminators 03H Example A Block Write fail error message would appear as: 0202 0002 FF06 F803H. 6.7.4 ABx ASCII Error Codes The format of the error response is shown below.
6.7.5 Multi-tag Command Error Code When the multi-tag commands encounter a fault condition, they indicate the error in a STATUS byte returned in the response. If any of the flag bits of the Status byte are set, then an error has occurred during command execution. In all other ways, the format of the response is the same as a successful response.
Appendix A Specifications A.1 Electrical Supply Voltage: 28-30 Vdc Power Consumption: 56W (2.0 A @ 28Vdc) A.2 Communication RF Interface: ISO/IEC 15693 Passive RFID System Bus Interface: Ethernet TCP/IP (Option) COM1: RS232/RS422 COM2: RS232 Inputs: Four industrial-level inputs, 4.5-30 Vdc (25mA max) Output: Four industrial-level outputs, 30 Vdc (500mA max) A.3 Mechanical Specifications Dimensions (L x W x H): 15.75 x 9.05 x 4.37 inches, (400 x 230 x 111 mm) Weight: 11.5 lb. (5.
Appendix B Models and Accessories B.1 Available Models Part Number Description LRP2000-26 Long range, passive controller; RS232, RS422 and RS485 communications, 4 digital inputs and 4 digital outputs; IEC/ISO 15693 RF protocol; Antenna, 6' ht; receive/transmit cable 11m LRP2000-23 Long range, passive controller; RS232, RS422 and RS485 communications, 4 digital inputs and 4 digital outputs; IEC/ISO 15693 RF protocol; Antenna 3' ht; receive/transmit cable 11m B.
Appendix C ASCII Chart 134 Decimal Hex Character Decimal Hex Character 000 00 NUL 032 20 (SPACE) 001 01 SOH 033 21 ! 002 02 STX 034 22 " 003 03 ETX 035 23 # 004 04 EDT 036 24 $ 005 05 ENQ 037 25 % 006 06 ACK 038 26 & 007 07 BEL 039 27 ’ 008 08 BS 040 28 ( 009 09 HT 041 29 ) 010 0A LF 042 2A * 011 0B VT 043 2B + 012 0C FF 044 2C ‘ 013 0D CR 045 2D - 014 0E SO 046 2E .
ASCII Chart 135 Decimal Hex Character Decimal Hex Character 064 40 @ 096 5F • 065 41 A 097 60 a 066 42 B 098 61 b 067 43 C 099 62 c 068 44 D 100 63 d 069 45 E 101 64 e 070 46 F 102 65 f 071 47 G 103 66 g 072 48 H 104 67 h 073 49 I 105 68 i 074 4A J 106 69 j 075 4B K 107 6A k 076 4C L 108 6B l 077 4D M 109 6C m 078 4E N 110 6D n 079 4F O 111 6F o 080 50 P 112 70 p 081 51 Q 113 71 q 082 52 R