Siemens SIMATIC S7-400 Manual page 113

Cpu
Hide thumbs Also See for SIMATIC S7-400:
Table of Contents

Advertisement

● Connectionless protocol: UDP
Data blocks for the Configuration of the Connection
● Data blocks for configuring TCP and ISO-on-TCP connections
● Data blocks for the configuration the local UDP communication access point
S7-400 Automation System, CPU Specifications
Manual, 10/2006, 6ES7498-8AA04-8BA0
– FB 67 "TUSEND" for sending data
– FB 68 "TURCV" for receiving data
– FB 65 "TCON" for establishing 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 address parameters of the remote
partner
To configure your connection at TCP and ISO-on-TCP, you need to create a DB that
contains the data structure of UDT 65 "TCON_PAR." This data structure contains all
parameters you need to establish the connection. You need to create such a data
structure for each connection, and you can also organize it in a global DB.
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 for the local communication access point, create a DB containing
the data structure from the UDT 65 "TCON_PAR" This data structure contains the
required parameters you need to establish the connection between the user program and
the communication level of the operating system
The CONNECT parameter of the FB 65 "TCON" contains a reference to the address of
the corresponding connection description (e.g. P#DB100.DBX0.0 Byte 64).
Note
Setting up the Connection Description (UDT 65)
You have to enter the interface which is to be used for communication in the parameter
"local_device_id" in the UDT 65 "TCON_PAR".
This is 16#5 for connection types TCP, UDP, ISO on TCP via the PN interface.
It is 16#0 for connection type ISO on TCP via a CP 443-1.
6.6 Open Communication Via Industrial Ethernet
PROFINET
6-11

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic s7-400 automation system

Table of Contents