System Platform and OPC DataHub. Basic OPC Connectivity

Similar documents
Connecting InTouch to TOP Server V5. Using the FastDDE/SuiteLink Interface

OPC-UA Tutorial. A Guide to Configuring the TOP Server for OPC-UA

TOP Server Client Connectivity Guide for National Instruments' LabVIEW

TOP SERVER V5 CLIENT CONNECTIVITY ROCKWELL FACTORYTALK VIEW STUDIO. Table of Contents

OPC UA Configuration Manager Help 2010 Kepware Technologies

Cimplicity to TOP Server Connection

OPC UA Configuration Manager PTC Inc. All Rights Reserved.

Solution Composer. User's Guide

Guidelines to Setting up Wonderware's FSGateway Version 1.0

Kepware Technologies KEPServerEX Client Connectivity Guide for National Instruments' LabVIEW

OPC Data Logger Case Study. Logging Data to Microsoft Excel

Vizit 6 Installation Guide

TOP Server Version 6 Security Settings

Comprehensive Training for Wonderware System Platform

TRAINING GUIDE FOR OPC SYSTEMS.NET. Simple steps to successful development and deployment. Step by Step Guide

Connecting OSI PI Client to Top Server

Introduction. Application Versions. Configuring DASABCIP. Tech Note 600 Using Online OPC Item Browsing in DASABCIP 4.0

31 What s New in IGSS V9. Speaker Notes INSIGHT AND OVERVIEW

ConneXSoft BACnet Device Integration Workflow for the Wonderware System Platform

2015 Beta 2 Tutorials

TRAINING GUIDE FOR OPC SYSTEMS.NET. Simple steps to successful development and deployment. Step by Step Guide

ConneXSoft DASCXSiLink DA Server V5. Deployment Guide ConneXSoft.

Wonderware Application Server User s Guide Invensys Systems, Inc.

VTScada Setup. The purpose of this document is to describe how to interface XLReporter to the VTScada.

Toolkit Activity Installation and Registration

Wonderware PAC. User Guide. HA Issue 7 June 2017

Tech Note #13 Integration of the WonderWare InTouch9.5 HMI and CTC OPCServer2.0

Call-in Agent Configuration 9

Workstation Setup Instructions Release 9.5

ArchestrA Web Exporter Guide

Industrial Application Server Glossary. Appendix C

10ZiG Technology. 10ZiG Manager Getting Started Guide. Page 1

Introduction to TOP Server 5 Troubleshooting and Best Practices

Object Viewer User s Guide

Please contact us with any questions or to request a FermWorks quote.

Securexam Mac User Guide

EtherNet/IP Configuration for a Moxa MGate 5105-MB-EIP and an Allen-Bradley CompactLogix L32E. Copyright 2013 Moxa Inc Released on July 15, 2013

II Export Components of Existing Managed Application

AHC SharePoint 2010 Intro to Content Administration

Tech Note 989 Historizing AppServer Objects to Partner Historians and Retrieving Data Using HistClient Trend

Wonderware PAC. User Guide HA030834/6. June 2015 (Issue 6)

Enter your Appserv username and password to sign in to the Website

SQL Server Reporting Services (SSRS) is one of SQL Server 2008 s

NEO OPC Client Driver. The NEO OPC Client can be launched by configuring an OPC Link from the New Link or Add Link dialog as the followings:

1. Use the Add Data button to add each of the datasets you wish to convert to the map document.

Before you begin, you need to make sure that IIS is installed on the runtime server.

Wonderware InTouch HMI Getting Started Guide

Distributed Processing

Delphi Workstation Setup Instructions. June 3, 1009

Application Note No. 9. How to create and use a bidirectional OPC-Communication with OPC Tunnel

PDF Share Forms with Forms Central extended features

Navigate to Cognos Cognos Analytics supports all browsers with the exception of Microsoft Edge.

HotDocs User 11.2 TUTORIAL GUIDE

ICL Application Note No

SyncLockStatus Evaluator s Guide Software Pursuits, Inc.

ifix Setup The purpose of this document is to describe how to setup ifix for XLReporter.

Tech Note 999 Wonderware Application Server Security Troubleshooting Essentials Part 2: Security Classification & Operational Permissions

PowerScheduler Course Tally Worksheet instructions.

Data Exchange 3. The easy way to turn your data into valuable information. VERSION 3.0

Aimetis Symphony. VE510 Metadata Analytic Setup

Navigate to Cognos Cognos Analytics supports all browsers with the exception of Microsoft Edge.

GlobalWare Go! Res HPM Configuration

The Comprehensive User Guide

Connecting the TOPServer to Wonderware InSQL

Kepware Technologies KEPServerEX Client Connectivity Guide for Lookout Direct

Procidia iware TrendWorX32. TrendWorX32 Configurator April 2010

JUN / 04 VERSION 7.1 FOUNDATION

Operator actions are initiated in visualization nodes, processed in dedicated server nodes, and propagated to other nodes requiring it.

CS-Studio Display Builder

Application Note 4: X-Series Recorder OPC Access

QUICK START GUIDE. Quick Start Guide. This will assist you to setup and distribute content to a StratosMedia Player device in 4 easy steps.

AutomaTech Application Note July 2015

E-Prime Extensions for fmri User Manual

BubbleSheet 2/19/2015. BubbleSheet. BubbleSheet

Search Application User Guide

OPC Gateway Data Sheet

USER GUIDE. Rockwell Automation Publication RSSQL-UM001I-EN-P-June 2014

GIMP ANIMATION EFFECTS

Preparing Chart Aggregations with Custom Report

Introduction. Application Versions. Important. Tech Note 987 Configuring AppServer to Store Data in Primary and Partner Historians

<Partner Name> RSA ARCHER GRC Platform Implementation Guide. Global-Regulation International Law Search V. 1. <Partner Product>

evm for Windows* Licensing Policies and Procedures

M30118 Rev. A IOM HART DD IOM. Instructions for copying HART DD files to 375/475 using Field Communicator Easy Upgrade Utility 3.5

Visual Studio.NET. Although it is possible to program.net using only the command OVERVIEW OF VISUAL STUDIO.NET

Table of Contents 2. Why do companies need Zetadocs PDF? Technical specifications Install Zetadocs Registering your evaluation version

Tutorial 1 - Setting up your first process

Learner Quick Guide. Understanding the Interface. Description. My Learning: Current Training & Transcript

Workspace ONE UEM Certificate Authentication for EAS with ADCS. VMware Workspace ONE UEM 1902

Create and Send Staff s

Installation of Cisco Business Edition 6000H/M

Laserfiche Briefcases

Technical Information Sheet

Tech Note 901 Configuring Smart Card Authentication for ArchestrA System Platform 2012

Student Manual. Cognos Analytics

Offline Circulation Tool

TUTORIAL TO CREATE AOI POLYGONS IN GOOGLE EARTH PRO

Getting started 7. Setting properties 23

Connecting to the NJITSecure wireless network.

Tunneling and Secure Data Transfer via OPC UA Clients and Servers

Contents. Anaplan Connector for MuleSoft

Transcription:

System Platform and OPC DataHub Basic OPC Connectivity

Page 2 of 29 Table of Contents INTRODUCTION 3 Intended Audience 3 OPC DATAHUB SETUP 4 CONFIGURING SYSTEM PLATFORM 7 System Objects Configuration 7 Device Integration Object Configuration 10 Remote OPC Connections and DCOM 12 Browsing the OPC DataHub Address Space 13 Adding Scan Group Items via OPC Browsing 15 Assigning the OPCClient Object 19 Application Object Configuration 20 Deploying the Configured Galaxy Objects 24 Viewing Data 25 SUMMARY 29 Contact Us 29

Page 3 of 29 Introduction The purpose of this guide is to demonstrate how to make a basic OPC connection to the OPC DataHub with Wonderware s System Platform 3 (Archestra). We will use System Platform to refer to version 3 and all prior versions (formerly known as IAS/Industrial Application Server). There are a number of different ways System Platform can connect to I/O tags. This basic example uses an Application Integration (AI) Object connecting to an OPC Device Integration (DI) Object which connects to the OPC DataHub. The OPC DataHub in this example will use the DataSim simulator included with the OPC DataHub install. The assumption of the document is that you have a fully configured OPC, DDE or ODBC data source connected to the OPC DataHub. Therefore we will only show how to connect System Platform to the OPC DataHub. If you do not already have the OPC DataHub installed, the free one-hour demonstration version can be downloaded at http://www.softwaretoolbox.com/opcdatahub. This version functions the same as a fully licensed version within the one-hour demo mode. Stop the OPC DataHub and restart it for another hour of runtime. This guide will also demonstrate how to connect System Platform tags to OPC DataHub points and thus to points in your data source. For more detailed information on OPC DataHub configuration, refer to the help file or the training resources on the website link above. The information provided here is not a substitute for your System Platform documentation. This procedure is being demonstrated in order to show a complete connection, not to provide comprehensive training on how to build System Platform projects. Intended Audience This guide is intended for Wonderware System Platform users who are new to OPC DataHub. This document makes the assumption that you have some familiarity with System Platform and have fully configured your data source so that the OPC DataHub is successfully connected to the data source. OPC DataHub is a product of Cogent RealTime Systems (http://www.cogent.ca) brought to you by Software Toolbox Inc. (http://www.softwaretoolbox.com). System Platform, Archestra and Industrial Application Server are products of Wonderware (http://www.wonderware.com).

Page 4 of 29 OPC DataHub Setup When connecting an OPC client through the OPC DataHub to your data source the OPC Settings are the only essential settings to the client, and therefore, are all that will be covered here. With the OPC DataHub, you can connect a variety of data sources: OPC Server, DDE Server, ODBC databases, or any other data source that can accept a TCP Socket connection. For this example, you will need to open both the OPC DataHub (Start Programs Cogent OPC DataHub OPC DataHub) and the DataSim (Start Programs Cogent Simulated Data DataSim). Figure 1: Launching OPC DataHub When the Data Simulator opens, you will see the interface below and you will notice a status of Connected if you have a successful connection. Figure 2: Data Simulator Interface

Page 5 of 29 When the OPC DataHub opens you will see the User Interface as shown in Error! Reference source not found. on page 5. As you can see in Error! Reference source not found., OPC DataHub opens to the general settings and has a number of different settings. The settings we are concerned with are the OPC settings. Figure 3: OPC DataHub Interface In this case because we are using the DataSim, which uses a TCP connection, we also must go to the Tunnel/Mirror settings and select one setting.

Page 6 of 29 Because the Data Simulator uses a TCP connection, we must make sure that Accept plain-text connections on service/port is checked and that the port matches that of the port in DataSim. Figure 4: Tunnel/Mirror Options We have assumed that the user has previously configured a connection to the data source (if you are not using the data simulator shown in this example). We now need the OPC DataHub to act as an OPC Server. This is so that System Platform can connect to OPC DataHub using the OPCClient DI object. This is done by checking the Act as an OPC Server check box below. Figure 5: OPC DataHub OPC Settings

Page 7 of 29 Configuring System Platform System Objects Configuration This example starts with the ArchestrA IDE open using a new Galaxy. Refer to your Wonderware documentation for instruction on how to create a new System Platform Galaxy. For the purposes of this tutorial, we will be using the Deployment View in our sample Galaxy, SWTB1, as seen in Figure 6 below. Figure 6: Deployment View The first step in configuring a new project begins with the System Object in the Template Toolbox. Expand the System Object and highlight the $WinPlatform template object, as shown in Figure 7 below. Figure 7: $WinPlatform

Page 8 of 29 Drag and drop the $WinPlatform template object under the Galaxy in the Deployment View as shown in Figure 8 below. This example will use the default names, but you can name these objects as needed for your project. Figure 8: Adding $WinPlatform The AppEngine is the next System Object we need to create for this project. Drag and drop the $AppEngine template object under the Unassigned Host folder to create your AppEngine_001 object as shown in Figure 9 below. Figure 9: Adding $AppEngine

Page 9 of 29 The final System Object required is the Area Object. Drag and drop the $Area template System Object to the Unassigned Host folder under the Deployment View to create the Area_001 object as shown in Figure 10 below. Figure 10: Adding $Area Object Refer to your Wonderware documentation for a better understanding of how these logical objects work and how to best name them for your system. The AppEngine_001 object can now be assigned under the WinPlatform_001 object and the Area_001 object can be assigned under the AppEngine_001 object, as shown in Figure 11 below. There is no configuration of these objects required for this example. Figure 11: Assigning System Objects Now that our System Objects are created and in place we can configure our DI or Device Integration object.

Page 10 of 29 Device Integration Object Configuration We start by selecting our template object from the Device Integration section of the Template Toolbox as shown in Figure 12 below. The $OPCClient object template is selected because this example demonstrates an OPC connection to the OPC DataHub. Figure 12: $OPCClient DI Object Drag and drop the $OPCClient template object to the Unassigned Host folder in the Deployment View as shown in Figure 13 below to create our OPCClient_001 DI Object. Figure 13: Adding OPCClient DI Object

Page 11 of 29 Double-clicking the OPCClient_001 object under the Unassigned Host will open the object properties to the right of the Template Toolbox as shown in Figure 14 below. Figure 14: OPCClient Object Properties Click on the Ellipses Button ( ) to the right of the Server node text field, as shown in Figure 15 below. Figure 15: Selecting a Server Node The Browse Node dialog box will open. You can select the Domain of the computer node where The OPC DataHub is installed. This will then display a list of available computer node names that are available in that

Page 12 of 29 domain. The name of the node for this example is KMR-IAS-TEST, so we will highlight that node name and select OK, as shown in Figure 16 below. Figure 16: Browsing Nodes Remote OPC Connections and DCOM For this example, the node KMR-IAS-TEST is the local machine where both System Platform and OPC DataHub are installed. Connecting to a node with OPC DataHub installed that is not the same node where System Platform is installed will involve a remote OPC connection. This means Windows DCOM Security Settings will play a factor in the success of your connection to OPC DataHub. The tunneling abilities of the OPC DataHub can be used to avoid the need for DCOM configuration across a network. If you want to use DCOM, please refer to our DCOM Tutorial Videos and Guides, available at: http://www.softwaretoolbox.com/dcom.

Page 13 of 29 Browsing the OPC DataHub Address Space Once the Server node is selected, you will be able to browse for the available OPC Servers (the OPC DataHub is acting as an OPC Server in this case) on the node selected by expanding the dropdown menu beside the Server name field as shown in Figure 17 below. Figure 17: Browsing for OPC Servers The options you have in your OPC Server list will depend on the number of OPC Servers installed on that machine. For connections to OPC DataHub, you will always select Cogent.OPCDataHub.1 from the list. Problems browsing for OPC Servers typically indicate DCOM issues; please refer to the section of this document entitled Remote OPC Connections and DCOM for details on how to address this problem. If you are using the OPC DataHub in demo, please make sure the demo period had not ended. You can stop the DataHub and restart it and try the connection again. Once OPC DataHub has been selected, we can now proceed to the Scan Group tab of the OPCClient_001 object as shown in Figure 18 below.

Page 14 of 29 Figure 18: Scan Group Configuration System Platform requires that at least one Scan Group be configured. If all of your items will need the same Update Interval, you would only need one Scan Group, unless you wanted to group your items in a certain way. The Scan Group Update Interval will only effect how often data is returned to the System Platform. The OPC DataHub does not pass update rates from OPC Clients to the OPC Server. The rate the Data Source is requested to provide data is set in the OPC DataHub. Please see the information in the help file for the specific data source you are requesting data from to determine how this is set. If different items need different Update Intervals, you would configure multiple Scan Groups using a different Update Interval for each. For the purposes of this example, we will only be configuring one Scan Group. To add a new Scan Group, click the blue + symbol above the Available scan groups section, as displayed in Figure 19 below.

Page 15 of 29 Figure 19: Adding a New Scan Group This will allow you to give your Scan Group a meaningful name and define the rate at which System Platform will request updates for the items in this Scan Group, as seen in Figure 20 below. Figure 20: New Scan Group "Group1" For the purposes of this example, the Scan Group has been named Group1 and uses the default Update Interval of 500 milliseconds (which is automatically used if you do not specify an Update Interval). With a Scan Group configured, there are now two options for adding items to the group. 1. We can browse the OPC Server tag database for items to add. 2. We can import a.csv file containing the tag information. The following sections will demonstrate both methods. Adding Scan Group Items via OPC Browsing First, we will add an item by browsing the OPC DataHub tag database. Highlight the scan group you have just created, and then click the blue + symbol above the Associated attributes section, as shown in Figure 21 below.

Page 16 of 29 Figure 21: Adding Group Attributes This will add a new Attribute to the scan group we have created. You are given the option of defining a name for this attribute or you can skip this step, in which case the full address including the Domain and Tag Name from OPC DataHub will be used once an item is selected. To browse the tag database of OPC DataHub, click the Ellipses Button ( ) to the far right of the Item Reference column for the Attribute you are adding and this will open the OPC Item Browser, shown in Figure 22 below. Figure 22: OPC Item Browser The branch we are interested in is the DataSim branch, which you will notice is the name of the domain that is configured in OPC DataHub as you can see in Figure 23 below.

Page 17 of 29 Figure 23: Browsing Branches Highlighting the DataSim, we are able to view and select the tags in the DataSim domain of the OPC DataHub, as you can see in Figure 24 below. Figure 24: Browsing OPC Tags To add an item to the scan group, we must first add the desired item or items to the Basket area of the OPC Item Browser. The easiest way to do this is by selecting the item and dragging and dropping the desired item into the Basket area, as shown in Figure 24 above. Once the desired item or items are added to the Basket area, clicking OK will add the basket items to the Associated Attributes for the scan group, as seen in Figure 25 below. Figure 25: Attribute List For the purpose of this example, we will change the attribute name to Ramp to match the tag name in OPC DataHub. This name can be any meaningful name you would like, though. To change the attribute

Page 18 of 29 name, simply highlight the Attribute and click the current attribute name, then enter the desired name, as shown in Figure 26 below. Figure 26: Changing Item Names Since we are only adding one item for this example, we are finished configuring the OPCClient object. Save the changes made to the OPCClient object and close the configuration screen by clicking the Save icon at the top, as shown in Figure 27 below. Figure 27: Save OPCClient Object You will then be prompted to Check In the changes that have just been made. You can enter an optional comment here as well. Check in the changes by clicking the OK button, as shown in Figure 28 below. Figure 28: Check-In Object Changes

Page 19 of 29 Assigning the OPCClient Object Now that the OPCClient Device Integration Object has been configured, it needs to be assigned. The OPCClient Object needs to be assigned underneath the AppEngine_001 System Object that was configured earlier. Assign the object by dragging OPCClient_001 from the Unassigned Host folder to AppEngine_001, as shown in Figure 29 below. Figure 29: Assigning DI Object

Page 20 of 29 Application Object Configuration The final object needed in order to connect to the OPC DataHub is the $Integer Application Template, shown in Figure 30 below. We are using this object because the tag in the OPC DataHub we will be connecting to in this example is an Integer. See your Wonderware documentation for more information on Application Objects. Figure 30: Integer Application Object Drag and drop the $Integer Application Object under the Unassigned Host folder, as shown in Figure 31 below, to create the Integer_001 Application Object. Figure 31: $Integer_001 Object

Page 21 of 29 Open the Integer_001 Application Object properties, as shown in Figure 32 below, by double-clicking the Integer_001 Object. Figure 32: Integer_001 Properties In the properties of our Integer object, we need to assign an item from our scan group in the OPCClient object. This assignment is made in the PV Input Source field, shown in Figure 33 below. Figure 33: PV Input Source

Page 22 of 29 Items added to the Scan Group under the OPCClient Object can be browsed and selected. To browse those items, click the Ellipses ( ) Button next to the PV Input Source field. This will open the Galaxy Browser as shown in Figure 34 below. Figure 34: System Platform Galaxy Browser To browse the item in the scan group in the OPCClient Object, we will simply highlight the OPCClient_001 object, as shown in Figure 35 below. Figure 35: Browsing Scan Group Items As you can see, the item in the scan group we configured earlier shows up in the list to the right of the Instances view. If multiple items had been added to the scan group, they would all show up here. To associate the item with our Integer_001 object, simply highlight the item and click OK.

Page 23 of 29 This will populate the PV Input Source field with the tag, as shown in Figure 36 below. Figure 36: PV Input Source Selected Now that the PV Input Source has been assigned, the Integer_001 object needs to be saved. Click the Save/Close button at the top right of the Integer_001 Properties, as shown in Figure 37 below. Figure 37: Saving Integer_001 Properties You will be prompted to Check In the changes and need to do so by clicking OK. The Integer_001 object now needs to be assigned to the Area_001 System Object in the Deployment View. This is accomplished by dragging and dropping the Integer_001 object from the Unassigned Host folder onto the Area_001 object, as shown in Figure 38 below. Figure 38: Assigned Integer_001 Object All objects have now been configured and assigned, so the next step is to deploy the galaxy.

Page 24 of 29 Deploying the Configured Galaxy Objects To collect live data from OPC DataHub, the configured objects must now be deployed. To do so, right-click on the WinPlatform_001 object in the Deployment View and select Deploy, as shown in Figure 39 below. Figure 39: Deploying Objects This will open the Deploy dialog box, as shown in Figure 40 below. Figure 40: Deploy Window You will want to use the default settings, which will deploy all of the objects we have configured. To do so, click the OK button at the bottom of the dialog box. The deploy status window will open and you will see the status bar as the various deployment steps are taken.

Page 25 of 29 Once the deployment is completed at 100%, click the Close button, as shown in Figure 41 below. Figure 41: Deployment Complete Viewing Data You can now view data updates for the item we have configured by opening the System Platform Object Viewer. Highlight the Integer_001 object in the Deployment View and go to the Object menu of the ArchestrA IDE interface. Select View in Object Viewer as shown in Figure 42 below. Figure 42: Opening Object Viewer

Page 26 of 29 This opens the Object Viewer where you can view the value and quality of the item we have configured, as shown in Figure 43 below. Figure 43: Viewing Data As you can see, the quality for the item Ramp is "Good" and the value is 0. This shows the present value. To subscribe to changing values for this item, right-click on the attribute and select Add to Watch, as shown in Figure 44 below. Figure 44: Add Attribute to Watch

Page 27 of 29 This adds the attribute to the watch window at the bottom of the interface where it will receive value updates for the item at the update rate configured for the scan group, if the value changes, as shown in Figure 45 below. Figure 45: Viewing Live Data Values If the item is not added to the watched list, the item will not receive updates unless the Value field is specifically clicked. You can also write values to Read/Write eligible items from System Platform. This is accomplished by selecting the PV attribute, right-clicking and selecting Modify, as shown in Figure 46 below. Figure 46: Open Modify Numeric Value Window

Page 28 of 29 This opens the Modify Numeric Value window, where a value can be entered and written to the item by clicking Apply and then OK, as shown in Figure 47 below. Figure 47: Writing a Value After the write to the item has succeeded, you will see the value in the Watch List change for the item, as shown in Figure 48 below. Figure 48: Successful Write

Page 29 of 29 Summary This guide has demonstrated the basic steps for configuring an OPC Client connection from System Platform to the OPC Data Hub. If you do not have the OPC DataHub but, would like to evaluate what it can offer as a robust, reliable, and diverse OPC tool, you can download a free one hour demonstration of OPC DataHub at http://www.softwaretoolbox.com/opcdatahub. This demonstration version is fully functional, only requiring that you restart it at the end of the one hour demonstration period. The OPC DataHub also fully supports DDE client connections in addition to OPC. If you have further questions or need assistance, our experienced staff is here to assist you. We can be contacted in the methods outlined below. Contact Us If you have any questions or are seeking further information and help: Online Support: Email Support: http://support.softwaretoolbox.com/ support@softwaretoolbox.com Phone Support: +1 (704) 849-2773 Fax: +1 (704) 849-6388 Mailing Address: Software Toolbox, Inc. 148A East Charles Street, Matthews, NC, 28105 USA