2.6.3
Programming
Program blocks
For communications services, there are preprogrammed program blocks (instructions)
available as the interface in your STEP 7 user program.
Table 2- 1
Protocol
TCP
ISO-on-TCP
ISO
UDP
E-mail
FTP
*User-defined data type
Table 2- 2
Function
Configuration of the Ethernet
interface
Refer to the documentation of the program blocks in the online help of STEP 7.
CP 1543-1
Operating Instructions, 05/2017, C79000-G8976-C289-07
Instructions for communications services
Program block (instruction)
Establish connection and
send/receive data via:
TSEND_C/TRCV_C or
•
TCON, TSEND/TRCV
•
(termination of the connec-
tion using TDISCON possi-
ble)
TCON, TUSEND/TURCV
•
(termination of the connec-
tion using TDISCON possi-
ble)
TMAIL_C
•
FTP_CMD
•
Instructions for configuration tasks
Program block (instruction)
T_CONFIG
•
Product overview, functions
2.6 Requirements for use
System data type
TCON_IP_v4
•
TCON_Configured
•
TCON_IP_RFC
•
TCON_ISOnative
•
TCON_IP_v4
•
TMail_v4*
•
TMail_v6*
•
TMAIL_FQDN*
•
FTP_CONNECT_IPV4*
•
FTP_CONNECT_IPV6*
•
FTP_CONNECT_NAME*
•
FTP_FILENAME*
•
FTP_FILENAME_PART*
•
System data type
CONF_DATA
•
21