| All new SIMATIC S7-CPUs contain an integrated PROFINET
interface which apart from PROFINET also enables TCP/IP communication.
However, the configuration of the TCP/IP communication via this
integrated Ethernet interface is only possible using blocks for
open communication. This example shows the configuration and programming
of a communication relationship between a CPU319 and a CPU414
via the integrated Ethernet interface and the ISO-on-TCP protocol.
For open TCP/IP communication via the PROFINET interface of
the S7-CPUs, the communication blocks FB65 "TCON",
FB66 "TDISCON", FB63 "TSEND" and FB64 "TRCV"
are used. The connection description does not occur via a configuration
(in NetPro), therefore the parameters for each connection must
be specified in a data block. Using the "Open Communication
Wizard" tool contained in this document enables simple
and clear specification of the connection parameters. The tool
then exports a UDT with all parameters into your STEP 7 project.
Using this UDT then enables generating the data block with the
connection description. Using the finished data block we then
give a simple example of how the communication is realized in
the S7-300 and S7-400 CPU from a program technology point of
view using the above blocks.
For
more information and the actual software click here!
:
|