EasyManuals Logo

Siemens SIMATIC MV320 Manual

Siemens SIMATIC MV320
25 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #10 background imageLoading...
Page #10 background image
2 Engineering of the STEP 7 program
Reading QR Codes with SIMATIC MV320 via ET200SP CM PtP
Article ID: 109474684, V2.0, 10/2021
10
© Siemens AG
2021 All rights reserved
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 Table 2-2) of the point-to-point connection.
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 chapter 3).
Table 2-2
Parameter
Value
Note
protocol
0 >> Freeport
Protocol
baud
11 >> 115200 bps
Data transmission rate of the port
parity
1 >> no parity
Parity of the port
dataBits
1 >> 8 data bits
Bits per character
stopBits
1 >> 1 stop bit
Stop bits
flowCntr
1 >> no data flow
control
Data flow control
waitTime
0 >> no wait time
Wait time after receiving an XOFF character
for an XON character
mode
0 >> full duplex RS232
Operating mode
litePre
0 >> no preassignment
Presetting of the receiving line

Other manuals for Siemens SIMATIC MV320

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens SIMATIC MV320 and is the answer not in the manual?

Siemens SIMATIC MV320 Specifications

General IconGeneral
BrandSiemens
ModelSIMATIC MV320
CategoryIndustrial Equipment
LanguageEnglish

Related product manuals