Kepserver - WinCC Connectivity Guide
Kepserver - WinCC Connectivity Guide
Kepserver - WinCC Connectivity Guide
Table of Contents
1. Overview ................................................................................................ 1 1.1 1.2 1.3 1.4 1.5 2. Creating a New WinCC Project .......................................................... 1 Adding a New Driver ....................................................................... 2 Creating a Tag ............................................................................... 4 Creating a Graphic Display............................................................... 6 Displaying Tag Data ........................................................................ 8
1. Overview
This document intends to discuss how to create an OPC connection to the server from Siemens WinCC.
1.1
4. In Project Name, specify a name for the project. In this example, "KEPServerEX_Connect" is used. 5. In New Subfolder, specify a name for the subfolder. In this example, "KEPServerEX_Connect" is used.
1.2
3. Next, expand Tag Management | OPC. Then, right-click on OPC Groups (OPCHN Unit #1) and select Properties.
5. In Connection Properties, beneath Name, enter a name for the OPC connection. In this example, "EX_Group1" is used. The computer name should stay "TEST_NT". 6. Once finished filling in the General Information tab, click to open OPC Group Setting.
6. Next, click Test Server to ensure that the Control Center can invoke the server. 7. In Read Data From, select the data source from which to receive data. In this example, select Cache. 8. Once finished, click OK.
________________________________________________________________________________________ www.kepware.com 3 Client Connectivity Guide for Siemens WinCC
Note: Channel Unit Properties should now display the newly created OPC group connection "EX_Group1". 9. Next, click OK.
1.3
Creating a Tag
1. In the KEPServerEX_Connect tree hierarchy, right-click on EX_Group1 and then select New Tag.
2. In Name, specify a name for the new item. In this example, "Tag_1" is used. This is a user-defined tag that has been predefined in KEPServerEX.
4. In Item Name, enter the address of the tag item. Note: Users may also request a Dynamic Tag by replacing the tag name with an actual address. For example, "Channel_1.Device_1.R0001".
5. In Data Type, select the most appropriate data type for the tag item. 6. Then, click OK.
1.4
1. In the KEPServerEX_Connect tree hierarchy, expand Editor. Then, select Graphic Designer.
2. Next, right-click on "NewPdl0.pdl" and select Rename Picture. Rename the picture "Start.Pdl". This is the name that WinCC will look for when it executes the Runtime. 3. Once finished, click OK.
5. Next, locate Object Palette and select I/O Field Object. Then, right-click on the picture window to create the I/O field object that will display data during Runtime. Note: In order for the display object to function correctly, a link must be created from the object to the defined tag item. 6. Right-click on the I/O Field Object and then select Configuration Dialog. 7. In I/O Configuration dialog, click the Tag icon. In the Select Tag dialog, select a tag and then click OK.
1.5
1. In the Graphics Designer or the Control Center, press the Play icon.