User Manual

Easy to communicate between devices
7.5 PROFINET
Easy Book
Manual, 03/2014, A5E02486774-AF
135
The following example shows the communication between two CPUs that utilize 2 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
connect
ion and assigns a connection
ID to that connection (connection ID
1
for CPU_1).
TRCV_C on CPU_2 creates the
connection 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 as
signs a
different connection ID for that
connection (connection ID 2 for
CPU_1).
TSEND_C on CPU_2 creates a
second connection and assigns a
different connection ID for that
connection (connection ID
2 for
CPU_2).