Supplementary information 
  16.6 Communication services 
CPU 410-5H Process Automation/CPU 410 SMART 
System Manual, 10/2013, A5E32631667-AA 
233 
How to use open IE communication  
You can exchange data with other communication partners via the user program. The 
following FBs and UDTs are available for this in the "Standard Library" of STEP 7 under 
"Communication Blocks". 
●  Connection-oriented protocols: TCP, ISO on TCP 
–  FB 63 "TSEND" for sending data 
–  FB 64 "TRCV" for receiving data 
–  FB 65 "TCON", for connection setup 
–  FB 66 "TDISCON", for disconnecting 
–  UDT 65 "TCON_PAR" with the data structure for the configuration of the connection 
●  Connectionless protocol: UDP 
–  FB 67 "TUSEND" for sending data 
–  FB 68 "TURCV" for receiving data 
–  FB 65 "TCON" for setting up the local communication access point 
–  FB 66 "TDISCON" for resolving the local communication access point 
–  UDT 65 "TCON_PAR" with the data structure for configuring the local communication 
access point 
–  UDT 66 "TCON_ADR" with the data structure of the addressing parameters of the 
remote partner 
Data blocks for parameter assignment  
●  Data blocks for parameter assignment of communication connections for TCP and ISO on 
TCP 
In order to assign parameters for the communication connections for TCP and ISO on 
TCP, you must create a DB that contains the data structure from UDT 65 "TCON_PAR". 
This data structure contains all parameters you need to set up the connection. For each 
connection you need this type of data structure, which you can also group within a global 
data range. 
Connection parameter CONNECT of FB 65 "TCON" reports the address of the 
corresponding connection description to the user program (for example, 
P#DB100.DBX0.0 byte 64). 
●  Data blocks for the configuration the local UDP communication access point 
To assign parameters to the local communication access point, create a DB containing 
the data structure from the UDT 65 "TCON_PAR". This data structure contains the 
necessary parameters you need to set up the connection between the user program and 
the communication layer of the operating system. You also need UDT 66 "TCON_ADDR" 
for UDP. You can also store this UDT in the DB . 
The CONNECT parameter of the FB 65 "TCON" contains a reference to the address of 
the corresponding connection description (for example, P#DB100.DBX0.0 Byte 64).