Communication
11.2 PROFINET
S7-1200 Programmable controller
System Manual, V4.2, 09/2016, A5E02486680-AK
829
The following example shows the communication between two CPUs that utilize two
separate connections for sending and receiving the data.
● The TSEND_C instruction in CPU_1 links to the TRCV_C in CPU_2 over the first
connection ("connection ID 1" on both CPU_1 and CPU_2).
● The TRCV_C instruction in CPU_1 links to the TSEND_C in CPU_2 over the second
connection ("connection ID 2" on both CPU_1 and CPU_2).
①
TSEND_C on CPU_1 creates a co
n-
nection and assigns a connection ID
to that connection (connection ID
②
TRCV_C on CPU_2 creates the co
n-
nection for CPU_2 and assigns the
connection ID (connection ID 1 for
CPU_2).
TRCV_C on CPU_1 creates a second
connection for CPU_1 and assigns a
different connection ID
for that con-
nection (connection ID 2 for CPU_1).
④
TSEND_C on CPU_2 creates a se
c-
ond connection and assigns a different
connection ID for that connection
(connection ID
2 for CPU_2).