Communication
11.2 PROFINET
S7-1200 Programmable controller
System Manual, V4.2, 09/2016, A5E02486680-AK
831
As shown in the following example, you can also use individual TSEND and TRCV
instruction to communication over a connection created by a TSEND_C or TRCV_C
instruction. The TSEND and TRCV instructions do not themselves create a new connection,
so you must use the DB and connection ID that was created by a TSEND_C, TRCV_C or
TCON instruction.
①
creates a con-
nection and assigns a connection ID
to that connection (ID=1).
TRCV_C on CPU_2 creates a conne
c-
tion and assigns the connection ID to
that connection on CPU_2 (ID=1).
③
TSEND and TRCV on CPU_1 use the
connection ID created by the
TSEND_C
on CPU_1 (ID=1).
TSEND and TRCV on CPU_2 use the
connection ID created by the TRCV_C
on CPU_2 (ID=1).