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).
Содержание SIMATIC S7-400H
Страница 24: ...Preface 1 1 Preface S7 400H 24 System Manual 03 2012 A5E00267695 11 ...
Страница 46: ...Getting Started 4 5 Special layout features of SIMATIC Manager S7 400H 46 System Manual 03 2012 A5E00267695 11 ...
Страница 120: ...Memory concept 10 1 Overview of the memory concept of S7 400H CPUs S7 400H 120 System Manual 03 2012 A5E00267695 11 ...
Страница 258: ...Communication 14 8 General issues regarding communication S7 400H 258 System Manual 03 2012 A5E00267695 11 ...
Страница 354: ...Synchronization modules 18 3 Selecting fiber optic cables S7 400H 354 System Manual 03 2012 A5E00267695 11 ...
Страница 434: ...Technical data 20 6 Runtimes of the FCs and FBs for redundant I Os S7 400H 434 System Manual 03 2012 A5E00267695 11 ...
Страница 460: ...Function modules and communication processors supported by the S7 400H S7 400H 460 System Manual 03 2012 A5E00267695 11 ...