background image

6. EMS RFID Communications 

6.1 Introduction 
6.2 Multi-tag Command Parameters 
6.3 ABx Standard Protocol 
6.4 ABx Fast Protocol 
6.5 ABx ASCII Protocol 
6.6ABx ASCII Protocol Command Structure
6.7ABx ASCII Protocol Response Structure
6.8ABx ASCII Protocol Response Structure
6.9ABx Error Codes

Summary of Contents for LRP2000 Series

Page 1: ...OPERATOR S MANUAL LRP2000 Series Passive Reader Writer Manual Revision 17 05 02 Publication 17 1257...

Page 2: ...ployee of Escort Memory Systems which is not contained in this warranty will be binding upon Escort Memory Systems unless made in writing and executed by an authorized Escort Memory Systems employee E...

Page 3: ...ogic Group Company Other brand and product names mentioned are trademarks or registered trademarks of their respective holders Escort Memory Systems A Datalogic Group Company 170 Technology Circle Sco...

Page 4: ......

Page 5: ...r Supply Wiring 3 5 RS232 Wiring 3 6 RS422 Wiring and Termination 3 7 Ethernet Wiring 3 8 Digital I O Circuitry 4 Communications Interface 4 1 Configuring for RS232 and RS422 4 2 Configuring for Ether...

Page 6: ...2 Multi tag Command Parameters 6 3 ABx Standard Protocol 6 4 ABx Fast Protocol 6 5 ABx ASCII Protocol 6 6ABx ASCII Protocol Command Structure 6 7ABx ASCII Protocol Response Structure 6 8ABx ASCII Pro...

Page 7: ...trol solutions to automation item level tracking and material handling applications The LRP system uses the internationally recognized ISM frequency of 13 56 MHZ to both power the tag and to establish...

Page 8: ...cordance with the instructions may cause harmful interference to radio communications However there is no guarantee that interference will not occur in a particular installation If this equipment does...

Page 9: ...LRP2000 Long Range Passice Reader Writer 3 2 Installation and Guidelines 2 1 Dimensions Figure 2 1 gives the dimensions for the LRP2000 controller...

Page 10: ...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...

Page 11: ...Installation and Guidelines LRP2000 Long Range Passive Reader Writer 5 Figure 2 3 Antenna Bolt Pattern...

Page 12: ...Installation and Guidelines 6 LRP2000 Long Range Passive Reader Writer...

Page 13: ...nt connector panel with the four strain reliefs and the RF connectors The controller ships with sealing caplugs in the strain reliefs which should be left in any unused location for an environmental s...

Page 14: ...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...

Page 15: ...o different types of RF connectors one threaded TNC and one bayonet syle BNC The controller has one TNC and seven BNC connectors The BNC connector of the antenna cable assembly must only be connected...

Page 16: ...igure 3 4 shows the LRP2000 RS232 terminal block J8 and a detail view illustrating the arrangement of the terminals J 8 Terminal Number Interface J8 Signal Name DB9 Pin Number DB25 Pin Number 1 COM1 R...

Page 17: ...numbers from standard RS232 connectors to which the LRP2000 terminals should be connected Figure 3 5 J10 COM1 RS422 Figure 3 5 shows the LRP2000 COM1 RS422 terminal block J10 and a detail view illustr...

Page 18: ...gnal names given in Table 3 2 refer to the signals from the LRP2000 not to the signals from the host 4 RX B Negative Receives data from host 5 RX A Positive Receives data from host Table 3 1 J 10 Pino...

Page 19: ...not only damage the controller but can void the operator s authority to operate the LRP2000 Back out the terminal screws on the terminal block of the power supply and connect the spade lugs of Cable C...

Page 20: ...ange Passive Reader Writer Figure 3 7 Input Power Terminals Figure 3 7 shows the LRP2000 Input Power Terminals Table 3 2 Imput Power Pinout Power Supply Lug Wire color LRP2000 Terminal Number 26 RED 3...

Page 21: ...t serial communications The recommended cable medium is Belden p n 3084A dropline or Belden p n 3082A trunkline With a maximum baud rate of 38 4 kBaud it is generally unnecessary to terminate the RS42...

Page 22: ...ed through the strain relief It is recommended to 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 ca...

Page 23: ...for sensors with a PNP or NPN output The outputs can be configured in a Sourcing or Sinking configuration The examples in Figures 3 11 through 3 18 show different connections for common input and outp...

Page 24: ...ck back EMF from a collapsing magnetic field when a relay is released can impose a voltage higher than 30V and destroy the output transistor use a backwards diode to clamp the back EMF Figure 3 10 J20...

Page 25: ...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 3 12 Input From Sinking Contact 3 OUT B Positive 4 OUT B Negative 5 OUT C...

Page 26: ...es a high quality sealed contact Figure 3 13 Input From NPN Sensor Figure 3 13 shows an Open Collector NPN output from a photosensor switching to ground It can be wired as a sinking or low side contac...

Page 27: ...al 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 F...

Page 28: ...supply and the OUT terminal The OUT terminal is grounded The resistor in series with the LED sets the forward current 1 2K will provide 20 mA LED current when run from 24 Vdc Figure 3 18 Output to TTL...

Page 29: ...r multiplexed communications Ethernet is available as an option Both RS232 and RS422 interfaces are optically isolated The RS422 interface is especially suited for long cable lengths and for noisy env...

Page 30: ...its of the controller The communication options for the COM2 interface follow Table 4 3 Baud rate 1200 2400 4800 9600 19200 bps Number of Data Bits 7 8 Parity Even Odd None Handshake None Xon Xoff The...

Page 31: ...1 Configuration Dip Switch S1 Figure showing the location of the digital board dip switches and hard reset switch Also includes a detail view of the dip switch array which indicates the arrangement of...

Page 32: ...et is invoked by depressing the hard reset switch holding for one second and releasing The hard reset switch is shown in Figure 4 1 The baud rate as determined by SW1 and SW2 only applies to the COM1...

Page 33: ...onfiguration of the Ethernet module for network 4 3 Configuring the Ethernet Module for Network Communication Once wired correctly the Ethernet Module must be configured to communicate on a network of...

Page 34: ...Long Range Passive Reader Writer 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 4 2 will be displayed as it is decompressed...

Page 35: ...Communications Interface LRP2000 Long Range Passive Reader Writer 29 Click Connect to see the current configuration of the module as shown in Figure 4 3 Figure 4 3...

Page 36: ...he Edit button next to the IP address field to produce a separate window Type or paste in the desired IP address and hit Enter Follow the same procedure to change the Subnet Mask and the Gateway Addre...

Page 37: ...iving 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...

Page 38: ...LEDs 4 Simultaneous Flashes The ERROR and CONFIG LEDs will flash simultaneously four times to indicate that CTRL D has been received within the first seven seconds of power on or hard reset With a ter...

Page 39: ...ntified by the number of times that the E CHAN 1 LED blinks Number of blinks Error 1 EPROM Checksum Error 2 RAM Eror 3 NetworkController Error 4 EEPROM Checksum Error 5 Duplicate IP Address on network...

Page 40: ...Communications Interface 34 LRP2000 Long Range Passive Reader Writer...

Page 41: ...switch five in the ON position and cycle power to the LRP2000 or press the reset switch This will load the default values 2 2 Place DIP switch 5 in the OFF position and cycle power once more Please re...

Page 42: ...600 N 8 1 No handshake Operating Mode ABx Standard RF Communication Fast Mode 1 Set COM1 Parameters 2 Set COM2 Parameters 3 Set Operating Mode 4 Set RF Communications 5 Restore Factory Defaults 6 Retu...

Page 43: ...to EEPROM 0 No 1 Yes Selecting 2 from the 1 Set up Operating Parameters menu will bring up the following display for the COM2 parameters Enter the appropriate number at each prompt The default values...

Page 44: ...ead Mode When you have configured the LRP2000 to function in this manner you do not issue commands to the LRP2000 It will upon start up enter directly into a Continuous Read Mode Since this bypasses t...

Page 45: ...RF Communication 0 Fast Mode 1 Standard Mode 0 Save Changes to EEPROM 0 No 1 Yes Restore Factory Defaults It is often helpful during troubleshooting to restore the LRP2000 to known default values To d...

Page 46: ...terminal emulation program in Text Hyperterminal Transfer Send Text file or ASCII EC PgDn ASCII NOTE It is not necessary to download firmware into the unit unless instructed to do so by Escort Memory...

Page 47: ...e LRP2000 will display Send the Intel Hex file Downloading now Send the new firmware via your terminal emulation program in ASCII text or Hexadecimal format The firmware will be automatically transfer...

Page 48: ...Writer 5 5 Exit to Operating Mode This option is available if you wish to use temporary unsaved configuration parameters The unsaved options you have selected will be used until the LRP2000 is reset a...

Page 49: ...terms of examples and demonstration software Because of this and the fact that ABx Fast speeds communication while increasing error immunity operators are encouraged to implement ABx Fast protocol Th...

Page 50: ...Listings Single tag Commands 04H Fill Tag 05H Block Read 06H Block Write 07H Read Tag Serial Number 08H Tag Search 0DH Continuous Block Read 14H Get Block Status 15H Get Label Information 16H Write Fa...

Page 51: ...d be performed to ensure that a sufficiently large timeout value is chosen in order to read all of the tags A longer timeout value does not necessarily mean that a command will take any longer to exec...

Page 52: ...ly send the requested information until the tags are out of range Selectively Reading and Writing Tags By Family The multi tag commands always have a Family Code as a parameter This parameter manages...

Page 53: ...ops the Continuous Read if set to 00H Both of the other Continuous Read commands 0DH and 8DH rely on the Number of Bytes to be read to start and stop the command If the Number of Bytes is set to any v...

Page 54: ...Command 1 Command Code LSB of the first word Family code 1 LSB 00H to address all tags in field Reserved 1 Reserved for future use set to 00H Start Address 2 One word gives the first Byte of tag memo...

Page 55: ...ue byte starting at the specified start address for the specified number of consecutive bytes When Fill Length is set to 0 the controller will write fill data from the start address to the end of the...

Page 56: ...out of 2 seconds 07D0H 2000 x 1 msec increments is set for the completion of the command Command from Host SuccessfulResponse From Controller MSB LSB Remarks AAH 04H Command echo AAH 04H Perform Comma...

Page 57: ...s When the timeout is set to 0 the controller will return a syntax error The Block Read command consists of a start address and length followed by the message terminator FFFFH as shown below If the re...

Page 58: ...d Command From Host Response from controller MSB LSB Remarks MSB LSB Remarks AAH 05H Perform Command 5 AAH 05H Command echo 00H 01H Start byte Address 0001H 00H 52H Read Data 1 52H 00H 08H 8 bytes 000...

Page 59: ...x error The Block Write command consists of a start address followed by the data stream to be written to the RFID tag If the write range exceeds the last tag address the controller will return error m...

Page 60: ...t for the completion of the Block Write Command from host Response from controller MSB LSB Remarks MSB LSB Remarks AAH 06H Perform Command 6 AAH 06H Command echo 00H 20H Start Address 0020H FFH FFH Me...

Page 61: ...receded by AAH Timeout Timeout value given in 1 ms units 001EH FFFEH Message Terminator FFFFH Example This example will wait until a tag is in range and then reads the 8 byte serial number In this exa...

Page 62: ...the timeout is set to 0 the controller will return a syntax error If no tag is present it will return an error message See Section 6 2 for more information on error codes Field Remarks Command Comman...

Page 63: ...The read length parameter switches the mode Any valid non zero length 1 48 will set the controller into Continuous Block Read mode A read length value of 00H will turn Continuous Block Mode off The De...

Page 64: ...ag Value is expressed in 1 second units Message Terminator FFFFH Example This example places the controller in Continuous Block Read mode and reads 8 bytes of data from the tag starting at address 000...

Page 65: ...exit Continuous Block 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 M...

Page 66: ...k is unlocked 0001H if locked The size and organization of the blocks in a particular tag can be found through the use of command 15H Get Label Information Field Content Header AAH Command 14H First B...

Page 67: ...Timeout Timeout value given in 1 ms units 001EH FFFEH Terminator FFFFH Response from controller Field Content Header AAH Command Echo 15H Info Flags One word value Format Info One word value Family Co...

Page 68: ...N Change 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...

Page 69: ...ks the Family Code Byte to its current value so that it cannot be written Once locked the Family Code cannot be unlocked Field Content Header AAH Command 17H Timeout Timeout value given in 1 ms units...

Page 70: ...ontain the serial number of the responding tags preceding the data from those tags The termination packet is transmitted when the timeout expires Each packet will be sent to the host as soon as it is...

Page 71: ...1 Tag 1 00H 01H Start Address 00H 43H SN byte 2 Tag 1 00H 02H Read Length 00H 6CH SN byte 3 Tag 1 07H D0H Timeout 00H 73H SN byte 4 Tag 1 FFH FFH Message Terminato 00H 92H SN byte 5 Tag 1 00H C0H SN b...

Page 72: ...er Repeat Count that can prevent multiple reads of the same tag A tag is not read a second time until this specified number of tags have been read since it was last read Allowed values are from 0 to 2...

Page 73: ...peat count 00H 01H Stop Start continuous read This is to Start FFH FFH Message Terminator After the controller sends the acknowledgement it will send the data read from the tags in the field Data resp...

Page 74: ...ber byte Tag 2 00H 6CH Tag data byte Tag 2 00H 6CH Tag data byte Tag 2 00H 20H Tag data byte Tag 2 FFH FFH Message Terminator AAH 83H Command echo 00H FCH Serial Number byte Tag 3 00H C5H Serial Numbe...

Page 75: ...starting at the specified start address for the specified number of consecutive bytes The Fill Length must be set to a non zero value The timeout value is given in 1 msec increments and can have a val...

Page 76: ...ng at tag address 0005H for the following next consecutive 40 bytes with four to eight tags expected in the field A timeout of 2 seconds 07D0H 2000 x 1 msec increments is set for the completion of the...

Page 77: ...start address and number of Bytes followed by a timeout value and the message terminator FFFFH If the read length exceeds the last tag address the controller will return a syntax error message 21H Th...

Page 78: ...mand Echo Tag 1 00H 02H Tag Family 00 Index 2 00H 30H Data byte 1 Tag 1 00H 01H Start Address 00H 31H Data byte 2 Tag 1 00H 04H Read Length 00H 32H Data byte 3 Tag 1 00H 07H D0H Timeout 33H Data byte...

Page 79: ...and an Reserved Byte start address followed by the data stream to be written to the RFID tag If the write range exceeds the last tag address the controller wil return error message 21H invalid format...

Page 80: ...his example Command from host Response from controller MSB LSB Remarks MSB LSB Remarks AAH 86H Perform Command 86 AAH 86H Command Echo 02H 00H Tag Family Reserved 04H 08H Ntags Status 00H 01H Start Ad...

Page 81: ...e tag 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 of 001EH to FFFEH 65 534 ms When the timeout is set to 0 the co...

Page 82: ...tag Command from host Response from controller MSB LSB Remarks MSB LSB Remarks AAH 87H Perform Command 87 AAH 87H Command Echo 01H 00H Family ID Reserved 00H 1EH First SN byte 07H D0H Timeout 00H 6EH...

Page 83: ...eturn a command echo to the host The timeout value is given in 1 msec increments and can have a value of 001EH to FFFEH 65 534 ms When the timeout is set to 0 the controller will return a syntax error...

Page 84: ...set for the completion of the Tag Search The Family ID is set for any tag One tag is found and the command is successful Command from host Response from controller MSB LSB Remarks MSB LSB Remarks AAH...

Reviews: