Operation
Use CODESYS function blocks
Hans Turck GmbH & Co. KG | T +49 208 4952-0 | more@turck.com | www.turck.com
07.00 | 2022/09 | 233
Name Data type Meaning
stTP BusModeTP_t 1: Tag in detection range
0: No tag within the detection range
Each bit corresponds to a tag on an individual
read/write head (max. 32 tags simultaneously).
xRWHeadNotConnected BOOL 1: No read/write head connected
0: Read/write head connected
stRWHeadNotConnected BusModeRW-
Head_t
1: No read/write head connected
0: Read/write head connected
Each bit corresponds to a read/write head
(max. 32 read/write heads simultaneously).
uiTagCounter UINT Displays the number of detected tags. In HF
multitag applications and in UHF applications,
tags are only counted with an inventory com-
mand. In HF single-tag applications. all tags are
counted by the detected read/write head. The
tag counter is reset after the following com-
mands:
n Inventory (exception: single-tag applica-
tions)
n Continuous Mode
n Continuous Presence Sensing Mode
n Reset
uiDataRxLength UINT Length for the selected command, e.g. length
of the data read or written
siLengthOfUidEpc SINT Entry for the EPC or UID length for addressing
a specific tag to be read or written. The UID or
EPC must be defined in the write data.
0: Size of the EPC or UID not checked
-1: NEXT mode: A tag is always only read if the
UID or EPC is different from the UID or EPC of
the last read or written tag.
Only the values 0, -1 and 8 are possible in HF
applications.
pReadDataMapping POINTER TO BYTE Start address in the input data (ARRAY[…] OF
BYTE)
pWriteDataMapping POINTER TO BYTE Start address in the output data (ARRAY[…] OF
BYTE)
pDataTx POINTER TO BYTE Write data (ARRAY[…] OF BYTE)
pDataRx POINTER TO BYTE Read data (ARRAY[…] OF BYTE)