
Setting
RFID channels – overview of commands
110
Hans Turck GmbH & Co. KG | T +49 208 4952-0 | F +49 208 4952-264 | [email protected] | www.turck.com
Response (UHF)
Loop counter
See description of the input data, [
Response code
0x0001 (hex.), 1 (dec.)
Length
Length of the read data
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
See example: UHF read data
Data format in UHF applications
The UHF read data is formatted by means of a header. The header has the following structure:
Type
Name
Meaning
uint8_t
Size
Data size
uint8_t
Block type
1: UID/EPC/RSSI etc.
2: Read data
other values : reserved
uint8_t
Data [size]
EPC/RSSI etc. or read data
The size of EPC/RSSI etc. depends on the settings of the read/write head.
Reading out the RSSI value
The RSSI value is output in binary code in 2 bytes and corresponds to the two's complement of
the output binary code. Mapped to a signed integer, the 2 bytes output correspond to ten
times the actual RSSI value. Refer to the following table for an example of the RSSI value:
MSB…LSB
(decimal)
MSB…LSB
(binary)
Two’s complement
RSSI (dBm)
252 253
11111100 11111101
-771
-77.1