How To Access Historical Data From The Deltav Oca History Server On A Pc Hda (Opc Hda) On A Microsoft Computer (Opca) Or Microsoft Microsoft Memory Card (Procedure) On An Ipc



Similar documents
DeltaV Event Chronicle

Plant Messenger Alert Reporting Service

Plantwide Event Historian

DeltaV Executive Portal

XLReporter for DeltaV Analyze

OPC Data Access Server Redundancy

DeltaV Remote Client. DeltaV Remote Client. Introduction. DeltaV Product Data Sheet. Remote engineering and operator consoles

DeltaV Web Server. DeltaV Web Server. Introduction. DeltaV Product Data Sheet. Gives you a secure view of your process from your desktop PC

DeltaV Event Chronicle

Smart Card Two Factor Authentication

Base Station. Base Station. Introduction. DeltaV Product Data Sheet. Adaptable work environment. Scalable to suit your needs. Dedicated functional use

Backup and Recovery FAQs

DeltaV v11 and v12.3 Supported Computers

ProfessionalPLUS Station Software Suite

DeltaV Virtual Studio

Batch Historian. Introduction. Benefits. Configuration-free, batch-based data collection. Reliable data retrieval through data buffering

OPC Mirror. OPC Mirror. Introduction. Product Data Sheet. Bi-directional data flow. Easy configuration. Fast data transfer. OPC Data Access compliant

The Personal Computer for DeltaV Wokstations

DeltaV Network Time Synchronization

Batch Analytics. Predicts end-of-batch quality. Detects process faults and provides reason for deviation so operations can take action in real time

DeltaV OPC.NET Server

ProfessionalPLUS Station Software Suite

Professional Station Software Suite

DeltaV Workstation Operating System Licensing Implications with Backup and Recovery

How To Use The Deltav System With A Large Data File System

Maintenance Station Software Suite

Application Station Software Suite

DeltaV Virtualization High Availability and Disaster Recovery

Windows Operating System Upgrade Kits

DeltaV Analyze. Introduction. DeltaV Distributed Control System. Product Data Sheet

DeltaV System Software Update Deployment

I. General Database Server Performance Information. Knowledge Base Article. Database Server Performance Best Practices Guide

Backup and Recovery. Backup and Recovery. Introduction. DeltaV Product Data Sheet. Best-in-class offering. Easy-to-use Backup and Recovery solution

Wireless Remote Video Monitoring

Backup and Recovery. Backup and Recovery. Introduction. DeltaV Product Data Sheet. Best-in-class offering. Easy-to-use Backup and Recovery solution

DeltaV System Cyber-Security

DeltaV Virtual Studio

DeltaV Operator Keyboard

DeltaV System Health Monitoring Networking and Security

Process Miner (PM) Introduction. Search cross-lot data by product code, order numbers, and data parameters

Wireless Remote Video Monitoring

Operations Management and the Integrated Manufacturing Facility

OpenEnterprise Terminal Services Reference Guide (V2.83)

DeltaV Logbooks. Benefits. Introduction. Minimize shift handover risk. Electronically document events, observations, and notes.

Endpoint Security for DeltaV Systems

Operator Station Software Suite

Automated Patch Management Service

Backup and Recovery. Introduction. Benefits. Best-in-class offering. Easy-to-use Backup and Recovery solution.

M-series MD Plus Controller

Emerson Smart Firewall

Downtime Reports. Administrator's Guide

KPI, OEE AND DOWNTIME ANALYTICS. An ICONICS Whitepaper

Wireless Field Data Backhaul

GE Fanuc Automation CIMPLICITY

Products that are referred to in this document may be trademarks and/or registered trademarks of the respective owners.

Best Practices for DeltaV Cyber- Security

Server. Version 3.7 Users Guide. Revised 5/28/03

Cluster Guide. Version: 9.0 Released: March Companion Guides:

FactoryTalk Gateway Getting Results Guide

Local Patch Management Update Service

BillQuick Agent 2010 Getting Started Guide

DeltaV SIS for Burner Management Systems

How To Secure Your System From Cyber Attacks

Product Overview. Dream Report. OCEAN DATA SYSTEMS The Art of Industrial Intelligence. User Friendly & Programming Free Reporting.

DeltaV Guardian Support

INSTALLATION AND CONFIGURATION GUIDE. Rockwell Automation Publication HSE-IN025A-EN-E September 2013

800xA Smart Client Frequently Asked Questions

System 800xA Information Management Enterprise Historian Migration

Version 4.61 or Later. Copyright 2013 Interactive Financial Solutions, Inc. All Rights Reserved. ProviderPro Network Administration Guide.

NovaBACKUP xsp Version 15.0 Upgrade Guide

Getting Started with Sitecore Azure

S-series DeviceNet Interface Card

How to Obtain an OPC License--5. Creating a System Code 5 Entering an Authorization Code 6. Getting Started with SNMP Editor--7

UNICORN 6.4. Administration and Technical Manual

Product Summary of XLReporter with OPC Servers

Wireless Mobile Workforce

UNICORN 7.0. Administration and Technical Manual

M-series FOUNDATION Fieldbus I/O

TrendWorX32 SQL Query Engine V9.2 Beta III

ProficyTM Historian A DMINISTRATOR S GUIDE. Version 3.1 Jan. 2006

WorldShip PRE-INSTALLATION INSTRUCTIONS: Step. Window (if available) Upgrade on a Single or Workgroup Workstation

SEC 4100 SYSTEM MONITOR Programmable Serial Interface Card Series 2

SYSPRO Reporting Services

Rosemount Analytical s X-STREAM XE Web-Browser Interface Takes Process Analysis to the Next Level

RSA Authentication Manager 7.1 Basic Exercises

Installation Instruction STATISTICA. Concurrent Network License with Borrowing Domain Based Registration

Unisys INFOIMAGE FOLDER ON WINDOWS NT. Connector for Microsoft Exchange. Getting Started Guide

Snow Inventory. Installing and Evaluating

Registered Trademarks and Proprietary Names

Configuring Event Log Monitoring With Sentry-go Quick & Plus! monitors

DeltaV Capabilities for Electronic Records Management

DeltaV SISnet Repeater

ClearSCADA. Software for Telemetry & Remote SCADA Solutions

FileMaker Server 7. Administrator s Guide. For Windows and Mac OS

Pcounter Web Report 3.x Installation Guide - v Pcounter Web Report Installation Guide Version 3.4

Hands-On Microsoft Windows Server 2008

WhatsUp Event Analyst v10.x Quick Setup Guide

NETWRIX EVENT LOG MANAGER

Dell Enterprise Reporter 2.5. Configuration Manager User Guide

Transcription:

January 2013 Page 1 This document provides information on how to obtain historical data from the DeltaV Continuous Historian using the DeltaV OPC History Server. www.deltav.com

January 2013 Page 2 Table of Contents Introduction... 3 DeltaV OPC History Server Functional Overview... 3 Properties and Methods... 5 Browser... 5 Performance... 6 Troubleshooting... 6 References... 6 DeltaV OPC History Server... 7 DeltaV OPC History Server COM Objects... 7 OPC HDA Custom Interfaces and Methods... 9 OPC HDA Client Connectivity... 12 Licensing Requirements... 12

January 2013 Page 3 Introduction The (OPC HDA) server (known as the DeltaV OPC History Server) provides an OPC Foundation HDA interface to the DeltaV Continuous Historian based on Microsoft's OLE/COM technology. The OPC HDA interface specification defines custom Microsoft COM interfaces to access continuous historical data. This white paper is intended to provide an overview of the DeltaV OPC History Server and the associated OPC HDA interfaces and methods. This white paper may also serve as a guide for developers of OPC HDA compliant clients to use in building clients for use with the DeltaV OPC History Server. It is assumed that the reader is familiar with Microsoft OLE/COM technology and is generally familiar with the OPC HDA specification. The DeltaV OPC History Server incorporates a subset of the functionality found in the OPC HDA specification; it includes all the required interfaces and methods and some of the optional methods. Through this technology, the DeltaV OPC History Server provides programmers with the ability to perform the following tasks: Connect to the DeltaV Continuous Historian database Read DeltaV historical data Browse for available ItemIDs DeltaV OPC History Server Functional Overview The DeltaV OPC History Server provides a read-only interface to the historical data located in the DeltaV Continuous Historian. OPC HDA clients may use the DeltaV OPC History Server to view all historical data collected in the DeltaV Continuous Historian. OPC HDA clients request historical data for a given period of time. Browsing capability is provided by the DeltaV OPC History Server along with the use of wildcard filtering, making it easy for OPC HDA clients to view any or all historical data collected in the DeltaV Continuous Historian. The DeltaV OPC History Server provides OPC HDA clients access to raw and interpolated data from the DeltaV Continuous Historian. Raw data is defined as data that is stored within the historian. The availability of raw data is based on the configuration settings of the parameter for history collection. Interpolated data is defined as data that is derived from the raw data in the historian, but for which there is no stored value. Interpolated data may be linearly derived from two stored data points on either side of the requested timestamp, or it may be extrapolated from the data in the archive by a more complex method. The DeltaV Continuous Historian captures the quality status of every parameter configured for history collection. The DeltaV parameter quality is available for use by the DeltaV Continuous Historian client applications. The DeltaV parameter quality is also available through the DeltaV OPC History Server. In the DeltaV OPC History Server, the DeltaV parameter status is mapped to the OPC Historical Data Access quality to provide the complete quality status from the DeltaV Continuous Historian. The DeltaV OPC History Server is available on the ProfessionalPLUS Station and the Application Station. The DeltaV OPC History Server is activated when the DeltaV Continuous Historian is enabled, configured, and downloaded.

January 2013 Page 4 Figure 1 DeltaV OPC Architecture Diagram

January 2013 Page 5 OPC HDA client applications can use the COM compliant Custom Interface or the OLE Automation Interface of the DeltaV OPC History Server. The custom interface supports clients written in C++. The OLE Automation Interface supports higher level business applications, such as Excel and Visual Basic. Figure 2 OPC HDA Interfaces Properties and Methods The DeltaV OPC History Server incorporates all the required interfaces and methods of the OPC HDA Specification. It also incorporates the optional "ReadProcessed" method under the IOPCHDA_SyncRead interface. Refer to the section OPC HDA Custom Interfaces and Methods for more information. The DeltaV OPC History Server provides a timestamp and quality value associated with each history data value. For raw data values, the timestamp is the time the value was recorded by the DeltaV Continuous Historian. For processed data values, the timestamp is the start of the interval, with two exceptions, minimum and maximum, which can be requested with actual timestamps or interval timestamps. The OPC HDA quality value makes use of the parameter and collection status information that is available from the DeltaV Continuous Historian. The DeltaV OPC History Server presents time to client applications in UTC. Client applications are responsible to make any necessary timestamp conversions (such as conversion to local time). Browser The DeltaV OPC History Server has a browser that exposes all parameters stored in the DeltaV Continuous Historian. The browser supports the use of wild cards for string filters to assist in finding the stored parameters. A single character may be filtered using the question mark character?. For example, requesting TIC- 100?/PID1/PV.CV will return TIC-1000/PID1/PV.CV, TIC-1001/PID1/PV.CV, etc. Multiple characters may be filtered by the asterisk character *. For example, requesting TIC-1001/PID1/*.CV will return TIC- 1001/PID1/OUT.CV, TIC-1001/PID1/PV.CV, and TIC-1001/PID1/SP.CV. In addition, the logical operators equal to = and not equal to!= may be used with the wild card filters to further refine the parameter search.

January 2013 Page 6 Performance The DeltaV OPC History Server performance is determined by the OPC HDA client request loading. OPC HDA clients should be designed and tested to ensure that history collection performance is not degraded. The frequency of requests and the amount of data requested can both affect performance of the DeltaV OPC History Server. Each client request also imposes a load on the DeltaV Continuous Historian server, and care should be taken to avoid loading it to the point that data collection would be affected. Troubleshooting Operating details involving the DeltaV OPC History Server (startup, shutdown, client interaction, etc.) are written to the Windows Event Log. References Users that would like more information on OPC HDA or are interested in developing their own OPC HDA client applications should be familiar with the following specifications, available from the OPC Foundation: OPC Foundation - OPC Historical Data Access Specification - Version 1.20, Released December 10, 2003 OPC Foundation - OPC Historical Data Access Automation Interface Standard - Version 1.0, Released January 26, 2001 OPC Foundation - OPC Common Definitions and Interfaces - Version 1.0, Released October 27, 1998 Note that users wanting to develop OPC HDA clients using Visual Basic or VBA will find the Automation Interface Standard most helpful.

January 2013 Page 7 DeltaV OPC History Server The DeltaV OPC History Server provides access to continuous historical data stored by the DeltaV Continuous Historian. DeltaV OPC History Server COM Objects The DeltaV OPC History Server provides the IOPCHDA Server Object, as illustrated below. The ProgID used to create an instance of the DeltaV OPC History Server is "DeltaV.OPCHDAsvr." An instance of the DeltaV OPC History Server (DOPCHDA1.exe) runs on each DeltaV node where the DeltaV Continuous Historian has been enabled. Each connection to the DeltaV OPC History Server has an instance of an IOPCHDA Server Object. The IOPCHDA Browser Object may only be created by invoking one of the methods in the IOPCHDA_Server interface. The optional IOPCHDA Client Object may be implemented by client applications needing to be notified when the DeltaV services are stopped. Clients implementing this interface must respond to the ShutdownRequest method in a timely manner. Figure 3 OPC HDA Historian Server Model

January 2013 Page 8 Figure 4 OPC HDA Historian Browser Object Figure 5 OPC HDA Historian Client Model

January 2013 Page 9 OPC HDA Custom Interfaces and Methods Individuals writing programs to access the DeltaV Continuous Historian data using the DeltaV OPC History Server should be familiar with the OPC Historical Data Access Specification, Version 1.2, released December 10, 2003. The DeltaV OPC History Server implements the following OPC HDA custom interfaces and methods. IOPCCommon The IOPCCommon interface is defined in the OPC Common Definitions and Interfaces specification, Version 1.0, Dated October 27, 1998. The following methods make up this interface: IOPCCommon::SetLocaleID The only supported locale is English with a sublanguage of US English. IOPCCommon::GetLocaleID The value returned from this method corresponds to English with a sublanguage of US English. IOPCCommon::QueryAvailableLocaleIDs The available locale is returned by this method. IOPCCommon::GetErrorString This method may be used to convert from an HRESULT returned by any of the methods or the HRESULT for an HDA Item into a user friendly description of the error. IOPCCommon::SetClientName This method may be used by a client to set the name of the client. The client name is used in some of the events recorded in the Windows Event Log. IConnectionPointContainer The IConnectionPointContainer is a Microsoft defined interface used to obtain call back interfaces. The DeltaV OPC History Server implements this interface in support of the client providing an IOPCShutdown interface. The methods making up this interface are: IConnectionPointContainer::EnumConnectionPoints Only the IOPCShutdown interface is included in the IEnumConnectionPoints enumerator. IConnectionPointContainer::FindConnectionPoint This method may be used to obtain the IConnectionPoint interface corresponding to the IID_IOPCShutdown. IOPCShutdown This is a client-side interface used by the DeltaV OPC History Server to notify clients when the supporting DeltaV services are shutting down. The single method provided by this interface is: IOPCShutdown::ShutdownRequest This method is invoked by the DeltaV OPC History Server to notify the client that the DeltaV services are shutting down.

January 2013 Page 10 IOPCHDA_Server This interface is the primary interface for the DeltaV OPC History Server. The IOPCHDA_Server interface provides a method for setting up access to historical data values. The methods that make up this interface are: IOPCHDA_Server::GetItemAttributes This method returns the list of attributes supported by the DeltaV OPC History Server. These are: Data Type Stepped ItemID Maximum Time Interval Minimum Time Interval Exception Deviation (result expressed in engineering units) Module Description* Engineering Units* Engineering Unit 100% (EU100)* Engineering Unit 0% (EU0)* Last Download* Currently On Scan* DeltaV Named Set* * Represents the current value of the attribute as retrieved from the run-time system. IOPCHDA_Server::GetAggregates This method returns the list of aggregates supported by the DeltaV OPC History Server. These are: Interpolative Time Average Count Minimum Actual Time Minimum Maximum Actual Time Maximum Start End Total Average Range Standard Deviation IOPCHDA_Server::GetHistorianStatus

January 2013 Page 11 This method may be used to obtain the status of the DeltaV OPC History Server. IOPCHDA_Server::GetItemHandles This method returns associations between server handles and client handles for specific OPC HDA items. IOPCHDA_Server::ReleaseItemHandles This method releases associations between server handles and client handles for specific OPC HDA items. IOPCHDA_Server::ValidateItemIDs This method validates that specific OPC HDA item IDs are known to the server. IOPCHDA_Server::CreateBrowse This method returns a pointer to an OPCHDA_Browser interface. The Item ID filtering is specified as part of the creation of a new browser. IOPCHDA_Browser This interface provides a method to access the list of OPC HDA Item IDs that pass the filter criteria set when this browser was created. It should be noted that the DeltaV Continuous Historian provides a flat list of historical parameters. Thus, the DeltaV OPC History Server provides a flat list of OPC HDA Item IDs. The methods that make up this interface are: IOPCHDA_Browser::GetEnum This method returns an enumeration containing all of the OPC HDA Item IDs provided by the DeltaV Continuous Historian that pass the filter criteria. IOPCHDA_Browser::ChangeBrowsePosition This method may be used to move up and down the list of OPC HDA Item IDs or to move directly to a particular OPC HDA Item ID. IOPCHDA_Browser::GetItemID This method provides a way to obtain the current OPC HDA Item ID. IOPCHDA_Browser::GetBranchPosition This method provides the current OPC HDA Item ID. IOPCHDA_SyncRead This interface provides access to the data held by the DeltaV Continuous Historian. IOPCHDA_SyncRead::ReadRaw This method reads the values, qualities, and timestamps from the DeltaV Continuous Historian database for the specified time domain for one or more OPC HDA Items. IOPCHDA_SyncRead::ReadProcessed This method requests an aggregate value or values to be computed by the DeltaV Continuous Historian for one or more OPC HDA Items, providing values, qualities, and timestamps. See IOPCHDA_Server::GetAggregates for a list of supported aggregates. IOPCHDA_SyncRead::ReadAtTime This is an optional method and is not supported by the DeltaV OPC History Server at this time.

January 2013 Page 12 IOPCHDA_SyncRead::ReadModified This is an optional method and is not supported by the DeltaV OPC History Server at this time. IOPCHDA_SyncRead::ReadAttribute This method reads the attribute values and timestamps for the specified time domain for an item. The DeltaV OPC History Server only supports current values for attributes. See IOPCHDA_Server::GetItemAttributes for a list of supported attributes. OPC HDA Client Connectivity OPC HDA clients may be installed on the Application Station and connect locally to the DeltaV OPC History Server or they may be installed on non-deltav workstations and connect remotely to the DeltaV OPC History Server. If an OPC HDA client is installed on a non-deltav workstation, the DeltaV OPC client utility OPC Remote must be installed on the non-deltav workstation. OPC Remote is required on the non-deltav workstation in order to establish client connection to the DeltaV OPC History Server. Installing the OPC Remote utility on the non- DeltaV workstation will create a DeltaV Admin account and install and register the appropriate OPC proxy/stub DLLs required by the DeltaV OPC History Server. To install the OPC Remote utility, use the setup file located in the OPC Remote directory on the DeltaV Installation DVD (Disk 1, DV_Extras\OPCRemote.exe). The version of OPC Remote must be the same as the installed version of the DeltaV system software. Licensing Requirements The DeltaV OPC History Server is available on the ProfessionalPLUS Station and the Application Station. One OPC Historical Data Access client connection is provided free of charge. If more than one concurrent OPC Historical Data Access client connection is required, the DeltaV OPC History Server may be purchased to provide up to 25 concurrent OPC HDA client connections on the ProfessionalPLUS Station and the Application Station. Contact your local Emerson Process Management sales office for more information.

January 2013 Page 13 This page intentionally left blank. To locate a sales office near you, visit our website at: www.emersonprocess.com/deltav Or call us at: Asia Pacific: 65.6777.8211 Europe, Middle East: 41.41.768.6111 North America, Latin America: +1 800.833.8314 or +1 512.832.3774 For large power, water, and wastewater applications contact Power and Water Solutions at: www.emersonprocess-powerwater.com Or call us at: Asia Pacific: 65.6777.8211 Europe, Middle East, Africa: 48.22.630.2443 North America, Latin America: +1 412.963.4000 Emerson Process Management 2013. All rights reserved. For Emerson Process Management trademarks and service marks, go to: http://www.emersonprocess.com/home/news/resources/marks.pdf. The contents of this publication are presented for informational purposes only, and while every effort has been made to ensure their accuracy, they are not to be construed as warrantees or guarantees, express or implied, regarding the products or services described herein or their use or applicability. All sales are governed by our terms and conditions, which are available on request. We reserve the right to modify or improve the design or specification of such products at any time without notice. www. DeltaV.com