There are two ways in which you can specify the DB with the data structure:
● Recommendation: Have the data block created automatically in the properties in the
program editor during parameter assignment of the connection for the TSEND_C,
TRCV_C and TCON instructions.
● Create the data block manually, assign parameters to it and write it directly to the
instruction
Necessary for:
– Secure OUC
– Connection over DNS
– E-mail
– FTP
You can modify the connection parameters in the "connection description DB".
This FAQ (https://support.industry.siemens.com/cs/ww/en/view/58875807) describes how to
program the TCON instruction to set up a connection for Open User Communication
between two S7-1500 CPUs.
Protocols, system data types and employable instructions for programmed setup
The following table shows the protocols of the Open User Communication and the matching
system data types and instructions.
Table 6- 3
Protocol
TCP
ISO-on-TCP
ISO according to ISO/IEC 8073
(Class 4)
UDP
FDL
Communication
Function Manual, 11/2019, A5E03735815-AH
Instructions for programmed setup of the connection
1
6.3 Instructions for Open User Communication
System data type
TCON_QDN
•
TCON_IP_v4
•
TCON_IP_RFC
•
TCON_ISOnative
•
1
TCON_Configured
•
TCON_IP_v4
•
TADDR_Param
•
TADDR_SEND_QDN
•
TADDR_RCV_IP
•
TCON_FDL
•
Open User Communication
Instructions
Establish connection and
send/receive data via:
TSEND_C/TRCV_C or
•
TCON, TSEND/TRCV or
•
TCON, TUSEND/TURCV
•
(connection can be terminated via
TDISCON)
Establish connection and
send/receive data via:
TSEND_C/TRCV_C
•
TUSEND/TURCV/TRCV
•
(connection can be terminated via
TDISCON)
Establish connection and
send/receive data via:
TSEND_C/TRCV_C or
•
TCON, TSEND/TRCV or
•
TCON, TUSEND/TURCV
•
(connection can be terminated via
TDISCON)
69