Setting up a PROFINET PLC (Tia Portal with S7-1500)

This chapter shows how to setup a PROFINET PLC by using the Siemens tool TIA. The step by step instructions are exemplary done for the PLC “SIMATIC 1511-1 PN”.

Requirements

 The following soft- and hardware are required for this setup.

  • PLC “SIMATIC 1511-1 PN”

  • TIA (“Totally Integrated Automation” – Version V13 SP1 Update 4)

  • device running the port GMBH’s PROFINET stack

  • RJ45 network cables

Preparation

  • Connect the device to PLC using a RJ45 network cable

  • Connect the PLC to PC (with TIA) using a RJ45 network cable

  • Change the IPv4 address of the computer interface to a private network address (e.g. 192.168.0.30)

Setting up PLC

  • Open the Siemens tool TIA and create a new project

  • Switch to the “Project view”

  • Load the GSDML file (Menu Options -> Manage GSD) and install it

    • The GSDML file can be found in protos\pnio\gsdml at the GOAL release directory.

  • Add the device to the project:

  1. Double click on “Devices & networks”

  2. Open “Network view”

  3. Drag & drop the device “Standard” from catalogue directory (Other field devices -> PROFINET IO -> Drives -> I/O -> port GmbH -> port GmbH -> port IO Examples)

  4. There should be 4 devices in the listing. Choose the DAP according to the device’s number of network ports.

 

Figure: add device to project

  • Add input and output modules:

  1. Change to “Device view”

  2. Drag & drop the modules “64 bytes I” and “64 bytes O” from hardware catalogue to the device

 

Figure: Add I/O modules

  • Add the PLC to the project:

  1. Double click on “Add new device”.

  2. Choose the device and the firmware version 1.7

 

Figure: Add the PLC to the project

  • Connect the devices:

  1. Change to “Network view”

  2. Connect the green marked Ethernet ports of the devices (drag & drop)

 

Figure: Connect the devices

  •  Check the IP address of the PLC:

  1. Change to “Device view”

  2. Choose the PLC device

  3. Click on the PLC in the “Device view”

  4. The IP address in the “General” window must be the same as set in the PLC

 

Figure: Check the IP address

 

  • Set the name of the device:

  1. Double click on your network interface card (in “Project tree” > Online access)

  2. Open “Online & diagnostics” of the device

  3. Go to the function setting “Assign Name”

  4. Change the device name

  5. Press “Assign name” button

 

Figure: Set device name

 

  • Load the settings to the hardware:

  1. Right-click on the PLC at the “Project tree” (left hand side)

  2. In the right-click context menu: Download to device > Hardware configuration

  •  Popup of a new window:

  1. Select your interfaces and connection

  2. Click “Start search” to find your device

  3. Select the PLC line

  4. Press “Load”

 

Figure: Configuration of the connection

 

  • Finish PLC configuration:

 

Figure: Finish configuration

 

Now the PLC should connect to the device and exchange cyclic data with it. As the data is mirrored in the 01_simple_io example the PLC can be also programmed to send cyclic over the output module which should be mirrored on the input module.

 

Watching and changing the cyclic data can also be easily achieved with port GmbH’s https://portgmbh.atlassian.net/wiki/spaces/ICE.