Siemens SIMATIC NET S7-1500 Operating Instructions Manual page 44

Hide thumbs Also See for SIMATIC NET S7-1500:
Table of Contents

Advertisement

Configuration, program blocks
4.7 Program blocks for OUC
• TMAIL_C V4.0
Sending e-mails
Note the description of TMAIL_C as of version V4.0 in the STEP 7 information system.
• T_CONFIG
Program-controlled configuration of the PROFINET interfaces of a CPU or the Ethernet
interface of a CP/CM
Connection establishment and termination
Connections are established using the program block TCON. Note that a separate program
block TCON must be called for each connection.
A separate connection must be established for each communications partner even if identical
blocks of data are being sent.
After a successful transfer of the data, a connection can be terminated. A connection is also
terminated by calling "TDISCON".
Note
Connection abort
If an existing connection is aborted by the communications partner or due to disturbances on
the network, the connection must also be terminated by calling TDISCON. Make sure that you
take this into account in your programming.
Connection descriptions in system data types (SDTs)
For the connection description, the blocks listed above use the parameter CONNECT (or
MAIL_ADDR_PARAM with TMAIL_C). The connection description is stored in a data block
whose structure is specified by the system data type (SDT).
Creating an SDT for the data blocks
You create the SDT required for every connection description as a data block. You generate
the SDT type in STEP 7 by entering the name (e.g. "TCON_IP_V4") in the "Data type" box
manually in the declaration table of block instead of selecting an entry from the "Data type"
drop-down list. The corresponding SDT is then created with its parameters.
44
Operating Instructions, 04/2023, C79000-G8976-C355-05
SIMATIC CM 1542-1

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic net cm 1542-1

Table of Contents