
V02.00 | 2020/08
109
8.8.2
Command: Inventory
The
Inventory
command causes the read/write head to search for tags in the detection range
and read the UID, EPC of the tags, or if activated in the UHF read/write head, the RSSI. The In-
ventory command can be executed in single-tag mode and in multitag mode. NEXT mode is
only possible in single-tag mode.
NOTE
The command code for fast processing with the loop counter is 0x2001 (hex.) or
8193 (dec.).
Request
Loop counter
See description of the output data, [
Command code
0x0001 (hex.), 1 (dec.)
Read/write head address
See description of the output data, [
Length UID/EPC
Not required
Start address
1: Grouping of the EPCs active (only UHF)
0: Grouping of the EPCs inactive (only UHF)
Length
0: The actual length (bytes) of the transferred UID or EPC is
transferred with an inventory.
> 0 in HF applications:
n
8: Return message 8 bytes UID
n
1…7: Return message of an abbreviated UID
n
> 8: Error message
> 0 in UHF applications: EPC completely output.
-1: NEXT mode (only available in HF single-tag applications):
An HF tag is always only read, written or protected if the UID
is different to the UID of the last read or written tag.
Command timeout
See description of the output data, [
Write fragment no.
0
Read fragment no.
See description of the output data, [
Write data
Not required
Response (HF)
Loop counter
See description of the input data, [
Response code
0x0001 (hex.), 1 (dec.)
Length
Length of the read data in bytes
Error code
See description of the input data, [
Tag within the
detection range
See description of the input data, [
Data (bytes) available
See description of the input data, [
Tag counter
Ascending
Write fragment no.
0
Read fragment no.
See description of the input data, [
Read data, Bytes 0…n
UID