EasyManua.ls Logo

Siemens SIMATIC RF1070R - Page 12

Siemens SIMATIC RF1070R
34 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
2 Engineering of the STEP 7 Program
Reading out UID with SIMATIC RF1070R
Article ID: 109780625, V1.0, 09/2020
12
© Siemens AG
2020 All rights reserved
8
FB_STATE_READ_UID
Request the serial number (UID) of the
card in the reader's antenna field:
Call of the point-to-point instruction
"Send_P2P".
The request telegram "vhl_get_snr"
is sent to the reader.
9
FB_STATE_READ_UID_WAIT
Waiting for response telegram.
Call of the point-to-point instruction
"Receive_P2P".
Copy the UID of the card from the
response telegram into the tag
"RFData.rfData.uid".
Back to state 5.
DISABLING
12
FB_STATE_DISABLING
Disable the function block "ReadUID"
13
FB_STATE_RESET_LED
Set the SIMATIC RF1070C reader LED
to red:
Call of the point-to-point instruction
"Send_P2P".
The request telegram
"syscmd_set_port" is sent to the
reader.
14
FB_STATE_RESET_LED_WAIT
Waiting for response telegram.
Call of the point-to-point instruction
"Receive_P2P".
Evaluation of the response telegram:
The LED of the reader is red.
Back to state 0.

Related product manuals