EasyManua.ls Logo

Siemens SIMATIC S7-1200 - Page 1117

Siemens SIMATIC S7-1200
1614 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
Loading...
Communication processor and Modbus TCP
13.3 Point-to-point (PtP) communication
S7-1200 Programmable controller
System Manual, V4.2, 09/2016, A5E02486680-AK
1117
Parameter and type
Data type
Description
STRSEQ4CTL IN Byte Sequence 4 ignore/compare control for each character. Default val-
ue: B#16#0
STRSEQ4 IN Char[5] Sequence 4 start characters (5 characters), Default value: 0
Example
Consider the following received hexadecimal coded message: "
68
10 aa
68
bb 10 aa 16"
and the configured start sequences shown in the table below. Start sequences begin to be
evaluated when the first 68H character is successfully received. Upon successfully receiving
the fourth character (the second 68H), then start condition 1 is satisfied. Once the start
conditions are satisfied, the evaluation of the end conditions begins.
The start sequence processing can be terminated due to various parity, framing, or inter-
character timing errors. These errors result in no received message, because the start
condition was not satisfied.
Table 13- 16 Start conditions
Start condition
First Character
First Character +1
First Character +2
First Character +3
First Character +4
1
68H
xx
xx
68H
xx
2 10H aaH xx xx xx
3
dcH
aaH
xx
xx
xx
4
e5H
xx
xx
xx
xx
End conditions for the Receive_P2P instruction
The end of a message is determined by the specification of end conditions. The end of a
message is determined by the first occurrence of one or more configured end conditions.
The section "Message end conditions" in the topic "Configuring receive parameters
(Page 1097)" describes the end conditions that you can configure in the Receive_Config
instruction.
You can configure the end conditions in either the properties of the communication interface
in the device configuration, or from the Receive_Config instruction. Whenever the CPU
transitions from STOP to RUN, the receive parameters (both start and end conditions) return
to the device configuration settings. If the STEP 7 user program executes Receive_Config,
then the settings are changed to the Receive_Config conditions.

Table of Contents

Other manuals for Siemens SIMATIC S7-1200

Related product manuals