EasyManua.ls Logo

Siemens SIMATIC S7-400H - Page 228

Siemens SIMATIC S7-400H
504 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
Loading...
Communication
14.1 Communication services
S7-400H
228 System Manual, 03/2012, A5E00267695-11
How to use open IE communication
STEP 7 provides the following FBs and UDTs under "Communication Blocks" in the
"Standard Library" to allow data to be exchanged with other communication partners:
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 parameterization
Data blocks for parametzerizing TCP and ISO-on-TCP connections
To be able to parameterize your connection at TCP and ISO-on-TCP, you must create a
DB that contains the data structure of UDT 65 "TCON_PAR". This data structure contains
all parameters you need to set up the connection. Such a data structure which you can
group within a global data range is required for every connection.
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).

Table of Contents

Other manuals for Siemens SIMATIC S7-400H

Related product manuals