Siemens SIMATIC RF1070R Manuel - Page 16

Parcourez en ligne ou téléchargez le pdf Manuel pour {nom_de_la_catégorie} Siemens SIMATIC RF1070R. Siemens SIMATIC RF1070R 34 pages.

Siemens SIMATIC RF1070R Manuel
2 Engineering of the STEP 7 Program
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
Reading out UID with SIMATIC RF1070R
Article ID: 109780625,
V1.0,
09/2020
1
2
3
16