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.
S7-1200 Programmable controller
System Manual, V4.2, 09/2016, A5E02486680-AK
①
TSEND_C on CPU_1 creates a con-
nection and assigns a connection ID
to that connection (ID=1).
②
TRCV_C on CPU_2 creates a connec-
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).
Communication
11.2 PROFINET
831