EasyManuals Logo

Siemens SIMATIC NET S7-1500 User Manual

Siemens SIMATIC NET S7-1500
90 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #69 background imageLoading...
Page #69 background image
Configuration, programming
4.9 Program blocks for OUC
CP 1543-1
Operating Instructions, 12/2019, C79000-G8976-C289-08
69
Supported program blocks for OUC
The following instructions in the specified minimum version are available for programming
Open User Communication:
TSEND_C V3.1 / TRCV_C V3.1
Compact blocks for connection establishment/termination and for sending and receiving
data
or
TCON V4.0 / TDISCON V2.1
Connection establishment / connection termination
TUSEND V4.0 / TURCV V4.0
Sending and receiving data via UDP
TSEND V4.0 / TRCV V4.0
Sending and receiving data via TCP or ISOonTCP
TMAIL_C V4.0
Sending e-mails
Note the description of TMAIL_C as of version V4.0 in the STEP 7 information system.
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

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens SIMATIC NET S7-1500 and is the answer not in the manual?

Siemens SIMATIC NET S7-1500 Specifications

General IconGeneral
Product FamilySIMATIC NET
Product SeriesS7-1500
Supply voltage24 V DC
Protection classIP20
TypeIndustrial Ethernet
Transfer rate10/100/1000 Mbps
ProtocolsPROFINET, TCP/IP
Operating temperature0 °C to 60 °C
Storage Temperature-40 °C to 70 °C
InterfaceRJ45
Product type designationSIMATIC NET S7-1500
Relative Humidity5 to 95% (non-condensing)

Related product manuals