EasyManua.ls Logo

Siemens SIMATIC S7-1200 - Page 1224

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.6 Legacy PtP communication (CM/CB 1241 only)
S7-1200 Programmable controller
1224 System Manual, V4.2, 09/2016, A5E02486680-AK
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- 101 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 RCV_PTP 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 RCV_CFG
instruction.
You can configure the end conditions in either the properties of the communication interface
in the device configuration, or from the RCV_CFG 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 RCV_CFG, then the
settings are changed to the RCV_CFG conditions.

Table of Contents

Other manuals for Siemens SIMATIC S7-1200

Related product manuals