show the entry list
Wizard for creating connection data for open TCP/IP communication (Open Communication Wizard).
Part number:

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
Content of Downloads

Download

Documentation
Generating the Connection Data for the open TCP/IP Communication using the Open Communication Wizard.
25209116_OC_Wizard_DOKU_V233_en.pdf ( 1470 KB )
Code 
Tool "Open Communication Wizard" V2.3.3
25209116_OC_Wizard_CODE_V233.zip ( 854 KB )
Project 
STEP 7 V5.5 SP 1 example project
Note
Please change the communication blocks FB63 "TSEND", FB64 "TRCV", FB65 "TCON" and FB66 "TDISCON" used in this example project, with the current communication blocks from the library "Standard Library" for your own project. You will find the mentioned blocks in the SIMATIC Manager under  "File > Open > Open Project > Libraries > Standard Library > Communication Blocks".
25209116_STEP7Example.zip ( 277 KB )

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

Filter criteria:
Hardware platform: PC-based Automation, SIMATIC S7-300/S7-400, Industrial Ethernet
Software: STEP 7 up to V5.x, WinAC
Entry contents: Function blocks/tools
 Entry ID:25209116   Date:2012-07-27 
I regard this article....as helpfulas not helpful                                 
related links
Wizard for Creating the Parameter ...
SIMATIC HMI WinCC V7.0 SP1 MDM - ...
Wizard for creating connection da ...
Implementation of the FETCH/WRITE ...
SIMATIC Windows Automation Center ...
mySupport
My Documentation Manager 
Newsletter 
CAx-Download-Manager 
Support Request
Contact
Support Request
Contacts worldwide
Technical Forum
QuickLinks
Compatibility tool 
Performance Data 
Micro Automation Sets
Help
Online Help
Guided Tour