×
Siemens Industry Online Support
Siemens AG
Entry type: FAQ Entry ID: 89852595, Entry date: 01/29/2015
(10)
Rate

In WinCC (TIA Portal), how do you configure a connection between WinCC Runtime Advanced or HMI Panel and an S7 controller over Industrial Ethernet (PROFINET)?

  • Entry
  • Associated product(s)

Description
This entry provides instructions for the following topics:

How do you configure a connection between WinCC Runtime Advanced and an S7 controller over Industrial Ethernet (PROFINET)?

Requirements

  • WinCC (TIA Portal) Advanced
  • STEP 7 (TIA Portal) Basic/Professional (depending on the controller used)
  • PC with PROFINET/Ethernet interface
  • S7 controller with PROFINET/Ethernet interface

Instructions

  1. Create a new project in the TIA Portal.
  2. In the Project View you double-click "Add new device" and select the S7 controller. Click the "OK" button to add the controller. Through the Hardware Catalog you add more components to the Device View (like power supply, IO modules).


    Fig. 01
     
  3. Click the PROFINET interface of the S7 controller and assign a unique IP address and the associated subnet mask under "Properties > General > Ethernet Addresses".
  4. Double-click "Add new device" and select WinCC Runtime Advanced.


    Fig. 02
     
  5. In the Device View in the Hardware Catalog you select the "IE General" communication module and double-click to add this to the PC station.


    Fig. 03
  6. Click the "IE General" interface just added. Under "Properties > General > PROFINET interface [X1] > Ethernet addresses" you enter the IP address and subnet mask of the Runtime station.


    Fig. 04
     
  7. Switch to the Network View and enable "Connections" to create an HMI connection. Connect the interfaces of the S7 controller and the Runtime station by drag-and-drop.


    Fig. 05
     
  8. Click the HMI connection. Under "Properties > General > Access point" you enter the name you are using in the PG/PC interface of the Runtime station. In this example we use the preset name "S7ONLINE".


    Fig. 06
  9. Open the PG/PC interface on the Runtime station through "Start > Control panel > Set PG/PC interface".



    Fig. 07
     
  10. Under the access point of the "S7ONLINE (STEP 7)" application and under "Interface Parameter Assignment Used" you select "TCP/IP -> Ethernet adapter used".


    Fig. 08
     
  11. Complete the configuration and download the project to the S7 controller and the Runtime station.

How do you configure a connection between a SIMATIC HMI Panel and an S7 controller over Industrial Ethernet (PROFINET)?

Requirements

  • WinCC (TIA Portal) Basic/Comfort (depending on the panel used)
  • STEP 7 (TIA Portal) Basic/Professional (depending on the controller used)
  • SIMATIC HMI Panel with PROFINET/Ethernet interface
    Make sure that the operator panel you select can communicate with the desired controller. This information is in the technical data of the device.
  • S7 controller with PROFINET/Ethernet interface

Instructions

  1. Create a new project in the TIA Portal.
  2. In the Project View you double-click "Add new device" and select the S7 controller. Click the "OK" button to add the controller. Through the Hardware Catalog you add more components to the Device View (like power supply, IO modules).


    Fig. 09
     
  3. Click the PROFINET interface of the controller and assign a unique IP address and the associated subnet mask under "Properties > General > Ethernet Addresses".
  4. Double-click "Add new device" and select the HMI panel.


    Fig. 10
     
  5. Click the PROFINET interface of the HMI panel. Under "Properties > PROFINET interface > Ethernet addresses" you enter the IP address and subnet mask of the HMI panel.


    Fig. 11
     
  6. Switch to the Network View and enable the Connection Mode to add an HMI connection. Connect the PROFINET interfaces of the controller and the HMI panel by drag-and-drop.


    Fig. 12
     
  7. In the "Start center" of the HMI panel you select "Settings". Click "Network and Dial-up Connections".


    Fig. 13
     
  8. Click the interface and enter the IP address and subnet mask you assigned in step 5.
  9. Complete the configuration and download the project to the S7 controller and the HMI panel.

Further information
Detailed information about "How can you transfer a WinCC (TIA Portal) configuration to an operator panel using Ethernet?" is available in Entry ID 58522603.

Detailed information about "How do you load a project into the CPU in STEP 7 (TIA Portal)?" is available in Entry ID 42637263.

Instructions for transferring a project to an operator panel are available in the manual WinCC Advanced V13 > Visualize processes > Compile and download > Compile and download project > Download project.

Security information
In order to protect technical infrastructures, systems, machines and networks against cyber threats, it is necessary to implement – and continuously maintain – a holistic, state-of-the-art IT security concept. Siemens’ products and solutions constitute one element of such a concept. For more information about cyber security, please visit
https://www.siemens.com/cybersecurity#Ouraspiration.