103BCommunication
10.2 PROFINET
Connection Ethernet protocols
Every CPU has an integrated PROFINET port, which supports standard PROFINET
communications. The TUSEND and TURCV instructions support the UDP Ethernet protocol.
Refer to "Configuring the Local/Partner connection path" (Page 118)" in the "Device
configuration" chapter for more information.
Operations
Both partners are passive in UDP communication. Typical parameter start values for the
"TCON_Param" data type are shown in the following table. Port numbers (LOCAL_TSAP_ID)
are written in a 2-byte format. All ports except for 161, 34962, 34963, and 34964 are
allowed.
Table 10- 19 "TCON_Param" data type parameter values
TCON instruction
The TUSEND instruction sends data through UDP to the remote partner specified in the
"TADDR_Param" data type. The TURCV instruction receives data through UDP. After a
successful execution of the TURCV instruction, the "TADDR_Param" data type shows the
address of the remote partner (the sender).
Table 10- 20 "TADDR_Param" data type parameter values
TUSEND instruction
420
TCON "UDP Conn DB"
TUSEND "UDP ADDR DB"
System Manual, 11/2011, A5E02486680-05
S7-1200 Programmable controller