RFID Interface ******************************************************************************* ABxS Command 8BH: Write Family Code All DESCRIPTION This 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.
RFID Interface ******************************************************************************* ABxS Command 8CH: Lock Family Code All DESCRIPTION This command locks the family codes of tags in the field. Once locked, the Family Codes cannot be changed or unlocked. DISCUSSION The command must pass a family code to select the tags whose family code will be locked. The controller will return a response when the timeout period expires. The parameter of the response in the number of tags written.
RFID Interface Command from host Response from controller MSB LSB Remarks MSB FFH LSB Remarks FFH Message Terminator ******************************************************************************* ABxS Command 8DH: Start/Stop Continuous Read All DESCRIPTION Starts and stops Continuous Read All mode for multiple tags. DISCUSSION The Start/Stop Continuous Read All mode is set by the length byte. To start Continuous Read All mode send the command with valid, nonzero value for the length of the read .
RFID Interface Field Remarks Tag Delay Number of tag that must be read before the same tag will be read again(0-255) Message Terminator FFFFH Example Reads 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.
RFID Interface MSB LSB Remarks 00H 42H Data byte 3/Tag 2 00H 43H Data byte 4/Tag 2 FFH FFH Terminator/ Tag 2 AAH 8DH Command Echo/ Tag 3 00H 34H Data byte 1/Tag 3 00H 35H Data byte 2/Tag 3 00H 36H Data byte 3/Tag 3 ******************************************************************************* ABxS Command 8EH: Memory Lock All DESCRIPTION This command locks contiguous blocks of read-write memory. Once Bytes are locked, they cannot be written to, nor can they be unlocked.
RFID Interface Field Remarks Message Terminator FFFFH Example This example will lock blocks 0-8 on all tags in range with the Family ID of 02H. Two tags are found and locked.
RFID Interface ******************************************************************************* ABxS Command 94H: SN Fill DESCRIPTION Fills only the RFID tag specified by serial number with a one byte value over multiple contiguous addresses. DISCUSSION This command is commonly used to clear an RFID tag's memory. It writes a one byte value repetitively across a specified range of tag addresses. Only the tag with the specified serial number will be affected by this command.
RFID Interface Field Remarks Fill Length The number of tag addresses to be filled Timeout Timeout value given in 1 ms units (001EH - FFFEH) Tag Serial Number The 8-byte serial number Data Value Byte The byte used to fill Message Terminator FFFFH A response to a successful command will follow this form.
RFID Interface Command from host Response from controller MSB LSB Remarks 00H D0H SN byte 3 00H 27H SN byte 4 00H 1CH SN byte 5 00H 65H SN byte 6 00H 33H SN byte 7 00H 41H Fill byte FFH FFH MSB LSB Remarks Message Terminator ******************************************************************************* ABxS Command 95H: SN Block Read DESCRIPTION Read a block of data from a specified RFID tag.
RFID Interface Field Remarks Reserved 00H Start Address The tag address where the read will start Read Length The numbers of tag addresses to be read Timeout Timeout value given in 1 ms units (001EH - FFFEH) Tag Serial Number 8-byte tag serial number Message Terminator FFFFH Example Reads 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.
RFID Interface Command from host Response from controller MSB LSB Remarks MSB FFH LSB Remarks FFH Message Terminator ******************************************************************************* ABxS Command 96 (96H): SN Block Write DESCRIPTION Write a block of data to a single RFID tag specified by its serial number. DISCUSSION This command is used to write segments of data to contiguous areas of tag memory.
RFID Interface Field Remarks Command Command number in hex preceded by AAH Family ID Tag Family ID - 00H = all tags Reserved 00H Start Address The tag address where the write will start Number of Bytes The number of tag addresses to be written to Timeout Timeout value given in 1 ms units (001EH - FFFEH) Tag Serial Number 8-Byte tag serial number Write Data The data to be written (1 Byte to 1kByte) Message Terminator FFFFH Example Writes 4 bytes of data, starting at address 0001H.
RFID Interface Command from host Response from controller MSB LSB Remarks MSB 00H 34H 00H DEH SN byte 6 00H 20H SN byte 7 00H 40H Data byte 1 00H 41H Data byte 2 00H 42H Data byte 3 00H 43H Data byte 4 FFH FFH Message Terminator LSB Remarks SN byte 5 ******************************************************************************* ABxS Command 10H: Set Output DESCRIPTION Set the states of the output lines and output LEDs "A" through "D.
RFID Interface 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.
RFID Interface Field Remarks Message Terminator FFFFH Example The following example sets Output B only and resets A, C, and D. Command from host Response from controller MSB LSB Remarks MSB LSB Remarks AAH 10H Perform Command 10 AAH 10H Command echo 00H 02H Set Output B FFH FFH Message Terminator FFH FFH Message Terminator ******************************************************************************* ABxS Command 11H: Input Status DESCRIPTION Returns the status of User Inputs.
RFID Interface 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.
RFID Interface Example The following example shows only Input B is ON. Command from host Response from controller MSB LSB Remarks MSB LSB Remarks AAH 11H AAH 11H Command echo FFH FFH Message Terminator 00H 02H Input B ON FFH FFH Message Terminator 6.4 Perform Command 11 Abx Fast Protocol The ABx Fast protocol differs from the Abx Standard Protocol in that the atomic data element is a Byte instead of a 16-bit word.
RFID Interface Example The following is a typical command using a checksum. Field Contents Header 0202H Command Size 0003H Command Code 01H Timeout 07D0H Checksum 24H Terminator 03H The summed values begin with the Command Size and end with the timeout value. That sum, less overflow, is subtracted from FFH for the checksum value.
RFID Interface Field Number of Bytes Content Terminator 1 03H ABx Fast Multi-tag Command structure Field Number of Bytes Content Header 2 0202H Command Size 2 Packet length in Bytes excluding the header, command size, checksum and terminator Bytes. Command 1 Command Code Family code 1 00H to address all tags in field Reserved 1 Reserved for future use, set to 00H Address 4 The first two Bytes give the start address.
RFID Interface ******************************************************************************* ABx Fast Command 04H: Fill Tag DESCRIPTION Fill an RFID tag with a one Byte value over multiple contiguous addresses. DISCUSSION This command is commonly used to clear an RFID tag's memory. It writes a one-Byte value repetitively across a specified range of tag addresses. The fill function requires one data value Byte, a starting address, and a fill length.
RFID Interface Field Content Command Size Packet length in Bytes excluding the header, command size, checksum and terminator Bytes. 0008H for this command. Command 04H Start Address 2-Byte value for the starting tag address Number of Bytes 2-Byte value for the length of the fill in number of Bytes Timeout 2-Byte value for timeout in 1 ms units.
RFID Interface Command from host Response from controller Field Content Field Content Command Code 04H Command Echo 04H Start address 0005H Checksum FAH Block Size 0028H Terminators 03H Timeout, 2 seconds 07D0H Data Value Byte 41H Checksum AEH Terminators 03H ******************************************************************************* ABx Fast Command 05H: Block Read DESCRIPTION Reads a block of data from an RFID tag.
RFID Interface syntax error. The Block Read consists of a start address and length, followed by a timeout value and a message terminator as shown below. Field Content Header 0202H Command Size Packet length in Bytes excluding the header, command Size, checksum and terminator Bytes. 0007H for this command Command 05H Start Address 2-Byte value for the starting tag address Number of Bytes 2-Byte value for the length of the read in number of Bytes Timeout 2-Byte value for timeout in 1 ms units.
RFID Interface Command from host Response from controller Field Content Field Content Timeout,2 seconds 07D0H Data fromaddress 0003H E7H Checksum 17H Data from address 0004H 0AH Terminator 03H Checksum 55H Terminator 03H ******************************************************************************* ABx Fast Command 6 (06H): Block Write DESCRIPTION Write a block of data to an RFID tag.
RFID Interface number 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 Content Header 0202H Packet Size Packet length in Bytes excluding the header, command size, checksum and terminator Bytes.
RFID Interface Command from host Response from controller Field Content Field Content Start address 0000H Checksum F8H Number of Bytes 0004H Terminators 03H Timeout,2 seconds 07D0H Data to write to address 0000H 52H Data to write to address 0001H 46H Data to write to address 0002H 49H Data to write to address 0003H 44H Checksum EEH Terminators 03H ******************************************************************************* ABxFast Command 07H: Read Tag Serial Number DESCRIPTI
RFID Interface Each 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.
RFID Interface Command from host Response from controller Field Field Content Command Code 07H Content Command Echo 07H Timeout 07D0H First ID Byte F2H Checksum 1EH Second ID Byte 72H Terminators 03H Third ID Byte 03H Fourth ID Byte 00H Fifth ID Byte 00H Sixth ID Byte 01H Seventh ID Byte 004H Eighth ID Byte E0H Checksum A3H Terminators 03H ******************************************************************************* ABxFast Command 8 (08H): Tag Search DESCRIPTION Checks
RFID Interface DISCUSSION 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.
RFID Interface Command from host Response from controller Field Content Field Content Header 0202H Header 0202H Command Size 0003H Response Size 0001H Command Code 08H Command Echo 08H Timeout 07D0H Checksum F6H Checksum 1DH Terminators 03H Terminators 03H Field Content ******************************************************************************* ABx Fast Command 0DH: Start/Stop Continuous Block Read 108 LRP820S-Series Long-Range Passive Reader/Writers
RFID Interface DESCRIPTION Sends 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.
RFID Interface Command from Host Response from controller Field Content Field Content Header 0202H Header 0202H Command Size 0006H Response Size 0001H Command Code 0DH Command Echo 0DH Start Address 0001H Checksum F1H Number of Bytes 0008H Terminator 03H Delay Between Duplicate Decodes 02H Checksum E1H ******************************************************************************* ABx Fast Command 14H: Get Block Status DESCRIPTION 110 LRP820S-Series Long-Range Passive Reader/
RFID Interface Returns the lock status of the specified blocks of data. DISCUSSION This 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.
RFID Interface Command from host Response from controller Field Content Field Content Header 0202H Header 0202H Command Size 0005H Response Size 0005H Command Code 14H Command Echo 14H First Block 00H status of block zero 00H Number of Blocks 04H status of block one 00H Timeout,2 seconds 07D0H status of block two 01H Checksum 0BH status of block three 00H Terminator 03H Checksum E5H Terminator 03H Interrogates the lock status of the first four blocks of the tag's memo
RFID Interface ABx Fast Command 15H: Get Label Information DESCRIPTION: This command retrieves manufacturer's data and the Family Code from the tag. Field Content Header 0202H Command Size Packet length in Bytes excluding the header, command size, Checksum and terminator Bytes. 0003H for this command Command 15H Timeout 2-Byte value for timeout in 1 ms units. (1EH FFFEH) Checksum Optional Checksum Terminator 03H Example This command is issued to retrieve the family code from a tag.
RFID Interface ABxFast Command 16H: Write Family Code DESCRIPTION Change the family code of an RFID tag. Field Content Header 0202H Packet Size Packet length in Bytes excluding the header, command size, checksum and terminator Bytes. Always 0004H for this command. Command 16H Timeout 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 Checksum Terminator 03H Example Change the family code of the tag to 00H.
RFID Interface ABxFast Command 17H: Lock Family Code DESCRIPTION: Locks the Family Code Byte to its current value so that it cannot be written. Once locked, the Family Code cannot be unlocked.
RFID Interface ABxF Command 82H: Read Data and SN All DESCRIPTION Read 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. DISCUSSION This 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.
RFID Interface Reads 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.
RFID Interface Command from host Response from controller Field Content Field Content Header 0202H Header/tag 1 0202H SN Byte 7/tag 2 04H SN Byte 8/tag 2 E0H Data Byte 1/ tag 52H 2 Data Byte 2/tag 2 46H Data Byte 3/tag 2 49H Data Byte 4/tag 2 44H Checksum 00H Terminator 03H Header/tag 3 0202H Response Size 000BH Command Echo 82H SN Byte 1/tag 3 71H SN Byte 2/ tag 3 72H SN Byte 3/tag 3 03H SN Byte 4/tag 3 00H SN Byte 5/tag 3 00H SN Byte 6/tag 3 01H SN Byte 7/tag 3 04H
RFID Interface Command from host Response from controller Field Content Field Content Header 0202H Header/tag 1 0202H Status Byte 08H Checksum F2H Terminators 03H ******************************************************************************* LRP2000 Long Range Passice Reader/Writer 119
RFID Interface ABxF Command 83H: Start/Stop Continuous SN Read All DESCRIPTION Start 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.
RFID Interface Example Starts 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.
RFID Interface Header 0202H Response Size 000BH Command Echo/Tag 2 83H Data from address 0002H AAH Data from address 0003H 21H Data from address 0004H 44H Checksum 62H Terminator 03H Header 0202H Response Size 000BH Command Echo/Tag 3 83H Data fromaddress 0002H AAH Data from address 0003H 21H Data from address 0004H 44H 122 Checksum 62H Terminator 03H LRP820S-Series Long-Range Passive Reader/Writers
RFID Interface ******************************************************************************* ABxF Command 84H: Fill All DESCRIPTION Fill all RFID tags-in-field or all tags in the same family, with a one-Byte value over multiple contiguous addresses. DISCUSSION This command is commonly used to clear an RFID tag's memory. It writes a one Byte value repetitively across a specified range of tag addresses. All tags present in the antenna field with the specified Family Code will be affected by this command.
RFID Interface Example Writes 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.
RFID Interface ******************************************************************************* ABxF Command 85H: Block Read All DESCRIPTION Read a block of data from all RFID tags-in-field or all those with the specified Family Code. DISCUSSION This 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.
RFID Interface Example Reads 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.
RFID Interface ******************************************************************************* ABxF Command 86H: Block Write All DESCRIPTION Write a block of data to an RFID tag. DISCUSSION The Block Write All command is used to write segments of data to contiguous areas of tag memory. The timeout value is given in 1 msec increments and can have a value of 1EH to FFFEH (65,534 ms). When the timeout is set to 0, the controller will return a syntax error.
RFID Interface 128 Command from host Response from controller Field Content Field Content Header 0202H Header 0202H Command Size 000DH Response Size 0003H Command Code 86H Command Echo 86H Family ID 00H Number of Tags 05H Reserved 00H Status Byte 08H Start address 0000H Checksum 69H Number of Bytes 0004H Terminator 03H Timeout,2 seconds 07D0H Data to write to address 0000H 52H Data to write toaddress 0001H 46H Data to write toaddress 0002H 49H Data to write toaddres
RFID Interface ******************************************************************************* ABxF Command 87H: Read Tag SN All DESCRIPTION This command retrieves the 8-Byte tag serial number from all tags-infield 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.
RFID Interface Example This example will read the 8-Byte serial number from all tags permitted by the Family ID and Reserved .
RFID Interface ******************************************************************************* ABxF Command 88H: Tag Search All DESCRIPTION Searches for tags within range of the antenna. DISCUSSION This 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).
RFID Interface Example Checks 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.
RFID Interface ******************************************************************************* ABxF Command 8DH: Stop/Start Continuous Read All DESCRIPTION Starts and stops Continuous Read mode for multiple tags. DISCUSSION The Start/Stop Continuous Read All mode is initiated by issuing the command with the Number of Bytes set to any valid nonzero value. Stop the mode by sending the command with a read length of 0. While in thismode, any other command can be issued and it will be handled properly.
RFID Interface Example Reads 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.
RFID Interface Field Content Checksum 59H Terminator 03H Header 0202H Response Size 0003H Command Echo/ Tag 2 85H Data from address 0001H 05H Data from address 0002H AAH Data from address 0003H 21H Data from address 0004H 44H Checksum 59H Terminator 03H LRP2000 Long Range Passice Reader/Writer 135
RFID Interface ******************************************************************************* ABxF Command 8EH: Memory Lock All DESCRIPTION This command locks contiguous blocks of read-write memory. Once Bytes are locked, they cannot be written to, nor can they be unlocked. DISCUSSION The memory can be locked only in contiguous blocks. The command passes one parameter for the first block and another parameter for the number of blocks to be locked.
RFID Interface Example This example will lock blocks 0-3 on all tags-in-field with the FamilyCode of 02H. Two tags are found and locked.
RFID Interface ******************************************************************************* ABxF Command 8BH: Write Family Code All DESCRIPTION This 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.
RFID Interface Example This 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.
RFID Interface ******************************************************************************* ABxF Command 8CH: Lock Family Code All DESCRIPTION This command locks the family codes of tags in the field. Once locked, the Family Codes cannot be changed or unlocked. DISCUSSION The command must pass a family code to select the tags whose family code will be locked. The controller will return a response when the timeout period expires. The parameter of the response in the number of tags written.
RFID Interface Example This example will lock the Family Code on all tags with the Family Code of 02H. Two tags are found and locked.
RFID Interface ******************************************************************************* ABxF Command 94H: SN Fill DESCRIPTION Fills only the RFID tag specified by serial number with a one byte value over multiple contiguous addresses. DISCUSSION This command is commonly used to clear an RFID tag's memory. It writes a one byte value repetitively across a specified range of tag addresses. Only the tag with the specified serial number will be affected by this command.
RFID Interface A response to a successful command will follow this form.
RFID Interface ******************************************************************************* ABxF Command 95H: SN Block Read DESCRIPTION Read 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).
RFID Interface A response to a successful command will follow this form.
RFID Interface ******************************************************************************* ABxF Command 96H: SN Block Write DESCRIPTION Write data to a single RFID tag specified by its serial number. DISCUSSION This command is used to write data to contiguous areas of tag memory. It 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).
RFID Interface A response to a successful command will follow this form.
RFID Interface ******************************************************************************* ABxF Command 10H: Set Output DESCRIPTION Set the states of the output lines and output LEDs "A" through "D." DISCUSSION This command will set the state of the digital output lines using a oneByte 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.
RFID Interface Output Status Byte Remarks LSB Bit 3 Output D LSB Bit 2 Output C LSB Bit 1 Output B LSB Bit 0 Output A 09H Set Output A, D Reset B, C 1 0 0 1 0AH Set Output B, D Reset A, C 1 0 1 0 0BH Set Output A, B, D 1 - Reset C 0 1 1 0CH Set Output C, D Reset A, B 1 1 0 0 0DH Set Output A, C, D - Reset B 1 1 0 1 0EH Set Output B, C, D - Reset A 1 1 1 0 0FH Set Output A, B, C, D 1 1 1 1 Field Content Header 0202H Command Size Packet length in bytes exclu
RFID Interface Example The following example sets Output B only and resets A, C, and D .
RFID Interface ******************************************************************************* ABxF Command 11H: Input Status DESCRIPTION Returns the status of User Inputs. DISCUSSION This 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.
RFID Interface Input Status Remarks Byte LSB Bit 3 Input D LSB Bit 2 LSB Bit 1 Input C Input B LSB Bit 0 Input A 09H Input A, D, closed - B, C, open 1 0 0 1 0AH Input B, D, closed - A, C, open 1 0 1 0 0BH Input A, B, D, closed - C, open 1 0 1 1 0CH Input C, D, closed - A, B, open 1 1 0 0 0DH Input A, C, D, closed - B, open 1 1 0 1 0EH Input B, C, D, closed - A, open 1 1 1 0 0FH Input A, B, C, D, closed 1 1 1 1 Field Content Header 0202H Command Size Packet l
RFID Interface 6.5 ABx ASCII Protocol The ABx ASCII Protocol is based on the ABx Fast protocol. It uses the same headers and terminator (already ASCII characters) and converts the hex value of command and data bytes to printable ASCII (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.
RFID Interface 6.7 ABx ASCII Protocol Response Structure Field Number of ASCII Characters Header 2 Content (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 data Checksum 2 Optional Checksum Terminator 1 (03H) If the controller encounters a fault it will respond with the following: 6.
RFID Interface value of the hex digits given in ASCII are: '0'-'9' = 30H - 39H, 'A'-'F' = 41H-46H. The sequence for each command is given with the response format in 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 Size The ABx ASCII requires the length of the packet be included in the command.
RFID Interface Field Content Data value byte 2 ASCII character value for 1 byte of fill Checksum 2 ASCII character value for Optional Checksum Terminator The ASCII character string for a fill of 32 bytes, from address 0 with 55H value, timeout 5 sec., follows on the next page.
RFID Interface Command from host Response from controller Field ASCII Hex Value ASCII String Field ASCII Hex Value ASCII String Header 02H STX Header 02H STX STX 02H STX Command Size 30H 0 Response Size 30H 0 30H 0 30H 0 30H 0 31H 1 38H 8 30H 0 30H 0 30H 0 34H 4 34H 4 30H 0 44H D 30H 0 41H A 30H 0 03H ETX 30H 0 30H 0 30H 0 32H 2 80H 0 31H 1 33H 3 38H 8 38H 8 35H 5 35H 5 31H 1 33H 3 03H ETX Comma
RFID Interface 6.9 ABx Error Codes Multi-tag Error Codes The LRP2000 will return an error if it encounters a fault during operation. Table 8 lists the possible error codes in Hexadecimal format.
RFID Interface ABx Fast The format of the error response is shown in the table below. Field Bytes Contents Header 02H 02H Response Size 00H 02H Error Flag FFH Error Code XXH Checksum XXH Terminators 03H Example A BlockWrite fail error message would appear as: 0202 0002 FF06 F803H. ABx ASCII The format of the error response is shown below.
RFID Interface A BlockWrite fail error message would appear as an ASCII character string: 0002FF06F8. In hexadecimal the commands appear as: 02H 02H 30H 30H 30H 32H 46H 46H 30H 36H 46H 38H 03H Multi-tag Command Error Code When the multi-tag commands encounter a fault condition they indicate the error in a STATUS byte returned in the response. If any of the flag bits of the Status byte are set, then an error has occurred during command execution.
RFID Interface Antenna Failure There is an error at the antenna Anticollision This bit is reserved Internal Error Internal error in low-level firmware (contact Escort Memory Systems technical assistance) Timeout Timeout expired Verify Error Set when re-read verification fails Syntax Errors Syntax errors (error code 21H) will be returned in the same format as described for the single-tag commands.
RFID Interface 162 LRP820S-Series Long-Range Passive Reader/Writers