2 Engineering of the STEP 7 program
2.3
The "DataPtP" Global Data Block
The following data is stored in "DataPtP":
•
"portConfigSettings"
Connection parameters for the port configuration:
–
port:
–
protocol:
–
baud:
–
parity:
–
dataBis:
–
stopBits:
–
flowCntr: Flow control
•
"rcvPtPData"
Data received:
–
"ringPlace"
Position in the ring buffer (in bytes) where the last received telegram was
written.
–
"rcvLength"
Length of the last received telegram
–
"rcvDataPtP"
The received telegram
•
Output parameters for calling the function block in OB1
Figure 2-4
Reading QR Codes with SIMATIC MV320 via ET200SP CM PtP
Article ID: 109474684,
V2.0,
hardware identifier from the device configuration
Protocol > 0 for Freeport protocol
Data transmission rate of the port
Parity of the port
Bits per character
Stop bits
10/2021
13