Skip to content

Latest commit

 

History

History
316 lines (176 loc) · 11.4 KB

installation_and_tutorial.md

File metadata and controls

316 lines (176 loc) · 11.4 KB

Installation and Tutorial

Installation

Download the app "WinCC Unified Runtime for Industrial Edge" from the Industrial Edge HUB into your Industrial Edge Management. The application should now be available in the IEM catalog.

  1. Login on the IEM where you control your IED
  2. Go to the catalog
  3. Open the app "WinCC Unified Runtime" and install it on your IED
  4. Login to the IED where you installed the apps
  5. Click on the app icon of "WinCC Unified Runtime" to open this app

Download the Hardware Support Package from SIOS* and install the HSP following the next steps:

  1. Open TIA Portal in your Engineering station.
  2. Go to Options -> Support packages.

SupportPackages

  1. Select Add from file system and click install.

addInfo

  1. Restart TIA Portal after the installation.

*Note that the HSP is only available via intranet-view due to Limited Sales Release

Creating a project

Once you are in the TIA Portal you can click on Project -> New to start a new engineering project:

createproject1

Now you will a popup asking for the Project Name and folder where you want to store your created project where you can click Create and start working on it:

createproject2

Creating a device

Clicking on a created project will lead you to the following screen. On the left bar there will be available a tree with all the devices created. Click on the Add new device button to create a new one.

WinCC Unified Runtime for Industrial Edge can be found in TIA – Hardware catalog under SIMATIC HMI applications

device1

Creating a screen

Once we have created a device, its properties are shown when it is accessed:

createscreen1

In the left side menu, click on Screens and then click on Add new screen button to add a new one:

createscreen2

Now the created screen will appear under Screens and, since it is the first screen created, the screen will be set as the Start Screen:

createscreen3

Screen items

Once the screen is created and opened, items can be created by drag and drop from the toolbox:

screenitems1

Place the item in the screen area and when it is created you will see all the properties of the item:

screenitems3

Connections

To create a connection between the Industrial Edge device and a PLC, an Ethernet communication module is required to be added to the device:

connections1

Connect the ports from the PLC to the added communication module in the Network view and in the Connection view:

connections2

Tags

There are different ways to create tags in our WinCC Unified project for Industrial Edge.

Create tags out of connection

When we establish a connection to a PLC, we can drag and drop a tag from the PLC to the HMI Tags:

tags3

Create internal tags

Also internal tags can be manually created in a HMI Tag Table and connection type must be set to Internal Tag:

tags1

Connect tags to screen items

Once the tags are created, they can be connected to the screen items. Insert a screen item:

tagstoscreen1

In properties go to three dots of the dynamization rectangle and select Tag:

tagstoscreen2

Select 'Tag...' and then choose a tag that you want to connect:

tagstoscreen3

Repeat the process for any screen item that you want to connect. You can easily Drag & Drop a tag into your screen to create automatically an IO-field with connected HMI tag:

tagstoscreen4

OPC UA Server

To operate as an OPC UA server go to the 'Runtime settings' in the left side menu and click on the opc ua server checkbox. If you check below, you can see the port which will be used to access the OPC UA Server, this needs to be changed to the port 34002.

connections6

Load a project into runtime

To load the project in runtime on the Edge Device, you just need to configure its IP adress on the device configuration:

remote2

remote1

Offline Download

In case there is no online connection established to the IED, you have the chance to create an offline runtime project in TIA Portal by drag and drop to the card reader:

offdown1

Then, in WinCC Unified Runtime on IE you can upload the file that was downloaded by clicking on the 'Upload' button:

offdown2

Offline download via Industrial Edge Management

An offline download to the IE Device is also possible via the IEM. Open the IEM, go to My Installed Apps and select WinCC Unified Runtime

iemdownload

Once the app's tab is open, click on the Update configuration button. Then, add the file in the + button within offline_download. After the file is loaded, click on Update Now

iemdownload3

Alarms

The alarms are created at the desired trigger tag - in this case at an internal tag. We can create two different types: analog and discrete alarms. The alarm type depends on the selected tag data type. For this example we are creating both.

For the analog alarms, an 'Int' tag is created:

alarms1

On the bottom menu, tab 'Analog alarms', we create all the alarms we need with it's conditions:

alarms2

For the discrete alarms, the creation is made in the same way, but the data type must be 'Word'. On the bottom menu, tab 'Analog alarms', the alarms are created:

alarms4

In this example, we are creating another screen with alarm control screen item and some different buttons to trigger different alarms:

alarms5

When the runtime is active and the alarms are raised, they will appear in the alarm control:

alarms6

Logs

The logs can be created for each tag - in this case at an internal tag. We can choose two different logging modes: 'Cyclic' and 'On change'.

Create a logging with 'Cyclic' mode. On the bottom menu, tab 'Logging tags', the logging is created.

logs1

Create a logging with 'On change' mode:

logs3

Finally the logs are shown in the runtime:

logs6

Trends

To add a trend go to the Toolbox, select trend control and drag and drop into the screen:

trends1

In its properties to add different trends to appear in the item, go to Trends and select the tag/logging tag you want to control::

trends2

In the runtime the trend will be filled:

trends4

TIA Portal guidelines

In case you need more information related to the engineering of the project in TIA Portal, you can refer to the following documentation. In addition, there is an available guideline for efficient engineering in SIOS.

How to use WinCC Unified Runtime Manager

To start the runtime go to the Wincc Runtime app:

start1

You will see a login page, where you can login with the credentials downloaded within the project. At least one user with administration rights is required to access the Web Runtime Manager.
Note: Default user: uoeuser, Default password: User@uoe. Please, keep in mind that this credentials will be overwritten once a TIA Portal project is downloaded with UMC-users.

login

If you want to add a user to change the access rights or any other reason, you can do it in the TIA Project:

addUser

If the project downloaded is running you will see a green light that indicates that the runtime is ready:

start2

Start the runtime

Click on the WinCC Unified Runtime button:

start3

And the Start Screen that is indicated in the project will appear:

start4

Stop the runtime

To stop the runtime, select Stop Project in the WinCC Unified Web Runtime Manager:

start5

Wait until the runtime status is on not started, and in the WinCC Runtime app a red light will be now on the project:

start7

Secure download

To prevent unauthorized runtime access, activate the secure download option in the TIA Project as well as the WinCC Unified Runtime Manager.

TIA Portal:

secureDown2

WinCC Unified Runtime Manager:

secureDown1

AutoScale

Enabling AutoScale option adapts screen automatically on window size of client / web browser. Screens designed on a certain device with is displayed on another device with different window size maintaining consistency.

autoScale

Media files

Upload media files via the Web Runtime Manager to your Unified application and display them via Web Control or Media Control.

mediaFiles

Trace Settings

To enable Logging Service from the WinCC Unified Runtime app go to the configuration and enable the following settings. Also you can download each trace separately .csv file clicking in the Download Logs at the top right corner:

trace1

You can also activate the trace forwarder and receive the traces with Trace Viewer foe analyzing the app:

  • Trace Viewer is installed by WinCC Unified (Tia Portal)
  • Activate the 'Receiver' mode via the following command on remote host:

C:\ProgramFiles\Siemens\Automation\WinCCUnified\bin\RTILtraceTool.exe -mode receiver -tcp -host <IP of Edgebox> -port 35000

trace3

trace4