![background image](http://html.mh-extra.com/html/ifm/dte102/dte102_device-manual_620824048.webp)
48
10.7 Module “RWH_RW”, Read User data of the ID tag synchronously
In this mode the User data of the ID tag can be read edge controlled by setting the bit RD from 0 to 1 .
This mode is suitable if the user know when the ID-tag is present in front of the Read-/Write head . The
read User data 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 (3)
ER=0
UR=1 (1)
RD (2)
0
AO=0
0
2
Read data length
3
16 bit start address [D15…D8]
4
16 bit start address [D7…D0]
5
Not used
,,
20
Not used
Description Byte 1, “Control byte”:
Bit
Value
Description
Remark
AO
0
“Antenna field on” request inactive
Activate the antenna field .
RD (2)
0
No read request of User data
User data length/data is cleared in data byte 2…20 of
the PLC process data input image .
0->1
edge: User data read request
Starts the reading of the User data .
1
User data hold request
RD must be kept on 1 until the command response is
available . The User data length/data is transmitted in
data byte 2…20 of the PLC process data input image .
UR (1)
1
Mode “User data” selected
Must be set to 1 to access the User data of the ID tag
ER
0
Mode “Read user data synchronously”
selected
Must be set to 0 for reading the User data synchronously
DR (3)
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) Mode can be changed every time if bit “RD” and “DR” is set to 0 => no command active .
(2) A simultaneously activation of bit DR and RD is not allowed!
(3) Reading of the diagnostics is only possible if bit RD is set to 0 . 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 of the response data .
Description Byte 2, ”Read data length”:
Read data length, limited to a maximum number of 16 bytes .
Description Byte 3... 4, ”16 bit start address”:
Start address of the ID tag User data where the data has to be read from .
Description Byte 5... 20, ”Not used ”:
These bytes are ignored .