Siemens CPU 410-5H Process Automation System Manual page 233

Simatic pcs 7 process control system
Table of Contents

Advertisement

How to use open IE communication
You can exchange data with other communication partners via the user program. The
following FBs and UDTs are available for this in the "Standard Library" of STEP 7 under
"Communication Blocks".
● Connection-oriented protocols: TCP, ISO on TCP
● Connectionless protocol: UDP
Data blocks for parameter assignment
● Data blocks for parameter assignment of communication connections for TCP and ISO on
● Data blocks for the configuration the local UDP communication access point
CPU 410-5H Process Automation/CPU 410 SMART
System Manual, 10/2013, A5E32631667-AA
– 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
TCP
In order to assign parameters for the communication connections for TCP and ISO on
TCP, you must create a DB that contains the data structure from UDT 65 "TCON_PAR".
This data structure contains all parameters you need to set up the connection. For each
connection you need this type of data structure, which you can also group within a global
data range.
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"
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).
Supplementary information
16.6 Communication services
233

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cpu 410 smartSimatic pcs 7

Table of Contents