Siemens SIMATIC RF1070R Manuel - Sayfa 8

Endüstriyel Ekipmanlar Siemens SIMATIC RF1070R için çevrimiçi göz atın veya pdf Manuel indirin. Siemens SIMATIC RF1070R 34 sayfaları.

Siemens SIMATIC RF1070R Manuel
2 Engineering of the STEP 7 Program
Element
FB1
DB1
DB4
point-to-point
instructions
Data type
Data type
Reading out UID with SIMATIC RF1070R
Article ID: 109780625,
V1.0,
Symbolic name
"ReadUID"
"InstReadUID"
"RFData"
"Port_Config"
"Send_P2P"
"Receive_P2P"
"typeRFData"
"typeDiagnostics"
09/2020
Description
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).
Instance data block of the "ReadUID" function
block
Global data block for the storage of
the most recently read UID
the status of the "ReadUID" function block
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.
The instruction "Send_P2P" (send point-to-point
data)
Sends data to the RF1070R reader
is called in the "ReadUID" function block.
The instruction "Receive_P2P" (receive point-to-
point data)
receives data from the RF1070R reader
is called in the "ReadUID" function block.
Data type for addressing the configured
CM1241 RS232 communication module.
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.
8