103BCommunication
10.2 PROFINET
S7-1200 Programmable controller
398
System Manual, 11/2011, A5E02486680-05
The following example shows the communication between two CPUs that utilize 1
connection for both sending and receiving the data.
●
Each CPU uses a TCON instruction to configure the connection between the two CPUs.
●
The TSEND instruction in CPU_1 links to the TRCV instruction in CPU_2 by using the
connection ID ("connection ID 1") that was configured by the TCON instruction in CPU_1.
The TRCV instruction in CPU_2 links to the TSEND instruction in CPU_1 by using the
connection ID ("connection ID 1") that was configured by the TCON instruction in CPU_2.
●
The TSEND instruction in CPU_2 links to the TRCV instruction in CPU_1 by using the
connection ID ("connection ID 1") that was configured by the TCON instruction in CPU_2.
The TRCV instruction in CPU_1 links to the TSEND instruction in CPU_2 by using the
connection ID ("connection ID 1") that was configured by the TCON instruction in CPU_1.
①
TCON on CPU_1 creates a
connection and assigns a connection
ID for that connection on CPU_1
(ID=1).
②
TCON on CPU_2 creates a
connection and assigns a connection
ID for that connection on CPU_2
(ID=1).
ཱ
ི
&38B
&38B
7&21
76(1'
7&21
75&9
76(1'
75&9
③
TSEND and TRCV on CPU_1 use the
connection ID created by the TCON
on CPU_1 (ID=1).
TSEND and TRCV on CPU_2 use the
connection ID created by the TCON
on CPU_2 (ID=1).