Siemens SIMATIC MV320 Manual page 10

Hide thumbs Also See for SIMATIC MV320:
Table of Contents

Advertisement

2 Engineering of the STEP 7 program
1. "START_UP_STATE"
In this state, the parameters required for the program sequence are initialized:
The control inputs of the "Port_Config" and "Receive_Reset" commands
The internal program variables, such as the current state of the program,
and
The current position in the ring buffer
2. "CONFIG_STATE"
In this state, the "Port_Config" command is called to set the communication
parameters (see
Note
Calling the "Port_Config" command overwrites the settings of the hardware
configuration.
3. "DELETE_BUFFER_STATE"
In this state, the receive buffer is reset.
4. "DATA_RECEPTION_STATE"
This state is structured as follows:
Waiting on data from the ET 200SP CM PtP ("Receive_P2P")
Retrieving data from the ET 200SP CM PtP ("Receive_P2P")
Store the data in the ring buffer
The following Table lists the parameters of "Port_Config" that are used by the user
program (OB100 "Startup").
The listed values adjust the interface of the CM PtP communication module to suit
the communication settings of the MV320 handheld reader (see
Table 2-2
Parameter
protocol
baud
parity
dataBits
stopBits
flowCntr
waitTime
mode
litePre
Reading QR Codes with SIMATIC MV320 via ET200SP CM PtP
Article ID: 109474684,
V2.0,
Table
2-2) of the point-to-point connection.
Value
0 >> Freeport
11 >> 115200 bps
1 >> no parity
1 >> 8 data bits
1 >> 1 stop bit
1 >> no data flow
control
0 >> no wait time
0 >> full duplex RS232
0 >> no preassignment
10/2021
chapter
Note
Protocol
Data transmission rate of the port
Parity of the port
Bits per character
Stop bits
Data flow control
Wait time after receiving an XOFF character
for an XON character
Operating mode
Presetting of the receiving line
3).
10

Advertisement

Table of Contents
loading

Table of Contents