|
Description All new SIMATIC S7-CPUs contain an integrated PROFINET interface which in addition to PROFINET also enables TCP/IP communication. The configuration of the TCP/IP communication via this integrated Ethernet interface is is made by using the blocks for open communication. For easy configuration of this open communication (TCP native, ISO on TCP, UDP) we offer you here the Open Communication Wizard (OC Wizard) as a free download.
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. For the open communication the parameters for each connection have to be specified in a data block. Using the OC Wizard tool enables simple and clear specification of the connection parameters. Only the parameters necessary for the respective connection type have to be specified via the OC Wizard. The tool then exports a UDT or a DB with all parameters of the connection description into your STEP 7 project. Existing connections can be read, altered, copied and documented. The OC Wizard is automatically integrated into the menu of the SIMATIC Manager. Hence, the OC Wizard can be called directly from the SIMATIC Manager.
Start screen of the OC Wizard
Example project 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. This example shows the configuration and programming of a communication relationship between a CPU319 and a CPU416 via the integrated Ethernet interface and the ISO-on-TCP protocol.
Hardware setup of the example project
Note From STEP 7 V5.5 SP1 onward the OC Wizard is also included on the STEP 7 DVD. Here you can download the most current version of the OC Wizard free of charge.
Downloads
Additional Information
| Title |
Link |
| "System software for S7-300/400 system- and standard functions" manual |
Entry ID: 1214574 |
| FAQs and further examples for open communication via Industrial Ethernet |
Entry ID: 29737976
Entry ID: 29737950
Entry ID: 29738463 |
Security Notice
Caution The functions and solutions described in this article confine themselves to the realization of the automation task predominantly. Please take into account furthermore that corresponding protective measures have to be taken up in the context of Industrial Security when connecting your equipment to other parts of the plant, the enterprise network or the Internet. Further information can be found under the Entry-ID 50203404.
Last Changes Add-on with CPU314, CPU 412
Additional Keywords PN CPU, 319PN, 314PN, 315PN, 317PN, 412PN, 414PN, 416PN
|