Vous êtes sur la page 1sur 10

Kepware Technologies Client Connectivity Guide for Siemens Win55

March, 2011 Version 1.003
©Kepware Technologies

... 1  Adding a New Driver ...........................3  1....................... 4  Creating a Graphic Display...................1  1....2  1...........kepware...................5  2. 8  Using Kepware's OPC Client .................................................................................4  1....... 6  Displaying Tag Data ....................................................Table of Contents 1.............................................  Overview ......... 1  1..com i Client Connectivity Guide for Siemens WinCC ........................ 2  Creating a Tag ... 8  ________________________________________________________________________________________ www.................................................................................................................................................................................  Creating a New WinCC Project .............

0. In Project Name. 6. Once finished.1. specify a name for the subfolder. In KEPServerEX. click OK. the Create a New Project dialog will be invoked. specify a name for the project.1 Creating a New WinCC Project The following instructions use Siemens WinCC version 4. 5.kepware.com 1 Client Connectivity Guide for Siemens WinCC . Otherwise. 1. click File | New. Next. select Single-User System. Then. "KEPServerEX_Connect" is used.2. In this example. open WinCC to start a new project. 4. 1. click Create. In New Subfolder. "KEPServerEX_Connect" is used. 3. If there are no existing projects. In this example. 2. Overview This document intends to discuss how to create an OPC connection to the server from Siemens WinCC. Then. start the "simdemo.opf" project. ________________________________________________________________________________________ www.

________________________________________________________________________________________ www. 3. In Channel Unit Properties. 2. In the Control Center tree hierarchy. Next.chn" and then click Open. click New. expand Tag Management | OPC. right-click on OPC Groups (OPCHN Unit #1) and select Properties. expand KEPServerEX_Connect. right-click on Tag Management and select Add New Driver. Select "OPC.kepware. 4.1.com 2 Client Connectivity Guide for Siemens WinCC . Then. Then.2 Adding a New Driver 1.

In OPC Server Name. 8. In Connection Properties. Once finished filling in the General Information tab. ________________________________________________________________________________________ www.5. Once finished.V4".KEPServerEX.com 3 Client Connectivity Guide for Siemens WinCC . Next. beneath Name. In this example. select the data source from which to receive data. click OK. In Read Data From. 6. click to open OPC Group Setting. select Cache. click Test Server to ensure that the Control Center can invoke the server. "EX_Group1" is used. 7. enter a name for the OPC connection. enter "KEPware. The computer name should stay "TEST_NT". In this example. 6.kepware. 5.

kepware.com 4 Client Connectivity Guide for Siemens WinCC . 1.Note: Channel Unit Properties should now display the newly created OPC group connection "EX_Group1". Next. right-click on EX_Group1 and then select New Tag. In the KEPServerEX_Connect tree hierarchy. click OK. ________________________________________________________________________________________ www. 9.3 Creating a Tag 1.

In Name. 3.kepware. enter the address of the tag item. To define the tag item. In this example. 4. "Channel_1. For example.2. specify a name for the new item. This is a user-defined tag that has been predefined in KEPServerEX. click Select.com 5 Client Connectivity Guide for Siemens WinCC . "Tag_1" is used. In Item Name. ________________________________________________________________________________________ www.Device_1.R0001". Note: Users may also request a Dynamic Tag by replacing the tag name with an actual address.

4 Creating a Graphic Display 1. Rename the picture "Start. double-click on the picture's name to invoke the Graphics Designer. select the most appropriate data type for the tag item. Once finished. click OK. In Data Type. 1. click OK.5. Next. In the KEPServerEX_Connect tree hierarchy. expand Editor. Next. select Graphic Designer. ________________________________________________________________________________________ www. 2.kepware. Then.Pdl". 6. 3. 4.com 6 Client Connectivity Guide for Siemens WinCC . This is the name that WinCC will look for when it executes the Runtime. Then.pdl" and select Rename Picture. right-click on "NewPdl0.

8. Click OK again to return to the Graphics Designer.com 7 Client Connectivity Guide for Siemens WinCC . select a tag and then click OK. Note: In order for the display object to function correctly. 7. a link must be created from the object to the defined tag item. Then. In the Select Tag dialog. ________________________________________________________________________________________ www. 6. locate Object Palette and select I/O Field Object.kepware. In I/O Configuration dialog. right-click on the picture window to create the I/O field object that will display data during Runtime.5. Right-click on the I/O Field Object and then select Configuration Dialog. click the Tag icon. Next.

Note: The display object is now linked to the tag item. 1. 1. For more information. In the Graphics Designer or the Control Center. ________________________________________________________________________________________ www. refer to the OPC Quick Client help file.com 8 Client Connectivity Guide for Siemens WinCC .kepware. At least one Active Item should be visible. press the Play icon. Using Kepware's OPC Client Kepware provides an OPC client application with each installation of KEPServerEX for testing purposes.5 Displaying Tag Data Note: To test. 2. locate the Status Bar in KEPServerEX.