60
13.4 Read User data of the RFID tag on request (synchronous mode)
With one command cycle up to 16 bytes can be read . To read more data, the command cycle has to be
repeated with adapted address setting .
The control and status byte must have value “10” (UD activated) before the following command
sequence can be started .
With one reading cycle (step 4 to 7) up to 16 bytes can be read . If more data shall be read
●
the steps 4 to 7 have to be repeated and
●
the address offset has to be counted up .
13.4.1 Command sequence view
Step 1:
Bit UD is true
Step 2:
Start reading
(1)
Step 3:
Wait for bit
RD-RDY (2)
Step 4:
Reset bit RD
Step 5:
Wait for reset
bit RD-RDY
PLC process data output
Byte 1
0 0
0
0
0
0
0
1 AO
0
0
0
0
0
2 WR
0
0
0
0
0
3 RD
0
1
1
0
0
4 UR
1
1
1
1
1
5 0
0
0
0
0
0
6 DR
0
0
0
0
0
7 0
0
0
0
0
0
Byte 2 (data length)
0x00
0x08
0x08
0x00
0x00
Byte 3 (address MSB) 0x00
0x00
0x00
0x00
0x00
Byte 4 (address LSB) 0x00
0x10
0x10
0x00
0x00
Byte 5
0x00
0x00
0x00
0x00
0x00
…
…
…
…
…
…
Byte 19
0x00
0x00
0x00
0x00
0x00
Byte 20
0x00
0x00
0x00
0x00
0x00
Step 1:
Bit UD is true
Step 2:
Start reading
(1)
Step 3:
Wait for bit
RD-RDY (2)
Step 4:
Reset bit RD
Step 5:
Wait for reset
bit RD-RDY
PLC process data input
Byte 1
0 TP
1
1
1
1
1
1 AI
0
0
0
0
0
2 WR-RDY 0
0
0
0
0
3 RD-RDY 0
0
1
1
0
4 UD
1
1
1
1
1
5 EF
0
0
0
0
0
6 DR-RDY 0
0
0
0
0
7 Diag
0
0
0
0
0
Byte 2 (data length)
0x00
0x00
0x08
0x12
0x00
Byte 3 (data)
0x00
0x00
0x12
0x34
0x00
Byte 4
0x00
0x00
0x34
0x56
0x00
Byte 5
0x00
0x00
0x56
0x56
0x00
…
…
…
…
…
…
Byte 19
0x00
0x00
0x00
0x00
0x00
Byte 20
0x00
0x00
0x00
0x00
0x00
(1) Data length and the memory address of the RFID tag has to be set .
(2) The reading data can be read out from byte 3, the length is dependent from the reading length .