EasyManua.ls Logo

Siemens SIMATIC S7-1200 - Page 831

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
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.
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 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).

Table of Contents

Other manuals for Siemens SIMATIC S7-1200

Related product manuals