2 Engineering of the STEP 7 program
Element
FB770
DB772
DB770
Note
Calling "Port_Config" overwrites the settings of the hardware configuration.
Reading QR Codes with SIMATIC MV320 via ET200SP CM PtP
Article ID: 109474684,
V2.0,
Symbolic name
"PtPFreeport"
"DataPtP"
InstPtPFreeport
R_TRIG
Port_Config
Receive_P2P
Receive_Reset
10/2021
Description
The "PtPFreeport" function block contains:
•
The configuration of the ET 200SP
communication module CM PtP
"Port_Config"
•
The "Receive_P2P" receive function, and
•
The interpretation of the scan code
Global data block for storing
•
connection parameters for the port
configuration
•
the most recently read codes
Instance data block of the "PtPFreeport"
function block
Sets tag at positive signal edge.
Dynamic configuration of the communication
parameters of the CM PtP communication
module
Receives messages from the CM PtP
communication module.
Clears the receive buffer of the CM PtP
communication module
8