41
UK
12.5 Module “RWH_RW”, Read UID of the RFID tag synchronously
In this mode the UID of the RFID tag can be read once by setting the bit RD from 0 to 1 . This mode is
suitable if the user knows when the RFID tag is present in front of the read/write head . The read UID is
kept in the data bytes 2…18 stable while bit RD is set to 1 .
PLC process data output image (Module RWH_RW)
Byte no .
Bit
7
6
5
4
3
2
1
0
1
0
DR (2)
0
0
RD (1)
0
AO=0
0
2
Not used
,,
. .
20
Not used
Description byte 1, “Control byte”:
Bit
Value
Description
Remark
AO
0
“Antenna field on” request
Activate the antenna field
RD (1)
0
UID no read request
UID length/data is cleared in data bytes 2…20 of the
PLC process data input
0->1
Edge: UID read request
Starts the reading of the UID .
1
UID hold request
RD must be kept on 1 until the command response is
available . The UID length/data is transmitted in data
byte 2…20 of the PLC process data input .
DR (2)
0
No read request
Data byte 2 … 20 of the process data input image is set
to 0x00
0->1
Read diagnostics of the evaluation unit
-
1
Diagnostics read request active
DR must be kept on 1 until the command response is
available
(1) Bit RD is only evaluated if the channel parameter “UID edge controlled” is set . Otherwise the UID will
be read continuously regardless of the setting of bit RD .
(2) Diagnostics is only available, if bit “Diag” within the response data is set . Otherwise the response data
will return default data “0x00” within byte 2 . . .20 . The setting of bit DR to 1 is only allowed when bit RD is
set to 0 .
PLC process data input image (Module RWH_RW)
Byte no .
Bit
7
6
5
4
3
2
1
0
1
Diag
DR-RDY
0
0
RD-RDY
0
AI=0
TP
2
UID data length read
3
UID data byte 1 ( MSBy )
4
UID data byte 2
,,
. . .
18
UID data byte 16
19
0x00
20
0x00