EasyManua.ls Logo

Siemens SIMATIC RF1070R - Page 8

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
8
© Siemens AG
2020 All rights reserved
Element
Symbolic name
Description
FB1
"ReadUID"
The function block "ReadUID" contains:
the configuration of the CM1241 RS232
communication module
the initialization of the RF1070R reader
reading and analysis of the card serial
number (UID).
DB1
"InstReadUID"
Instance data block of the "ReadUID" function
block
DB4
"RFData"
Global data block for the storage of
the most recently read UID
the status of the "ReadUID" function block
point-to-point
instructions
"Port_Config"
The "Port_Config" instruction (port
configuration)
dynamically parameterizes basic interface
parameters of the
CM1241 RS232 via the user program
is called in the "ReadUID" function block.
"Send_P2P"
The instruction "Send_P2P" (send point-to-point
data)
Sends data to the RF1070R reader
is called in the "ReadUID" function block.
"Receive_P2P"
The instruction "Receive_P2P" (receive point-to-
point data)
receives data from the RF1070R reader
is called in the "ReadUID" function block.
Data type
"typeRFData"
Data type for addressing the configured
CM1241 RS232 communication module.
Data type
"typeDiagnostics"
Data type for saving the error messages that
occur in the "ReadUID" function block:
status:
Last status code of the interface parameter
"status" of the FB.
subfunctionStatus:
Status or returned value from internal
instructions or FBs where an error
occurred.
For detailed information, refer to the Online
Help for the instruction in question, or the
documentation of the FB.
stateNumber:
State of the FB's state machine in which the
error occurred.

Related product manuals