Entry type: FAQ, Entry ID: 22660304, Entry date: 08/03/2015
(0)
Rate

How do you establish OPEN MODBUS / TCP communication from a SIMATIC S7 and where can you find further information?

  • Entry
  • Associated product(s)
This entry shows you how to establish OPEN MODBUS / TCP communication from a SIMATIC S7 and where can you find further information.

STEP 7 V13 Update 3 (TIA Portal)
You can use the integrated PROFINET interface of the CPU to establish a connection between a SIMATIC S7-300/400 and a third-party device via Modbus/TCP.

The products below are offered.
 

Product Communication via Connection Supported function codes Article number
Modbus/TCP PN CPU Integrated PROFINET interface of the CPU CPU with integrated PROFINET interface to third-party devices 1, 2, 3, 4, 5, 6, 15 and 16 2XV9450-1MB02
Table 01

The contents of the SIMATIC Modbus/TCP PN CPU are included in STEP 7 V13 Update 3 (TIA Portal) and higher. The MODBUSPN instruction is to be found under "Instructions > Communication > Other".

Use of this instruction is charged and must be licensed separately on each CPU. For license ordering, please get in touch with your Siemens sales partner. The CD then supplied includes the SOFTWARE REGISTRATION FORM which you use to call the license code. You do not need to run the setup on the CD for TIA Portal. This is only necessary for STEP 7 V5.x.

STEP7 TIA Portal: SIMATIC Modbus/TCP PN CPU
Manual

modbustcppncpu_en.pdf (867,3 KB)

Table 02

STEP 7 V5.x
You have two communication options for establishing a connection between a SIMATIC S7 and a third-party device using Modbus/TCP:

  • Via an external CP343-1 or CP443-1
  • Via the integrated PROFINET interface of the CPU or H-CPU

Both communication options can be used for non-redundant and for redundant Modbus/TCP communication.

General information is available in the following catalog.
 

ST 80 / ST PC 2015 (German)
S7-OpenModbusTCP
Page 6/24

ST 80 / ST PC 2015

ST 80 / ST PC 2014 (English)
S7-OpenModbusTCP
Page 6/22

ST 80 / ST PC 2014

Table 03

The products below are offered.
 

Product Communication via Connection Supported function codes Article number
Modbus/TCP CP CP343-1 and CP443-1 S7 controller with external CP343-1 or CP443-1 to third-party devices 1, 2, 3, 4, 5, 6, 15 and 16 2XV9450-1MB00
Modbus/TCP RED V2 CP343-1 and CP443-1 S7-400 H station or S7-300/400 station with 2 CPs to third-party devices 1, 2, 3, 4, 5, 6, 15 and 16 2XV9450-1MB11
Modbus/TCP PN CPU Integrated PROFINET interface of the CPU and
H-CPU
CPU and
H-CPU with integrated PROFINET interface to third-party devices
1, 2, 3, 4, 5, 6, 15 and 16 2XV9450-1MB02
Modbus/TCP PN CPU Redundant 1, 2, 3, 4, 5, 6, 15 and 16 6AV6676-6MB10-0AX0
Modbus/TCP 20 SENTRON PAC Integrated PROFINET Interface of the CPU CPU with integrated PROFINET interface with up to 20 SENTRON PAC 4 (for reading out the base type 3 and the energy meters)

6 (for resetting the energy meters)

6AV6676-6MA30-0AX0
Modbus/TCP 100 SENTRON PAC CPU with integrated PROFINET interface with up to 100 SENTRON PAC 6AV6676-6MA30-1AX0
Modbus/TCP 512 SENTRON PAC CPU with integrated PROFINET interface with up to 512 SENTRON PAC 6AV6676-6MA30-2AX0
Table 04

The 3 products SIMATIC Modbus/TCP 20/100/512 SENTRON PAC make it possible to easily establish a Modbus/TCP communication with little need for parameters between a CPU with integrated PROFINET interface and up to 512 SENTRON PAC devices (PAC4200 firmware 1.5.1 onwards and PAC3200 V2.2.1 onwards). In this case, the data of the base type 3 and energy meters are read out cyclically. In addition, the energy meters can be reset.

License request
Fill in the SOFTWARE REGISTRATION form with the "IDENT_CODE" and "License No.".
Send the form to Customer Support as a Service Request. Here you enable the checkbox "Problem with SIMATIC authorization/license".
You will then be sent the REG_KEY activation code for your CPU.

Download
There is a demo version available for downloading for the following products.

Note

  • Entry ID 31535566 includes the Modbus TCP Wizard for creating the parameters for the Modbus/TCP communication for CPUs with integrated PROFINET interface.
  • Entry ID 77896767 includes the Modbus/TCP PN Red Wizard for creating the parameters for the redundant Modbus/TCP communication for H-CPUs with integrated PROFINET interface.
  • Entry ID 49973600 includes the Modbus/TCP PAC Wizard for creating the parameters for the Modbus/TCP communication for CPUs with integrated PROFINET interface.
  • Entry ID 38586568 includes a sample application for configuring a Modbus/TCP connection between SIMATIC S7 and Modicon M340 with the blocks from OPEN MODBUS / TCP CP and OPEN MODBUS / TCP PN-CPU.

Additional Keywords
Loadable drivers, Communication blocks, Modbus, Redundancy