Balluff LRP2000 Pass Through System User Manual testcov

BALLUFF inc Pass Through System testcov

Contents

Manual Part2

RFID InterfaceLRP2000 Long Range Passice Reader/Writer 79*******************************************************************************ABxS Command 8BH: Write Family Code AllDESCRIPTIONThis command 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.Field RemarksCommand Command number in hex preceded by AAHCurrent Family Code  Current Tag Family CodeReserved 00HTimeout  Timeout value given in 1 ms units (001EH - FFFEH)New Family Code  The value which will be written to the FamilyCodes of all the addressed tagsMessage Terminator FFFFHExampleThis example will change the Family code depending on the current value of the family code. Two tags are found with Family Code 02H and they are changed to 03H.Command from hoast Response from controllerMSB LSB Remarks MSB LSB  RemarksAAH  8BH  Perform Command 8BHAAH 8BH Command Echo02H 00H Family ID/Reserved02H 00H Ntags/Status07H  D0H  2 second Timeout FFH FFH Message Terminator00H 03H  new family codeFFH FFH  Message Terminator
RFID Interface80 LRP820S-Series Long-Range Passive Reader/Writers*******************************************************************************ABxS Command 8CH: Lock Family Code AllDESCRIPTIONThis command locks the family codes of tags in the field. Once locked, the Family Codes cannot be changed or unlocked.DISCUSSIONThe command must pass a family code to select the tags whose family code will be locked. The controller will return a response when the timeout period expires. The parameter of the response in the number of tags written. The command is formatted as shown below. Field RemarksCommand Command number in hex preceded by AAHFamily Code Family Code, 00H = all tagsReserved  00HTimeout  Timeout value given in 1 ms units (001EH - FFFEH)Message Terminator FFFFHExampleThis example will lock the Family Code on all tags with the Family Code of 02H.  Two tags are found and locked.Command from host Response from controllerMSB  LSB Remarks MSB LSB RemarksAAH  8CH  Perform Command 8CHAAH 8BH  Command Echo02H 00H  Family ID/Reserved02H 00H Ntags/Status07H D0H  2 second Timeout FFH  FFH Message Terminator
RFID InterfaceLRP2000 Long Range Passice Reader/Writer 81*******************************************************************************ABxS Command 8DH: Start/Stop Continuous Read AllDESCRIPTIONStarts and stops Continuous Read All mode for multiple tags.DISCUSSIONThe 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 it will be handled properly. After processing the new command, the controller will resume the Continuous Read All mode.  The command has a parameter, tag repeat count, that can prevent multiple reads of the same tag. A tag is not read a second time until a specified number of tags have been read since it was last read. Allowed values are from 0 to 255 (FFH), where 0 means the tag can be re-read anytime. When Continuous Read All mode is interrupted with other commands, the tag repeat count is saved during execution of the other commands such that all tags will respond to the interrupting command. When the controller resumes continuous reading, the tag repeat count will be restored. The controller will respond with an acknowledge packet followed by data packets for each tag read. CONFIG LED blinks after each packet transmission.FFH  FFH  Message TerminatorField RemarksCommand Command number in hex preceded by AAHFamily ID Tag Family ID - 00H = all tagsReserved 00HStart Address Tag address for the start of the readRead Length  nonzero = start, 0000H = stopCommand from host Response from controllerMSB  LSB Remarks MSB LSB Remarks
RFID Interface82 LRP820S-Series Long-Range Passive Reader/WritersExampleReads 4 bytes of data from the tag starting at address 0001H. TheFamily ID byte is set to zero so all tags will be read. The Tag Repeat Count is set to 20 (14H). Three tags respond with read data.Command from host Response from controllerMSB LSB Remarks MSB LSB  RemarksAAH 8DH Perform Command 8D AAH  8DH Command Echo00H 00H  Tag Family 00/Reserved FFH  FFH  Message Terminator00H  01H  Start Address00H 04H  Read Length00H  14H Tag DelayFFH FFH Message TerminatorAfter the controller sends the acknowledgment, it will send the read data from the 3 tags.Data response from controllerTag Delay Number of tag that must be read before the same tag will be read again(0-255)Message Terminator    FFFFHMSB 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 2Field Remarks
RFID InterfaceLRP2000 Long Range Passice Reader/Writer 83*******************************************************************************ABxS Command 8EH: Memory Lock AllDESCRIPTIONThis command locks contiguous blocks of read-write memory. Once Bytes are locked, they cannot be written to, nor can they be unlocked.DISCUSSIONThe 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 which address the memory of the tag using these parameters.  The block structure of the tags is governed by the ISO-15693 specification.  ABx command 15H can be used to obtain the memory organization for a particular tag.  Attempting to write to locked Bytes will return a Write Security Error.The command is formatted as shown below.00H 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 3Field      RemarksCommand Command number in hex preceded by AAHFamily Code Tag Family ID - 00H = all tagsReserved 00HTimeout    Timeout value given in 1 ms units (001EH - FFFEH)First Block   First block of memory to lockNumber of blocks Number of contiguous blocks of memory to lockMSB LSB Remarks
RFID Interface84 LRP820S-Series Long-Range Passive Reader/WritersExampleThis example will lock blocks 0-8 on all tags in range with the Family ID of 02H.  Two tags are found and locked.Command from host Response from controllerMSB LSB  Remarks MSB LSB  RemarksAAH  8EH  Perform Command 8EAAH  8EH Command Echo02H  00H  Family ID/Reserved02H  08H Ntag/Status07H D0H  2 second timeout FFH FFH Message Terminator00H  08H Lock ConfigurationFFH  FFH  Message TerminatorMessage Terminator FFFFHField      Remarks
RFID InterfaceLRP2000 Long Range Passice Reader/Writer 85*******************************************************************************ABxS Command 94H: SN FillDESCRIPTIONFills only the RFID tag specified by serial number with a one byte value over multiple contiguous addresses. DISCUSSIONThis 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 will be affected by this command.  The controller will return a response after the successful fill operation or when the timeout expires.  The fill function requires a Family ID and a Serial Number, one data value byte, a starting address, and a fill length. It fills the specified tag with the data value 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 tag's memory.  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. It returns a response when done or when the timeout expires. Field RemarksCommand Command number in hex preceded by AAHFamily Code   Tag Family ID - 00H = all tagsReserved 00HStart Address  The tag address where the fill will start
RFID Interface86 LRP820S-Series Long-Range Passive Reader/WritersA 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 following next consecutive 40 bytes. The Family Code is set to 00H. A timeout of 2 seconds (07D0H = 2000 x 1 msec increments) is set for the completion of the command.Fill Length The number of tag addresses to be filledTimeout   Timeout value given in 1 ms units (001EH - FFFEH)Tag Serial Number The 8-byte serial numberData Value Byte  The byte used to fillMessage Terminator FFFFHCommand from host Response from controllerMSB LSB  Remarks MSB LSB  RemarksAAH 94H  Perform Command 94AAH  94H  Command Echo00H 00H  Family ID/Reserved01H  00H  Ntag/Status00H 05H Start Address FFH FFH Message Terminator00H 28H Fill Length07H D0H Timeout00H  01H SN byte 000H  ACH  SN byte 100H  42H SN byte 2Field Remarks
RFID InterfaceLRP2000 Long Range Passice Reader/Writer 87*******************************************************************************ABxS Command 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 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 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.  The SN Block Read consists of a serial number, a start address and length, followed by a timeout value. The 8-byte serial number of the target tag is specified. If the read length exceeds the last tag address, the controller will return error message in the status byte. It returns a response when done or when the timeout expires.  The data read from the tag is returned in the LSB of the register, and the MSB is always 00H. A special error packet (AAH FFH) is sent if the timeout expires.00H D0H  SN byte 300H 27H SN byte 400H1CH  SN byte 500H 65H  SN byte 600H33H  SN byte 700H 41H Fill byteFFH FFH Message TerminatorField    RemarksCommand    Command number in hex preceded by AAHTa g Fa m i l y   Tag Family ID - 00H = all tagsCommand from host Response from controllerMSB LSB  Remarks MSB LSB  Remarks
RFID Interface88 LRP820S-Series Long-Range Passive Reader/WritersExampleReads 4 bytes of data from the tag specified by serial number 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. The Family ID byte is set to zero. Reserved 00HStart 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 (001EH - FFFEH)Tag Serial Number     8-byte tag serial numberMessage Terminator FFFFHCommand from host Response from controllerMSB  LSB  Remarks MSB LSB RemarksAAH  95H Perform Command 95AAH 95H  Command Echo00H  00H  Tag Family 00/Reserved00H  30H  Data byte 100H 01H  Start Address 00H  31H  Data byte 200H 04H Read Length 00H 32H Data byte 307H  D0H Timeout 00H  33H  Data byte 400H ABH SN byte 0 01H  00H  Ntag/Status00H 02H  SN byte 1 FFH  FFH Message Terminator00H  F3H  SN byte 200H  55H SN byte 300H  C5H SN byte 400H  2DH SN byte 500H  41H  SN byte 600H  A0H SN byte 7Field    Remarks
RFID InterfaceLRP2000 Long Range Passice Reader/Writer 89*******************************************************************************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 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 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.  The SN BlockWrite consists of a Family ID, Serial Number and 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 a syntax error, 21H. It returns a response when done or when the timeout expires.  The data to be written to the tag is contained in the LSB of the register, and the MSB is always 00H.FFH  FFH  Message TerminatorCommand from host Response from controllerMSB  LSB  Remarks MSB LSB Remarks
Field  RemarksCommand    Command number in hex preceded by AAHFamily ID    Tag Family ID - 00H = all tagsReserved 00HStart Address    The tag address where the write will startNumber of Bytes  The number of tag addresses to be written toTimeout    Timeout value given in 1 ms units (001EH - FFFEH)Tag Serial Number   8-Byte tag serial numberWrite Data     The data to be written (1 Byte to 1kByte)Message Terminator    FFFFHRFID Interface90 LRP820S-Series Long-Range Passive Reader/WritersExampleWrites 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 Block Write. The Family ID Code is set to 00H. Command from host Response from controllerMSB LSB Remarks MSB  LSB RemarksAAH 96H  Perform Command 96AAH  96H Command Echo02H  00H  Tag Family 02/reserved01H  00H  Ntags/Status00H  01H  Start Address FFH  FFH  Message Terminator00H  04H  Write Length07H D0H  Timeout00H A4H SN byte 000H  6CH SN byte 100H  18H  SN byte 200H  92H  SN byte 300H  2DH SN byte 4
RFID InterfaceLRP2000 Long Range Passice Reader/Writer 91*******************************************************************************ABxS Command 10H: Set OutputDESCRIPTIONSet the states of the output lines and output LEDs "A" through "D."DISCUSSIONThis command will set the state of the digital output lines using a one-Byte parameter, Output Status.  The least significant nibble of the Output Status Byte will determine 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.  The most significate nibble of the Output Status Byte is reserved and should be set to 0H. An output bit set to one will turn the corresponding LED on and close the electronic switch of the output, allowing current to flow through the output circuit.  An output bit reset to zero will turn the corresponding LED off and open the electronic switch in the output 00H  34H  SN byte 500H DEH  SN byte 600H  20H  SN byte 700H  40H  Data byte 100H  41H Data byte 200H 42H  Data byte 300H  43H  Data byte 4FFH  FFH  Message TerminatorCommand from host Response from controllerMSB LSB Remarks MSB  LSB Remarks
RFID Interface92 LRP820S-Series Long-Range Passive Reader/Writerscircuit.  The following chart shows the hex values for all combinations of Output Status Bytes.  To reset all output bits, issue the command with 00H for the Output Status Byte. MSB LSB Remarks LSB Bit 3 Output DLSB Bit 2 Output CLSB Bit 1 Output BLSB Bit 0 Output A00H 00H Reset A, B, C, D0 0 0 000H 01H Set Output A - Reset B, C, D0  0 0 100H 02H Set Output B - Reset A, C, D0  0  1 000H 03H Set Output A, B - Reset C, D00  1 100H 04H  Set Output C - Reset A, B, D0 1 0 000H 05H Set Output A, C - Reset B, D01  0   100H 06H Set Output B, C - Reset A, D01  1  000H 07H   Set Output A, B, C - Reset D0 1 1  100H 08H  Set Output D - Reset A, B, C 1 0 0   000H 09H Set Output A, D - Reset B, C 1  00  100H 0AH Set Output B, D - Reset A, C10   1    000H 0BH Set Output A, B, D - Reset C 1      0     1      100H 0CH Set Output C, D - Reset A, B 1    1     0     000H 0DH  Set Output A, C, D - Reset B 1   1      0 100H 0EH   Set Output B, C, D - Reset A   1   1      1     000H 0FH  Set Output A, B, C, D    1  1    1    1Field RemarksCommand Command number in hex preceded by AAHOutput  Pattern Hex value for the bit output settings
RFID InterfaceLRP2000 Long Range Passice Reader/Writer 93ExampleThe following example sets Output B only and resets A, C, and D.Command from host Response from controllerMSB LSB Remarks MSB LSB RemarksAAH 10H Perform Command 10AAH 10H  Command echo00H 02H  Set Output B FFH  FFH Message TerminatorFFH FFH  Message Terminator*******************************************************************************ABxS Command 11H: Input StatusDESCRIPTIONReturns the status of User Inputs.DISCUSSIONThis command will interrogate 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.  The most significate nibble of the Input Status Byte will be set to 0H.  A closed circuit in one of the User Inputs will set the corresponding User Input bit to one, turning the corresponding LED on.  An open circuit in one of Message Terminator FFFFHField Remarks
RFID Interface94 LRP820S-Series Long-Range Passive Reader/Writersthe User Inputs will set the corresponding User Input bit to zero, turning off the corresponding LED.  The following chart shows all of the valid hex values for the Input Status bytes.MSB LSB Remarks LSB Bit 3 Input D LSB Bit 2 Input C LSB Bit 1 Input BLSB Bit 0 Input A00H 00H  Inputs A, B, C, D, OFF0        0      0       000H  01H  Input A, ON - B, C, D, OFF 0    0       0      100H 02H  Input B, ON - A, C, D, OFF  0       0     1     000H 03H   Input A, B, ON - C, D, OFF  0     0        1    100H 04H   Input C, ON - A, B, D, OFF 0      1      0       000H 05H  Input A, C, ON - B, D, OFF 0      1     0   100H 06H Input B, C, ON - A, D, OFF0       1        1      000H 07H    Input A, B, C, ON - D, OFF  0        1       1       100H  08H  Input D, ON - A, B, C, OFF  1       0      0       0 00H 09H    Input A, D, ON - B, C, OFF 1       0     0      100H  0AH   Input B, D, ON - A, C, OFF 1    0       1      000H  0BH   Input A, B, D, ON - C, OFF 1     0        1      100H 0CH  Input C, D, ON - A, B, OFF 1      1     0       000H 0DH   Input A, C, D, ON - B, OFF1     1     0       100H 0EH Input B, C, D, ON - A, OFF 1      1      1       000H 0FH Input A, B, C, D, ON    1  1      1  1Field  RemarksCommand  Command number in hex preceded by AAHMessage Terminator FFFFH
RFID InterfaceLRP2000 Long Range Passice Reader/Writer 95ExampleThe following example shows only Input B is ON.Command from host Response from controllerMSB LSB Remarks MSB LSB  RemarksAAH  11H  Perform Command 11AAH 11H  Command echoFFH FFH  Message Terminator00H  02H Input B ONFFH FFH  Message Terminator6.4 Abx Fast ProtocolThe 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.  All parameters and data between the packet size Byte and the checksum (if used) or terminator Bytes (if not using the checksum) must be accounted for in the packet size word. The packet size will be the same with, or without, a checksum. Checksum The optional checksum must be enabled from the operating mode menu to be available. The checksum is calculated by adding all the Byte values in the packet (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, the sum will be FFH.
RFID Interface96 LRP820S-Series Long-Range Passive Reader/WritersExampleThe following is a typical command using a checksum. Field ContentsHeader  0202HCommand Size 0003HCommand Code 01HTimeout 07D0HChecksum 24HTerminator 03HThe 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 = 24HABx Fast Single-tag Command Structure:Field Number of Bytes ContentHeader 2  0202HCommand Size 2Packet length in Bytes excluding the header, command size, checksum and terminator Bytes.Command 1  Command CodeByte Addresses 4  The first two Bytes give the start address. The second two Bytes give the length of the address range. Not used on  07H, 08H, 14H, 15H, 16HBlock Addresses  2The first Byte gives the address of the first block. The second Byte gives the number of blocks to be interrogated. Only used with command 14H.Timeout  2    0001H to FFFEH millisecondsData  varies  command dataChecksum  1   Optional ChecksumSum these values tocalculate the checksum
RFID InterfaceLRP2000 Long Range Passice Reader/Writer 97ABx Fast Multi-tag Command structureField Number of Bytes ContentHeader 2   0202HCommand Size 2Packet length in Bytes excluding the header, command size, checksum and terminator Bytes.Command 1Command CodeFamily code  1  00H to address all tags in fieldReserved 1Reserved for future use, set to 00HAddress 4The first two Bytes give the start address. The second two Bytes give the length of the address range Not used on 87H, 88H, 8EH, 8BH, 8CHBlock Addresses 2The first Byte gives the address of the first block. The second Byte gives the number of blocks to be interrogated.Only used with command 14HTimeout 20001H to FFFEH millisecondsData    varies  command dataChecksum 1  Optional ChecksumTerminator 1  03HTerminator 1   03HField Number of Bytes Content
RFID Interface98 LRP820S-Series Long-Range Passive Reader/Writers*******************************************************************************ABx Fast Command 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 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. It will fill the tag with the data value 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 tag's 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 will return a syntax error. When the Fill Length extends beyond the last Byte in the tag, the controller will return error 21H.Field ContentHeader 0202H
RFID InterfaceLRP2000 Long Range Passice Reader/Writer 99A response to a successful command will follow this form.Field ContentHeader 0202HCommand Size Packet length in Bytes excluding the header, command size, checksum and terminator Bytes.Command echo  04HChecksum Optional ChecksumTerminator 03HExampleWrites '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 msec increments) is set for the completion of the configuration.Command Size  Packet length in Bytes excluding the header, command  size, checksum and  terminator Bytes. 0008H for this  command.Command  04HStart Address 2-Byte value for the starting tag addressNumber of Bytes 2-Byte value for the length of the fill in number of BytesTimeout 2-Byte value for timeout in 1 ms units. (1EH - FFFEH) BytesData value Byte 1 Byte value to be written to all the adddressed BytesChecksum Optional ChecksumTerminator 03HCommand from host Response from controllerField Content Field ContentHeader 0202H Header 0202HCommand Size0008H Response Size 0001HField Content
RFID Interface100 LRP820S-Series Long-Range Passive Reader/Writers*******************************************************************************ABx Fast Command 05H: Block ReadDESCRIPTIONReads a block of data from an RFID tag.DISCUSSIONThis 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. 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 will return error 21H, Command Code04H Command Echo04HStart address 0005H Checksum  FAHBlock Size 0028H Terminators  03H Timeout, 2 seconds07D0HData Value Byte41HChecksum  AEHTerminators 03HCommand from host Response from controllerField Content Field Content
RFID InterfaceLRP2000 Long Range Passice Reader/Writer 101syntax error. The Block Read consists of a start address and length, followed by a timeout value and a message terminator as shown below.Field ContentHeader 0202HCommand Size Packet length in Bytes excluding the header, command Size, checksum and terminator Bytes. 0007H for this commandCommand 05HStart Address 2-Byte value for the starting tag addressNumber of Bytes 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 03HExampleReads 4 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 Block Read.Command from host Response from controllerField Content Field ContentHeader 0202H Header 0202HCommand Size  0007H Response Size  0005HCommand Code  05H Command Echo  05HStart address  0001H Data fromaddress 0001H 05HNumber of Bytes  0004H Data from address 0002H AAH
RFID Interface102 LRP820S-Series Long-Range Passive Reader/Writers*******************************************************************************ABx Fast 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 contiguous areas of tag memory.  It is capable of addressing 1 kByte of the read/write address space of a tag in a single command. The BlockWrite command requires as parameters the start address, the Timeout,2 seconds 07D0H Data fromaddress 0003H E7HChecksum 17H Data from address 0004H 0AHTerminator 03H Checksum  55HTerminator  03HCommand from host Response from controllerField Content Field Content
RFID InterfaceLRP2000 Long Range Passice Reader/Writer 103number of bytes to be written, and the data to be written to the RFID tag. If the write range exceeds the last tag address, the controller will return an invalid format error message (error code 21H). Field ContentHeader 0202HPacket Size Packet length in Bytes excluding the header, command size,  checksum and terminator Bytes. 0007H plus the number of data BytesCommand 06HStart Address 2-Byte value for the starting tag addressNumber of Bytes 2-Byte value for the number of Bytes that will be writtenTimeout 2-Byte value for timeout in 1 ms units. (1EH - FFFEH)Data  Data Bytes to be writtenChecksum Optional ChecksumTerminator  03HExampleWrites 4 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 BlockWrite.Command from host Response from controllerField Content Field ContentHeader 0202H Header 0202HCommand Size 000BH Response Size 0001HCommand Code 06H Command Echo06H
RFID Interface104 LRP820S-Series Long-Range Passive Reader/Writers*******************************************************************************ABxFast Command 07H: Read Tag Serial NumberDESCRIPTIONThis command retrieves the 8-Byte tag serial number.DISCUSSIONStart address 0000H Checksum F8HNumber of Bytes 0004H Terminators 03HTimeout,2 seconds 07D0HData to write to address 0000H 52HData to write to address 0001H 46HData to write to address 0002H 49HData to write to address 0003H 44HChecksum EEHTerminators  03HCommand from host Response from controllerField Content Field Content
RFID InterfaceLRP2000 Long Range Passice Reader/Writer 105Each ISO-15693 compliant tag has a unique (over 280 trillion possibilities) serial number. This number can not be changed and is not part of the available read/write address space of a tag.  The presence of multiple tags in the field will not cause errors, the controller will simply return the serial number that it reads. This presents a potentially dangerous uncertainty in that there is no general way to predict which tag the controller will read first.Field ContentHeader 0202HCommand Size  Packet length in Bytes excluding the header, command  size, checksum and terminator Bytes. 0003H for this commandCommand  07HTimeout 2-Byte timeout value in 1 ms increments (1EH - FFFEH)Checksum Optional ChecksumTerminator 03HExampleThis example will wait until a tag is in range and then reads the 8-Byte serial number. In this example the serial number is F2720300000104E0.Command from host Response from controllerField Content Field ContentHeader 0202H Header 0202HCommand Size 0003H Response Size 0009H
RFID Interface106 LRP820S-Series Long-Range Passive Reader/Writers*******************************************************************************ABxFast Command 8 (08H): Tag SearchDESCRIPTIONChecks for an RFID tag in the controller field.Command Code 07H Command Echo 07HTimeout  07D0H First ID Byte F2HChecksum 1EH Second ID Byte 72HTerminators 03H Third ID Byte 03HFourth ID Byte 00HFifth ID Byte 00HSixth ID Byte 01HSeventh ID Byte 004HEighth ID Byte E0HChecksum  A3HTerminators  03HCommand from host Response from controllerField Content Field Content
RFID InterfaceLRP2000 Long Range Passice Reader/Writer 107DISCUSSION This command will activate the controller to "look" for a tag in the RF field.  If the controller finds a tag it will return a command echo to the host. If no tag is present it will return an error message. Even though this command is grouped with single-tag commands, the presence of multiple tags within range of the antenna will not cause errors. See Section 6.6 for information on the error messages.Field ContentHeader 0202HCommand Size Packet length in Bytes excluding the header, command size, checksum and terminator Bytes. 0003H for this commandCommand 08HTimeout 2-Byte value for the time in 1 ms units (1EH - FFFEH)Checksum Optional ChecksumTerminator 03HExampleChecks for an RFID tag within range of the antenna. A timeout of 2 seconds (07D0H = 2000 x 1 msec increments) is set for the completion of the Tag Search.
Command from host Response from controllerField Content Field ContentHeader 0202H Header 0202HCommand Size 0003H Response Size 0001HCommand Code 08H Command Echo 08HTimeout 07D0H Checksum F6HChecksum 1DH Te r m i n a t o rs 03HTerminators 03H Field ContentRFID Interface108 LRP820S-Series Long-Range Passive Reader/Writers*******************************************************************************ABx Fast Command 0DH: Start/Stop Continuous Block Read
RFID InterfaceLRP2000 Long Range Passice Reader/Writer 109DESCRIPTIONSends block reads continuously 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 controller continues to read the tag but will not send the same data to the host until the tag has been outside the RF field for a specified time period.  This Delay Between Identical Decodes parameter prevents redundant data transmissions when the controller is in Continuous Block Read mode.  DISCUSSIONThe Start/Stop Continuous Block Read command contains three parameters: Start Address, Number of Bytes and Delay Between Duplicate Decodes. The read length parameter switches the mode. Any valid, non-zero length will set the controller into Continuous Block Read mode. A read length value of 00H will stop the Continuous read.  The Delay Between Identical Decodes parameter can have a value of 0 to 60 seconds. When the Delay Between Identical Decodes is set to 0, the controller will continuously read and transmit tag data to the host. This can flood the buffers and cause communication errors and data loss. If the controller receives other commands from the host, it will execute them and then resume Continuous Block Read mode. Issuing the command with the Number of Bytes set to 00H will stop the Continuous Block Read. The command is formatted as follows.Field ContentHeader 0202HCommand Size Command length in Bytes excluding the header, command size, checksum and terminator Bytes.Command 0DHStart Address 2-Byte value for the start address in the tagNumber of Bytes 2-Byte value of the number of bytes to be addressed.Delay Between Duplicate DecodesDelay value given in 1 second unitsChecksum Optional ChecksumTerminator 03HThis example places the controller in Continuous Block Read mode and reads 8 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.
Command from Host Response from controllerField Content Field ContentHeader 0202H Header 0202HCommand Size 0006H Response Size 0001HCommand Code 0DH Command Echo 0DHStart Address 0001H Checksum F1HNumber of Bytes0008H Te r m i n a t o r 03HDelay Between Duplicate Decodes02HChecksum E1HRFID Interface110 LRP820S-Series Long-Range Passive Reader/Writers*******************************************************************************ABx Fast Command 14H: Get Block StatusDESCRIPTION
RFID InterfaceLRP2000 Long Range Passice Reader/Writer 111Returns the lock status of the specified blocks of data. DISCUSSIONThis command can be used to determine whether blocks of tag memory are locked; marked "read-only."  The number of specified contiguous blocks are addressed from the specified first block. The response from the controller gives the status of each block through a one-Byte value. The value is 00H if the block is unlocked, 01H 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 ContentHeader 0202HCommand Size Packet length in Bytes excluding the header, command this command size, checksum and terminator Bytes. 0005H for this commandCommand 14HFirst Block One-Byte address of the first block to be Interrogated.Number of blocks  One-Byte       Timeout 2-Byte value for timeout in 1 ms units. (1EH - FFFEH)Checksum  Optional ChecksumTerminator 03HExample
Command from host Response from controllerField Content Field  ContentHeader 0202H Header 0202HCommand Size 0005H Response Size 0005HCommand Code 14H Command Echo 14HFirst Block 00H status of block zero00HNumber of Blocks 04H status of block one 00HTimeout,2 seconds  07D0H status of block two01HChecksum 0BH status of block three00HTerminator 03H Checksum E5HTerminator 03HRFID Interface112 LRP820S-Series Long-Range Passive Reader/WritersInterrogates the lock status of the first four blocks of the tag's memory for a timeout period of 2 seconds.*******************************************************************************
RFID InterfaceLRP2000 Long Range Passice Reader/Writer 113ABx Fast Command 15H: Get Label InformationDESCRIPTION:This command retrieves manufacturer's data and the Family Code from the tag.Field ContentHeader 0202HCommand Size Packet length in Bytes excluding the header, command size, Checksum and terminator Bytes. 0003H for this commandCommand 15HTimeout 2-Byte value for timeout in 1 ms units. (1EH - FFFEH)Checksum Optional ChecksumTerminator 03HExampleThis command is issued to retrieve the family code from a tag. Command from host Response from controllerField Content Field ContentHeader 0202H Header 0202HCommand Size 0003H Response Size 0007HCommand Code 15H Command Echo 15HTimeout,2 seconds07D0H Information Flags Byte07HChecksum 10H Format Information 00HTerminator 03H Family Code 00HBlock Size 04HNumber of Blocks 1CHChecksum BCHTerminator 03H*******************************************************************************
RFID Interface114 LRP820S-Series Long-Range Passive Reader/WritersABxFast Command 16H: Write Family CodeDESCRIPTIONChange the family code of an RFID tag.Field ContentHeader 0202HPacket Size Packet length in Bytes excluding the header, command size, checksum and terminator Bytes. Always 0004H for this command.Command  16HTimeout 2-Byte value for timeout in 1 ms units. (1EH - FFFEH)Family Code The value to which the family code will be changed.Checksum Optional ChecksumTerminator  03HExampleChange the family code of the tag to 00H.Command from host Response from controllerField Content Field ContentHeader 0202H Header 0202HCommand Size 0004H Response Size 0001HCommand Code 16H Command Echo 16HTimeout 07D0H Checksum E8HFamily Code 00H Te r m i n a t o r 03HChecksum FCHTerminator 03H*******************************************************************************
RFID InterfaceLRP2000 Long Range Passice Reader/Writer 115ABxFast Command 17H: Lock Family CodeDESCRIPTION: 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 controllerField Content Field ContentHeader 0202H Header 0202HCommand Size 0003H Response Size 0001HCommand Code 17H Command Echo 17HTimeout, 2 seconds07D0H Checksum E7HChecksum 0EH Te r m i n a t or 03HTerminator 03H*******************************************************************************
RFID Interface116 LRP820S-Series Long-Range Passive Reader/WritersABxF Command 82H: Read Data and SN AllDESCRIPTIONRead a block of data from all RFID tags-in-field or all those with the specified Family Code. Data will be returned with the serial number of the corresponding tag. DISCUSSIONThis command is used to read segments of data from contiguous areas of tag memory. It is capable of handling up to 1KByte 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 will return a syntax error.  The response to this command will contain 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 available. The returned serial numbers can be used to read from or to write to tags-in-field via the SN Block Read or Write commands.  The SN Block Read All consists of a header, a family Code, a start address and length, followed by a timeout value and the message terminator, 03H, as shown below. A special termination packet is sent when the timeout expires.  If the read range exceeds the last tag address, the controller will return an error message in the status Byte.  The command is formatted as follows. Field ContentHeader 0202HCommand Size Packet length in Bytes excluding the header, command size, checksum and terminator Bytes.Command 82HFamily Code Tag Family Code - 00H = all tagsReserved Ignored Byte, set to 00HStart Address 2-Byte value for the starting tag addressNumber of Bytes  2-Byte value for the number of Bytes to be readTimeout 2-Byte value for timeout in 1 ms units. (1EH - FFFEH)Checksum Optional ChecksumTerminator 03HExample
RFID InterfaceLRP2000 Long Range Passice Reader/Writer 117Reads 4 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.Command from host Response from controllerField Content Field ContentHeader 0202H Header/tag 1 0202HCommand Size 0009H Response Size 000DHCommand Echo 82H Command Code 82HFamily Code 03H SN Byte 1/tag 1 A6HReserved 00H SN Byte 2/ tag 1 72HStart address 0000H SN Byte 3/tag 1 03HBlock Size 0004H SN Byte 4/tag 1 00HTimeout,2 seconds07D0H SN Byte 5/tag 1 00HChecksum 96H SN Byte 6/tag 1 01HTerminators <ETX>03H SN Byte 7/tag 1 04HSN Byte 8/tag 1 E0HData Byte 1/ tag 152HData Byte 2/tag 146HData Byte 3/tag 149HData Byte 4/tag 144HChecksum 4BHTe r m i n a t o r 03HHeader/tag 2 0202HResponse Size 000DHCommand Code 82HSN Byte 1/tag 2 F1HSN Byte 2/ tag 2 72HSN Byte 3/tag 2 03HSN Byte 4/tag 2 00HSN Byte 5/tag 2 00HSN Byte 6/tag 2 01H
RFID Interface118 LRP820S-Series Long-Range Passive Reader/WritersSN Byte 7/tag 2 04HSN Byte 8/tag 2 E0HData Byte 1/ tag 252HData Byte 2/tag 246HData Byte 3/tag 249HData Byte 4/tag 244HChecksum 00HTe r m i n a t o r 03HHeader/tag 3 0202HResponse Size 000BHCommand Echo 82HSN Byte 1/tag 3 71HSN Byte 2/ tag 3 72HSN Byte 3/tag 3 03HSN Byte 4/tag 3 00HSN Byte 5/tag 3 00HSN Byte 6/tag 3 01HSN Byte 7/tag 3 04HSN Byte 8/tag 3 E0HData Byte 1/ tag 353HData Byte 2/tag 348HData Byte 3/tag 349HData Byte 4/tag 354HChecksum 6FHTe r m i n a t o r 03HHeader 0202HResponse Size 0003HCommand Echo FFHNumber of tags 03HCommand from host Response from controllerField Content Field ContentHeader 0202H Header/tag 1 0202H
RFID InterfaceLRP2000 Long Range Passice Reader/Writer 119*******************************************************************************Status Byte 08HChecksum F2HTermi na to r s <ETX>03HCommand from host Response from controllerField Content Field ContentHeader 0202H Header/tag 1 0202H
RFID Interface120 LRP820S-Series Long-Range Passive Reader/WritersABxF Command 83H: Start/Stop Continuous SN Read AllDESCRIPTIONStart 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 will resume the continuous read. Continuous SN Read All is started or stopped through a unique parameter, Start Continuous Read. This parameter is set to 01H to initiate the Continuous Read, and set to zero to stop it.  The command uses the parameter Tag Repeat Count to limit 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 255 (FFH), where 0 means the tag can be reread anytime. When Start/Stop Continuous SN Read All is interrupted with another command, the repeat count is saved during execution of the other commands, allowing any tag to be addressed by the interrupting command. Upon completion of the interrupting command, the value of the Tag Repeat Count is restored. The Reader/Writer will respond after receipt of the command with an acknowledge packet. This will be followed by data packets for each tag readField ContentHeader 0202HCommand Size Command length in Bytes excluding the header, command size, checksum and terminator Bytes.Command 83HFamily Code  Tag Family Code - 00H = all tagsReserved  Ignored Byte, set to 00HStart Address Two-Byte address for the first Byte to be read.Number of Bytes Number of bytes to be read from the tag.Tag Repeat Count Number of tags to be read before data will bereturned twice from any individual tag Start Continuous 01H to start Continuous ReadRead  00H to stopChecksum Optional ChecksumMessage Terminator 03H
RFID InterfaceLRP2000 Long Range Passice Reader/Writer 121ExampleStarts continuous read of three Bytes starting at address two, Repeat count of four, with the family code set to 00H, so that all tags in the field will respond.Command from host Response from controllerField  Content Field ContentHeader 0202H Header 0202HCommand Size 0008H Response Size 0001HCommand Code 83H Command Echo 83HFamily Code 00H Checksum 7BHReserved 00H Te r m i n a t or 03HStart Address 0002HNumber of Bytes0003HRepeat Count 04HStart 01HChecksum 6AHTerminator 03HAfter the controller sends the acknowledgement, it will send the data read from the tags in the fieldResponse from controllerField ContentHeader 0202HResponse Size 000BHCommand Echo/Tag 1 83HData from address 0002H AAHData from address 0003H 21HData from address 0004H 44HChecksum 62HTerminator  03H
Header  0202HResponse Size 000BHCommand Echo/Tag 2 83HData from address 0002H AAHData from address 0003H 21HData from address 0004H 44HChecksum 62HTerminator 03HHeader  0202HResponse Size 000BHCommand Echo/Tag 3 83HData fromaddress 0002H AAHData from address 0003H 21HData from address 0004H 44HChecksum 62HTerminator 03HRFID Interface122 LRP820S-Series Long-Range Passive Reader/Writers
RFID InterfaceLRP2000 Long Range Passice Reader/Writer 123*******************************************************************************ABxF Command 84H: Fill AllDESCRIPTIONFill all RFID tags-in-field or all tags in the same family, with a one-Byte value over multiple contiguous addresses.DISCUSSIONThis 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 present in the antenna field with the specified Family Code will be affected by this command.  The Fill All function requires one Data Value Byte, a Start Address, and a Number of Bytes to fill. It will fill the tag with the data value Byte, 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 value of 1EH to FFFEH (65,534 ms). When the timeout is set to 0, the controller will return a syntax error.Field ContentHeader 0202HPacket Size Packet length in Bytes excluding the header, packet size, checksum and terminator Bytes. 0008H for this commandCommand  84HFamily Code Tag Family Code - 00H = all tagsReserved Ignored, set to 00HStart 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 03H
RFID Interface124 LRP820S-Series Long-Range Passive Reader/WritersExampleWrites 41H -- the ASCII character "A" -- to all tags with Family Code 03H, starting at address 0005H for 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.Command from host Response from controllerField Content Field  ContentHeader 0202H Header 0202HCommand Size 000AH Response Size 0003HCommand Code 84H Command Echo 84HFamily Code 03H Numbers of tags 04HReserved 00H Status Byte 08HStart address 0005H Checksum 6CHNumber of Bytes 0028H Te r m i na t o r 03HTimeout,2 seconds 07D0HData Value Byte 41HChecksum 27HTerminator 03H
RFID InterfaceLRP2000 Long Range Passice Reader/Writer 125*******************************************************************************ABxF Command 85H: Block Read AllDESCRIPTIONRead a block of data from all RFID tags-in-field or all those with the specified Family Code.DISCUSSIONThis command is used to read segments of data from 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 will return a syntax error.  The Block Read All consists of a Family Code, the reserved byte, a start address and length, followed by a timeout value and a message terminator as shown below.  If the read length exceeds the last tag address, the controller will return an syntax error message (error code 21H). A special termination packet is sent when the timeout expires. A response is returned after successful completion of the operation or when the timeout expires. Field ContentHeader 0202HCommand Size Packet length in Bytes excluding the header, command size, checksum and terminator Bytes.Command 85HFamily Code Tag Family Code - 00H = all tagsReserved Ignored, set to 00HStart Address 2-Byte value for the starting tag addressNumber of Bytes 2-Byte value for the number of bytes to be readTimeout 2-Byte value for timeout in 1 ms units. (1EH - FFFEH)Checksum Optional ChecksumTerminator 03H
RFID Interface126 LRP820S-Series Long-Range Passive Reader/WritersExampleReads 4 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.Command from host Response from controllerField Content ield ContentHeader 0202H Header 0202HCommand Size 0009H Response Size 0003HCommand Code 85H Command Echo/Tag 185HFamily Code 00H Data from address 0001H05HReserved 00H Data from address 0002HAAHStart address 0001H Checksum C8HLength of read 0002H Te r m i n a t o r 03HTimeout, 2 seconds07D0H Header 0202HChecksum EBH Response Size 0003HTerminator 03H Command Echo/Tag 285HData from address 0001H05HData from address 0002HAAHChecksum C8HTe r m i n a t or 03HHeader 0202HResponse Size 0003HCommand StatusFFHNumber of tags 02HStatus Byte 08HChecksum F3HTe r m i n a t or 03H
RFID InterfaceLRP2000 Long Range Passice Reader/Writer 127*******************************************************************************ABxF Command 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 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 will return a syntax error.  The Block Write All consists of a Family ID, the Reserved Byte, a Start address, and the Number of Bytes followed by the Bytes to be written to the RFID tag. If the write range exceeds the last tag address, the controller will return a syntax error message (error code 21H).  The controller will return a response when the timeout expires.Field ContentHeader 0202HCommand Size Packet length in Bytes excluding the header, command size, checksum and terminator Bytes. 0009H plus the number of data BytesCommand 86HFamily ID Tag Family ID - 00H = all tagsReserved Ignored, set to 00HStart Address 2-Byte value for the starting tag addressNumber of Bytes 2-Byte value for the number of bytes to be writenTimeout 2-Byte value for timeout in 1 ms units. (1EH - FFFEH)Data Bytes of data to be written.Checksum Optional ChecksumTerminator 03HExampleWrites 4 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 will be written to. Five tags are written to.
Command from host Response from controllerField Content Field  ContentHeader 0202H Header 0202HCommand Size 000DH Response Size 0003HCommand Code 86H Command Echo 86HFamily ID 00H Number of Tags 05HReserved 00H Status Byte 08HStart address 0000H Checksum 69HNumber of Bytes0004H Te r m i n a t o r 03HTimeout,2 seconds07D0HData to write to address 0000H52HData to write toaddress 0001H46HData to write toaddress 0002H49HData to write toaddress 0003H44HChecksum 68HTerminator 03HRFID Interface128 LRP820S-Series Long-Range Passive Reader/Writers
RFID InterfaceLRP2000 Long Range Passice Reader/Writer 129*******************************************************************************ABxF Command 87H: Read Tag SN AllDESCRIPTIONThis command retrieves the 8-Byte tag serial number from all tags-in-field or those with the specified Family ID.DISCUSSION Each ISO-15693 compliant tag has an unique (over 280 trillion possibilities) serial number. This number can not be changed and is not part of the available read/write address space. A special termination packet is sent when the timeout expires.  A response is returned when the timeout expires.Field ContentHeader 0202HCommand Size Packet length in Bytes excluding the header, command size, checksum and terminator Bytes. 0005H for this commandCommand 87HFamily ID Tag Family ID - 00H = all tagsReserved Ignored, set to 00HTimeout 2-Byte timeout value in 1 ms increments (1EH - FFFEH)Checksum Optional ChecksumTerminator 03H
RFID Interface130 LRP820S-Series Long-Range Passive Reader/WritersExampleThis example will read the 8-Byte serial number from all tags permitted by the Family ID and Reserved . In this example, one tag responds and the serial number is 1E6E3DC200000000HCommand from host Response from controllerField Content Field ContentHeader 0202H Header 0202HCommand Size 0005H Response Size 0009HCommand Code 87H Command Echo 87HFamily ID 00H SN Byte 1 F2HReserved 01H SN Byte 2 75HTimeout 07D0H SN Byte 3 03HChecksum 9BH SN Byte 4 00HTerminator 03H SN Byte 5 00HSN Byte 6 00HSN Byte 7 04HSN Byte 8 E0HChecksum E4HTe r m i n a t or 03HHeader 0202HResponse Size 0003HCommand StatusFFHNumber of Tags 01HStatus Byte 08HChecksum F4HTe r m i n a t or 03H
RFID InterfaceLRP2000 Long Range Passice Reader/Writer 131*******************************************************************************ABxF Command 88H: Tag Search AllDESCRIPTIONSearches for tags within range of the antenna.DISCUSSIONThis command will activate the controller to "look" for tags within range of the antenna. As soon as the controller 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 of 1EH to FFFEH (65,534 ms).  If no tag is present it will return an error message. See Section 6.6 for information on the error messages.Field ContentHeader 0202HCommand Size Packet length in Bytes excluding the header, command size, checksum and terminator Bytes. 0005H for this commandCommand 88HFamily ID Tag Family ID - 00H = all tagsReserved Ignored, set to 00HTimeout 2-Byte value for the time in 1 ms units (1EH - FFFEH)Checksum Optional ChecksumTerminator <ETX>
RFID Interface132 LRP820S-Series Long-Range Passive Reader/WritersExampleChecks for the presence of an RFID tag within range of the antenna. Atimeout of 2 seconds (07D0H = 2000 x 1 msec increments) is set for thecompletion of the Tag Search All.  A tag is found.Command from host Response from controllerField Content Field ContentHeader 0202H Header 0202HCommand Size 0005H Response Size 0003HCommand Code 88H Command Echo 88HFamily ID 00H Number of Tags 01HReserved 00H Status Byte 00HTimeout 07D0H Checksum 73HChecksum 99H Te r m i n a t or s 03HTerminator 03H
RFID InterfaceLRP2000 Long Range Passice Reader/Writer 133*******************************************************************************ABxF Command 8DH: Stop/Start Continuous Read AllDESCRIPTIONStarts and stops Continuous Read mode for multiple tags.DISCUSSIONThe 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 thismode, any other command can be issued and it will be handled properly. After processing the new command, the controller will resume the Continuous Read All mode.  The command has a parameter, Tag Repeat Count, that can prevent multiple reads of the same tag. A tag is not read a second time until a specified number of tags have been read since it was last read. Allowed values are from 0 up to 255 (FFH), where 0 means the tag can be re-read anytime. When Continuous Read All mode is interrupted with other commands, the tag delay count is stopped during execution of the other commands and then resumed.  The controller will respond with an acknowledge packet followed by data packets for each tag read.  CONFIG LED blinks after each packet transmission.Field ContentHeader 0202HCommand Size Command length in Bytes excluding the header command size, checksum and terminator Bytes.Command 8DHFamily ID Tag Family ID - 00H = all tagsReserved Ignored, set to 00HStart Address Tag address for the start of the readNumber of Bytes 0 = stop. Any valid nonzero value indicates the number of Bytes to be readTag Delay Number of tags that must be read before the same tag will be read again (0-225)Checksum Optional ChecksumMessage Terminator 03H
RFID Interface134 LRP820S-Series Long-Range Passive Reader/WritersExampleReads 4 Bytes of data from the tag starting at address 0001H. The Family ID Byte is set to zero so all tags will be read. The Tag Delay is set to 20 (14H). Two tags respond with read data.Command from host Response from controllerField Content Field  ContentHeader 0202H Heade 0202HCommand Size 0008H Response Size 0001HCommand Code 8DH Command Echo 8DHFamily ID 00H Checksum 71HReserved 00H Te r m i n a t or 03HStart Address 0001HRead Length 0004HTag Delay 14HChecksum 50HTerminator 03HAfter the controller sends the acknowledgment, it will send the read data from the 2 tags.Field ContentHeader 0202HResponse Size 0005HCommand Echo/Ta g 18DHData from address 0001H05HData from address 0002H AAHData from address 0003H21HData from address 0004H44H
RFID InterfaceLRP2000 Long Range Passice Reader/Writer 135Checksum  59HTerminator 03HHeader 0202HResponse Size 0003HCommand Echo/Ta g 285HData from address 0001H05H Data fromaddress 0002H AAHData from address 0003H21H Data fromaddress 0004H 44HChecksum 59HTerminator 03HField Content
RFID Interface136 LRP820S-Series Long-Range Passive Reader/Writers*******************************************************************************ABxF Command 8EH: Memory Lock AllDESCRIPTIONThis command locks contiguous blocks of read-write memory. Once Bytes are locked, they cannot be written to, nor can they be unlocked. DISCUSSIONThe 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 which address the memory of the tag using these parameters.  The block structure of the tags is governed by the ISO-15693 specification.  ABx command 15H can be used to obtain the memory organization for a particular tag.  Attempting to write to locked Bytes will return a Write Security Error. The command is formatted as shown below.Field ContentHeader 0202HCommand Size Command length in Bytes excluding the header,command size, checksum and terminator Bytes. 07H for this command.Command 8EHFamily Code Tag Family ID - 00H = all tagsReserved Ignored, set to 00H   Timeout Timeout value given in 1 ms unitsStarting Block First block of memory to be lockedNumber of Blocks The number of blocks whose memory will be lockedChecksum Optional ChecksumMessage Terminator 03H
RFID InterfaceLRP2000 Long Range Passice Reader/Writer 137ExampleThis example will lock blocks 0-3 on all tags-in-field with the FamilyCode of 02H.  Two tags are found and locked.Command from host Response from controllerField  Content Field  ContentHeader 0202H Header 0202HCommand Size 0007H Response Size0003HCommand Code 8EH Command Echo8EHFamily ID 02H Number of Tags02HReserved 00H Status Byte 08HTimeout 07D0H Checksum 64HFirst block 00H Terminator 03HNumber of blocks03HChecksum 8EHTerminator 03H
RFID Interface138 LRP820S-Series Long-Range Passive Reader/Writers*******************************************************************************ABxF Command 8BH: Write Family Code AllDESCRIPTIONThis command 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. Field ContentHeader 0202HCommand Size Command length in Bytes excluding the header, command size, checksum and terminator Bytes. 06H for this command.Command  8BHCurrent Family Code Tag Family ID - 00H = all tags used to select which tags are addressedReserved Ignored, set to 00H Timeout Timeout value given in 1 ms unitsNew Family Code The value which will be written to the Family Codes of all the addressed tagsChecksum Optional ChecksumMessage Terminator 03H
RFID InterfaceLRP2000 Long Range Passice Reader/Writer 139ExampleThis example will change the Family code depending on the current value of the family code. Two tags are found with Family Code 02H and they are changed to 03H. Command from host Response from controllerField Content Field ContentHeader 0202H Header 0202HCommand Size 0006H Command Size 0006HCommand Code 8BH Command Code 8BHFamily ID 02H Family ID 02HReserved 00H Reserved 00HTimeout 07D0H Timeout 07D0HNew Family Code 03H New Family Code 03HChecksum 92H Checksum 92HTerminator 03H Terminator 03H
RFID Interface140 LRP820S-Series Long-Range Passive Reader/Writers*******************************************************************************ABxF Command 8CH: Lock Family Code AllDESCRIPTIONThis command locks the family codes of tags in the field. Once locked, the Family Codes cannot be changed or unlocked. DISCUSSIONThe command must pass a family code to select the tags whose family code will be locked. The controller will return a response when the timeout period expires. The parameter of the response in the number of tags written. The command is formatted as shown below. Field ContentHeader 0202HCommand Size Command length in Bytes excluding the header, command size, checksum and terminator Bytes. 07H for this command.Command 8CHFamily Code Tag Family ID - 00H = all tagsReserved Ignored, set to 00HTimeout  Timeout value given in 1 ms unitsChecksum  Optional ChecksumMessage Terminator03H
RFID InterfaceLRP2000 Long Range Passice Reader/Writer 141ExampleThis example will lock the Family Code on all tags with the Family Code of 02H.  Two tags are found and locked.Command from host Response form controllerField Content Field ContentHeader 0202H Header 0202HCommand Size 0005H Response Size 0003HCommand Code 8CH Command Echo 8CHFamily ID 02H Number of Tags 02HReserved 00H Status Byte 08HTimeout 07D0H Checksum 67HChecksum 95H Te r m i n a t or 03HTerminator 03H
RFID Interface142 LRP820S-Series Long-Range Passive Reader/Writers*******************************************************************************ABxF Command 94H: SN FillDESCRIPTIONFills only the RFID tag specified by serial number with a one byte value over multiple contiguous addresses.DISCUSSIONThis 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 will be affected by this command.  The controller will return a response after the successful fill operation or when the timeout expires.  The fill function requires a Serial Number, one data value byte, a starting address, and a fill length. It fills the specified tag with the data value 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 tag's 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 will return a syntax error. It returns a response when done or when the timeout expires.Field ContentHeader 0202HCommand Size Command length in Bytes excluding the header, command size, checksum and terminator Bytes.Command 94HFamily Code Ignored, set to 00HReserved Ignored, set to 00HStart Address 2-Byte value for the starting tag addressNumber of Bytes 2-Byte value for the length of the fill in number of BytesTimeout Timeout value given in 1 ms unitsSerial Number Serial Number of the tag to be addressedData Value Value to be written to all addressed bytesChecksum Optional ChecksumMessage Terminator 03H
RFID InterfaceLRP2000 Long Range Passice Reader/Writer 143A response to a successful command will follow this form. Field ContentHeader 0202HResponse size 01HCommand  Echo 94HChecksum Optional ChecksumMessage Terminator FFFFH
RFID Interface144 LRP820S-Series Long-Range Passive Reader/Writers*******************************************************************************ABxF Command 95H: SN Block ReadDESCRIPTIONRead 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 is capable of handling 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 will return a syntax error.  The SN Block Read consists of Family ID and Serial Number a start address and length, followed by a timeout value. The 8-byte serial number of the target tag is specified. If the read length exceeds the last tag address, the controller will return an error message in the status byte. It returns a response when done or when the timeout expires.Field ContentHeader 0202HCommand Size Command length in Bytes excluding the header, command size, checksum and terminator Bytes.Command 95HFamily Code Ignored, set to 00HReserved Ignored, set to 00H   Start Address 2-Byte value for the starting tag addressNumber of Bytes   2-Byte value for the length of the fill in number of BytesTimeout Timeout value given in 1 ms unitsSerial Number Serial Number of the tag to be addressedChecksum Optional ChecksumMessage Terminator 03H
RFID InterfaceLRP2000 Long Range Passice Reader/Writer 145A response to a successful command will follow this form.Field  ContentHeader 0202HResponse Size 0001HCommand Echo 95HChecksum Optional ChecksumMessage TerminatorFFFFH
RFID Interface146 LRP820S-Series Long-Range Passive Reader/Writers*******************************************************************************ABxF Command 96H: SN Block WriteDESCRIPTIONWrite data to a single RFID tag specified by its serial number.DISCUSSIONThis command is used to write data to contiguous areas of tag memory. It is capable of transferring 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 will return a syntax error.  The SN BlockWrite consists of a Family ID, Serial Number and 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 a syntax error, 21H. It returns a response when done or when the timeout expires. Field  ContentHeader 0202HCommand Size Command length in Bytes excluding the header, command size, checksum and terminator Bytes.Command 96HFamily Code Ignored, set to 00HReserved Ignored, set to 00HStart Address 2-Byte value for the starting tag addressNumber of Bytes 2-Byte value for the length of the fill in number of BytesTimeout Timeout value given in 1 ms unitsSerial Number Serial Number of the tag to be addressedData Data to be written to the tagChecksum Optional ChecksumMessage Terminator 03H
RFID InterfaceLRP2000 Long Range Passice Reader/Writer 147A response to a successful command will follow this form.Field  ContentHeader 0202HResponse size 01HCommand  Echo  96HChecksum Optional ChecksumMessage Terminator FFFFH
RFID Interface148 LRP820S-Series Long-Range Passive Reader/Writers*******************************************************************************ABxF Command 10H: Set OutputDESCRIPTIONSet the states of the output lines and output LEDs "A" through "D."DISCUSSIONThis command will set the state of the digital output lines using a one-Byte parameter, Output Status.  The least significant nibble of the Output Status Byte will determine 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.  The most significate nibble of the Output Status Byte is reserved and should beset to 0H. An output bit set to one(1) will turn the corresponding LED on and close the electronic switch of the output, allowing current to flow through the output circuit.  An output bit reset to zero will turn the corresponding LED off and open the electronic switch in the output circuit.  The following chart shows the hex values for all combinations of Output Status Bytes.  To reset all output bits, issue the command with 00H for the Output Status Byte.Output Status ByteRemarks  LSB Bit 3 Output DLSB Bit 2 Output CLSB Bit 1 Output BLSB Bit 0 Output A00H Reset A, B, C, D     0   0  0     001H  Set Output A - Reset B, C, D0    0    0    102H      Set Output B - Reset A, C, D    0 0 1 003H  Set Output A, B - Reset C, D 0 0 1 104H   Set Output C - Reset A, B, D 0 1 0 005H      Set Output A, C - Reset B, D0 1 0 106H  Set Output B, C - Reset A, D  0 1 1 007H  Set Output A, B, C - Reset D  0 1 1 108H     Set Output D - Reset A, B, C  1 0 0 0
RFID InterfaceLRP2000 Long Range Passice Reader/Writer 14909H Set Output A, D - Reset B, C   10  0 10AH     Set Output B, D - Reset A, C 1 0 1 00BH     Set Output A, B, D - Reset C  1 0 1 10CH Set Output C, D - Reset A, B   1 1 0 00DH    Set Output A, C, D - Reset B 1 1 0 10EH   Set Output B, C, D - Reset A    11  1 00FH  Set Output A, B, C, D1 1 1 1Field     ContentHeader  0202HCommand Size  Packet length in bytes excluding the header, command size, checksum and terminator bytes.Command 10HOutput Status Byte 1 byte representing the desired output settings in bits 0-3Checksum Optional ChecksumTerminator 03HOutput Status ByteRemarks  LSB Bit 3 Output DLSB Bit 2 Output CLSB Bit 1 Output BLSB Bit 0 Output A
RFID Interface150 LRP820S-Series Long-Range Passive Reader/WritersExampleThe following example sets Output B only and resets A, C, and DCommand from host Response from controllerField  Content Field       ContentHeader 0202H Header  0202HCommand Size 0002H Response Size 0001HCommand Code 10H Command Echo 10HOutput Value Byte02H Checksum EEHChecksum EBH Te r m i n a t or 03HTerminator 03H.
RFID InterfaceLRP2000 Long Range Passice Reader/Writer 151*******************************************************************************ABxF Command 11H: Input StatusDESCRIPTIONReturns the status of User Inputs.DISCUSSIONThis command will interrogate 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.  The most significate nibble of the Input Status Byte will be set to 0H.  A closed circuit in one(1) of the User Inputs will set the corresponding User Input bit to one, turning the corresponding LED on.  An open circuit in one of the User Inputs will set the corresponding User Input bit to zero, turning off the corresponding LED.  The following chart shows all of the valid hex values for the Input Status bytes. Input Status Byte Remarks   LSB Bit 3 Input DLSB Bit 2 Input C LSB Bit 1 Input B LSB Bit 0 Input A00H  Inputs A, B, C, D, open     0      0      0      001H  Input A, closed - B, C, D, open   0  0 0 102H Input B, closed - A, C, D, open  0 0 1 003H Input A, B, closed - C, D, open 0 0 1 104H Input C, closed - A, B, D, open 0 1 0 005H Input A, C, closed - B, D, open0 1 0 106H Input B, C, closed - A, D, open 0 1 1 007H Input A, B, C, closed - D, open 0 1 1 108H Input D, closed - A, B, C, open 1 0 0 0
RFID Interface152 LRP820S-Series Long-Range Passive Reader/WritersExampleThe following example shows only Input B is ON and A, C, and D are OFF.Field  Content Field  ContentHeader 0202H Header 0202HCommand Size 0001H Response Size 0002HCommand Code 11H Command Echo 11HChecksum EDH Input Status Byte02HTerminator 03H Checksum EAHTe r m i n a t or 03H09H  Input A, D, closed - B, C, open 1 0 0 10AH Input B, D, closed - A, C, open  1 0 1 00BH  Input A, B, D, closed - C, open   1 0 1 10CH Input C, D, closed - A, B, open 1 1 0 00DH Input A, C, D, closed - B, open 11  0 10EH Input B, C, D, closed - A, open  1 1 1 00FH Input A, B, C, D, closed1 1 1 1Field ContentHeader   0202HCommand Size Packet length in bytes excluding the header,command size, checksum and terminator bytes.Command 11HChecksum Optional ChecksumTerminator 03HInput Status Byte Remarks   LSB Bit 3 Input DLSB Bit 2 Input C LSB Bit 1 Input B LSB Bit 0 Input A
RFID InterfaceLRP2000 Long Range Passice Reader/Writer 1536.5 ABx ASCII ProtocolThe 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 (2 digit 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.Command Packet StructureThe command protocol is based on the following minimal packet structure.  The data field and the checksum may not be present depending on the command type and your checksum setting.6.6 ABx ASCII Protocol Command StructureField Number of ASCII Characters ContentHeader    2    <STX><STX>  (02H, 02H)Command Size 4         Packet length in bytes excluding the header, Command size, checksum and terminator bytes.Command  2     Command Code(Data)  variable command data/parametersChecksum    2    Optional ChecksumTerminator 1      <ETX>(03H)Following a successful operation, the controller will respond with the following.  The data field and the checksum may not be present depending on the command and your checksum setting. If a checksum is enabled in the Configuration Menu, then it is always present for every command.
RFID Interface154 LRP820S-Series Long-Range Passive Reader/Writers6.7 ABx ASCII Protocol Response StructureField  Number of ASCII Characters ContentHeader   2      <STX><STX> (02H, 02H)response Size 4       Packet length in bytes excluding the header, Command size, checksum and terminator bytes.Command   2      Command Echo(Data) variable  response dataChecksum  2  Optional ChecksumTerminator 1  <ETX> (03H)If the controller encounters a fault it will respond with the following:6.8 ABx ASCII Protocol Response StructureMost RF operations will also require additional parameters and data that will be included in the command stream between the command code or echo and the terminator. The Header and Terminator are always STX and ETX respectively. Any other field value is in ASCII hex notation. Allowed values: '0'-'9', 'A'-'F'. Example: the value ABH (decimal 171) in ASCII protocol is transmitted as a 2-character string «AB», i.e. the 2 bytes: 41H 42H (ASCII values for 'A' and 'B'). The hex FieldNumber of ASCII CharactersContentHeader      2   <STX><STX>  (02H, 02H)response Size 4      Packet length in bytes excluding the header, Command 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)
RFID InterfaceLRP2000 Long Range Passice Reader/Writer 155value 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 the preceding section. Referring to the ABx Fast command you can structure the ABx ASCII commands by using ASCII values for each digit of the hex values, 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 command.  All parameters and data between the Command Size and the terminator or checksum byte must be accounted for in the packet size word. This includes all command codes and parameters such as field definition for Block Read/Writes. The packet size remains the same with, or without the checksum. ChecksumThe optional checksum must be enabled from the operating mode menu to be available. The checksum is calculated by adding all the byte values (not the ASCII translation values) in the packet (less the values in the header, checksum if present, and terminator), discarding byte overflow and subtracting the byte sum from FFH.Example ASCII CommandFill Tag This command fills the specified number of cells from the specified start address with the specified value. Block size = 0 means filling to the end of the memory. 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 and terminator bytes. Given as four ASCII character value. 0008H for this commandCommand   <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)
RFID Interface156 LRP820S-Series Long-Range Passive Reader/WritersThe ASCII character string for a fill of 32 bytes, from address 0 with 55H value, timeout 5 sec., follows on the next page.Data value byte 2 ASCII character value for 1 byte of fillChecksum  2 ASCII character value for Optional ChecksumTerminator <ETX>Field Content
Command from host Response from controllerField      ASCII Hex ValueASCII String Field  ASCII Hex ValueASCII StringHeader  02H  STX Header 02H  STX<STX><STX>02H    STX <STX><STX>   02H  STXCommand Size  30H 0Response Size30H 030H 030H 030H 031H 138H 830H  0Command 30H 0Command Echo30H 034H 434H 4Start Address30H 0Checksum 44H  D30H 041H A30H 0Termi na to r s <ETX> 03H  ETX30H 0Fill Length 30H 030H 032H 280H 0Timeout Value31H 133H 338H 838H 8Data Byte Value35H 535H 5 Checksum  31H 133H 3Terminators <ETX>03H  ETXRFID InterfaceLRP2000 Long Range Passice Reader/Writer 157
RFID Interface158 LRP820S-Series Long-Range Passive Reader/Writers6.9 ABx Error CodesMulti-tag Error CodesThe LRP2000 will return an error if it encounters a fault during operation.  Table 8 lists the possible error codes in Hexadecimal format.Error Code  Description04H Fill Operation has failed05H Block Read has failed06H Block Write has failed07H  Block Write security error08H  Search Tag Operation failed21H Input Command does not match pre- defined format (syntax error)Additionally there are internal DSP errors, F1H through F5H, for use by Escort Memory Systems technical support. ABx StandardABxS error codes are returned in the LSB of the second word passed to the host. The format of the error response is shown below.MSB LSB RemarksAAH  FFH Command Error00H XXH Error CodeFFH FFH Message TerminatorExampleA BlockWrite fail error message would appear as:AAFF 0006 FFFFH.
RFID InterfaceLRP2000 Long Range Passice Reader/Writer 159ABx FastThe format of the error response is shown in the table below.Field  Bytes ContentsHeader  02H<STX><STX>  02H Response Size 00H 02HError Flag FFHError Code XXHChecksum  XXHTerminators <ETX>  03HExampleA BlockWrite fail error message would appear as: 0202 0002 FF06 F803H.ABx ASCIIThe format of the error response is shown below.Field    Number of ASCII Characters ContentsHeader <STX><STX> 2        <STX> 02H<STX> 02H  <STX> 02HResponse Size  4Packet length in bytes excluding  the header, response size,checksum and terminator bytes.Error Flag     2      FFHError Code  2     XXH - see Table 7 for detailsChecksum    2      XXH - optional checksumTerminators <ETX>  1       <ETX> 03H
RFID Interface160 LRP820S-Series Long-Range Passive Reader/WritersA BlockWrite fail error message would appear as an ASCII character string:<STX><STX>0002FF06F8<ETX>.In hexadecimal the commands appear as:02H 02H 30H 30H 30H 32H 46H 46H 30H 36H 46H 38H 03HMulti-tag Command Error CodeWhen 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. The format of the response is in all other ways, the same as a successful response.The STATUS byte is defined as follows:7Reserved 6R/W Error5  Reserved4Internal Error3  Timeout2Verify Error1  Write Security Error0  ReservedSome of the error conditions are the same as found in the single-tag commands, some are new and relate only to the anticollision.  If any of the flag bits of the returned Status are set, then that condition occurred during the command execution. Multiple conditions can occur in the same command.Antenna Failure There is an error at the antennaR/W error  Error during the tag memory accessCollision  Collisions detected: more than one tag in the field answered to the LRP2000 at the same time, meaning a higher
RFID InterfaceLRP2000 Long Range Passice Reader/Writer 161Anticollision  This bit is reservedInternal Error   Internal error in low-level firmware (contact Escort Memory Systems technical assistance)Timeout  Timeout expiredVerify Error    Set when re-read verification failsSyntax Errors    Syntax errors (error code 21H) will be returned in the same format as described for the single-tag commands.Antenna Failure There is an error at the antenna
RFID Interface162 LRP820S-Series Long-Range Passive Reader/Writers

Navigation menu