PI Asset Connector for Emerson DeltaV - OSIsoftcdn.osisoft.com/interfaces/3519/PI Smart Connector...
Transcript of PI Asset Connector for Emerson DeltaV - OSIsoftcdn.osisoft.com/interfaces/3519/PI Smart Connector...
iii
PI Asset Connector for Emerson DeltaV
DeltaV versions 10.3. - 12.3.1
Version 3.0.0.x
OSIsoft, LLC
777 Davis St., Suite 250
San Leandro, CA 94577 USA
Tel: (01) 510-297-5800
Fax: (01) 510-357-8136
Web: http://www.osisoft.com
OSIsoft Australia • Perth, Australia
OSIsoft Europe GmbH • Frankfurt, Germany
OSIsoft Asia Pte Ltd. • Singapore
OSIsoft Canada ULC • Montreal & Calgary, Canada
OSIsoft, LLC Representative Office • Shanghai, People’s Republic of China
OSIsoft Japan KK • Tokyo, Japan
OSIsoft Mexico S. De R.L. De C.V. • Mexico City, Mexico
OSIsoft do Brasil Sistemas Ltda. • Sao Paulo, Brazil
OSIsoft France Immeuble Regus • Moulineaux, France
PI Asset Connector for Emerson DeltaV
Copyright: © 2008-2014 OSIsoft, LLC. All rights reserved.
No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form or by any means, mechanical, photocopying, recording, or otherwise, without the prior written permission of OSIsoft, LLC.
OSIsoft, the OSIsoft logo and logotype, PI Analytics, PI ProcessBook, PI DataLink, ProcessPoint, PI Asset Framework (PI AF), IT Monitor, MCN Health Monitor, PI System, PI ActiveView, PI ACE, PI AlarmView, PI BatchView, PI Coresight, PI Data
Services, PI Event Frames, PI Manual Logger, PI ProfileView, PI WebParts, ProTRAQ, RLINK, RtAnalytics, RtBaseline, RtPortal, RtPM, RtReports and RtWebParts are all trademarks of OSIsoft, LLC. All other trademarks or trade names used herein are the property of their respective owners.
U.S. GOVERNMENT RIGHTS
Use, duplication or disclosure by the U.S. Government is subject to restrictions set forth in the OSIsoft, LLC license agreement and as provided in DFARS 227.7202, DFARS 252.227-7013, FAR 12.212, FAR 52.227, as applicable. OSIsoft, LLC.
Published: 10/2014
PI Asset Connector for Emerson DeltaV iii
Table of Contents
Terminology................................................................................................................... 1
Asset Connector Terms....................................................................................... 1 General Terms .................................................................................................... 2
Chapter 1. Introduction ................................................................................................ 1
Reference Manuals ............................................................................................. 2 Supported Features............................................................................................. 2 System Diagram .................................................................................................. 3
Chapter 2. Principles of Operation .............................................................................. 5
Chapter 3. Installation .................................................................................................. 7
Checklist .............................................................................................................. 7 Installation Directory ............................................................................................ 7
PIHOME Directory Tree ............................................................................ 7 DeltaV Asset Connector Installation Directory .......................................... 7
DeltaV Asset Connector Installation Procedure .................................................. 8 DeltaV Asset Connector Installation Choices for DeltaV Named Sets ............... 8
New and Upgrade Installations ................................................................. 8 DeltaV Asset Connector Configuration ............................................................... 9 DeltaV Asset Connector Upgrade from 1.0 ....................................................... 16 DeltaV Asset Connector Upgrade from 2.0 ....................................................... 17
Chapter 4. PI Point Configuration .............................................................................. 19
Configured Point Attributes ............................................................................... 19
Chapter 5. Error Tag .CSV File ................................................................................... 23
Chapter 6. Digital State Sets ...................................................................................... 25
Chapter 7. Start-Up Command File ............................................................................ 27
XML Configuration Keys ................................................................................... 27 Sample start-up file PI DeltaV Asset Connector .exe.config ............................. 30
Chapter 8. AF 2.0 Object Creation and Configuration .............................................. 31
Chapter 9. Buffering ................................................................................................... 35
Chapter 10. Site PI System Settings ........................................................................ 35
Appendix A. Error and Informational Messages ..................................................... 39
Message Logs ................................................................................................... 39
Table of Contents
iv
Messages .......................................................................................................... 39 System Errors and PI Errors ............................................................................. 41
Appendix B. Example Tag and Asset Files ............................................................. 43
Appendix C. Technical Support and Resources ..................................................... 45
Before You Call or Write for Help ........................................................... 45 Help Desk and Telephone Support......................................................... 45 Search Support ....................................................................................... 46 Email-based Technical Support .............................................................. 46 Online Technical Support ....................................................................... 46 Remote Access ....................................................................................... 47 On-site Service ....................................................................................... 47 Knowledge Center .................................................................................. 47 Upgrades ................................................................................................ 47 OSIsoft Virtual Campus (vCampus) ........................................................ 47
Appendix D. Revision History .................................................................................. 49
PI Asset Connector for Emerson DeltaV 1
Terminology
To understand this manual, you should be familiar with the terminology used in this
document.
Asset Connector Terms
ACH
Advanced Continuous Historian. Fully integrated PI historian into DeltaV as a replacement to
the PI legacy historian starting with DeltaV version 12.3.1.
Download
Download refers to the process on the Emerson DeltaV system which causes all configuration
changes to be saved and the EntHist.xml file, containing the DeltaV tag configuration
information, to be written to the DeltaV Application Station.
Enterprise Historian
The process of using a licensed PI Data Archive for DeltaV historical data.
EntHist.xml File
The EntHist.xml file is the Emerson DeltaV tag configuration file which contains all
information used to create the corresponding PI points. This file is created during a download
of the Emerson DeltaV system.
Equipment Hierarchy File
The Equipment Hierarchy file is the Emerson DeltaV file which contains all equipment
hierarchy information used to create the corresponding hierarchy in PI AF. This file is
manually exported by the user on the Emerson DeltaV system.
Process History View
Process History View (PHV) is the Emerson DeltaV client used to view data from the PI Data
Archive.
Synchronization
Synchronization refers to the process in which DeltaV Asset Connector reads the tag
configuration file, EntHist.xml, and creates PI points corresponding to each DeltaV parameter
in the tag configuration file. This can also refer to the process in which the DeltaV Asset
Connector reads the equipment hierarchy file and creates AF objects corresponding to the
exported DeltaV Equipment Hierarchy.
Terminology
2
General Terms
Buffering
Buffering refers to an Interface Node’s ability to store temporarily the data that interfaces
collect and to forward these data to the appropriate PI Data Archives.
N-Way Buffering
If you have PI Data Archives that are part of a PI Collective, PIBufss supports n-way
buffering. N-way buffering refers to the ability of a buffering application to send the same
data to each of the PI Data Archives in a PI Collective. (Bufserv also supports n-way
buffering to multiple PI Data Archives however it does not guarantee identical archive
records since point compressions attibutes could be different between PI Data Archives. With
this in mind, OSIsoft recommends that you run PIBufss instead.)
ICU
ICU refers to the PI Interface Configuration Utility. The ICU is the primary application that
you use to configure PI interface programs. You must install the ICU on the same computer
on which an interface runs. A single copy of the ICU manages all of the interfaces on a
particular computer.
You can configure an interface by editing a startup command file. However, OSIsoft
discourages this approach. Instead, OSIsoft strongly recommends that you use the ICU for
interface management tasks.
ICU Control
An ICU Control is a plug-in to the ICU. Whereas the ICU handles functionality common to
all interfaces, an ICU Control implements interface-specific behavior. Most PI interfaces
have an associated ICU Control.
Interface Node
An Interface Node is a computer on which
the PI API and/or PI SDK are installed, and
PI Data Archive programs are not installed.
PI API
The PI API is a library of functions that allow applications to communicate and exchange
data with the PI Data Archive. All PI interfaces use the PI API.
PI Collective
A PI Collective is two or more replicated PI Data Archives that collect data concurrently.
Collectives are part of the High Availability environment. When the primary PI Data Archive
in a collective becomes unavailable, a secondary collective member node seamlessly
continues to collect and provide data access to your PI clients.
PIHOME
PIHOME refers to the directory that is the common location for PI 32-bit client applications.
A typical PIHOME on a 32-bit operating system is C:\Program Files\PIPC.
PI Asset Connector for Emerson DeltaV 3
A typical PIHOME on a 64-bit operating system is C:\Program Files (x86)\PIPC.
PI 32-bit interfaces reside in a subdirectory of the Interfaces directory under PIHOME.
For example, files for the 32-bit Modbus Ethernet Interface are in
[PIHOME]\PIPC\Interfaces\ModbusE.
This document uses [PIHOME] as an abbreviation for the complete PIHOME or PIHOME64
directory path. For example, ICU files in [PIHOME]\ICU.
PIHOME64
PIHOME64 is found only on a 64-bit operating system and refers to the directory that is the
common location for PI 64-bit client applications.
A typical PIHOME64 is C:\Program Files\PIPC.
PI 64-bit interfaces reside in a subdirectory of the Interfaces directory under PIHOME64.
For example, files for a 64-bit Modbus Ethernet Interface would be found in
C:\Program Files\PIPC\Interfaces\ModbusE.
This document uses [PIHOME] as an abbreviation for the complete PIHOME or PIHOME64
directory path. For example, ICU files in [PIHOME]\ICU.
PI Message Log
The PI message Log is the file to which OSIsoft interfaces based on UniInt 4.5.0.x and later
writes informational, debug and error message. When a PI interface runs, it writes to the
local PI message log. This message file can only be viewed using the PIGetMsg utility. See
the UniInt Interface Message Logging.docx file for more information on how to access these
messages.
PI SDK
The PI SDK is a library of functions that allow applications to communicate and exchange
data with the PI Data Archive. Some PI interfaces, in addition to using the PI API, require the
use of the PI SDK.
PI Data Archive Node
A PI Data Archive Node is a computer on which PI Data Archive programs are installed. The
PI Data Archive runs on the PI Data Archive Node.
PI SMT
PI SMT refers to PI System Management Tools. PI SMT is the program that you use for
configuring PI Data Archives. A single copy of PI SMT manages multiple PI Data Archives.
PI SMT runs on either a PI Data Archive Node or a PI Interface Node.
Pipc.log
The pipc.log file is the file to which OSIsoft applications write informational and error
messages. When a PI interface runs, it writes to the pipc.log file. The ICU allows easy
access to the pipc.log.
Terminology
4
Point
The PI point is the basic building block for controlling data flow to and from the PI Data
Archive. For a given timestamp, a PI point holds a single value.
A PI point does not necessarily correspond to a “point” on the foreign device. For example, a
single “point” on the foreign device can consist of a set point, a process value, an alarm limit,
and a discrete value. These four pieces of information require four separate PI points.
Service
A Service is a Windows program that runs without user interaction. A Service continues to
run after you have logged off from Windows. It has the ability to start up when the computer
itself starts up.
The ICU allows you to configure a PI interface to run as a Service.
Tag (Input Tag and Output Tag)
The tag attribute of a PI point is the name of the PI point. There is a one-to-one
correspondence between the name of a point and the point itself. Because of this relationship,
PI System documentation uses the terms “tag” and “point” interchangeably.
Interfaces read values from a device and write these values to an Input Tag. Interfaces use an
Output Tag to write a value to the device.
PI Asset Connector for Emerson DeltaV 1
Chapter 1. Introduction
Starting with the DeltaV v10.3 release, there is a new option for continuous history data
collection which allows the use of an Enterprise PI historian to be “embedded” into the
DeltaV system. The embedded Enterprise PI historian is integrated into the DeltaV
engineering and operations environments in much the same way as the DeltaV Continuous
Historian. Integration of the embedded Enterprise PI historian is accomplished through the
use of a the DeltaV interface known as the PI Smart Connector for Emerson DeltaV which
includes the PI Asset Connector for Emerson DeltaV.
The DeltaV Asset Connector is a tool for synchronizing the DeltaV parameters and
equipment hierarchy to the PI System. PI points created by the DeltaV Asset Connector are
used by the PI OPC DA interface to retrieve real-time data values from the DeltaV OPC DA
Server for the DeltaV parameters configured for history collection and archive these values to
the Enterprise PI Data Archive.
There are two main tasks of the DeltaV Asset Connector:
Automatic Creation of PI Points, which correspond to DeltaV parameters configured for
history collection.
Automatic Creation of AF Objects, based on the DeltaV equipment hierarchy. Currently,
synchronization of the DeltaV equipment hierarchy requires the user to manually generate the
EquipHier.xml file on the Emerson DeltaV system.
The PI OPC Interface (OPCInt) uses the OPC Data Access interface to communicate with the
DeltaV OPC DA Server. The OPC Data Access standard’s use of the term Item refers to a
point where data values exist in an OPC Server. That is, an OPC Item is conceptually the
same as a “point” in a traditional control system. Each OPC Item is identified by a unique
ItemID, which corresponds to the “tag” or name for a point in DeltaV.
The DeltaV Asset Connector starts automatically as a Windows service after the installation
and reads from the DeltaV enterprise historian configuration file. A new enterprise historian
configuration file is created each time the Continuous Historian subsystem is downloaded on
the DeltaV workstation where the embedded Enterprise PI historian is installed. The
enterprise historian configuration file contains historian configuration information that allows
for the creation of PI points and their associated attributes. The DeltaV Asset Connector
synchronization is activated on the change of the enterprise historian configuration file. After
the initial synchronization, any changes to the DeltaV history collection configuration will be
reflected in the configuration of the corresponding PI tags.
The DeltaV Asset Connector will also synchronize the DeltaV equipment hierarchy into the
AF database if the EquipHier.xml file exists.
Site syncing of the PI Data Archive and site AF database are available starting with version
3.0 of the DeltaV Asset Connector.
Introduction
2
Starting with DeltaV version 12.3.1, the PI historian can be fully integrated into DeltaV as the
DeltaV Advanced Continuous Historian (ACH). This replaces the legacy PI historian that has
been allowed to continue since DeltaV version 7.4.1.
Reference Manuals
OSIsoft
PI Data Archive manuals
PI AF manuals
PI OPC DA Interface Manual
PI OPC DA Interface Failover Manual
Emerson Process Management
DeltaV Users Guide v10.3 – 12.3.1
Migrating DeltaV Legacy PI Historian Data to the DeltaV Advanced Continuous
Historian - Knowledge Base Article, NK-1400-0205
Supported Features
Feature Support
Part Number PI-AC-EM-DV-NTI
* Platforms 32-bit Asset Connector 64-bit Asset Connector
Windows 2003 Server
32-bit OS Yes No
64-bit OS No (Emulation Mode) No
Windows Vista
32-bit OS Yes No
64-bit OS No (Emulation Mode) No
Windows 2008
32-bit OS Yes No
Windows 2008 R2
64-bit OS Yes (Emulation Mode) No
Windows 7
32-bit OS Yes No
64-bit OS Yes (Emulation Mode) No
64-bit OS Yes (Emulation Mode) No
* See paragraphs below for further explanation.
PI Asset Connector for Emerson DeltaV 3
Platforms
The DeltaV Asset Connector is designed to run on the above listed Microsoft Windows
operating systems and requires Microsoft .NET 4.5 or later. Because it is dependent on
vendor software, newer platforms may not yet be supported.
Please contact OSIsoft Technical Support for more information.
System Diagram
PI Asset Connector for Emerson DeltaV 5
Chapter 2. Principles of Operation
The DeltaV Asset Connector is installed as an automatically starting Windows service on the
DeltaV Application Station where the Enterprise is installed. To use the embedded PI
historian, the user must select the Use Enterprise Historian option in the Continuous
Historian Properties dialog from DeltaV Explorer on the station being configured (see PI
DeltaV Smart Connector to the PI System manual). For DeltaV version 12.3.1 or later an
additional Use Advanced Continuous Historian is available due to the Legacy PI upgrade
being obsoleted. DeltaV Asset Connector installation is the same for the Enterprise Historian
or Advanced Continuous Historian. The DeltaV Asset Connector installation program
prompts the user to specify the location of the PI Data Archive and the OPC Server. The
standard installation has the Enterprise PI Data Archive, the PI OPC interfaces and the
DeltaV OPC DA server on the same DeltaV Application Station but can optionally have all
the components but the DeltaV Asset Connector on separate nodes. Optionally, the user can
specify the location of the AF Server node and the name of the AF database if the DeltaV
equipment hierarchy will be synchronized with AF. After the DeltaV Asset Connector is fully
installed, it locates and reads the enterprise historian configuration file, EntHist.xml, from the
set location in the DeltaV directory (DeltaV\DVData\EntHist). On the initial synchronization
the DeltaV Asset Connector creates PI tags and their appropriate attributes based on the
DeltaV parameters listed in the enterprise historian configuration file.
After the tag updates are made, and if the DeltaV equipment hierarchy file exists, then AF
objects are created based on the equipment hierarchy in DeltaV. By default, this file is named
‘EquipHier.xml’ and exists in the \DeltaV\DVData\Import-Export directory. However, the
user may select a different name and/or location when exporting this file in DeltaV Explorer.
If the name or location is changed then the AssetFile parameter must be changed during the
DeltaV Asset Connector installation or manually updated in the PI DeltaV Asset Connector
.exe.config file.
On subsequent updates of the configuration file, the file is checked for additions, edits and
deletions of the DeltaV history collection configuration, and the DeltaV Asset Connector
makes the corresponding changes to PI points in the Enterprise PI Data Archive. Deleting or
disabling DeltaV parameters causes the scan attribute of the appropriate PI tag to be set to 0
(OFF). Likewise, when the equipment hierarchy file is updated, the DeltaV Asset Connector
updates the corresponding AF objects.
If changes are made directly to the PI point attributes synchronized by the DeltaV Asset
Connector or if PI tags are deleted by the user, then on subsequent synchronizations by the
DeltaV Asset Connector , those tags will be updated with the current values in the tag
configuration file or re-created. To avoid this situation remove the tags from History
Collection in the DeltaV Explorer and download the changes using DeltaV Explorer. The
corresponding PI tags will still exist, but will have the ‘scan’ attribute set to 0.
The DeltaV Asset Connector loads all points with the user configured or the default ‘DeltaV’
pointsource. If the user has created PI points with the designated pointsource but does not
want these points to be included in synchronizations, the “[UC]” flag should be specified in
Principles of Operation
6
the Descriptor field of the PI Point. For example, if the descriptor is set to “[UC]Test point”,
the DeltaV Asset Connector will not synchronize any attributes of this point with user
designated pointsource.
The DeltaV Asset Connector creates two status tags to report the success or failure of PI
Point synchronization and asset synchronization functionality. These are digital state tags
which use the “DeltaV Asset Connector” digital state set which contains the two states
“SUCCESS” or “FAIL”. The DeltaV Asset Connector sets the value of each health tag
appropriately after synchronization.
DeltaV Asset Connector _PointSync_HealthTag
DeltaV Asset Connector _AssetSync_HealthTag
Site PI System Synchronization
Starting with version 3.0 the DeltaV Asset Connector supports the synchronization of a site
PI System. The DeltaV Asset Connector will create PI tags for the site PI Data Archive and
the equipment hierarchy in AF similarly to the local DeltaV Application sync. The PI tag
creation is for use with the PItoPI interface and synced based on the local DeltaV App Station
tags created by the DeltaV Asset Connector. The DeltaV Asset Connector does not install or
manage the PItoPI interface but must be configured to use the DeltaV Asset Connector
created tags. The site PI tags require a unique prefix designation to avoid conflicts with other
tags in the PI Data Archive.
The AF structure is based on the local DeltaV Application Station equipment hierarchy file
much like the local AF.
PI Asset Connector for Emerson DeltaV 7
Chapter 3. Installation
Checklist
Verify proper licensing for Emerson DeltaV and the Enterprise PI Data Archive.
Install the Enterprise PI Data Archive (V 3.4.375.80 or greater) on DeltaV Application
station.
Run the PI DeltaV Smart Connector installation kit, which installs for the AF Client, PI OPC
DA Interface, PI OPC DA ICU Control and the DeltaV Asset Connector.
Verify the points are correctly created by the DeltaV Asset Connector and that the PI OPC
DA Interface is correctly collecting data.
If asset are synced, use the AF client to verify the hierarchy and the data references.
Installation Directory
PIHOME Directory Tree
32-bit Interfaces
The [PIHOME] directory tree is defined by the PIHOME entry in the pipc.ini configuration
file. This pipc.ini file is an ASCII text file, which is located in the %windir% directory.
For 32-bit operating systems a typical pipc.ini file contains the following lines:
[PIPC]
PIHOME=C:\Program Files\PIPC
For 64-bit operating systems a typical pipc.ini file contains the following lines:
[PIPC]
PIHOME=C:\Program Files (X86)\PIPC
The above lines define the root of the PIHOME directory on the C: drive. The PIHOME
directory does not need to be on the C: drive. OSIsoft recommends using the paths shown
above as the root PIHOME directory name.
DeltaV Asset Connector Installation Directory
The DeltaV Asset Connector is installed to the following location:
PIHOME\Asset Connectors\DeltaV\ where PIHOME is replaced with the corresponding entry
in the pipc.ini file.
Installation
8
DeltaV Asset Connector Installation Procedure
The DeltaV Asset Connector installation uses the services of the Microsoft Windows
Installer. Windows Installer is a standard part of Windows 2000 and greater operating
systems. To install the DeltaV Asset Connector run the appropriate installation kit.
DeltaV_SC_#.#.#.#.exe
DeltaV Asset Connector Installation Choices for DeltaV Named Sets
In previous versions of the DeltaV Asset Connector, the choice to make the DeltaV Name Set
data available for DeltaV Process History View (PHV), by making the PI data type a string
was omitted. In this version, choices will need to be selected to complete the installation.
New and Upgrade Installations
For a new and upgrade installations, a dialog will be presented with the following options for
how PI points should be created for DeltaV Named Set parameters ending with ‘.CV’: If the
primary client for this data is PHV, select either the “String” or “Both” option. If the primary
client is PI ProcessBook select either the “Digital” or “Both” option. Selecting “Both” creates
two PI tags. Whichever tag is chosen to retain the DeltaV parameter tag the other tag will
have either a .STR or .DIG suffix. If a ‘String” ONLY tag is chosen the existing digital tag
for that DeltaV parameter will change PI type to String. If the PI type is changed the
historical data is accessible but with caveats (See PI System Managers Guide – “Change PI
Point Type” in the “Manage Points section).
PI Asset Connector for Emerson DeltaV 9
DeltaV Asset Connector Configuration
During the installation procedure, the DeltaV Asset Connector set-up program prompts the
user to enter configuration information necessary to run the DeltaV Asset Connector . The
start-up file for the DeltaV Asset Connector is created by the set-up program containing the
specified entries. This allows the DeltaV Asset Connector to automatically start after the
installation procedure finishes.
The following figure shows the default selections for the PI Data Archive where data is
written, and the OPC Server to which the OPC interface connects. The PI Data Archive and
OPC Servers are required to be specified by the user. The standard installation has the
Enterprise PI Data Archive, the PI OPC interfaces and the DeltaV OPC DA Server on the
same DeltaV Application Station.
The PointSource for the OPC interfaces can be designated if the default, “DeltaV”, is not an
acceptable designation.
The Backup OPC Server field allows the user to enter the name of a secondary OPC Server.
This field is optional and should only be specified if the user wishes to configure the PI OPC
DA Interface for Server-Level Failover. Please see the PI OPC DA Interface manual for more
information on Server-Level Failover.
Installation
10
Next, the installation program prompts the user to enter the location of the AF Server and AF
Database that are used for writing asset configuration data to AF. If the user is not planning to
use AF, these fields may be left blank and no asset information will be sent to AF. However,
if the AF Server is specified, the AF Database must also be specified, and vice versa. If an AF
Database with this name does not exist an AF Database with this name will be created. The
AF Data Location is used to specify the asset file folder that contains the DeltaV equipment
hierarchy file. The AFRoot field in the PI DeltaV Asset Connector .exe.config file specifies a
hierarchy path in AF under which the DeltaV hierarchy described in the EquipHier.xml file
will be created. If AFRoot is not specified then the default root is “DeltaV Asset Connector”.
PI Asset Connector for Emerson DeltaV 11
The DeltaV Asset Connector requires a user name and password in order to communicate to
the AF Server. These credentials must match on each system. For domains, user names must
be in the format of DOMAIN\UserName. For a local Administrator such as ‘DeltaVAdmin’,
the format must be .\DeltaVAdmin. By default, Local System will be the default log on
account used if no account information is provided.
The DeltaV Asset Connector configuration file settings allow tag name prefixes for tag name
consistency. To aid in performance tuning, the user can specify the number of tags in a
synchronization group and the pause between tag groups. The tuning parameters are
necessary to give system resources enough time to perform other operations.
Installation
12
Setting the number of instances needs to be based on the number of licensed DeltaV tags and
the number to be historicized with 2000 tags per instance being the recommendation. For
example with 10k tags you would specify 5 instances of the interface. The default number of
interface instances will be 5 and the number of tags per instances is 2000. This can be
updated based on tag resolution and performance. It is recommended that an additional
instance be created for future expansion.
Since the OPC interface instance(s) are normally in the on the same node as the DeltaV Asset
Connector, the user name and password are required to create the service. OPC Interface
Instances allow for the creation of multiple interface services.
Note: It is strongly recommended that no other PI OPC DA Interface instances run on this node where PI Points are not synchronized by the DeltaV Asset Connector.
Note: By default, the initial synchronization groups PI tags by interface instance and not by scan rate. Tags are assigned to instances in the order that they are read from the DeltaV historian configuration file. If there are a large number of high rate tags, such as 1 second, it is recommended that more interface instances be created to balance out the load across multiple instances. In some cases it may be necessary to reorder tags by interface instance by editing Location1 of the PI tag configuration through the use of PI tag configuration tools such as the PI Tag Configurator add-in for Excel.
PI Asset Connector for Emerson DeltaV 13
Beginning in DeltaV Asset Connector v3.0 the DeltaV Asset Connector supports syncing of
tags from the local DeltaV application station PI System to the designated site PI System
using the PItoPI interface that is setup separately from the DeltaV Asset Connector.
The following figure shows the default selections for the Site PI Data Archive where data is
written, and the PItoPI interface connects. If the site PI Data Archive is used then the Site PI
Data Archive Tag Prefix is required to be specified by the user.
The Site PointSource for the PItoPI interfaces can be designated if the default, “DeltaV”, is
not acceptable. It is recommended that the site PointSource be designated to avoid any
conflicts with other DeltaV App nodes.
Installation
14
The option of configuring a site AF Server is setup using this dialog. The installation program
prompts the user to enter the location of the site AF Server and site AF Database that are used
for writing asset configuration data to AF. If the user is not planning to use the site AF, these
fields may be left blank and no asset information will be sent to site AF. However, if the site
AF Server is specified, the AF Database and the Site AF Root must also be specified, and
vice versa. If an AF Database with this name does not exist an AF Database with this name
will be created. The AF Data Location is used to specify the asset file folder that contains the
DeltaV equipment hierarchy file. The SiteAFRoot field in the PI DeltaV Asset Connector
.exe.config file specifies a hierarchy path in AF under which the DeltaV hierarchy described
in the EquipHier.xml file will be created.
PI Asset Connector for Emerson DeltaV 15
The DeltaV Asset Connector install will set the Shutdown attribute based on the selection on
this dialog. The attribute will not be modified on successive syncs by the DeltaV Asset
Connector.
Installation
16
DeltaV Asset Connector Upgrade from 1.0
On upgrade from version 1.0 you will be presented with a dialog to set the PI Digital State
preferences. Starting with version 1.1 of the DeltaV Asset Connector, PI Digital State sets can
be mapped precisely to DeltaV Named Sets (see Digital State Sets for further explanation).
PI Asset Connector for Emerson DeltaV 17
DeltaV Asset Connector Upgrade from 2.0
On upgrade from version 2.0 you will be presented with a dialog to update the existing
OPCInt_SC(x) bat files. This will allow the installation to add the advise scan class scan class
one at the beginning of the scan class designations. If you are upgrading from 1.x this will not
be necessary.
PI Asset Connector for Emerson DeltaV 19
Chapter 4. PI Point Configuration
The PI point is the basic building block for controlling data flow to and from the PI Data
Archive. A single point is configured for each measurement value that needs to be archived.
Configured Point Attributes
The DeltaV Asset Connector automatically creates and configures PI point attributes based
on the values in the enterprise historian configuration file, EntHist.xml. The following table
lists the PI Point attributes and the source of their property values from the enterprise
historian configuration file.
PI Point Attribute Source of Value
Tag Name <PATH>Tag name </PATH>
Scan <ENAB> Enabled </ENAB> (Value of 1 or 0)
The Scan attribute of a PI point may also be set to 0 if a tag that was previously in the enterprise historian configuration file is removed from history collection.
CompDev / Compressing
<CDEV> Compression Deviation </CDEV>
For non-digital tags:
If CDEV is set to -1, the ‘Compressing’ PI Point attribute will be set to 0.
If CDEV is not set to -1, the ‘Compressing’ PI Point attribute will be set to 1 and the ‘CompDev’ PI Point attribute will be set to the value of CDEV.
For digital tags:
The ‘CompDev’ PI point attribute will always be set to ‘0’, and the ‘Step’ PI point attribute will always be set to ‘1’.
Step <STEP> Step </STEP>
For non-digital tags:
If the DeltaV STEP value is 0, the PI ‘Step’ attribute will be set to 1.
If the DeltaV STEP value is 1, the PI ‘Step’ attribute will be set to 0.
If the DeltaV STEP value is 2 and the Point’s type is Integer, the PI ‘Step’ attribute will be set to 1.
If the DeltaV STEP value is 2 and the Point’s type is Float, the PI ‘Step’ attribute will be set to 0.
For digital tags:
The ‘CompDev’ PI point attribute will always be set to ‘0’, and the ‘Step’ PI point attribute will always be set to ‘1’.
InstrumentTag <PATH> Tag name </PATH>
PI Point Configuration
20
PI Point Attribute Source of Value
Pointtype <PTYPE> Point type </PTYPE>
Source DeltaV Point Type
XML File PTYPE Value
Destination PI Point Type
INT32 1 Int32
UINT32 2 Float64
FLOAT32 3 Float32
NAMED SET 4 Digital
UNICODE STRING 5 String
Note: If the DeltaV Asset Connector receives an invalid point type value in the point configuration XML file, it log an error and do the following:
If the corresponding point does not already exist in PI, an error will be logged and the PI point will not be created.
If the corresponding point already exists in PI, the DeltaV Asset Connector will not edit its configuration and will only output an error message to the log file.
Additionally, all attributes of a point with an invalid point type listed in the point configuration XML file will be written to the .csv file described in the Error Tag .CSV File section so that the tag configuration(s) may be reviewed and/or corrected at a later time.
CompMax <MAX> Compression Max </MAX>
Zero <EU0> EngUnits 0 </EU0>
Location4
(Scan Class)
<RATE> Scan Rate in seconds </RATE>
Span <EU100> EngUnits 100 </EU100>
EU100 is the maximum value, so the ‘Span’ point attribute is set to EU100 - EU0..
Descriptor <DESC> Module description </DESC>
EngUnits <UNITS> Engineering units </UNITS>
DigitalSet <NAMEDSET> Digital State set </NAMEDSET>
These following PI attributes are not read from the DeltaV configuration file and are set by
the DeltaV Asset Connector on creation of the PI points. These attributes will not be modified
by the DeltaV Asset Connector on subsequent syncs.
PI Point Attribute Source of Value
PtClassName classic
PointSource DeltaV
PtOwner DeltaVAdmin
PtGroup DeltaV
DataOwner DeltaVAdmin
DataGroup DeltaV
PtAccess o:rw g:rw w:r
DataAccess o:rw g:rw w:r
DisplayDigits 7
Excdev 0
Location1 1
Location2 0
Location3 0
PI Asset Connector for Emerson DeltaV 21
PI Point Attribute Source of Value
Location5 0
Shutdown 1
Any changes to PI attributes other than those read from the enterprise historian configuration
file can be changed manually and will not be overwritten after the initial synchronization.
Note: Avoid the manual creation of PI tags with duplicate instrument tag attributes as this can cause updates to be ignored if changes occur in DeltaV for the mapped tag.
PI Asset Connector for Emerson DeltaV 23
Chapter 5. Error Tag .CSV File
If any tag included in the enterprise historian configuration file is not able to be
created or edited in PI, an error will be logged and the tag information will be written to the
PIPointSyncLog_datetime.csv file, which is located in the DeltaV Asset Connector directory.
The user may then open this file in Excel and make any necessary changes to the points. The
points may then be exported to PI to create or update existing points using PI Tag
Configurator in Excel.
PI Asset Connector for Emerson DeltaV 25
Chapter 6. Digital State Sets
For more information regarding Digital States, refer to the PI Data Archive documentation.
Digital State Sets
PI digital states are discrete values represented by strings. These strings are organized in PI as
digital state sets. Each digital state set is a user-defined list of strings, enumerated from 0 to n
to represent different values of discrete data. For more information about PI digital tags and
editing digital state sets, see the PI Data Archive manuals.
An interface point that contains discrete data can be stored in PI as a digital tag. A Digital tag
associates discrete data with a digital state set, as specified by the user.
DeltaV Asset Connector Digital State Sets
There are 2 distinct methods of storing DeltaV Names Sets in PI Digital State Sets. Method 1,
which was the method used for DeltaV Asset Connector releases 1.0, follows the PI Digital
State set standard where states start at offset zero and are in contiguous order. Method 2
which is available in the DeltaV Asset Connector version 1.1 or later will specifically be
normalized with DeltaV Named Sets. For each new PI Digital State set built from the
EntHist.xml file will be 256 states in size and will mimic the DeltaV Named Sets and may
contain states with no value (gaps). For instance the DeltaV Names Set could contain value at
indexes 1, 10, 20 and 40, in PI Digital State set the set will begin at 0 and have values only at
1, 10, 20 and 40. All unused states will remain blank and can be updated if the DeltaV Named
Set changes after a re-sync. All new installations of version 1.1 or greater will on have
method 2 option.
The DeltaV Asset Connector uses the information contained in the enterprise historian
configuration file, EntHist.xml, to configure Digital State Sets. If a DeltaV parameter
configured for history collection is part of a Named Set, the information about the DeltaV
Named Set it belongs to is included in the enterprise historian configuration file. This
information is used to create or update a Digital State Set in PI. States may be added to an
existing Digital State Sets, However, for method 1states will not be removed or re-ordered by
the DeltaV Asset Connector.
For each new PI Digital State set built for method 2 from the EntHist.xml file will be 256
states in size and will mimic the DeltaV Named Sets and may contain states with no value
(gaps). For instance the DeltaV Names Set could contain value at indexes 1, 10, 20 and 40, in
PI Digital State set the set will begin at 0 and have values only at 1, 10, 20 and 40. All unused
states will remain blank and can be updated if the DeltaV Named Set changes after a re-sync.
Note: All new installations of version 1.1 or greater will only have method 2 option available.
Digital State Sets
26
Named Set information may occasionally be unavailable in the enterprise historian
configuration file. However, PI points may not be created in PI without specifying the Digital
State Set to which they belong. Therefore, if Named Set information is unavailable in the
DeltaV tag configuration file, an error will be logged and the tag information will be put into
the file PIPointSyncLog_datetime.csv file described in the Error Tag .CSV File section.
System Digital State Set
Similar to digital state sets is the system digital state set. This set is used for all tags,
regardless of type to indicate the state of a tag at a particular time. For example, if the
interface receives bad data from an interface point, it writes the system digital state
bad input to PI instead of a value. The system digital state set has many unused states that
can be used by the interface and other PI clients. Digital States 193-320 are reserved for
OSIsoft applications.
PI Asset Connector for Emerson DeltaV 27
Chapter 7. Start-Up Command File
The DeltaV Asset Connector differs from other OSIsoft interfaces by not using a batch file
with command line parameters. Instead, it uses an XML configuration file, PI DeltaV Asset
Connector .exe.config. This file is initially configured by the DeltaV Asset Connector set-up
package, based on information entered during installation. If changes are required after the
install has completed, the user must change a “value” parameter in the XML file in order to
change a particular argument. For example, to change the PIServer to DVINSTPRO set the
“value=” to “DVINSTPRO” as shown below:
<add key="PIServer" value="DVINSTPRO"/>
Note: Subsequent changes to this file are not automatically detected by the DeltaV Asset Connector ..
If the startup-up command file is changed, the DeltaV Asset Connector service must be
restarted before changes to the start-up command file take effect. Note that each time the
DeltaV Asset Connector starts, it performs synchronization.
XML Configuration Keys
Parameter Description
AFDB value=<string>
Optional
The AFDB parameter is used to specify the name of
the AF Database if asset information is to be written to
AF. If the AFNode and AssetFile parameters are
both specified, but AFDB is not specified, a default
name of “DeltaV” will be given to the AF Database.
AFNode value=<string>
Optional
The AFNode parameter is used to specify the name
of the AF Server if asset information is to be written to
AF. If the AFNode parameter is specified, the
AssetFile parameter must also be specified. If only
one is specified, an error message will be written and asset information will not be written to AF.
AssetFile value=<string>
Optional
The AssetFile parameter is used to specify the
location of the exported DeltaV equipment hierarchy file. The information in the equipment hierarchy file will be used to write asset information to AF. If the
AFNode parameter is specified, the AssetFile
parameter must also be specified. If only one is specified, an error message will be written and asset information will not be written to AF.
Start-Up Command File
28
Parameter Description
AFRoot value=<string>
Optional
The AFRoot setting allows the user to specify a root
path under which all assets contained in the equipment hierarchy file will be created. This path will prefix the DeltaV hierarchy.
DB value=#
Optional
The DB parameter is used to specify the debug level
used when writing messages to the pipc.log file. The possible debug levels are listed below:
Default – No debug
1 – Print start-up information
2 – Print information for point synchronization
4 – Print information for asset synchronization
8 – Print debug information for parsing of XML file
16 – Print the time it takes to synchronize an updated file
Debug parameters can be combined by adding the values together. For example if debug levels 2, 4 and 8 are combined then /db=14.
Group value=#
Optional
Default=100
The Group parameter is used to specify the number
of PI Points to edit at a time. This parameter is used in conjunction with the ‘Pause’ parameter in order to throttle the Asset Connector to achieve optimal performance. If this parameter is not specified, tags will not be grouped for throttling purposes.
Pause value=#
Optional
Default=100
The Pause parameter is used to specify the number
of milliseconds the DeltaV Asset Connector should sleep between processing groups of PI Points. This parameter is used in conjunction with the ‘Group’ parameter in order to throttle the DeltaV Asset Connector to achieve optimal performance. If this parameter is not specified, no sleeps will be done between tags for throttling purposes.
PIServer value=<string>
Required
The PIServer parameter is used to specify the name of the node where the PI Data Archive exists.
PIServer_AF value=<string>
Optional
The PIServer_AF parameter is used to specify the name of the node where the PI Data Archive exists in order to map AF Attribute Data References to PI points. If this parameter is not specified, the DeltaV Asset Connector will use the value specified by the ‘PIServer’ parameter to configure AF Attribute PI Point Data References.
PointSource value=<string>
Optional
The PointSource parameter is used to replace the default value “DeltaV” for the PointSource attribute of the OPC interface tags
Prefix value=<string>
Optional
The Prefix parameter is used to specify the prefix
used for all PI point names. This prefix could be useful in organizing PI points based on DeltaV AppStation name or another unique characteristic.
Note: If the prefix is changed after the initial synchronization the DeltaV Asset Connector creates duplicate tags.
To avoid this, manually rename the tags first.
PI Asset Connector for Emerson DeltaV 29
Parameter Description
OPCServer value=<string>
Required
The OPCServer parameter is used to specify the name of the node where the DeltaV OPC DA Server exists.
SyncReport=<string>
(“true” or “false”)
Optional
If the SyncReport parameter is set to true, a .CSV File will be written during each point synchronization scan which will list all points which differed between DeltaV and PI. The information will be written to the ‘AllSynchronizedPIPoints_datetime.csv’ file, which is located in the DeltaV Asset Connector directory. This list is helpful in quickly determining which points were modified during the point synchronization scan.
Please note that setting the optional ‘SyncReport’ parameter to true will cause the PI Point Synchronization to operate more slowly due to write operations to disk. Therefore, in order to generate a synchronization report, the user must manually enter the “SyncReport” configuration parameter with a value of ‘true’ in the PI DeltaV Asset Connector .exe.config file and restart the DeltaV Asset Connector before the change will take effect.
TI value=x
Optional
The TI parameter is used to specify the maximum
number of tags that each OPC DA interface instance will contain. During tag creation, tags will be portioned by this parameter for each interface instance. If this parameter is left blank then all tags will be assigned to a single instance of the interface.
SitePIServer
value=<string>
Optional
The site PIServer parameter is used to specify the name of the node where the site PI Data Archive exists.
SitePointSource
value=<string>
Optional
The PointSource parameter is used to replace the default value “DeltaV” for the PointSource attribute of the OPC interface tags. It is recommended that the default “DeltaV” not be used for the site PointSource.
SitePrefix value=<string>
Optional
The Prefix parameter is used to specify the prefix used for all PI point names. This prefix could be useful in organizing PI points based on DeltaV AppStation name or another unique characteristic.
Note: If the prefix is changed after the initial synchronization the DeltaV Asset Connector creates duplicate tags.
To avoid this, manually rename the tags first.
SitePIServer_AF
value=<string>
Optional
The SitePIServer_AF parameter is used to specify the name of the node where the PI Data Archive exists in order to map AF Attribute Data References to PI points. If this parameter is not specified, the DeltaV Asset Connector will use the value specified by the ‘SitePIServer’ parameter to configure AF Attribute PI Point Data References.
SiteAFNode value=<string>
Optional
The SiteAFNode parameter is used to specify the
name of the site AF Server if asset information is to be
written to the site AF. If the SiteAFNode parameter
is specified, the AssetFile parameter must also be
specified. If only one is specified, an error message will be written and asset information will not be written to the site AF Server.
Start-Up Command File
30
Parameter Description
SiteAFDb value=<string>
Optional
The SiteAFDB parameter is used to specify the
name of the site AF Database if asset information is to
be written to the site AF. If the SiteAFNode and
AssetFile parameters are both specified, but
AFDB is not specified, a default name of “DeltaV” will
be given to the site AF Database.
SiteAFRoot value=<string>
Required
The SiteAFRoot setting allows the user to specify a
root path under which all assets contained in the equipment hierarchy file will be created. This path will prefix the DeltaV hierarchy. This parameter is required when specifying the site AF to avoid conflicts
Sample start-up file PI DeltaV Asset Connector .exe.config
<?xml version="1.0" encoding="Windows-1252"?>
<configuration>
<appSettings>
<add key="PIServer" value="DVINSTPRO2"/>
<add key="OPCServer" value="DVINSTPRO2"/>
<add key="PointSource" value="DVINST2"/>
<add key="Prefix" value=""/>
<add key="Group" value="100"/>
<add key="Pause" value="100"/>
<add key="TI" value="50"/>
<add key="AFNode" value="AFServer3"/>
<add key="AFDB" value="AFDB_08_01_08"/>
<add key="AssetFile" value="D:\DeltaV\DVData\Import-Export\EquipHier.xml\"/>
<add key="AFRoot" value=""/>
<add key="SitePIServer" value="SitePIDataArchive"/>
<add key="SitePIPrefix" value="DVINST2"/>
<add key="SitePointSource" value="DV2"/>
<add key="SiteAFNode" value="SiteAFNode"/>
<add key="SiteAFDB" value="SiteAFDb"/>
<add key="SiteAFRoot" value="DVINSTPRO2"/>
</appSettings>
</configuration>
PI Asset Connector for Emerson DeltaV 31
Chapter 8. AF 2.0 Object Creation and Configuration
AF 2.0 objects are automatically created and configured by the DeltaV Asset Connector after
the DeltaV equipment hierarchy file, EquipHier.xml, is generated manually by the user in
DeltaV Explorer when the user manually exports the equipment hierarchy from the DeltaV
Explorer as shown below.
During installation, the user is prompted to enter the AF node name, AF Database name and
an optional AFRoot path. If the specified AF Database already exists, it is updated with the
information received from the DeltaV Asset Connector. If this AF Database does not exist, a
new AF Database with the specified name is created and then updated with the information
received from the DeltaV Asset Connector. Use the AFRoot setting to specify a root path
under which all assets contained in the equipment hierarchy file will be created. This path
prefixes the DeltaV hierarchy. For example if the AFRoot path is
\\Site\Building\ProductionLine1 and the equipment hierarchy file contains asset information
for ‘AreaA’, the following structure will be created in AF:
\\Site\Building\ProductionLine1\AreaA\ProcessCell\Unit\ControlUnit1
AF Categories
The DeltaV Asset Connector creates a ‘DeltaV’ AF Element Category in AF 2.x and assigns
this Category to all AF Element Templates and AF Elements created by the DeltaV Asset
AF 2.0 Object Creation and Configuration
32
Connector. The AF Category represents a user-defined value used to categorize objects
within the AFSDK. Objects may be groups by categories to aid in generating reports or
running queries in AF.
AF Element Templates
One AF Element Template is created for each type of DeltaV object contained in the exported
DeltaV equipment hierarchy file. DeltaV object types may include Control Modules, Units,
Process Cells, Areas, etc. The AF Element Template name is set to the type name, and the AF
Element Template is assigned to the ‘DeltaV’ Element Category described above.
AF Elements
One ‘root’ AF Element is created by the DeltaV Asset Connector in order to group all AF
Elements that it creates. This AF Element is named by default “DeltaV Asset Connector” or
the specified AFRoot.
Note: It is recommended that the AF Root element not be renamed in PI System Explorer after it is created by the DeltaV Asset Connector . If it is necessary to rename the AF Root element in PI System Explorer, then rename the AFRoot argument in the PI DeltaV Asset Connector .exe.config file to match and then restart the DeltaV Asset Connector .
One AF Element is created for each unique DeltaV object in the exported DeltaV equipment
hierarchy XML file. The object position in the equipment hierarchy file is used to determine
the appropriate position in the AF hierarchy. The AF Element is created under the ‘root’
element and is assigned to the ‘DeltaV’ AF Element Category described above. The AF
Element Template corresponding to the DeltaV object type describing this object will be used
when creating the AF Element.
AF Attributes
When an AF Element is created, the DeltaV Asset Connector will search for all PI Points
matching the AF Element’s name. A new AF Attribute is created for each PI Point that is
found and that has been configured for history collection. The AF Attribute has the same
name as its corresponding PI point and its ValueType is set according to the point type of the
PI point associated with it. A PI Point Data Reference is configured in order to tie it to its
corresponding PI Point. When the AF Attribute value is requested, the value of the associated
PI Point will be returned.
By default, the DeltaV Asset Connector will search for PI points corresponding to AF
Attribute names on the PI Data Archive where points are created from the DeltaV tag
configuration file. The user may instead choose to search for PI Points from a centralized site
PI Data Archive for configuring PI Point Data References using the ‘PIServer_AF’
configuration parameter in the DeltaV Asset Connector startup file. In this case, the PI Points
and their associated data must be transferred to the centralized site PI Data Archive using an
alternate method other than the DeltaV Asset Connector.
Note: Deleting a PI tag does not delete the reference to that tag in AF. However, it is not recommended to ever delete a PI tag. It is a better option to rename the PI point or set the scan attribute to zero.
PI Asset Connector for Emerson DeltaV 33
PI Asset Connector for Emerson DeltaV 35
Chapter 9. Buffering
PI Buffering is not recommended on the DeltaV Application Station.
Chapter 10. Site PI System Settings
Security settings for configuring and accessing site PI tags should be completed prior to
running the installation or can be completed after installation and restarting the DeltaV Asset
Connector. A PI trust will need to be created for creating PI tags from the DeltaV Application
Station and a valid user will need to be added to the PI AF security settings. Please consult
the appendix in Configuring PI Server Security for other Task-Based Access Permissions and
Product Access Permissions and the PI AF object security in the PI AF Security overview
section of PI AF Help.
PI Asset Connector for Emerson DeltaV 37
PI Asset Connector for Emerson DeltaV 39
Appendix A. Error and Informational Messages
A string DeltaV Asset Connector is pre-pended to error messages written to the
message log.
Message Logs
Messages are written to PIHOME\dat\pipc.log at the following times.
When the DeltaV Asset Connector starts many informational messages are
written to the log. These include the version of the connector, the command-line
parameters used, PI version, PI-SDK version, AF version (if applicable),
enterprise historian configuration file summary information and the number of PI
points created or edited in each synchronization.
If the /db is used on the command-line, then various informational messages are
written to the log file.
Messages
Message Could not establish connection to AF Server '<NAME>'.” or "Could not connect to AF Server, exiting
Cause Connection cannot be established
Resolution a. Check exception following message for more information
b. Check “AFNode” and “AFDB” parameters in the PI DeltaV Asset Connector .exe.config file
to verify that they are correct
c. Verify that AF Server is running on specified node
d. Verify that PI System Explorer can connect to the specified AF Server and AF
Database
Message Could not read equipment hierarchy file, synchronization incomplete
Cause File cannot be opened for processing.
Resolution a. Check exception following message for more information
b. Check “AssetFile” parameter in the PI DeltaV Asset Connector .exe.config file to verify that
it is pointing to the correct location (including complete file path and file name)
c. Verify that permissions to this folder are correct
Error and Informational Messages
40
Message An error occurred when trying to connect to PI Data Archive '<NAME>’. or "Could not connect to PI Data Archive, exiting.
Cause Connection cannot be established to the PI Data Archive
Resolution a. Check exception following message for more information
b. Check “PIServer” parameter in the PI DeltaV Asset Connector .exe.config file to verify that it is correct
c. Verify that PI Data Archive is running on specified node
d. Verify that PI trusts are correctly set up.
Message Could not read tag config file, synchronization incomplete
Cause Cannot process tag config file – EntHist.xml
Resolution a. Verify that registry key exists which tells where to look for tag configuration file: HKEY_LOCAL_MACHINE\SOFTWARE\FRSI\DeltaV\CurrentVersion DataKey path should have directory name. Check that ‘EntHist.xml’ exists in a directory named ‘EntHist’ located under the directory specified in the registry.
b. Verify that permissions are correct to read this file.
c. Verify that another application does not have this file in use
Message An error occurred when adding point or An error occurred when adding point
Cause PI Point could not be added/edited
Resolution a. The error will include the point name, error number, and a description of the error that will tell why the point could not be added or edited correctly
Message Cannot synchronize PI Point with an empty name.
Cause Possible bad entry in the file
Resolution a. Verify that the EntHist.xml file contains valid information for all items in the <PATH> field which is used for the PI Point name
Message Required command-line parameter PI Data Archive (/PIServer) not specified. Exiting.
Cause Possible bad entry in the file
Resolution a. Verify that the “PIServer” parameter in the PI DeltaV Asset Connector .exe.config file contains the name of the correct PI Data Archive
Message An error occurred while parsing command-line options
Cause Possible bad entry in the file
Resolution a. Verify that all command-line options are specified correctly and do not contain any special characters
Message An error occurred while setting path to tag configuration file
Cause Possible bad entry in the file
Resolution a. Verify that registry key exists which tells where to look for tag configuration file: HKEY_LOCAL_MACHINE\SOFTWARE\FRSI\DeltaV\CurrentVersion DataKey path should have directory name.
b. Verify that permissions are correct to read this registry key
PI Asset Connector for Emerson DeltaV 41
System Errors and PI Errors
System errors are associated with positive error numbers. Errors related to PI are associated
with negative error numbers.
Error Descriptions on Windows
On Windows, descriptions of system and PI errors can be obtained with the pidiag utility:
Windows: \PI\adm\pidiag –e error_number
PI Asset Connector for Emerson DeltaV 43
Appendix B. Example Tag and Asset Files
Example Tag Configuration File
The following file is an example of a tag configuration file which is automatically generated
when the DeltaV system is downloaded. This example file contains two points
“ALARM1/SGGN1/OUT.CV” and “ALARM1/SGGN1/OUT.ST”.
<?xml version="1.0" ?>
<ENTERPRISE_HISTORIAN>
<TAG>
<PATH>ALARM1/SGGN1/OUT.CV</PATH>
<ENAB>T</ENAB>
<CDEV>0.01</CDEV>
<RATE>1</RATE>
<STEP>2</STEP>
<MAX>86400</MAX>
<PTYPE>3</PTYPE>
<EU0>0</EU0>
<EU100>100</EU100>
<UNITS></UNITS>
<DESC>Control Module</DESC>
</TAG>
<TAG>
<PATH>ALARM1/SGGN1/OUT.ST</PATH>
<ENAB>T</ENAB>
<CDEV>0.01</CDEV>
<RATE>1</RATE>
<STEP>2</STEP>
<MAX>86400</MAX>
<PTYPE>2</PTYPE>
<EU0>0</EU0>
<EU100>100</EU100>
<UNITS></UNITS>
<DESC>Control Module</DESC>
</TAG>
<SUMMARY>
<FILEDATE>5/10/2008 6:51:08 AM</FILEDATE>
<DVSYSID>VX0001-0002-9915 EXP: 2009/05/01</DVSYSID>
<APPSTATION>DVINSTPRO2</APPSTATION>
<DOMAIN></DOMAIN>
<OPCITEMLIC>4294967295</OPCITEMLIC>
<TTLCONFIGPTS>1314</TTLCONFIGPTS>
</SUMMARY>
</ENTERPRISE_HISTORIAN>
Example Tag and Asset Files
44
Example Equipment Hierarchy File
The following file is an example of an equipment hierarchy that has been manually exported
by the user on the DeltaV system.
<?xml version="1.0" encoding="UTF-16" ?>
<equipment>
<item level="Area">
EXTERIOR_PAINT
<item level="ProcessCell">
PAINT_BLEND
<item level="Unit">
UM_COLOR_100
<item level="UnitPhase">DUMP</item>
<item level="UnitPhase">FILL</item>
<item level="EquipmentModule">
EM_TOTAL_100
<item level="ControlModule">FIC_COLOR_100</item>
<item level="ControlModule">TOTAL_FLOW_100</item>
</item>
<item level="ControlModule">XV_OUT_100</item>
</item>
</item>
</item>
</equipment>
PI Asset Connector for Emerson DeltaV 45
Appendix C. Technical Support and Resources
You can read complete information about technical support options, and access all of the
following resources at the OSIsoft Technical Support Web site:
http://techsupport.osisoft.com (http://techsupport.osisoft.com)
Before You Call or Write for Help
When you contact OSIsoft Technical Support, please provide:
Product name, version, and/or build numbers
Computer platform (CPU type, operating system, and version number)
The time that the difficulty started
The log file(s) at that time
Help Desk and Telephone Support
You can contact OSIsoft Technical Support 24 hours a day. Use the numbers in the table
below to find the most appropriate number for your area. Dialing any of these numbers will
route your call into our global support queue to be answered by engineers stationed around
the world.
Office Location Access Number Local Language Options
San Leandro, CA, USA 1 510 297 5828 English
Philadelphia, PA, USA 1 215 606 0705 English
Johnson City, TN, USA 1 423 610 3800 English
Montreal, QC, Canada 1 514 493 0663 English, French
Sao Paulo, Brazil 55 11 3053 5040 English, Portuguese
Frankfurt, Germany 49 6047 989 333 English, German
Manama, Bahrain 973 1758 4429 English, Arabic
Singapore 65 6391 1811
86 021 2327 8686
English, Mandarin
Mandarin
Perth, WA, Australia 61 8 9282 9220 English
Technical Support and Resources
46
Support may be provided in languages other than English in certain centers (listed above)
based on availability of attendants. If you select a local language option, we will make best
efforts to connect you with an available Technical Support Engineer (TSE) with that language
skill. If no local language TSE is available to assist you, you will be routed to the first
available attendant.
If all available TSEs are busy assisting other customers when you call, you will be prompted
to remain on the line to wait for the next available TSE or else leave a voicemail message. If
you choose to leave a message, you will not lose your place in the queue. Your voicemail
will be treated as a regular phone call and will be directed to the first TSE who becomes
available.
If you are calling about an ongoing case, be sure to reference your case number when you call
so we can connect you to the engineer currently assigned to your case. If that engineer is not
available, another engineer will attempt to assist you.
Search Support
From the OSIsoft Technical Support Web site, click Search Support.
Quickly and easily search the OSIsoft Technical Support Web site’s Support Solutions,
Documentation, and Support Bulletins using the advanced MS SharePoint search engine.
Email-based Technical Support
When contacting OSIsoft Technical Support by email, it is helpful to send the following
information:
Description of issue: Short description of issue, symptoms, informational or error
messages, history of issue
Log files: See the product documentation for information on obtaining logs
pertinent to the situation.
Online Technical Support
From the OSIsoft Technical Support Web site, click Contact us > My Support > My Calls.
Using OSIsoft’s Online Technical Support, you can:
Enter a new call directly into OSIsoft’s database (monitored 24 hours a day)
View or edit existing OSIsoft calls that you entered
View any of the calls entered by your organization or site, if enabled
See your licensed software and dates of your Service Reliance Program
agreements
PI Asset Connector for Emerson DeltaV 47
Remote Access
From the OSIsoft Technical Support Web site, click Contact Us > Remote Support Options.
OSIsoft Support Engineers may remotely access your server in order to provide hands-on
troubleshooting and assistance. See the Remote Access page for details on the various
methods you can use.
On-site Service
From the OSIsoft Technical Support Web site, click Contact Us > On-site Field Service Visit.
OSIsoft provides on-site service for a fee. Visit our On-site Field Service Visit page for more
information.
Knowledge Center
From the OSIsoft Technical Support Web site, click Knowledge Center.
The Knowledge Center provides a searchable library of documentation and technical data, as
well as a special collection of resources for system managers. For these options, click
Knowledge Center on the Technical Support Web site.
The Search feature allows you to search Support Solutions, Bulletins, Support
Pages, Known Issues, Enhancements, and Documentation (including user
manuals, release notes, and white papers).
System Manager Resources include tools and instructions that help you manage:
Archive sizing, backup scripts, daily health checks, daylight savings time
configuration, PI Data Archive security, PI System sizing and configuration, PI
trusts for Interface Nodes, and more.
Upgrades
From the OSIsoft Technical Support Web site, click Contact Us > Obtaining Upgrades.
You are eligible to download or order any available version of a product for which you have
an active Service Reliance Program (SRP), formerly known as Tech Support Agreement
(TSA). To verify or change your SRP status, contact your Sales Representative or Technical
Support (http://techsupport.osisoft.com/) for assistance.
OSIsoft Virtual Campus (vCampus)
The OSIsoft Virtual Campus (vCampus) Web site offers a community-oriented program that
focuses on PI System development and integration. The Web site's annual online
subscriptions provide customers with software downloads, resources that include a personal
development PI System, online library, technical webinars, online training, and community-
oriented features such as blogs and discussion forums.
OSIsoft vCampus is intended to facilitate and encourage communication around PI
programming and integration between OSIsoft partners, customers and employees. See the
Technical Support and Resources
48
OSIsoft vCampus Web site, http://vCampus.osisoft.com (http://vCampus.osisoft.com) or
contact the OSIsoft vCampus team at [email protected] for more information.
PI Asset Connector for Emerson DeltaV 49
Appendix D. Revision History
Date Author Comments
14-Feb-2008 BPayne Initial version
03-Apr-2008 MMoore Updates, added PI AF information
21-Apr-2008 BPayne Updates, more concise information about synchronization parameters
28-May-2008 BPayne Updates found from preliminary testing
26-Jun-2008 BPayne Updates for AFRoot, Part Number, and cleanup
14-Jul-2008 BPayne Updates include screen shots
31-Jul-2008 BPayne Updates based on MKelly review
04-Aug-2008 BPayne Updates based on MKelly’s 2nd review
06-Aug-2008 BPayne Updates from SBranscomb review
05-Sep-2008 MMoore Updates from JZeilenga review
16-Sep-2008 BPayne Added Note below the OPC interface dialog for explaining the distribution of tags across multiple instances of the interface.
06-Oct-2008 MKelly Fixed headers, footers and page numbers
09-Oct-2008 BPayne Replaced screen capture for “Required Server Data” and removed comments and set to FINAL
09-Oct-2008 MMoore Updates from Emerson review; updated screenshots
10-Nov-2008 MKelly Version 1.0.0.0, Revision A, Changed all references of OPC Interface to PI OPC DA Interface, Added OPCInt ICU Control to the installation checklist, fixed headers and footers.
24-Nov-2008 BPayne Corrections made from Mike Kelly’s release review.
03-Dec-2008 BPayne Version 1.0.0.0, Revision B, Added Buffering section.
21-Apr-2009 MMoore Version 1.0.1.x Documented point type mapping and error tag .csv file
19-May-2009 MKelly Version 1.0.1.x, Revision A; Changed title and contact page. Fixed headers and footer and section breaks. Updated copyright date. Corrected Title in file properties.
26-Aug-2009 MMoore Version 1.0.2.x, Revision A; Updated for [UC] keyword in descriptor
17-Aug-2010 BPayne Version 1.1.0.x Revision A: Updated Digital State section for the new method of storing DeltaV Named Sets.
25-Aug-2010 BPayne/MKelly Version 1.1.0.x Revision B: Updated manual for updated Styles.
30-Aug-2010 MKelly Version 1.1.0.x Revision C; Updated with Interface skeleton Manual 3.0.27.
Revision History
50
10-Dec-2010 Bpayne Version 2.0.0.x Revision A: Updated Installation section for new Named Set behavior for creating PI Tags.
17-Dec-2010 MMoore Version 2.0.0.x Revision B: Updated Terminology section to include PI Message Log and DeltaV Asset Connector specific terms
10-Jan-2011 MKelly Version 2.0.0.x Revision C; Updated to Interface Skeleton 3.0.31. Fixed chapter one heading.
13-May-2014 BPayne Version 3.0.0.x; Updated documentation for Site PI System functionality to the PI DeltaV Asset Connector
12-Aug-2014 BPayne/CLew Version 3.0.0.x; Updated visio diagram to include Site PI
17-Sep-2014 BPayne Version 3.0.0.x; Cleanup/Review
30-Sep-2014 BPayne/CLew Version 3.0.0.x; Added Chapter10:Site PI System Settings
16-Oct-2014 BPayne Version 3.0.0.x; Updated to use new marketing name for the asset connector