Siemens SIMATIC S7-400H System Manual page 228

Fault-tolerant systems
Hide thumbs Also See for SIMATIC S7-400H:
Table of Contents

Advertisement

Communication
14.1 Communication services
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
● Connectionless protocol: UDP
Data blocks for parameterization
● Data blocks for parametzerizing TCP and ISO-on-TCP connections
● Data blocks for the configuration the local UDP communication access point
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).
228
– 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
– 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
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).
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"
System Manual, 03/2012, A5E00267695-11
S7-400H

Advertisement

Table of Contents
loading

Table of Contents