103BCommunication
10.2 PROFINET
S7-1200 Programmable controller
System Manual, 11/2011, A5E02486680-05
399
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 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
connection and assigns a connection
ID to that connection (ID=1).
②
TRCV_C on CPU_2 creates a
connection and assigns the
connection ID to that connection on
CPU_2 (ID=1).
ཱ
76(1'
75&9
75&9
76(1'
ི
&38B
&38B
76(1'B&
75&9B&
③
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).
10.2.2.2
Protocols
The integrated PROFINET port of the CPU supports multiple communications standards
over an Ethernet network:
●
Transport Control Protocol (TCP)
●
ISO on TCP (RFC 1006)
●
User Datagram Protocol (UDP)