EasyManua.ls Logo

Siemens SIMATIC RF1070R - The Rfdata Global Data Block

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
16
© Siemens AG
2020 All rights reserved
2.3 The "RFData" global data block
The DB "RFData" contains:
1. The PLC data type "typeRFData":
the input/output parameter "rfData" of the "ReadUID" function block is used for
addressing the configured CM1241 RS232 communication module and saving
the read UID. This parameter needs the PLC data type "typeRFData" as data
type:
port:
Specifies the communication module used for communication.
"HW identifier" from the device configuration.
cardType:
Card type of the card in the antenna field.
uid:
Serial number of the card in the antenna field.
2. the "interface" PLC tags for calling the function block "ReadUID" in OB1,
3. the PLC data type "typeDiagnostics"
the "diagnostics" output parameter of the "ReadUID" function block helps save
error information and requires as a data type the
PLC data type "typeDiagnostics":
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.
Figure 2-5
1
2
3

Related product manuals