Entry type: Application example, Entry ID: 31535566, Entry date: 10/25/2013
(4)
Rate

Wizard for creating connection data for Modbus TCP communication. (Modbus TCP Wizard )

  • Entry
  • Associated product(s)

Task
All new SIMATIC S7-CPUs contain an integrated PROFINET interface which in addition to PROFINET also enables Modbus TCP communication. The configuration of the Modbus TCP communication via this integrated Ethernet interface is possible using additionally ordered blocks for Modbus TCP communication.

Solution
For easy configuration of this Modbus TCP communication (TCP native) we offer you here the Modbus TCP Wizard as a free download. For Modbus TCP 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 Modbus TCP communication the parameters for each connection have to be specified in a data block. Using the Modbus TCP 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 Modbus TCP Wizard. The tool then exports a DB with all parameters of the connection description into your STEP 7 project. Existing connections can be read, altered, copied and documented.

Start screen of the Modbus TCP Wizard

Downloads

Content of Downloads

Download

Documentation
Generating parameters for the Modbus TCP Communication using the Modbus TCP Wizard.
31535566_Modbus_TCP_Wizard_DOKU_v14_en.pdf ( 1988 KB )
Code
Tool "Modbus TCP Wizard".
31535566_Modbus_TCP_Wizard_CODE_V141.zip ( 893 KB )

Further Information

Title

Link

More information for open communication via Modbus TCP http://www.siemens.com/s7modbus

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
Update for Windows 7 64Bit

Additional Keywords
PN CPU, 319PN, 315PN, 317PN, 414PN, 416PN