Professional Documents
Culture Documents
Exaquantum Engineering Guide Vol 3
Exaquantum Engineering Guide Vol 3
IM 36J04A15-03E
© Yokogawa March 5 2011
11th Edition Issue 1
Exaquantum Engineering Guide – Volume 3 Support Tools i
All rights are reserved in this document, which is the property of Yokogawa Electric
Corporation. Information contained herein is the property of Yokogawa Electric Corporation.
Unless agreed in writing by Yokogawa Electric Corporation, the licensee shall not remove,
release, disclose, reveal, copy, extract all or part of the documentation.
Trademark Acknowledgements
Microsoft, Windows, Windows Vista, Windows Server 2008, Windows Server 2008 R2,
Windows 7 Professional, Microsoft Word, Microsoft Excel, Microsoft Office 2007,
Microsoft Office 2010, Visual Basic, Visual C++, SQL Server, MDAC, Microsoft .NET and
ActiveX are either registered trademarks or trademarks of Microsoft Corporation in the
United States and/or other countries.
Exaquantum uses Microsoft SQL Server as part of an Integrated Value Added Solution.
Adobe and Acrobat are registered trademarks of Adobe Systems Incorporated, and registered
within particular jurisdictions.
Basic Scripting Engine provided by Cypress Software Inc., Copyright 1993 – 2000, all rights
reserved.
All other company and product names mentioned in this manual are trademarks or registered
trademarks of their respective companies.
Highlights
The Highlights section gives details of the changes made since the previous issue of this
document.
Summary of Changes
Detail of Changes
Chapter/Section/Page Change
Chapter 2 Updated for R2.70.
Chapter 10
130H Updated to reflect changes to OPC Server Viewer and Data
Recovery Tool.
Chapter 11
13H Added chapter for Auto OPC Recovery service.
Chapter 13 Minor update to description of
UseSystemTimeForFirstOPCNotification registry value.
Chapter 15
132H Updated to reflect changes to System Events Viewer.
Chapter 23 Added chapter for OPC Logon Tool.
Appendix A Newly Added Section.
Section 4.8 Detail change
Section 5.1 Detail change
Section 19.3 Additional command for QSendHISMessage
Table of Contents
Copyright and Trademark Notices .....................................................................................i
0H 13H
Highlights......................................................................................................................... ii
1H 134H
Chapter 1
4H Introduction ............................................................................................................. 1-1 137H
1.1
5H Intended Audience ............................................................................................................. 1-1 138H
1.2
6H General ............................................................................................................................... 1-1 139H
Chapter 2
7H Database tools, Support Tools and Development Tools....................................... 2-1 140H
2.1
8H Database tools .................................................................................................................... 2-1 14H
2.2
9H Support tools ...................................................................................................................... 2-2 142H
2.3
10H Development Tools ............................................................................................................ 2-3 143H
Chapter 3
1H Exaquantum Cross Reference Tool ....................................................................... 3-1 14H
3.1
12H Definitions.......................................................................................................................... 3-2 145H
3.2
13H Displaying the Cross Reference Tool................................................................................. 3-2 146H
3.3
14H Access to the Cross Reference Tool................................................................................... 3-2 147H
3.4
15H Exaquantum Cross Reference Tool – Window Components ............................................. 3-3 148H
3.5
16H Search Definition – Window Components......................................................................... 3-5 149H
3.6
17H How To Create a New Cross Reference Search................................................................. 3-7 150H
3.7
18H Calculation Cross Reference Searches ............................................................................... 3-8 15H
3.8
19H Shortcut Cross Reference Searches.................................................................................... 3-9 152H
3.9
20H Shortcut and Calculation Searches ................................................................................... 3-10 153H
3.10 Tag Template and Function Block Template Cross Reference Searches......................... 3-13
21H 154H
Chapter 4
2H Versioning Tool........................................................................................................ 4-1 15H
4.1
23H Display the Versioning Tool .............................................................................................. 4-1 156H
4.2
24H Exaquantum Versioning Tool - Window Components ...................................................... 4-2 157H
4.3
25H Start a File Version Check ................................................................................................. 4-4 158H
4.4
26H Filter the Files .................................................................................................................... 4-4 159H
4.5
27H Sorting Files ....................................................................................................................... 4-4 160H
4.6
28H Saving or Printing the Results............................................................................................ 4-4 16H
4.7
29H Updating the File List......................................................................................................... 4-5 162H
4.8
30H Command Line Operation.................................................................................................. 4-5 163H
4.9
31H Typical Operation............................................................................................................... 4-6 164H
Chapter 5
32H Tag Configuration Viewer...................................................................................... 5-1 165H
5.1
3H Display the Tag Configuration Viewer Program ............................................................... 5-1 16H
5.2
34H Tag Configuration Viewer Screens .................................................................................... 5-6 167H
5.3
35H Tag Configuration Viewer – Window Components........................................................... 5-7 168H
5.4
36H Tag Configuration Viewer Excel Add In ........................................................................... 5-8 169H
5.5
37H Display the Tag Configuration Viewer .............................................................................. 5-9 170H
5.6
38H Tag Configuration Details Screen ...................................................................................... 5-9 17H
5.7
39H How To Display Tag Configuration Information............................................................. 5-11 172H
Chapter 6
40H Consistency Checker ............................................................................................... 6-1 173H
6.1
41H Check Types....................................................................................................................... 6-1 174H
6.2
42H Display the Consistency Checker Program ........................................................................ 6-1 175H
6.3
43H Access to the Consistency Checker.................................................................................... 6-1 176H
6.4
4H Consistency Checker Window ........................................................................................... 6-2 17H
6.5
45H Running the Consistency Checker ..................................................................................... 6-2 178H
Chapter 7
46H Historian Management Support Tool.................................................................... 7-1 179H
7.1
47H Startup ................................................................................................................................ 7-1 180H
7.2
48H Historian Maintenance Application ................................................................................... 7-1 18H
7.3
49H Storage Analysis................................................................................................................. 7-6 182H
7.4
50H Disk Usage Prediction Application .................................................................................... 7-9 183H
Chapter 8
51H Database Creation Tool .......................................................................................... 8-1 184H
8.1
52H Screen Components............................................................................................................ 8-1 185H
8.2
53H How to use the Exaquantum Database Creation Tool........................................................ 8-5 186H
Chapter 9
54H Expand Databases Tool........................................................................................... 9-1 187H
9.1
5H Screen Components............................................................................................................ 9-1 18H
9.2
56H How to use the Exaquantum Expand Databases Tool........................................................ 9-2 189H
Chapter 10
57H OPC Server Viewer and Data Recovery Tool..................................................... 10-1 190H
10.3 Starting the OPC Server Viewer and Data Recovery tool................................................ 10-8
60H 193H
Chapter 11
6H Auto OPC Recovery Service................................................................................. 11-1 19H
11.2 Searching for OPC Downtime eligible for recovery or recalculation .............................. 11-1
68H 201H
Chapter 12
72H Tag/Function Block Template Import/Export Tool........................................... 12-1 205H
Chapter 13
7H System Configuration Tool................................................................................... 13-1 210H
Chapter 14
82H Exa Package Log Save Wizard............................................................................. 14-1 215H
Chapter 15
87H System Events Viewer ........................................................................................... 15-1 20H
Chapter 16
8H Text File Data Import/Export (QTFS) ................................................................ 16-1 21H
16.2 Typical Uses of the Text File Import/Export Facility ...................................................... 16-2
90H 23H
Chapter 17
93H Connecting to Various OPC Servers ................................................................... 17-1 26H
17.3 Connecting to the Exaopc-CS Server when another Exaopc Cassette is Installed........... 17-3
96H 29H
Chapter 18
9H Value Format Tool ................................................................................................ 18-1 23H
Chapter 19
105H Status Monitoring Tool ......................................................................................... 19-1 238H
Chapter 20
109H Exaquantum Startup Configuration Tool........................................................... 20-1 24H
Chapter 21
13H Aggregation Switch Configuration Tool ............................................................. 21-1 246H
Chapter 22
19H History Data Checker ........................................................................................... 22-1 25H
Chapter 23
123H OPC Logon Tool.................................................................................................... 23-1 256H
Appendix A.1
128H Downtime Threshold............................................................................................. 2 261H
Appendix A.2
129H Network Recovery Delay......................................................................................2 26H
Chapter 1 Introduction
1.1 Intended Audience
The Exaquantum Engineering Guide contains tasks that need to be completed by users
within your organization that have Windows administrative privileges. The user(s) of this
document must also be familiar with the following topics:
♦ DCOM Settings
♦ Microsoft Excel
This documentation therefore assumes that the person carrying out the procedures has
knowledge and experience in the areas mentioned above. It also assumes that you have
already completed the relevant Exaquantum course(s).
1.2 General
The Engineering Guide summarizes what is considered by Yokogawa as to be the 'good or
best practice' in the operation of an Exaquantum system. It is not intended that the methods
or procedures detailed in this document represent the only approach to configuring,
monitoring and using an Exaquantum system, but rather the procedures described are proven,
practical and effective.
This Engineering Guide has been divided into, Volumes and Chapters that detail various
procedures and methods. Certain Chapters may not be relevant to your Exaquantum system.
Volume 1: Administration
Chapter 1: Introduction
263H 264H
Volume 5: PI Connection
These tools will be installed on a server or client computer when the appropriate option is
chosen in the Select Features dialog box during the installation procedure. Alternatively
they can be added later by using the Windows Add/Remove programs applet, and selecting
Change. The Exaquantum Installation guide has information about changing an installation.
♦ Expand databases – allows users to expand databases that hold Exaquantum Historian
information.
♦ Version Checker – provides version details of all the Exaquantum files on the computer.
♦ System Event Message Viewer – for inspecting the major events recorded by the
Exaquantum system.
♦ OPC Server Viewer and Data Recovery – view OPC gateway DA and A&E status.
Recover Tag or Alarm and Events data from an OPC server, recalculate aggregation data,
and add OPC Downtime that was not recorded by the Exaquantum server.
♦ Exa Package Log Save Wizard – collects all the operating information affecting
Exaquantum and stores it in a single compressed report file.
♦ Text File Data Import/Export – allows Exaquantum data to be imported and exported
through simple formatted text files.
♦ Connecting to Various OPC Servers – explains extra steps needed to connect to various
types of OPC Server.
♦ Value Format – configure the way numerical data values are displayed in some
Exaquantum client components.
♦ Status Monitoring – collects information pertaining to: disk usage, SQL server database
usage and the Exaquantum - OPC connection. Either a windows message is sent to a
specified computer, or a program, or script is executed, as defined by the system
administrator.
♦ Exaquantum Startup Configuration – provides the ability to: Enable History Catch-up
whilst Exaquantum is not running and configure Exaquantum to start upon starting of the
operating system.
♦ OPC Logon Tool – configure and test connections to OPC Gateways while Exaquantum
is not running.
In particular, the Cross Reference tool will provide useful information in the following
examples:
♦ Shortcut and Calculation – when one or more tags are to be deleted or moved, the tool
will list any referencing calculations or shortcuts that will be affected.
♦ Tag Templates – before a Tag Template is changed, a list of the tags affected by the
change will be listed
♦ Function Block Templates - before a Function Block Template is changed, a list of the
function blocks affected by the change will be listed.
3.1 Definitions
Each of the cases listed above (Calculations, Tag Templates and Function Block Templates)
are objects within the Exaquantum system. These objects in turn reference other objects
within the system and those that are relevant to the Cross Reference tool are shown in Table 310H
3-1.
Objects that make a reference (Source) Objects that are referenced (Target)
Calculation Item
Shortcut Item
In the Cross Reference tool, an object that makes a reference is known as a source, and an
object that is referenced is known as a target. A search comprises of a search type (one of
Calculation, Shortcut, Shortcut and Calculation, Tag Template or Function Block), a source,
and one or more targets.
Note: Calculations, Shortcuts and Shortcuts and Calculations use items, rather than tags,
as inputs. However, tags are deleted or modified, not items. When a Calculation,
Shortcut or Shortcut and Calculation search is defined, the user selects tags that are
proposed for deletion or modification; the Cross Reference searches for items of the
selected tags, but reports references made, by tag path.
From the Start menu, select Programs, Exaquantum then Cross Reference Tool.
- or -
Use Microsoft Windows to locate the following folder:
Search List
Report Output
Menu Bar
The menu bar has the menu options: File, Edit, Run and Help.
File Menu
Table 3-2 File Menu
Option Function
Save Xref Search Saves the Target and Source definitions to known text file (.xrf file).
Save Xref Search As Saves the Target and Source definitions in a new text file (.xrf file).
Edit Menu
Option Function
Add Search Displays the Search Definition window, allowing a new search
to be defined.
Edit Current Search Shows the Search Definition window for the selected search.
This allows the search definition to be modified.
Delete Current Search Deletes the currently selected search from the search list.
Clear Search Clears all the defined searches from the search list.
Run Menu
Option Function
Report Format Toggles between Rich Text and Plain Text as the report format.
Note: The Report Format option is provided because, on Japanese systems, the Rich
Text control displays some of the characters in the tag names incorrectly. If this
occurs, the user should select Plain Text (or deselect the B button on the toolbar),
and re-execute the report.
Help Menu
Opens the online Help files associated with the Exaquantum Cross Reference tool.
Search List
The search list contains a list of the currently defined searches. Double-click on a search in
the search list to display the Search Definition window, allowing modification of the selected
search.
The Search Definition window comprises the following fields and controls:
Search Type
Select the type of search you want from the drop down list. The options are:
♦ Calculation
♦ Shortcut
♦ Tag Template
Note: Access to the fields in the Search Definition window change depending on which
option you select.
Search Path
This field is only active for Calculation, Shortcut and Shortcut and Calculation search types.
Use the Search Path field to specify the folder the will start from. You can drag and drop a
folder name from the Browser list. The search path can be modified, using any of the
standard regular expressions.
This check box is only relevant to Calculation, Shortcut and Shortcut and Calculation search
types. Select the External Tags Only check box when you want to do a search for items
external to the specified search path. This option is useful, prior to deleting a folder, to filter
out references by calculations in the folder, and to show references made by calculations
outside the folder to items within the folder.
Show Shortcuts
This check box allows you to include or exclude Short Cuts from the search. Typically, you
will want to see all references to a tag and the box will be checked.
In the Targets list you can specify the calculated tag, tag template or Function Block
template name that you want to search for cross references tags. You can drag and drop a
name or folder from the Browser list into the For Targets list. Any target path can be
modified; regular expressions can be included in the path if required. Multiple targets can be
added to the For Targets list.
1 In the For Targets list, right-click, a pop-up menu is displayed. The options are:
♦ Add - adds a new target (as an alternative to dragging targets from the Browser)
Browser List
The Browser list shows a tree structure, the contents of this list depend on which Search
Type has been selected:
Table 3-5 Browser List
2 From the Edit menu, select Add Search. The Search Definition window is displayed.
3 In the Search Type field, select the search type you require.
Note: For Calculation, Shortcut and Shortcut and Calculation searches only. In the
Browser list, select the folder the search will start from. Drag and drop the
selection into Search Path.
4 Using the Browser list, select the required target(s); drag and drop the selection(s) into
For Targets.
7 In the Exaquantum Cross Reference window, from the Run menu select Start.
The Report list will display the results of the search. The results can be printed or saved
as a .txt file.
output (the Exaquantum Cross Reference Report list) the results of each search are shown.
Figure 3-3 Example of a Calculation Search
General
In Figure 3-4 the example search list shows a defined Shortcut search. In the report output
315H
(the Exaquantum Cross Reference Report list) the results of the search are shown.
General
In Figure 3-5 the example search list shows a defined Shortcut and Calculation search. In
316H
the report output (the Exaquantum Cross Reference Report list) the results of the search are
shown.
Nested Calculations
In the example shown in Figure 3-8, the search list shows two defined searches and the
319H
♦ That all versions are correct i.e. versions have not changed as a result of new software
(installed after Exaquantum)
The Exaquantum Versioning Tool also allows you to create a log of the file version
information, based on what is currently installed on the computer. This file can be used as a
base point to perform the same version checks (instead of the file supplied with the
installation). This option is useful after an installation, to check the 'as installed' software
and identify changes after commissioning due to other software installations.
When the tool is used for the first time, a file is created called filelist.log. This file
contains the names and versions of all the files the installation program will attempt to install.
Note: The installation program may not install all the files. Some may already exist (in
this case only newer versions will be installed). The Exaquantum Versioning Tool
will compare the filelist.log file with what is currently installed on a specific
computer.
Menu Bar
The menu bar has the menu options File and Filter.
File Menu
Option Function
Open Alternate Allows the selection of the base comparison file. (Normally the
fileasinstalled.log but this could be your own post installation
version.)
Filter Menu
Option Function
General Field
The general field contains information about the current Exaquantum installation version
and release number.
Information Pane
The information pane will display a six-column list. The columns will contain the
following information:
♦ A list of files as defined by filelist.log or the selected version of the log file
♦ The Check Version and Check Date columns specify the expected version and date
♦ The Actual Version and Actual Date column specify the information from the
computer
♦ The Status column will contain one of the options listed in Table 4-3 Status Options.
320H
Status Description
Newer version The version is newer than expected. This is generally OK, but
should be investigated.
Older version The version is older than expected. This situation must be
investigated.
Missing The file scheduled for installation is missing. It was either not
installed or has been deleted. This must be investigated.
Note: Double clicking on a file name will display a Property window; this will give more
details about the file.
The files on the computer will be checked and a six-column list will be displayed in the
information pane.
Note: These filters can be applied separately or together. The filter menu identifies active
filters with a tick. By default the None option is checked.
To turn a filter off, use the Filter menu to either select it again or select the None option.
Clicking on the column header again will reverse the sort order.
2 In the Print window, select the required printer and click on OK.
2 In the Save As window, enter a filename which must have the extension .rlt. Click on OK.
Note: This file can be viewed as a text file. The text file cannot be reloaded into the
Exaquantum Versioning Tool.
If the Exaquantum Versioning Tool is run after installing Exaquantum and there are different
file versions, Exaquantum may still function correctly. If this is the case, it is necessary to
update the filelist.log file so that subsequent checks are made against the files
actually on the computer.
The log file takes the form of a Comma Separated Values (CSV) ASCII file, data can be
entered directly. The Exaquantum Versioning Tool will create the log file automatically;
this is the option we recommend.
To perform an update of the filelist.log file it is necessary to run the tool in command
line mode.
-CSV
This parameter specifies that the tool needs to create a CSV file. The CSV file will contain
information on the files actually installed on the target computer. In this mode there is no
visible user interface.
After creating a user-defined log file using the command line parameter –CSV, you must use
this file (filesasinstalled.log) when comparing versions rather than the default file
(filelist.log).
To achieve this you can use the File menu option Open Alternate. This allows you to
specify the filesasinstalled.log as the ‘base-line’ for the version comparison. After selecting
this file you can use the Start menu command as before.
Note: Although the user-defined log file will remain in memory until the Exaquantum
Versioning Tool is closed, subsequent running of the tool will default to the
filelist.log file.
The tool will check all the files scheduled for installation against those actually installed.
Any missing or incorrect files should be immediately investigated.
Running the tool after an installation also provides a base-line for the installation. You will
be able to establish exactly which versions of files are on the computer. The file list can be
updated at this time, if it is different from that expected. See the section on Updating the
File List for reasons why this may occur and the procedure involved.
There are other applications which will assist when a system ceases to function correctly,
(e.g. Event viewer), the Exaquantum Versioning Tool can also provide useful information.
Assuming the original post-installation check was successful, subsequent checks will verify
which files have been deleted or have different versions.
The Exaquantum installation, in common with most software, will only overwrite files if the
version number or the date is more recent than that of the existing file. However this can
still cause some compatibility problems. The Exaquantum Versioning Tool must be run
before and after new software is installed to see if any Exaquantum files are updated. This
will highlight any likely source of problems should Exaquantum not function after the
installation of new software.
Note: Exaquantum uses its own specific files and ‘shared’ files that may already exist on
the computer. The shared files are those most at risk when additional software is
installed. The tool checks all files.
The Tag Configuration viewer is available both as a standalone executable, and as an Excel
add-in.
Note: Only users who are members of the specified Exaquantum group, are allowed
access to the Tag Configuration Viewer.
Report Types
Tag Version Displays tags that are not built to the latest version of the
Tag template.
FB Version Displays Function Blocks that are not build to the latest
version of the Function Block template.
OPC History Mismatch Lists the (OPC) tags where the OPC update rate does not
match the Historian interval.
Shortcuts Lists all the shortcut references made to all tags in the
selected path.
Bad Calculations Lists the calculated tags where the script contains errors.
Bad Shortcuts Lists all shortcut references with a broken tag association.
Tag Viewer
This report outputs configuration information about all tags found in the specified path. The
content of this information is as follows:
Information Notes
Version The version number of the tag template used to create the tag.
Units The tag units; set to <NOT PRESENT> if units not configured for the tag
High Eng The tag high engineering range. Set to <NOT PRESENT> if the high
engineering limit is not configured for the tag.
Low Eng The tag low engineering range; set to <NOT PRESENT> if low eng not
configured for the tag
Information Notes
Spot Checked if spot value configured for tags with continuous aggregations
Raw History The frequency, in seconds, at which the tag is written to the historian. 0
Period indicates am OnChange setting; no value indicates that the tag is not
written to history
OPC server The opc server, from which tag values are sent; applies to opc tags only
OPC item id The item on the opc server, from which values are sent; applies to opc
tags only
OPC period The opc update period, in seconds; applies to opc tags only
OPC percent The opc dead-band in percent; applies to opc tags only
dead-band
Aggregation A list of aggregation periods that the tag uses; no value means the tag
Periods has no aggregation periods
FB Template The template name, to which the function block was built
FB Version The version label of the template, that the function block was built to
Tag Version
This report lists all tags that are not built to the latest version of their tag template. The
details of this report are as follows:
Information Notes
Tag Template The template name, to which the tag was built
Version The version label of the template, that the tag was built to
FB Version
This report lists all function blocks that are not built to the latest version of their function
block template. The details of this report are as follows:
Information Notes
FB Template The template name, to which the function block was built
FB Version The version label of the template, that the function block was built to
This report lists all tags that are written to history at a different rate to which they are
updated. The report only includes opc tags; it excludes those opc tags with a Raw History
Period of “On Change”. The details of this report are as follows:
Information Notes
Raw History Period The frequency, in seconds, at which the tag is written to the historian.
Locked Tags
This report lists all tags and function blocks that are locked. The details of this report are as
follows:
Information Notes
Shortcuts
This report lists all shortcut references to tags in the specified path (this includes tags
external to the specified path, making shortcut references to tags internal to the specified
path). The details of this report are as follows:
Information Notes
Shortcut A list of shortcuts to the specified path, including the path itself
Path Shortcut
The selected path from which to display shortcuts is Root.folder 1. The report finds two tags
in this folder, having shortcuts, these tags being Root.folder 1.fb0.PV and Root.folder
1.fb2.PV. The path column shows each tag found with shortcuts, and the shortcut column
lists all of the tags making shortcut references.
Bad Calculations
This report lists all calculation tags having a bad calculation script (such a tag may have a
bad script, due to one of the inputs being deleted). The detail of this report is as follows:
Information Notes
Bad Shortcuts
This report lists all shortcuts having a broken tag association (such a shortcut may be
associated with a tag which has been deleted). The detail of this report is as follows:
Field Value
Report Pane
To change the sort order of the items in the column, click on the title bar of the column you
wish to sort.
Note: It is also possible to click on the first row of a column to sort the order of the items.
This happens because the first row has the same ID as the header row. Therefore
any code that sorts after a click on the header, also runs after a click on the first row.
Menu Bar
The menu bar has the menu options File, Edit and Help.
File Menu
Option Purpose
Report Menu
Option Purpose
Define Runs the Tag Configuration Details window, allowing selection and
definition of a report
Provided Microsoft Excel is installed before Exaquantum, the add-in will be installed into
the correct folder to enable use in Excel, but the add-in needs to be enabled within Excel.
1 Start Excel. From the Tools menu, select Add-ins. A list of available add-ins will be
displayed.
2 Select the Exaquantum Tag Documenter option, and tick its checkbox.
3 Click OK. A message is displayed informing you that the add-in has been successfully
installed.
The Exaquantum Tag Configuration Viewer menu option will have been added to the
Exaquantum menu.
The Tag Configuration Details screen comprises the following fields and controls:
Server
The Server field displays the name of the selected Exaquantum server. The default will be
the designated server.
Database
The Database field displays the name of the RTDB Configuration database.
Report
Report Style
If checked, includes all tags in sub-folders under the selected path, in a report, as well as tags
in the selected folder.
Description
The Description field gives a brief description of the function of selected report.
Selected Tags
The Tags field is where the tags, and/or paths to report on are defined. These can either be
by drag/drop from the browser, or by using the pop-up menu.
The pop-up menu is available by right mouse click on the Tags field. The menu has the
following options:
Option Purpose
Add Tag Allows manual input of a tag or path, including wildcards or regular
expressions
Note: The Tag list is only available when you select the Tag Viewer and Shortcuts report.
Browser
The Browser shows the hierarchical structure that represents the available Exaquantum
process data the data.
Note: The Browser is only available when you select the Tag Viewer and Shortcuts report.
Cancel Button
2 Add the tag or path names (if necessary), click Run Report.
When the reports are run, if the report output contains no data, a dialog will be output
informing the user of this case.
Check Notes
Items with missing Check is for items which should be stored in history (because
history write plan they have a Raw History Period set), but do not have a historian
write plan.
History Orphan Items Check is for items that exist in the historian, but not as an item
in the RTDB (Configuration database). This can include deleted
items.
OPC notification rate Check is run per OPC server, to establish if the notification rate
for that OPC server has been exceeded. In this case,
notifications for some items would not be sent by the OPC
server
OPC groups Check that the maximum number of OPC groups allowed per
OPC server has not been exceeded.
When the application is run, a Pass/Fail result is shown against each of the checks. “Fail”
means there is a consistency problem, “Pass” the reverse.
box for the result of each check. It also has two control buttons:
Option Purpose
3. The checks are run, with “Pass”/ “Fail” being shown against each check, after it has been
run.
♦ Streams, where the corresponding item has been deleted from the Real Time Database
(RTDB)
♦ Future data and "old" data, when the disk and filegroup are full.
♦ Disk Usage Prediction, predicts when the disk containing history data will become full.
Note: You can only use the Historian Management support tool on the Exaquantum
Server computer when the Exaquantum server is offline. The disk usage predictor
can be used when the service is running.
7.1 Startup
Use Microsoft Windows Explorer to find and open the Historian Maintenance application.
♦ Physically delete streams that have been marked for deletion by the historian
The Historian Maintenance displays a startup window (Figure 7-1), this window gives the
324H
user three operation options. This allows you to disable the Remove Future Data operation.
The operation to remove future data can take a long time.
♦ Streams
♦ Storages.
Streams Tab
The Streams tab displays a list of items that have been deleted from the RTDB. If there are
no entries in the Delete Candidates list, then there are no items that can be deleted.
In the Delete Candidates list, select the streams you want to permanently delete. Click the
Add button, the selected steams are added to the Items to Delete list. The format of data in
the Delete Candidates list is:
Note: Streams can be removed from the Items to Delete list by clicking on the item name
and clicking the Remove button.
In practice, any streams that appear in the Delete Candidates list are no longer required by
the Exaquantum system and normally all would be removed.
Note 1: Removal of streams can take a substantial period of time, up to five seconds per
stream, depending on the period of history being removed.
Note 2: The application only has the capacity to load and delete a maximum of 32 000 items
in one pass.
When you have all the streams that you wish to delete in the Items to Delete list, click on
Delete. This permanently deletes all streams for the selected items.
The number of candidates for delete is displayed, below the Delete Candidates list. When
the deletion of items has been started, the number deleted, and the total to delete (that is, the
progress) is shown below the Items to Delete list.
The fields and controls associated with the Streams tab are described below.
Lists all candidates that have been marked for deletion by the historian.
Displays the items that have been selected from the Delete Candidates list.
Add Button
Moves the selected items from the Delete Candidates list to the Items to Delete list.
Moves the all the items from the Delete Candidates list to the Items to Delete list.
Remove Button
Moves selected items from the Items to Delete list to the Delete Candidates list.
Moves all items in the Items to Delete list to the Delete Candidates list.
Delete Button
Exit Button
Storages Tab
The Storages tab (Figure 7-3) comprises two options: Remove Future Data and Free Up Disk
326H
Space.
The Remove Future Data option is enabled if there is data in the historian that has a
timestamp greater than the current time.
This situation will only occur when the time of the system has been accidentally set forward
of the real time, resulting in future data being sent from OPC servers to Exaquantum. If this
time is corrected, and Exaquantum is restarted, data in Exaquantum would then be written
over existing data, making the system very inefficient, and heavily loaded. This would
continue until the current time passes the time of the original future data. This situation
makes running of the Remove Future Data option essential.
To permanently delete all Future data, click the Remove Future Data OK button. Only
future time stamped data will be deleted.
This Free Up Disk Space is enabled when the historian data filegroup file is full, and the free
space on the partition holding the filegroup file is less than the pre-set threshold (i.e. it is
almost full). If the partition and the filegroup file are full, the historian will not be able to
store data and the table space file cannot be extended. In this situation, the application will
delete a small amount of data (raw and Alarm and Event only) from the start of history.
Note: It is anticipated, with correct regular archiving and maintenance the free up disk
space option will not be used.
Caution
The Free Up Disk Space button is provided as a means of recovering a system that has run
out of disk space. Permanent data loss will occur if this button is clicked. It must only be
used when it is not possible to archive data due to a full disk
A well-maintained Exaquantum system should never need this facility. The likely scenario
for use is that the historian database has been allowed to fill the physical disk to such an
extent that it is not possible to archive old data. The two options available are to migrate the
database to a larger physical disk or to remove some data from the existing database.
For more information about migrating to a larger physical disk, see “Disk Space
Extension” in the Exaquantum Engineering Guide Volume 1 Administration (IM
36J04A15-01E).
The second option is achieved by using the Free Up Disk Space function of this utility.
This function permanently deletes the earliest data held in the historian database. Only
raw, and alarm and event data is removed, aggregation values are left in the system.
To execute the function, click on the Free Up Disk Space OK button; this will execute the
function and permanently remove the history data. The amount of data removed is governed
by the registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Quantum\Server\Historian\FreeDiskSpaceRows
This determines the percentage of raw and AE data to remove. The default is 10%
The controls associated with the Storage Deletion tab are described below.
Deletes the storages with end dates in the future. The button is only enabled when data is
found in the historian, with a timestamp of greater than the current time.
Removes storages before a pre-defined time period. The button is only enabled on two
conditions:
2. The total free disk space where the historian data filegroup resides contains less than a
pre-defined amount of free space. This amount is a percentage, held in the registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Quantum\Server\Historian\FreeDiskSpaceThres
hold
Exit Button
Each storage should use a similar amount of storage space, this application will allow you to
check each storage individually. The .csv file type should be viewed using Microsoft Excel.
This application is primarily intended for use by developers and system integrators.
Use Microsoft Windows Explorer to find and open the Storage Analysis application.
The Storage Analysis window (Figure 7-4) comprises four fields and two buttons. These are
327H
described below.
Name Purpose
Storage Name Drop down list, containing the names of all storages in the Exaquantum system.
Results File Select or enter the full path of the name you want to use for your results file. The
results file must have a .csv extension, the extension is added automatically.
Start Time Enter a start time using the time and data selector. The associated check box
must be checked to enable the start time control. If the check box is unchecked,
the start time is ignored in the analysis
Note: Only storage rows with a timestamp which is equal to or more than the
specified start time will be included for analysis.
End Time Enter an end time using the time and data selector. The associated check box
must be checked to enable the end time control. If the check box is unchecked,
the end time is ignored in the analysis
Note: Only storage rows with a timestamp which is equal to or less than the
specified end time will be included for analysis.
Note: Storages are given numbers when they are created by the Historian.
2 In Results File, enter a name and path for the output file. Using the extension .csv.
The output file must be viewed in Microsoft Excel. Navigate to the output file using
Windows Explorer and double-click on the file name to open it.
The output file lists all the streams within the storage (this may be delimited by use of start
and end times) and has two columns. The left column contains the id number of the stream
and the right column contains the size of the data in bytes.
The different streams should be of similar size to ensure optimum efficiency. Any
discrepancies may be investigated.
Note: If the item is in the wrong storage it is not possible to move it.
The application does not take into account downtimes when calculating its prediction. Thus
frequent short downtimes may result in the predictions being pessimistic, whilst long
downtimes will result in the prediction being optimistic.
Use Microsoft Windows Explorer to find and open the Disk Usage Prediction application.
To open the Disk Usage Prediction application, click on the DiskUsage.exe file.
The Disk Usage window (Figure 7-5) application’s fields and controls are described below.
328H
Name Purpose
Results Contains the Disk Usage report after running the application.
Run Runs the application which generates the Disk Usage Report
Maximum archive size exceeded. If any of the online archives has a size greater than the
size specified during installation/database creation.
Online archive count exceeded. If the number of online archives is greater than that
specified during installation/database creation
To use the Disk Usage Prediction application click on the Run button.
This generates the Disk Usage report which will be displayed in the Results list.
Report Contents
Note: If the database is set to expand then all physical space on the drive will be
considered. If the database is a fixed size, then only the space allocated to it will be
considered. If the historian filegroup files are stored on different partitions, this
factor is included in the calculation.
Title Information
Current Free Space The free physical space available to the historian.
Predicted Four entries that show the predicted date and time that 25%, 50%,
Consumption 75% and 100% of the currently free disk space will be used.
Note: For the installation default parameters, refer to the Exaquantum Installation Guide
(IM 36J04A13-01E).
However, this tool may be used to explicitly create new or re-create the databases.
Caution
Database creation is a serious action that can have significant impact on the Exaquantum
system. Users should be aware that running this tool essentially destroys the existing
databases. Usage of this tool must therefore be limited to those who are responsible for the
Exaquantum system administration.
Only use the database creation tool if you are sure of its effect.
Database Group
These fields accept the parameters by which the Exaquantum databases will be configured.
Specifies the Configuration database size in MB. The database is always set to Auto-expand.
The default is 30 MB (this is the Small Database option).
Specifies the ‘HistorianAdmin database’ size in MB. The database is always set Auto-
expand. The default is 16 MB (this is the ‘Small Database’ option).
Specifies how large the Historian database should be in terms of a percentage of the
available free disk space. The database is either Auto-expand or Fixed, depending on which
Historian Databases option (see below) has been checked by the user. The default
percentage is 80%.
This check box provides an option to make the Historian database auto-expand. The default
is Not Expand (i.e. the box is not checked). In this case the database will grow to a specified
size, but will not be able to accept new data once the limit is reached.
Caution
The Auto-expand option may appear useful when the system is first installed, and the
Historian data has not grown too large. However, as the system grows, the Historian
database size may reach that of the available disk space. At this point, the auto-expand
option could turn out to be dangerous, as there is no space for archiving data. Creating space
for more data is then not possible, unless part of the already present Historian information is
deleted.
We therefore recommend that, for most cases, you use the database with the pre-allocated
space and the Expand Historian Databases option unchecked.
This check box provides the option to specify whether any existing databases will be
overwritten.
Caution
Overwriting existing databases is a serious action that can have significant impact on the
Exaquantum system. Take care when using this option. If it is selected, the content of the
existing databases will be lost.
Only use the Overwrite Existing Databases option if you are sure of its effect.
Security Group
Exaquantum implements the security feature, utilizing Windows network security and the
SQL Server security mechanism. During the installation process, users are prompted for the
whole set of parameters, while using this tool users are prompted for the SQL access
oriented parameters only. As for the exact value to place in this field, ask your network
administrator.
Note: This value should be the same as that used in the installation (the bottom parameter
in the DCOM setting step).
Domain/Machine Name
Depending on the network configuration of the Exaquantum server, specify either the
domain name or the local machine name.
Not all customers will want to use the security and logging features that Exaquantum
provides for 21 CFR 11. Consequently these features can be switched on or off.
Enable Auditing
This checkbox controls whether 21 CFR 11 auditing is switched on or off. The default
setting is that auditing is not enabled.
When 21 CFR 11 auditing is on, any function that enables a user to change values in the
database has a timeout period; this forces the user to reconfirm their password if the timeout
period has expired without any write operation being carried out. The timeout is designed to
prevent unauthorized users from making changes using an authorized user’s workstation that
has been left open.
Archiving Group
The archiving fields allow the user to specify how much free space should be reserved for
the archive operation.
This field specifies the maximum single archive size. The value should be less than or equal
to the media that is going to be used to backup archives. The default is 640 MB (CD-ROM
size).
This field specifies the number of archives that can stay online at the same time. The figure
excludes the space required for making an archive. Therefore, ‘1’ is always added to the
figure specified here. The default is ‘2’.
Information Group
These fields are for information only. They will be particularly useful to determine the
figure to specify for the ‘Percent of Disk for Historian’ parameter.
This is the free disk space on the drive to which the SQL Server’s databases are allocated. It
is primarily a free disk space, plus the existing database size (if the databases exist and the
overwrite existing databases option is selected). The databases are considered to be
‘existing’ when the name with a prefix character matches to an existing database name.
This is the sum of space used by the three databases: Configuration database, Historian
Admin database and Historian database.
This value is the result of ‘History Archive Size’ multiplied by ‘Maximum Online Archives
plus 1’.
Using the data supplied, this field show the free disk space. This value is calculated by
subtracting the ‘Database Disk Space’ and ‘Disk Space Reserved for Archiving’ from the
‘Current Free Space’. If this value is not sufficient, some of the other parameters (i.e. figures
already entered in some fields) should be adjusted until an appropriate value is calculated.
This shows where the tool thinks that the SQL Server database files are located.
This is the Exaquantum License Key Code; it is only displayed when Exaquantum has been
installed with a proper license key code.
Control Buttons
Refresh Disk Updates the calculation of free disk space based on the specified
Information parameters.
Exit Quits the operation of this tool and does not update the databases.
♦ The installation default parameters are not satisfactory. In this case, use this tool after
the installation has completed. No data exists and hence the Overwrite Existing
Databases option should be checked.
♦ The installation’s database creation process fails. This tool should be run with the
appropriate parameters. In this case, do not check the Overwrite Existing Database
option, as the tool creates only non-existing database(s).
♦ When users want to remove database contents. In this case, the Overwrite Existing
Databases option should be checked.
2 Select Database Creation Tool; the Exaquantum Database Creation Tool is displayed.
Create a Database
4 If the resulting free space value is appropriate (see “Estimated Free Disk Space after
329H
Database Creation” in the Information Group section above), click on Create to start
30H
creating databases.
Note: Depending on the size set for the Historian database, it may take a long time to
create the databases.
5 If the calculated free space value is not appropriate (see “Estimated Free Disk Space after
31H
Database Creation” in the Information Group section above), repeat Steps 2 and 3.
32H
6 After the database creation was successful, please reapply the IT Security settings (using
the current Security Model) by running the IT Security Setting Tool. Refer to "How to
use IT Security Setting tool" in "IM36J04A1502E".
Database Group
These fields accept the parameters by which the Exaquantum databases will be configured.
Specifies how large the Historian database should be in terms of a percentage of the
available free disk space. The database is Fixed and the default percentage is 90%.
Information Group
These fields are for information only. They will be particularly useful to determine the
figure to specify for the ‘Percent of Disk for Historian’ parameter.
This is the free disk space on the drive to which the SQL Server’s databases are allocated. It
is primarily a free disk space, plus the existing database size. The databases are considered to
be ‘existing’ when the name with a prefix character matches to an existing database name.
Using the data supplied, this field shows the free disk space. This value is calculated by
subtracting the ‘Estimated database space after expansion’ from the ‘Current Free Space’
and ‘Database Disk Space’. If this value is not sufficient, some of the other parameters (i.e.
figures already entered in some fields) should be adjusted until an appropriate value is
calculated.
Using the data supplied, this field shows the database space after expansion. The database
space after expansion is calculated by percentage-expressing the ‘Database Size (% of disk
space)’ from the ‘Current Free Space’ and ‘Database Disk Space’. If this value is less than
the database disk space, expansion processing cannot be performed for the database.
This shows where the tool thinks that the SQL Server database files are located.
Control Buttons
Refresh Updates the calculation of free disk space based on the specified
parameters.
Exit Quits the operation of this tool and does not update the database.
2 Select Expand Databases Tool; the Exaquantum Expand Databases Tool is displayed.
Expand Database
4 If the resulting free space value is appropriate (see “Estimated Database Space after
3H
Expansion” in the Information Group section above), click on Expand to start expanding
34H
the database.
Note: Depending on the size set for the Historian database, it may take a long time to
expand the database.
5 If the calculated free space value is not appropriate (see “Estimated Free Space after
35H
♦ Recover data lost over OPC downtimes where the Exaquantum/PIMS misses data
from an OPC server.
In the upper section of the form of the tool there are 3 tabs, these are:
♦ An abort button
On the first, and default tab ‘OPC Gateways’, is displayed a list of all the available OPC
Gateways configured, and their DA and A&E status information. (See Figure 10-1)
Selecting OPC Gateways includes the Gateway in the OPC Downtime search seen on the
‘Data Recovery’ tab.
The second tab ‘Data Recovery’ shows two regions: (Seen in Figure 10-2)
♦ Search Period - Time entry boxes to define the search period for OPC downtimes.
♦ OPC Data Downtime - List of downtimes for both tag and / or A&E data.
OPC downtimes are located by the search using the online time of the downtime, current
downtimes that do not have an online time are located by the search using the offline time.
Date and time entry fields are used to select the start and end time of the search. Following
change of the search parameters, click the ‘Refresh’ button to update the list of downtimes
displayed. (See section ‘Search Period Frame’ for more details)
To start recovery, one or more downtimes must be selected, post recovery options are set,
then the ‘Recover’ button clicked; a confirmation message will appear before the recovery is
initiated. (See section ‘Starting Downtime Recovery and Recalculation’ for more details)
To start aggregation recalculation, one or more downtimes must be selected, then the
‘Recalculate’ button clicked; a confirmation message will appear before the aggregation
recalculation is initiated. (See section ‘Starting Downtime Recovery and Recalculation’ for
34H
more details)
Only user added downtimes can be deleted (See section ‘Deleting User Added Downtime’
345H
for more details). To delete user added downtime, one or more downtimes must be selected
then the ‘Delete’ button clicked; a confirmation message will appear before the downtimes
are deleted.
In the event that an OPC Downtime is not added to the database automatically, the OPC
Server Viewer and Data Recovery tool allows a downtime to be added manually.
The third tab ‘Add OPC Downtime’ of the tool as seen in Figure 10-3 provides:
346H
To create a new downtime, select the required gateway and downtime options, click the
‘Add’ button. The user will be prompted for confirmation.
Summary of functionality found on the lower section of the form of the tool
The overall progress and the progress of the current or most recent downtime being
processed is displayed at the lower section of the OPC Server Viewer and Data Recovery
tool and is visible to the user at all times, as shown in Figure 10-4. (See section ‘Display of
347H 348H
The current process can be aborted from the OPC Server Viewer and Data Recovery tool
using the ‘Abort’ button seen in Figure 10-4 regardless of whether the process was initiated
349H
manually from the tool or by the Auto OPC Recovery Service. (See section ‘Abort the
350H
Any of the following methods can be used to initiate the closing of the OPC Server Viewer
and Data Recovery tool:
♦ Using the context menu in the top left corner of the tool and selecting close.
The user will be prompted for confirmation before the tool closes. Closing the OPC Server
Viewer and Data Recovery tool will not affect any recovery or recalculation in progress,
irrespective of whether it was initiated by the Auto Recovery Service or manually using the
tool.
10.2 Overview
The OPC Server Viewer and Data Recovery tool allows flexibility by enabling the user to:
♦ View DA and A&E status information for all OPC gateways in a single view, with
highlighting of those having unprocessed downtimes awaiting recovery and
recalculation.
♦ View information on cause of downtimes, and user defined information for user added
downtimes.
♦ View all downtimes with data recovered both manually and automatically in a single
view. (Downtimes processed by History Catch-up are not displayed)
♦ View recovery and aggregation recalculation progress information for both the
automatic and manual processes.
♦ Recover missing Tag data or Alarms/Events on one or more connected OPC servers,
on demand.
♦ Add user defined Tag data or Alarms/Events OPC Downtime with a user defined
description on one or more connected OPC servers, on demand.
♦ Choose the period over which to filter the display of OPC downtimes.
♦ Choose when to recover the Tag data or Alarms/Events, and recalculate aggregations,
if automated recovery and aggregation recalculation is not configured.
Note 1: All recovery & recalculation operations are done by the Auto OPC Recovery
service.
Exaquantum also provides automatic OPC recovery and aggregation recalculation. The Auto
OPC Recovery service allows flexibility by enabling the user to configure:
All tag data or Alarms/Events recovery operations are recorded in an audit log.
Note 2: Alarms/Events data can only be partially recovered for a time range that has
been archived (Alarm and Event archive group only).
Note 3: Tag data can only be partially recovered for a time range that has been archived
(Raw Fast and/or Raw Slow archive groups).
Note 4: Recalculation of aggregations can only be partially recalculated for a time range
that has been archived (Hourly + Custom or Daily Aggregation archive groups).
History catch-up
Exaquantum already provides an automated form of data recovery known as History Catch-
up. History catch-up can be configured to run whenever the Exaquantum/PIMS server has
been shut down and restarted. If missing Tag data or Alarms/Events is available on the OPC
servers, the Exaquantum/PIMS server will collect and merge it with the existing Tag data or
Alarms/Events to restore the database as completely as possible during the startup process.
When recalculation is performed by History Catch-up it will recalculate in the correct time
sequence all tags all OPC tag aggregations, all calculated tags and their aggregations, and
trigger custom events if the system is configured to do so.
When recalculation is performed following an OPC Recovery it will only recalculate; the
recovered OPC tags’ aggregations, this is also referred to as reclosing aggregations.
Calculated tags (other than those with ‘scripted aggregations’) will not be recalculated or
triggered.
OPC Recovery
The OPC Server Viewer and Data Recovery tool allows data recovery to be carried out
manually at any time while Exaquantum is running. This will allow Tag data and or
Alarms/Events to be recovered after downtime due to network or other system interruptions.
♦ Network Failure
♦ Login Failure
♦ OPC Server Shutdown - (Data cannot be recovered from a OPC server shutdown)
♦ Exaquantum Shutdown
Because some OPC servers may be configured to only store a small amount of historical data,
typically between 3 - 7 days, there is a limitation on which data is recovered for downtime.
There is a reliance on system administrators to regularly check for the presence of downtime,
and attempted recovery while the data is still available on the OPC server.
The introduction of Auto OPC Recovery Service in release R2.70 is designed to monitor
OPC Gateway connection loss and automatically recover missing data. For each OPC
Gateway that Auto OPC Recovery and, optionally, Recalculation is configured, if
unrecovered downtimes are found the service will initiate the recovery of Tag Data and
Alarm/Events from the OPC Gateway, and recalculate aggregations affected by the
downtime.
10.3 Starting the OPC Server Viewer and Data Recovery tool
Security
The OPC Server Viewer and Data Recovery tool is only available on Exaquantum data
servers and Exaquantum combined servers. The tool can only be run by users in the correct
windows user group; the user group depends on the IT Security Model.
The OPC Server Viewer and Data Recovery tool is started from the shortcut in the
Exaquantum program menu, or by running the executable file:
The Exaquantum service and the Auto OPC Recovery service must be running for the tool to
be used. If the services are not running the tool will display a message to the user that it is
unable to start, will log any errors in the windows event log, and then exit.
On Startup
Only one instance of the OPC Server Viewer and Data Recovery tool can be running at any
one time. A search for OPC downtime is performed automatically on starting the OPC
Server Viewer and Data Recovery tool. This displays downtimes within the OPC Downtime
Default Threshold for all gateways. This allows the user to quickly view downtimes that
have occurred. All downtimes are also preselected to minimize the number of user actions to
initiate a recovery or recalculation.
Represented as:
Represented as:
Last DA-Status Update Time of last status change from DA OPC Gateway. (See
section Last Status Update)
Note: This is not the same as the time at which the status
was last checked.
Last A&E-Status Update Time of last status change from A&E OPC Gateway.
(See section Last Status Update)
Note: This is not the same as the time at which the status
was last checked.
Figure 10-5 and Figure 10-6 show examples of the OPC Gateway states information that is
displayed.
Selecting Gateways
Checking the check box for an OPC Gateway includes the Gateway in Data Downtime
events search, the results from the search are shown in the OPC Data Downtime check list
automatically without needing to click the ‘Refresh’ button on the Data Recovery tab (See
section 10.5).
The check box in the header row of the first column as seen in Figure 10-7 can be used to
quickly select or de-select all OPC Gateways listed. Individual rows can still be
independently selected or de-selected as required. By default all of the OPC Gateways are
selected on first entry.
Time of last status change from OPC Gateway. There is a value for each of DA and A&E is
displayed, as shown in Figure 10-5.
♦ White background color - The most recent status update indicated the OPC Gateway
was Online. The field has a white background color and shows the date and time of
the last status change.
♦ Red background color with date and time displayed - The most recent status update
indicated the OPC Gateway was Offline. The field has a red background color and
shows the date and time of the last attempted check.
♦ Red background color with no date and time displayed - There was an error retrieving
the status information about the OPC Gateway in the most recent status update, the
field has a red background color but no date and time is shown.
♦ Yellow background color - The most recent status update indicated the OPC Gateway
was Online, but there are OPC Data Downtime periods where data recovery or
recalculation is not ‘Complete’ or ‘Partial Recovery’. The field has a yellow
background color and shows the date and time of the last status change.
The date and time displayed for ‘Last DA-Status Update’ is that of the last status change of
the OPC DA connection. (See Note 1: )
The date and time displayed for ‘Last A&E-Status Update’ is that of the last status change of
the OPC A&E connection. (See Note 1: )
The search for OPC Data Downtime used to determine the field’s background color, uses the
time range ‘NOW - 72 hours to NOW’. Note that 72 hours is the default, and can be
modified if required.
Note 5: A status change of an OPC connection could be when the connection was re-
established after a period of downtime, it is not the last time the status was requested.
When an OPC Gateway is Offline, status information for OPC-Groups and OPC-Items are
unavailable, the number of online OPC-Groups and OPC-Items will be reported as 0.
When one OPC Server is configured with multiple OPC Gateways, these OPC Gateways
will display the same status information for OPC-Groups and OPC-Items.
If the number of configured values displayed for OPC-Groups or OPC-Items do not match
the number indicated as online, further details of which groups or items are not online can be
found in the log files for OPCDAManager “<Exaquantum PIMS install
directory>\OPCDALog\”.
All the OPC Gateway status information will be updated at frequent intervals with a default
of 30 seconds between the end of one refresh and the start of the next.
The OPC Server Viewer and Data Recovery tool can access this information to provide
details of all the missing Tag data and or Alarms and Events. (See Table 10-2)
Using the same date and time entry fields it is possible to select a relative start and end time
in the ‘NOW-72 Hours’ format, as seen in Figure 10-8. The default is ‘NOW-72 Hours’.
If a relative end time is selected, the refresh function will be automatically triggered, to keep
the OPC Data Downtime search up to date. The interval of the automatic refresh has a
default of 10 minutes.
Only the OPC Gateways selected (see section 10.4) are included in the search.
Note 6: The automatic triggering of the refresh of the grid function will be temporarily
disabled if an OPC Data Downtime recovery is in progress.
OPC Downtime lists all downtimes constrained by the default search period; OPC
Downtimes processed by History catch-up are not displayed. The data displayed is described
in Table 10-2 with examples shown in Figure 10-9 and Figure 10-10.
36H 367H 368H
Data Type
Represented as:
Recalculation status The aggregation recalculation status of the downtime. This is not
available for OPC Alarm and Event Data downtimes.
Represented as:
• Network Failure
• Login Failure
• OPC Server Shutdown
• Exaquantum Shutdown
• User Added: <User Entered Description>
<User Entered Description> Is a comment added by the user
creating the downtime. Limited to 50 characters.
Recovered Data A time between Offline Time and Online Time indicating the
Time data recovered.
Recovery Start Time The time that recovery was started, if relevant.
Recalculation Start The time that aggregation recalculation was started, if relevant.
Time
This is not available for OPC Alarm and Event Data downtime.
Status Description
Not Started Recovery or Recalculation has not been started. See Note 7:
371H
Partial Recovery Recovery of part of the OPC Data has been completed successfully.
Not all of the data was available from the OPC Server.
This is not available for OPC Alarm and Event Data downtime.
Partial Recovery Recovery or Recalculation of part of the OPC Data has been
(Abort) completed successfully; the processing was aborted as a result of
user action, before it reached the end of the downtime.
Partial Recovery Recovery or Recalculation of part of the OPC Data has been
(Exaquantum completed successfully; the processing was aborted as a result of
Abort) an Exaquantum shutdown, before it reached the end of the
downtime.
Note 8: The current time slice of downtime recovery will be completed. Data forward of
the recorded Recovered Data Time (as defined in Table 10-2) will be missing (up to the
376H
Online time). When recovery is started again for this downtime, it will start from the
recorded Recovered Data Time.
Note 9: When recalculation is started again for this downtime, it will start from the
Offline Time.
Selecting a Downtime
The check box in the header row of the second column as seen in Figure 10-11 can be used
37H
to quickly select or de-select all OPC Downtime. Individual rows can still be independently
selected or de-selected as required.
For each Downtime found in the search, its eligibility for manual recovery / recalculation or
deletion is indicated as follows:
♦ Downtime is eligible for one or more of recovery, recalculation or deletion. The check
box is visible and can be checked.
♦ Downtime is eligible for one or more of recovery, recalculation or deletion, but its
OPC Gateway state is currently Offline. The check box is visible but it is grayed out
and cannot be checked.
♦ Downtime is not eligible for any of recovery, recalculation or deletion. The check box
is not visible.
For an OPC downtime to be eligible for Deletion it must comply with the following rules:
2 The downtime must be a user added downtime, in the ‘Description’ column these are
displayed as ‘User Added: <user defined description>’.
For an OPC downtime to be eligible for Manual Recovery it must comply with the following
rules:
1 The downtime’s gateway is not in the Offline state. As defined by there being no DA or
A&E downtimes that exist for the downtime’s gateway that have no Online time.
2 For the downtime’s gateway there are no other A&E downtimes currently being
processed by AE History Catch-up.
♦ Not Started
♦ Error
For an OPC downtime to be eligible for Manual Aggregation Recalculation it must comply
with the following rules:
♦ Partial Recovery
♦ Complete
♦ Not Started
♦ Error
Before starting manual recovery, the user can set post recovery options. Post recovery
options are saved when the tool is closed, and then restored when the tool is next opened by
the same user. The default option selected is ‘Recalculation as per OPC Gateway settings’.
Options Description
Recalculation as per OPC After all selected downtimes are recovered, aggregation
Gateway settings recalculation of a downtime just recovered is only performed if
the downtime’s OPC Gateway has Auto Recalculation enabled
and the downtime complies with the rules for Manual
Aggregation Recalculation.
If none of the selected downtimes are eligible for recovery or aggregation recalculation the
user will be notified of this.
If not all of the selected downtimes are eligible for recovery or aggregation recalculation the
user will be notified of this, and will be given the option to continue. In this case only
downtimes that are eligible for recovery or aggregation recalculation remain selected.
Recovery and recalculation of downtimes initiated from the OPC Server Viewer and Data
Recovery tool are processed in the same way as those initiated from Auto OPC Recovery
service, see section Processing of OPC downtimes for more details. Data from OPC
380H
downtimes are recovered first, processing them one at a time, in order of the oldest Offline
time first.
All recovery results are recorded in the OPC Recovery Audit log, which can be viewed from
the Exaquantum System Events Viewer.
If none of the selected downtimes are eligible for deletion the user will be notified of this.
If not all of the selected downtimes are eligible for deletion the user will be notified of this,
and will be given the option to continue.
The following basic checks are performed on OPC Downtime being added:
♦ For OPC Servers with multiple Gateways configured for DA and supports HDA, DA
Downtime is only added for the first Gateway configured to that server.
♦ For each OPC Gateway, A&E OPC Data Downtime is only added if the gateway is
configured for A&E and supports HAE.
Note 10: If none of the selected gateways are eligible for the type of downtime selected
the user will be notified of this.
The following user input controls can be reset to the default state by clicking the ‘Clear’
button:
♦ Start Time
Date and time entry fields are used to select the period of the downtime to be added. Enter
the start time and the end time of the outage in LOCAL time as shown on the PC clock of the
server. By default the date and time entry fields are in the ‘Please Select’ state, as seen in the
top of Figure 10-13.
381H
Note 11: Care should be taken when entering dates to avoid overlapping or erroneous
entries. If downtimes overlap OPC Recovery will occur more than once for the period
that is overlapping.
Select all Gateways or Specific Gateways to match the downtime that is to be generated, the
data displayed is described in Table 10-5. Some OPC Gateways do not support history data
382H
retrieval and it is not possible to create downtime for these Gateways. By default all of the
OPC Gateways are selected.
The type of OPC Downtime to be created is selected using the check boxes, allowing the
following selection to be made:
♦ Data Access
The description of the OPC Downtime added by the user, this field is restricted to 50
characters.
The OPC Data Downtime display will be updated at the start and at the end of processing of
each downtime, reporting the new recovery and recalculation status.
The progress information displayed on the OPC Server Viewer and Data Recovery tool
includes:
♦ When an abort has been initiated, and when the processing has been aborted.
♦ The state of the progress bar is defined as a percentage of the number of time
periods within the downtime remaining to process.
Note 12: While an OPC Recovery or recalculation is in progress the ability to start
another manual recovery / recalculation or delete user added OPC Data Downtime is
disabled, the selecting of Downtimes is also disabled.
The tool will prompt for confirmation before the abort is executed. Once the abort has been
confirmed, the current recovery or recalculation will continue until it reaches the next time period
within the downtime being processed or the end of the current downtime, whichever is first.
It is possible to resize the tool both horizontally and vertically, the tool has a minimum size
to ensure that all elements of the tool are displayed correctly.
It is possible to change the display width and ordering of columns within data grids, to
enable all data within the column’s fields to be viewed. Columns will have a default width to
best display relevant data in all columns. Where all the data within a cell cannot be displayed,
a tooltip is shown, displaying the data. Column headers that are unable to display the full
title of the column on a single line will attempt to display the title on multiple lines.
User customization of the width is saved and reinstated when the tool is next run by the same
user.
Where there are more columns or rows than the tool is able to display all at once, the data
grids allows horizontal and vertical scrolling of the data.
If the Exaquantum service or the Auto OPC Recovery service is stopped while OPC
Recovery is in progress, the OPC Server Viewer and Data Recovery tool will exit, displaying
a message indicating the reason for the tool closing. An abort is initiated as described in
section Abort the current process.
384H
On starting the Auto OPC recovery service will first search for any OPC downtime records
that need repairing as a result of the Exaquantum server losing power while a downtime was
being recovered or recalculated. These records would otherwise be left with a state of ‘In
Progress’.
The downtime search is restricted to the OPC Downtime Default Threshold, see section
Appendix A.1 Downtime Threshold for details. Note that 72 hours is the default, and can
385H
be modified if required.
Any OPC downtime records found in this state are updated to have the state ‘Partial
Recovery (Exaquantum Aborted)’, which will then allow the downtime to be automatically
or manually recovered / recalculated again.
After an initial delay with a default of 30 seconds, the service will attempt to search for OPC
Downtime at regular intervals with a default of 30 seconds.
If the search attempt was successful, all OPC downtimes retrieved have an Online time that
is within the Appendix A.1 Downtime Threshold.
The OPC downtimes are then filtered using the following rules to find downtimes that are
eligible for Auto Recovery:
2 The downtime’s gateway is not in the Offline state. As defined by there being no DA or
A&E downtimes that exist for the downtime’s gateway that have no Online time.
3 For the downtime’s gateway there are no other A&E downtimes currently being
processed by AE History Catch-up.
4 For the downtime’s gateway there are no other DA or AE downtimes that has an Online
time that is within the Appendix A.1 Downtime Threshold of before the current
time.
♦ Not Started
The OPC downtimes are then filtered using the following rules to find downtimes that are
eligible for auto aggregation recalculation:
♦ Partial Recovery
♦ Complete
♦ Not Started
If there are downtimes that are eligible for Auto Recovery or Auto Recalculation the
processing of these downtimes are then initiated.
If more than one OPC Gateway with items configured point to the same OPC DA Server
only a single entry is present in the Item Downtime table for this server.
Each downtime is processed in time slices that may be smaller than the overall downtime
period; this is done to optimize performance. The size of the time periods has a default of 30
minutes.
This is done to recover as much data and Alarm/Events data as possible from the OPC
servers before that data is removed from the OPC server’s limited historical store.
As the processing of each downtime recovery finishes, if the downtime was in the list of
those eligible for auto aggregation recalculation pending auto recovery, the downtime is then
added to the list of downtimes eligible for auto aggregation recalculation, providing the
downtime complies with the following rules:
♦ Partial Recovery
♦ Complete
♦ Not Available
♦ Not Started
All recovery results are recorded in the OPC Recovery Audit log, which can be viewed from
the System Events Viewer.
The Auto OPC Recovery service then processes all OPC downtime aggregation
recalculations, processing them one at a time, in order of the oldest Offline time first.
Any remaining OPC Data Downtime that was due to be processed, are still eligible to be
recovered and recalculated at a later time. Only those with a recovery and recalculation state
of ‘Not Started’ or ‘Partial Recovery (Exaquantum Aborted)’ are eligible for auto recovery
and recalculation, the others will have to be done manually using the tool.
Stopping the Exaquantum service or Auto OPC Recovery service will also result in the OPC
Server Viewer and Data Recovery tool being closed, the user will be presented with a
message indicating the reason the tool is closing.
Thus to distribute a template it can be exported to a CSV file from one server and imported
on all the others that require to use it. This enables the easier setting up of additional
Exaquantum/PIMS servers.
Although the Exaquantum system provides comprehensive template creation and editing
tools, if one or more templates needs to be changed, in some situations it can be easier to edit
the CSV file than edit the templates. For example exporting a set of templates, making a
series of small changes and import to all the new servers can be easily accomplished.
12.2 Operation
A set of templates on one Exaquantum/PIMS server can be saved to a file and then imported
to one or more other Exaquantum/PIMS servers in the same system.
There are two types of template, Tag and Function Block, which have to be treated
separately. However, the procedure is the same in each case.
Export
To save a set of templates to a file run the Tag/Function Block Template Import/Export tool
and select Export. Choose the type of templates to be saved and provide a name and path for
the file to be saved.
Import
Importing of template files should only be carried out on a clean, empty Exaquantum
database. To import a set of previously saved templates, run the Tag/Function Block
Template Import/Export tool and select Import. Choose the type of template to be imported
and identify the file containing the data.
The contents of each file starts with a header followed by the body.
Table 12-1 Tag/Function Block Template Import/Export tool CSV file format
There are two specific formats, one for Tag Templates and one for Function Block Templates.
When examined in a text editor, the contents of the file will be as follows:
♦ First line – header line showing the file name and the date and time it was created
♦ Third line onward – each line is a set of data values for one Tag Template. Each value
represents one of the column headings shown in the second line.
Tag Template, Version Label, Tag Type, Data Type, Aggregation Type,
RawHistoryPeriod, Unit, HighLowEng, Description, Writable, OPCPeriod,
OPCPercentDeadband, OnState, Mean, OnTime, Max, Min, Count, StdDev, Sum,
SpotValue, DifferentialSummation, DiffSum Reset Counter, DiffSum Valid Percent Diff,
DiffSum Round DP, SumFactor, Aggregation Periods, Aggregation by Calc. Periods
Note 1: Data lines can be longer than the displayed line length. In some editors, long lines
will be wrapped, making them cover more than one line.
Note 2: There must be an identical number of values (commas) on each line except the
header. An empty value must be represented by an empty field with a comma on each side.
For example this line has a missing Value 3, thus; “Value1, Value2,Value4”.
Note 3: The file contains a block of system information that must not be edited. The
following delimiters are used to enclose this section:
♦ System use information, prohibition of editing! START =================
The following table shows the name and purpose of the columns and associated values.
When examined in a text editor, the contents of the file will be as follows:
♦ First line – header line showing the file name and the date and time it was created
♦ Third line onward – each line is a set of data values for one Function Block Template.
Each value represents one of the column headings shown in the second line.
FB Template, Version Label, Tag, Tag Type, Data Type, Tag Template, TagID,
Description, Unit, HighEng, LowEng, Initial Value, Script
Note 1: Data lines can be longer than the line length available for displayed. In some editors,
long lines will be wrapped, making them cover more than one line.
Note 2: There must be an identical number of values (commas) on each line except the
header. An empty value must be represented by an empty field with a comma on each side.
For example this line has a missing Value 3, thus; “Value1, Value2, ,Value4”.
The following table shows the name and purpose of the columns and associated values.
Note 2: The following escape sequence must be used to enclose a calculation script entry:
♦ @!START - denotes the start of a script
♦ @!END – denotes the end of a script
The Tag/Function Block Template Import/Export tool is started by running the executable
file:
The Exaquantum service must be running in order to use this tool. If it is not, an error
message will be displayed.
All the operations available are accessed from the Tag/Function Block Import/Export dialog
box.
The Tag/Function Block Import/Export dialog box is divided into four main sections which
are described below.
Operation
Import – Runs the tool in import mode so that a previously created CSV file can be imported,
and a set of templates created. Making this selection enables the Import/Export File box (see
below) for identifying the file to be imported. Import mode can only be run when the
Exaquantum service is stopped. If an attempt is made to start the tool when the Exaquantum
service is running, an error message will be displayed.
Export – Runs the tool in Export mode in order to create a CSV file of the existing templates.
Making this selection enables the Import/Export File box (see below) for naming the file to
be created and selecting the location in which it will be saved.
Template
This selection determines the type of templates to use for the operation selected above:
♦ Tag – The current operation will be performed on the set of Tag Templates.
♦ Function Block – The current operation will be performed on the set of Function
Block Templates.
Import/Export File
The information in the box will identify the name and path to the CSV file being used for the
operation. The nature of the information will change depending on the selected operation.
♦ Import – for an import operation, either enter a file name and path; or use the button
to open a file browser to locate the required file.
♦ Export – Enter a name for the file and the path to where it will be saved.
Result
Displays the result of the import or export process, and any error messages.
Run
In the case of an import operation, if a template name already exists, the Confirm Template
Overwrite dialog box will be displayed, see below.
If a file formatted using an older version is to be imported, a dialog box will be displayed to
confirm whether to convert the file to the latest format. When clicking on the [OK] button,
the file is converted to the latest format and then imported. The file in the older format is
saved with a .bak extension.
Close
This dialog box is displayed when a template being imported has the same name as an
existing template.
The name of the template is displayed above the buttons. There are four option buttons; only
ones that are applicable will be enabled.
Yes
Yes To All
No
Cancel
♦ Make it easier.
The configuration defaults installed will be those chosen to be applicable in most cases, or
gathered during the installation procedure. However, some sites have hardware,
infrastructure and system requirements that mean the configuration has to be changed for
optimum performance. Not all the Exaquantum system settings are available using this tool,
only those that are most likely to need changing.
The system configuration settings available using the System Configuration tool should not
be changed for trivial reasons. It should only be used after consulting your support
representative. The wrong setting could lead to reduced performance, undesired behavior or
even system failure in some circumstances.
13.2 Operation
After being advised by your support representative that a configuration change is necessary,
start the System Configuration tool.
♦ From the tabs along the top, select the one containing the setting to be changed.
♦ The values shown in the page are the currently configured settings.
When opened, all the values displayed are the ones currently configure in the registry.
The values changed in the interface are not activated until either the Apply or OK buttons are
used. At this point, the new values are written to the registry.
There is no facility to undo any changes. Once the new settings have been activated the old
ones can only be restored by re-entering the original values and activating them again.
Settings
The settings are organized into tabbed pages with the logical groups as shown in the
following tables:
RTDB
Aggregation Spot Value At Period Determines if the Spot value is set from Not selected
Start the first or last data value received in the
aggregation period.
Show Partial Aggregation Results Determines if partial aggregations can be Not selected
referred to or not.
Scripted Aggregations Delay The additional delay, beyond the normal 10 Seconds
Period flush delay, to allow aggregation
calculated tags to be completed.
Use Latest Values in Calculations Determines whether to use the latest Selected
values, or used the cached value, for
performing calculations.
OPC
Use The System Time For If the timestamp of the first OPC data notification Selected
The First OPC Notification is earlier than the Exaquantum shutdown time,
then it will be overwritten with the Exaquantum
shutdown time + 1 second.
Discard OPC Data with a If any item has a timestamp more than this value 1 Minutes
Timestamp newer than ahead of the current Exaquantum system time
then it will be ignored and an error reported.
Check Connection Every... How frequently the connection to the OPC server 1 Minutes
is checked.
Retry Connection Every... Determines the period between checking the 2 Seconds
connection to any connected OPC DA server.
Use OPC Timestamp upon Determines whether to use the OPC server Not
Loss of Connection timestamp or Exaquantum system time, when Selected
logging the time of a lost connection,
Primary Quality on Lost Determines the primary quality code to which Bad
Connection items should be set when the connection is lost. 0x00000000
Secondary Quality on Lost Determines the secondary quality code to which OPC Error
Connection items should be set when the connection is lost. 0x00070000
Disable OPC notification No notifications are sent if the deadband is set to Selected
when 100% Deadband 100%.
Check Connection Every... Determines the period between checking the 1 Minutes
connection to any connected OPC AE server.
On Lost Connection Retry Sets the number of times a lost connection will be 2
retried.
Retry Connection Every... Sets the period between each retry of the lost 2 Seconds
connection.
Historian
Archive Creation Timeout The period before copying the data of one storage 2 Hours
to the archive will timeout.
General
Retry to Connect after Period between each attempt at trying to re- 1 Minutes
losing Connection every establish a lost connection.
Notify Clients on Server Determines if clients will be notified when the Selected
Shutdown server is shutting down.
Enable Access Root Folder Enables access to the root folder when RBNS is Not selected
configured.
Write Before Tag Allows user to write data with timestamps Not selected
Generation before the date when tags were added
Bulk Write Update Allows control over whether data is written Last data
straight to history or whether live values should points written
be updated. to RTDB
(only if latest
Data written to History Only. This setting should data)
be used when importing historical data into
Exaquantum.
HKEY_LOCAL_MACHINE\Software\Quantum
\Server\WriteAuditLogging = 0
History Catch-up
Enable Audit Logging to Determines if the Audit log will be written to Selected
the EventLog the Event log.
Failure Delay The period after which a catch up event will 60 Seconds
be considered to have failed.
Switch Over Delay The time allowed between registering OPC 0 Seconds
items for live data notifications and the first
data arriving. [3 Minutes for
Exaopc-RD
system]
Block Size The block size used for History Catch-up. 1800
This tool cannot be used when the Exaquantum service is running. If this is attempted, an
error message will be displayed.
All the operations available are accessed from the System Configuration dialog box.
The System Configuration dialog box presents a series of pages accessed by selecting the
appropriate tab from the top of the window.
Tabs
The tabs are used to organize the settings into logical groups.
Each page will be divided into one or more areas devoted to particular configuration criteria.
Changes are not applied until either the OK or Apply button is used.
OK
If the operation is confirmed then any changes are applied and the System Configuration
dialog box is closed.
Cancel
Closes the System Configuration dialog box without apply any changes made since the OK
or Apply buttons were used.
Apply
Opens a confirmation dialog box. If the operation is confirmed then any changes are applied
and the System Configuration dialog box remains open so that further changes can be made.
OK
Cancel
The purpose of the Exa Package Log Save Wizard is to collect all the operating information
affecting Exaquantum and store it in a single compressed report file that can then be
forwarded to the support representative.
The Wizard based user interface leads you through the steps necessary to produce a report
file that contains the correct information.
14.2 Operation
When requested by the support representative, run the Exa Package Log Save Wizard. Make
sure you understand what information is required.
♦ Provide a suitable name for the file and save it to a suitable location.
Any Yokogawa Exa product installed on the computer being interrogated will be shown in
the Load Save Package list and be available for inclusion in the report.
All the available products, including Exaquantum, are selected by default. The two major
items of importance to the Exaquantum system; Exaquantum and Common; are described in
the following two sections.
Exaquantum
The Exaquantum item in the Log Save Package list is selected by default. However, it
contains only one sub-item Exaquantum database. This will not be selected by default and
should be selected manually.
Selecting the Exaquantum database item will save the following databases to the report file:
♦ QConfig
♦ QHistorianAdmin
♦ QHistorianData
Common
The Common item in the Log Save Package list is selected by default. When the details are
selected, the all the following sub-selections are available, and selected by default:
♦ Registry information
♦ Process information
♦ Network information
♦ Exa log
After the final report is created it will be compressed using the zip format. As a result the
maximum size of file is limited to 4GB.
The Exa Package Log Save Wizard is started by running the executable file:
All the operations available are accessed from the Log Save Wizard dialog box.
NOTE. This tool must be run by a user who is a member of the Administrator Group or
EXA_MAINTENANCE(or EXA_MAINTENANCE_LCL) Group. Additionally, if
run on Windows 2008, it must be run with elevated Administrator rights (Right click
on PMCDumpWiz.exe, and select Run as administrator)
The buttons at the bottom of the Log Save Wizard dialog box are common to each page.
They provide the navigation facilities to work through the Wizard. A button will only be
active if the function is available. If necessary, it is possible to return to a previously visited
page to alter the settings previously made.
Back
Next
Cancel
Cancel the operation and close the Log Save Wizard dialog box.
Finish
The page for the first step in the Wizard is for selecting the packages about which the
information is to be collected.
This tool is applicable to all Yokogawa Exa products, so any such product installed on the
computer will be shown in this list. By default all items are selected. Some of the items
consist of several other sub-selections. See section 14.3 - Technical details, for more
38H 389H
Items in the main and supplementary list are selected when a tick is indicated in the
checkbox on the left.
Details
Some of the items in the Selecting Log Save Package list comprise several other items that
can be selected individually. The individual items can be accessed by highlighting the
appropriate top level package in the list and then clicking on the Details... button. A
supplementary list will open in a new dialog box. In the new list, check the items needed for
the report file, and close the dialog box. For further information please refer to 14.3 - 390H
Technical details.
391H
Enter a name and path for the report file to be created. Clicking on the button to the right of
the text box will open a file browser.
Work Folder
The Work folder is a temporary storage area used during the creation of the report file. This
field will normally be completed automatically using default information obtained from the
computer environment variables. If necessary the location can be changed to suit local
requirements.
Confirm
The Wizard has now collected all the information needed. The selections made are shown in
the Confirm list. Check that this contains the information expected.
When the Next button is used, the report file will be created.
During the process of information gathering and report creation, a command console and
other applications may be opened in order to extract or process the information requested.
Result
When completed, the status of the file creation process will be shown in the Result list. Any
error messages should be investigated and resolved.
Note: If the Dr. Watson log file is not found an error message will be reported. This will
have no effect on the rest of the information.
System Event messages are treated in the same manner as other event messages. They are
part of the System Event archive group, and are archived or deleted according to the rules
currently defined for the group.
By default, the Viewer will show all categories of event messages for the past hour, starting
with the most recent message. Start and end dates/times can be changed, and the list
refreshed using the current selection. Double clicking on any event message in the list will
display more detail for that message.
The contents of the list can be saved as a CSV file for use in other packages or applications.
There are nine categories of event messages (System Operations, Write Operations, Archive
Operations, Tag Generation Operations, Namespace Operations, Re-calculation, Alarm and
Event Filter Configuration and OPC Recovery Audit Log). These categories themselves
have further subdivisions, and are described below.
System Operations
♦ System Start Up
Write Operations
♦ Item Write
All writes that are performed manually generate an event message e.g. entering Value,
Quality and Timestamp data using the Data Entry Grid.
Archive Operations
Namespace Operations
♦ Create Folder (Other create activities for Function Blocks and Tags are logged by Tag
Generation Operations)
The system event logs are key features that support 21 CFR Part 11 compliance. All logs
contain the Machine Name and the Full User Name of the person who performed an
operation. However, in the NT user administration scheme filling in of the Full User Name
is not mandatory, and it is possible to have a blank Full User Name. In this case, the
Account name will be logged.
Re-Calculation Log
♦ Import tag current and historical values from a text file, e.g. LIMS results, externally
gathered manual data.
♦ Import tag configuration data that is contained in text files, in order to complete the
configuration of Exaquantum tags.
♦ Export Exaquantum current tag values to other systems via text files.
Real-time data can be imported into and exported from Exaquantum. Historical data,
however, can only be imported into Exaquantum.
NOTE. The QTFS application should only be used to import small quantities of data. For
information regarding large quantities, it is recommended to contact your local Yokogawa
representative.
A command line utility is supplied with Exaquantum/PIMS to carry out the physical file
imports and exports. This utility can be:
The usage of the utility is described in Section 16.3; an example of how it might be used in a
392H
Error Log
Any errors that occur during an import or export operation can be logged to specified text
files – this allows users to identify whether errors occurred during import or export, and to
see what went wrong.
The Data Import facility is generally executed on a periodic basis, e.g. for importing data
from legacy historian, LIMS systems or data capture spreadsheets. The emphasis is on
importing the actual and historical values of the destination tags, rather than their reference
information import; this is typically done manually using the Configuration Data Import
facility (see below).
As well as containing the actual values, the text files for this mode typically also contain the
data’s associated quality and timestamp.
One of the typical uses for this particular file import mechanism is updating the
configuration of PCS tags created by file import.
During file-based import, tags are created in the Exaquantum database, but without the
necessary reference information such as descriptions, engineering units and ranges. The
Configuration Data Import facility can be used to complete the configuration of such file-
based tags.
Note: This is only required in the case where configuration activities are being carried out
away from the target PCS.
Data Export
This function would typically be used for exporting Exaquantum data to an external system.
Systems often require access to Exaquantum data; the data export facility provides this
access in a similar text file format to that used by data import.
The Data Export facility writes item name, value, timestamp and quality to an ASCII file.
Here, ‘value’ covers anything from tags’ real-time values, to their reference data. The list of
data to be exported has to be defined using a simple text file (the Export List File), which is
described later.
File Formats
All the text files are CSV (comma-separated value) files that are readily prepared by external
systems or users’ desktop tools such as Excel, Notepad, etc.
Each <CR> terminated line in the text file represents one Exaquantum data item and has the
following comma-separated format (blank lines are not permitted):
TAGNAME=TagPath&Name,ITEM=ItemString,VALUE=DataValue,
TIMESTAMP=DataDate&Time,QUALITY=DataQuality <CR>
Where:
TagPath&Name Fully qualified name of an existing tag, including its parent folder(s)
(eg Root.02FIC102.PV)
ItemString A recognised string value of an Exaquantum item, eg:
Valid strings are:
VALUE – its current value (e.g. 47.34)
UNITS – engineering units (e.g. m3/h)
LOWENG – engineering scale low limit
HIGHENG – engineering scale high limit
DESCRIPTION – the tag’s description/comment
DataValue Data item’s value at the timestamp
DataDate&Time DataValue’s timestamp in the form:
dd/mm/yy HH:mm:ss (eg 19/05/99 14:59:09)
Note: The format used is LOCALE setting aware and must match the
time format used on the client machine, that is, the one doing the file
import/export. (Check ‘Use Settings’, ‘Control Panel’, ‘Regional
Settings’, ‘Time & Date’ tabs to confirm the format to use.)
Tip: To confirm that you are using the correct date and time format, do
a file export to check what the system itself produces. Then copy this
format for your files.
Quality Data’s quality status.
Exaquantum uses only three statuses (the OPC foundation’s quality
flags):
192 = Good
64 = Questionable/Uncertain
0 = Bad
Note: TIMESTAMP and QUALITY are optional fields, all the others are mandatory. If
omitted, the server’s current time will be applied as Timestamp, and ‘Good’ will be
applied for the quality.
Each <CR> terminated line in the text file represents one Exaquantum data item to be
exported and has the following comma-separated format (blank lines are not permitted):
TagPath&Name <CR>
Where:
TagPath&Name Fully qualified tag name including its parent folder(s)
(e.g.: Root.02FIC102.PV)
The following samples show the format used for various tasks.
The following is an example of a current-value import file – the server applies the current
time as timestamp and Good status:
TAGNAME=Root.AI101.PV <CR>
ITEM=VALUE,VALUE=7.76,TIMESTAMP=,QUALITY= <CR>
TAGNAME=Root.AY121.PV <CR>
ITEM=VALUE,VALUE=3.31,TIMESTAMP=,QUALITY= <CR>
TAGNAME=Root.AI226.PV <CR>
ITEM=VALUE,VALUE=7.81,TIMESTAMP=,QUALITY= <CR>
:
:
TAGNAME=Root.AI101.PV
ITEM=VALUE,VALUE=7.69,TIMESTAMP=15/04/99 15:50:48, QUALITY=192 <CR>
TAGNAME=Root.AI101.PV
ITEM=VALUE,VALUE=7.70,TIMESTAMP=15/04/99 15:51:48, QUALITY=192 <CR>
:
:
Note 1: Current, history and configuration values can be mixed in a single file. However, it
is strongly recommended that separate files be used for each of these.
Note 2: The optional Timestamp and Quality fields may be omitted. If so, the current server
time is applied as Timestamp, and Good as data Quality.
Note 4: You cannot import history that predates the tag’s creation time.
Note 1: Current, history and configuration values can be mixed in a single file. However, it
is strongly recommended that separate files are used for each of these.
Note 2: The optional Timestamp and Quality fields may be omitted. If so, the current server
time is applied as Timestamp, and Good as data Quality.
The following is an example of an export file. All parameters for a tag (six lines per tag) are
exported with individual data lines following the tag name:
TAGNAME=Root.AI101.PV <CR>
ITEM=VALUE,VALUE=7.76,TIMESTAMP=15/04/99 15:44:48, QUALITY=192 <CR>
ITEM=DESCRIPTION,VALUE=, PM1 Reel Moisture, TIMESTAMP=02/02/99 09:02:31, QUALITY=192 <CR>
ITEM=HIGHENG,VALUE=6.5,TIMESTAMP=02/02/99 09:02:31, QUALITY=192 <CR>
ITEM=LOWENG,VALUE=4.5,TIMESTAMP=02/02/99 09:02:31, QUALITY=192 <CR>
ITEM=UNITS,VALUE=pH, TIMESTAMP=02/02/99 09:02:31, QUALITY=192 <CR>
TAGNAME=Root. AY121.PV <CR>
ITEM=VALUE,VALUE=3.31,TIMESTAMP=15/04/99 15:43:21, QUALITY=192 <CR>
:
:
Note 2: Data export is limited to current (spot) RTDB values; history data export is not
catered for in this release.
Note 3: Timestamp is defined as when the value was last updated in the RTDB.
Note 5: Timestamp and Quality are always included in the output text file.
ExportDataListFilename Path and filename of the file that holds the list of Exaquantum
data to be exported (used only if Direction = /E).
QTFS returns a status number to the calling program that signals success (status = 0) or
failure (status = -1).
The command line may also be run with just a /? argument to give Help information.
The following is an example of the command line used for text file based data import:
This will attempt to import a file named “LabValues.Txt” in the “F:\Data” directory and
write any errors to a file called “ImportLog.Txt” – see also “Error Logging”.
395H
The following is an example of the command line used for text file based data import:
This will attempt to export to a file named “APCValues.Txt” in the “F:\Data” directory, the
values of tags specified in file “F:\Data\APCTags.Txt”. Any errors will be written to a file
called “ExportLog.Txt” – see also “Error Logging”.
396H
Error Logging
When any data import or export job is run, two error files are created; one defined by the
user (see ErrorLogFilename parameter) and one created by the system.
Both of these files will be created in system-created sub-directories that are created under the
“System” directory within the Exaquantum installation folder. If you used all the default
installation paths in the Installation procedure, the location would be:
If the user does not have permissions to write to this area, then the folder and log file will be
created in the user’s temporary folder, defined by the %TEMP% environment variable. By
default this will typically be:
In operation, QTFS will first try to create the log file folder within the <Exaquantum
Installation Folder>\System folder. If the user does not have suitable permissions, then a
message will be written to the Event Log and the folder will be created in the user’s
temporary folder.
A new subdirectory is created for each job that is run. The name given to the sub-directories
will reflect the run number, month and year of the QTFS job. For example, jobs that were
run during October 2001 would have directory names as follows:
Each log has a filename that begins with “QTFS” and the extension “.Log”. The date and
time of the job are appended to the log file name such that when the job is complete, a new
log file is available for inspection. For example, a job number 23 run at 11:07:47 a.m. on the
20th October 2001 would result in a new subdirectory containing the following two files:
The first file is the user-specified file (see ErrorLogFilename parameter) and contains only
error messages. The second file is the system-generated file and contains error as well as
success logs. To get more details about errors reported in the first file, examine the second
file too.
CAUTION
There is currently no automatic purging of old log files and directories. This should form
part of routine system maintenance, otherwise your disc will soon fill up. Alternatively,
schedule an NT batch job to remove error log directories older than, say, one month.
The ’at’ command line schedules commands and programs to run on a computer at a
specified time and date. The following are ‘at’ command line formats:
Note: The Schedule service must be running to use the ’at’ command.
Parameter Description
/yes Forces a yes answer to all queries from the system when deleting
scheduled events.
/interactive Allows the job to interact with the desktop of the user who is logged on
at the time the job runs.
/every:date[,…] Runs the command on every day(s) of the week or month specified (for
example, every Thursday, or the third day of every month). Specify the
date as one or more days of the week (M,T,W,Th,F,S,Su), or one or
more days of the month (1 through 31). Separate multiple date entries
with commas. If the date is omitted, the current day of the month is
assumed.
/next:date[,…] Runs the specified command on the next occurrence of the day (for
example, next Thursday). Specify the date as one or more days of the
week (M,T,W,Th,F,S,Su), or one or more days of the month (1 through
31). Separate multiple date entries with commas. If the date is omitted,
the current day of the month is assumed.
The following command will schedule the Exaquantum data import utility to run on the local
server every day (except Saturdays and Sundays) at 01:00 in the morning; it will import
values from the file “F:\Data\TankValues.txt”. Any errors will be written to a local log file
called “ImportLog.txt”.
You wish to perform the text file import every 15 minutes to keep your Exaquantum users up
to date with laboratory values.
Using ‘at’ to run the data import utility every 15 minutes would appear to be simple.
However, two problems exist:
♦ ’at’ jobs execute at best on a daily cycle, hence ‘at’ is not directly usable to import data
every 15 minutes
♦ The lab system might not have a new data file ready every 15 minutes. The data import
utility would then generate numerous, space-filling error log files because it could not
find the import data file.
It is therefore better to use a simple command file that works in two stages. It first checks
for the existence of a new lab data text file, and import its data only if it exists (thus avoiding
unnecessary error logs). Then it reschedules ‘at’ to run the command file 15 minutes later.
An example of such a command file is DoImport.cmd (Table 16-1). 397H
As stated, the last part of this command file simply issues an ’at’ command, which will re-
invoke this command file every ‘Intrvl’ minutes.
To use this command file for checking every 15 minutes for a new lab data file, enter the
following in the Start – Run text box (or in a command console window):
This example assumes that DoImport.cmd is in the Windows PATH; otherwise its fully
qualified path and filename would have to be supplied.
Table 16-1 Listing of a Command File used for Periodic File Import
@echo off
rem Filename: DoImport.cmd
rem Created: 24/5/99 by LM/JDV
rem Description:
rem Command file to check whether a new file exists before launching
rem the required .EXE Also reschedules itself for a user-defined
rem number of minutes later. It accepts 4 parameters:
rem
rem 1. ExeName - the executable to fire off if file exists
rem 2. ImportFile – file to import from (e.g. F:\Data\LabValues.Txt)
rem 3. ErrLog - file to log errors to (e.g. ImportLog)
rem 4. Intrvl - the re-run interval (time bewteen file imports)
rem
rem Notes:
rem =====
rem 1. Ensure ExeName is in the Windows PATH, otherwise specify its
rem full path and filename when calling DoImport.cmd
rem 2. This example assumes a 24hour time setting (e.g. 23:21
rem and NOT 11:21 p.m.)
rem 3. The re-run interval MUST be less than 60 minutes for this
rem sample to work correctly
set ExeName=%1
set ImportFile=%2
set ErrLog=%3
set Intrvl=%4
set ParamString=/I, "%ImportFile%", "%ErrLog%"
:EOF
rem Now figure out when to run this command file again
for /f "tokens=1,2 delims=ap:" %%f in ('time /t') do @set /a hour=%%f &&
set /a minute=%%g
set /a minute=%minute%+%Intrvl%
set /a over60=%minute%/60
if not %over60% == 1 goto SKIP
set /a minute=%minute%-60
set /a hour=%hour%+1
set /a over24=%hour%/24
if not %over24% == 1 goto SKIP
set /a %hour%=%hour%-24
:SKIP
rem Now schedule the command file to run again in the required
rem number of minutes’ time
at %hour%:%minute% DoImport.cmd %ExeName% %ImportFile% %ErrLog% %Intrvl%
The ProgID, for example Yokogawa.Exaopc.DAXL1 for the XL cassette, contains a tailing
number, in this case 1, which varies depending on how many cassettes and in which order
they are installed on a single computer. The number depends on the number of copies of
whole Exaopc cassettes; if a PC has two cassettes, one for CS and another for XL, and they
are installed in this order, two ProgID’s will look like:
♦ Yokogawa.Exaopc.DAXL1
♦ Yokogawa.Exaopc.DACS2
Exaopc Station
Check the ProgID for Exaopc-XL/μXL cassette. The ProgID can be checked by Exaopc
setup program.
For more information about the Exaopc setup program, see the NTPF1 Exaopc OPC
Interface Package Guide Manual (IM36J02A11-01E).
OPC HDA server ProgID Exaopc Historical Data Access server ProgID
Exaquantum Server
1 Run the Exaopc-XL/μXL client installation program. The program is in the Exaquantum
CD-ROM.
♦ Yokogawa/Exaopc-XL/setup.exe (Exaopc-XL)
♦ Yokogawa/Exaopc-μXL/setup.exe (Exaopc-μXL).
Note: This step is not required if Exaopc server is installed in the same computer as
Exaquantum server.
The ProgIDs must be the same as the Exaquantum default ProgIDs shown in Table 17-2. 39H
To change the ProgID, use the OPC Server Type configuration tool.
Note: If the OPC server type is already used in Exaquantum, DO NOT modify the
entry. Instead create new OPC server type.
The PC server type is already in use if Exaquantum has a connection set up for
another Exaopc-XL/μXL or more.
Exaopc-XL Yokogawa.Exaopc.DAXL1
Yokogawa.Exaopc.HDAXL1
Exaopc-μXL Yokogawa.Exaopc.DAMXL1
Yokogawa.Exaopc.HDAMXL1
Exaopc Station
1 Check the ProgID for Exaopc-CS cassette. The ProgID can be checked by Exaopc setup
program.
For more information about the Exaopc setup program, see the NTPF1 Exaopc OPC
Interface Package Guide Manual (IM36J02A11-01E).
OPC HDA server ProgID Exaopc Historical Data Access server ProgID
Note: This step is not required if the Exaopc server is installed in the same computer
as the Exaquantum server.
If the ProgID checked in Table 17-3 is different from the Exaquantum default setting in
401H
For more information about creating an installation disk, see the NTPF1 Exaopc OPC
Interface Package Guide Manual (IM36J02A11-01E).
Exaopc-CS Yokogawa.Exaopc.DACS1
Yokogawa.Exaopc.HDACS1
Exaquantum Server
If the ProgID checked in Table 17-1 is different from the default ProgID, the following work
403H
is required.
Note: This step is not required if the Exaopc server is installed in the same computer
as the Exaquantum server.
The ProgIDs must be the same as the Exaquantum default ProgIDs shown in Table 17-4. 40H
To change the ProgID, use the OPC Server Type configuration tool.
Note: If the OPC server type is already used in Exaquantum, DO NOT modify the
entry. Instead create new OPC server type.
The OPC server type is already in use if Exaquantum has a connection set up for
another Exaopc-CS or more.
In order to connect third party OPC server, the following steps are required.
OPC Servers
No configuration required.
Exaquantum Server
OPC server vendors provide their own ProgID. Check the following ProgIDs.
OPC HDA server ProgID Exaopc Historical Data Access server ProgID
Maximum items per group Maximum OPC items per group allowed by the
server.
Note 1: Even if the OPC server declares no limitation for Maximum Items, Maximum
Groups, or Maximum Items Per Group, it is recommended to set following
values:
♦ Description ID - 101
If the OPC server does not support the feature, the values should be left blank.
Note3: The Maximum Notification Rate is used to check the communication load that is
an outcome of the Exaquantum tags configurations. This value is for
information purpose only and does not affect any behavior of the OPC
configuration. The recommended value, if applicable, is 500.
Each OPC server vendor provides the Install client installation program.
Note: This step is not required if the OPC server is installed in the same computer as
the Exaquantum server.
Use the OPC Server Type Configuration tool to set the ProgID and other settings to the
parameters in section 17.4, Exaquantum Server, steps 1 and 2.
405H 406H
Example
TOKIMI Exaquantum
Exaopc-XL casette
(Yokogawa.ExaopcDAXL
1)
GAIL ANNAF
When configuring the above case, the following work is required on both computers.
Station
Server (Nothing)
The OPC servers have a different scope of functions. Depending on the particular OPC
server you are using, these options can be set up:
♦ The OPC server may or may not support the property access (retrieving from the OPC
server; Description, Engineering Unit, High Engineering Scale and Low Engineering
Scale).
♦ OPC server may or may not support Alarms and Events access
♦ OPC server may or may not support HDA (Historical Data Access)
♦ OPC server may or may not support HAE (Historical Alarm and Event Access)
Note: The OPC equalization is supported only for Exaopc-CS. Do not select this option
for other OPC servers.
Use the Microsoft Windows Explorer to find and open the tool.
To open the tool, click on the OPC Server Type Wizard.exe file.
Operation Flow
The tool is a wizard type tool that guides you through the steps to create a proper definition.
The wizard is a simple tool to use therefore only some of screens and their usage will be
explained below.
Select Operation
Note: These settings are for a typical usage of the tool, the setting may differ depending
on the OPC server you are working on:
♦ XL/μXL cassette. Choose Modify and update the tailing number of ProgIDs.
♦ Matrikon OPC server. Choose Create and use Exaopc-STN as the template.
♦ Third party OPC server. Choose Create and use Exaopc-STN as the template.
♦ A&E message requires other database set up properly, which is only done for Exaopc-
STN, Exaopc-HIS and Exaopc-XL/μXL. Other OPC servers therefore should not select
this option.
♦ In most cases, HDA or HAE will not be supported. There is no HDA relevant features
available in Exaquantum, so user can leave it unselected.
♦ Property access makes the values read from the control system at the creation of tags. If
the IDs are not correct, there are error messages at the time of creating tags. Be careful
to set up the correct values.
♦ OPC equalization is available only for Exaopc-STN and Exaopc-HIS. If it is set for
other OPC servers and the one is selected during the OPC equalization process, OPC
equalization program may terminate in an unexpected manner.
Display criteria
For Float/Double Values, an additional level of control is available which allows numbers of
different magnitudes to be configured differently, such that smaller numbers can have greater
precision and larger numbers less precision.
♦ Tag Editor.
♦ LiveXplore.
♦ OLE DB provider.
♦ Integer/Long values
♦ Float/Double values
The Value and Width settings apply to both categories. The Precision setting is only relevant
for Float/Double Values. The examples in 18.3 - Examples and 18.5 - Formatting in
413H 41H 415H 416H
Value
Specifies the value to which this format applies in the range from 0 to 3.40E + 38. For each
value to be formatted, a “greater than or equal to” comparison is made with the Value
column. If the value being tested is smaller than the smallest value specified, then the format
for the smallest value is used. If a negative value is being formatted, then its absolute value
is used for comparison. Values must be unique for each type of value.
Width
Specifies the minimum number of digits in the output. If the number of digits in the output is
less than Width, then the output is padded on the left with zeroes. If the number of digits in
the output is greater than width, then they will not be truncated. The Width does not include
the decimal point or minus sign characters.
Precision
Specifies the number of digits after the decimal point. The last displayed digit is rounded as
necessary.
The Value Format Tool is used to change settings stored on a server. Clients that connect to
that server will download the settings and use them to define the format for displaying the
data. These settings are only read by a client application when it initially starts up and
connects to the server.
Note: When changes are made on the server, all the client applications that are connected
at the time will need to be shut down and re-started in order to update the changes.
18.3 Examples
The following examples demonstrate the behavior of settings made using the Value Format
Tool. Each example includes a set of rules, and a table showing the output values that result
for a variety of input values. The accompanying notes briefly explain how the output was
derived. For a graphical demonstration of the tool in action, see section 18.5 - Formatting in
417H 418H
operation.
Settings
For this example, the following values are set in the Integer/Long values section of the Value
Format Tool dialog box:
1 0 2
2 10 3
3 100 4
4 1000 0
Results
Using the settings above, the results would be as shown in the table below:
Settings
In this example the following values are set in the Float/Double values section of the Value
Format Tool dialog box:
1 0 0 6
2 10 1 5
3 100 8 4
4 1000 8 0
Results
Using the settings above, the results would be as shown in the table below:
The Value Format tool can only be used on the Exaquantum/PIMS server.
The dialog box is divided into two main areas for the different types of Values, plus some
additional generic controls. The functionality is described below.
This checkbox is use to enable or disable value formatting on a global basis. When enabled
the settings are used. If disabled then the settings will have no effect on the data displayed.
You can add or change the Values, Width and Precision settings by clicking in the relevant
part of the grid and entering a number.
♦ Value – The related Width formatting will affect this and all larger values; or those up
to the next value, if one is configured. If 0 is entered, all values are affected.
♦ Width – This is the minimum number of digits to be displayed; unless the value is
actually larger, in which case it will be displayed in full. The decimal point and
negative sign are not included in this count.
♦ Precision (Float /Double Values only) – The number of digits to the right of the
decimal point. The final digit will be rounded if necessary.
For more information see 18.2 - Technical Details and the examples in 18.5 - Formatting in
419H 420H 421H 42H
operation.
OK
To accept any changes and close the dialog box, click on the OK button.
Cancel
To close the dialog box and lose any changes, click on the Cancel button.
Apply
To apply any changes but leave the dialog box open, click on the Apply button.
Examples.
42H
the following examples shows the same data using different settings applied using the Value
Format Tool.
In this simple example, Float/Double Values have been given a width of 3 digits and a
precision of 2, as shown in Figure 18-3.
426H
In this more complicated example, Float/Double Values have been given a width of 8 digits.
However the precision is determined by the magnitude of the value from 0 to 10,000,000 in
8 steps.
The display that results from this can be seen in Status Monitoring Tool.
428H
For details of how to start this tool refer to section 19.2 Setup.
429H 430H
For details of how to set the conditions and the method of notification refer to section 19.3 431H
Operation.
432H
The notification message will be transmitted to a specified computer at one o'clock a.m.
every day if the destination is available.
1. Open Administrative Tools ([Start] – [Settings] – [Control Panel] from Start Menu)
19.2 Setup
The Status Monitoring Configuration Tool resides in the following directory:
<Exaquantum Installation
Folder>\StatusMonitor\Yokogawa.MonitorStatus.QStatusMonitorConfig.exe
Double-clicking the executable will launch the tool, displaying the following screen:
When one of the expansion icons [+] is selected, the specific item details will be displayed.
For operational details please refer to section, 19.3 Operation.
43H 43H
This Tool can be made to start automatically at an appointed time. There are a number of
manual steps to this procedure, which only needs executing following one of these actions:
• Installation
• Reinstallation
• Migration
1. In both steps, use of the CMD window is necessary. Click [Start] – [Run] from Start
menu in Windows, and enter cmd in Run dialog.
(For Windows Server 2008 or Windows Server 2008 R2, From Start Menu, click [Start] -
> [All Programs] -> [Accessories] -> [Command Prompt], right click, select [Run As
Administrator].)
Note: enter spaces before and after "/del", "delete" and "/tn".
Note: In case of Legacy Model, in the <Task execution user name> and <Task execution
user password>, specify user name and password for executing the StatusMonitorTask.
Note: hh:mm sets task start time. hh range is from 0 to 23. mm range is from 00 to 59.
19.3 Operation
The following items can be monitored using the Status Monitoring tool:
♦ System resource: Disk space - Monitors the free and used space of each disk drive.
♦ SQL Server resource: Database size - Monitors the free and used space of each
Exaquantum database.
♦ Exaquantum - OPC connection: OPC connection status at the point of data collection:
Monitors the interruption frequency of the OPC communications within a given time
period.
Disk Space
Setup
Selecting the “System Resource” branch from either the tree view or main view expands to
display “Disk Space”. Selecting “Disk space” will display the disk monitoring setup view.
There are two main sections in this view; “Condition Setting” and “Notification Method”.
Initially there are no conditions or notices set.
The Drive Name, Free Space/Used Space, Comparator and Unit column values are all
available from drop-down lists. The Size column value must be manually entered and is
numeric.
♦ Free Space/Used Space - Select either to monitor the free or used space of the drive.
♦ Comparator - Select an operator from one of the following: <, >, >=, <=, =, !=
♦ Unit - Specify the unit relating to the size value from one of following: %, Byte, KByte,
MByte, GByte
Note: Clicking the Add button before all the column attributes have been defined will
cause the undefined column(s) to be displayed in red and a related error message to
be displayed.
DB Space
This section describes how to set the SQL server monitoring items.
Setup
Selecting the SQLServer item from either the tree view or main view will display the
DBSpace node. Selecting this node will display the SQL server monitoring setup view.
There are two main sections to this view; “Condition Setting “and “Notification Method”.
Initially there are no conditions or notices set.
The Database Name, Free Space/Used Space, Comparator, and Unit column values are all
available from drop-down lists. The Size column value must be manually entered and numeric.
♦ Database Name – Select the SQL server, Exaquantum related, database from one of the
following: QConfig, QHistorianAdmin, QHistorianData and FrameworkSchema
♦ Free Space/Used Space - Select either to monitor the free or used space of the database.
♦ Comparator - Select an operator from one of the following: <, >, >=, <=, =, !=
♦ Unit - Specify the unit relating to the size value from one of following: %, Byte, KByte,
MByte, GByte
Note: Clicking the Add button before all the column attributes have been defined will cause the
undefined column(s) to be displayed in red and a related error message to be displayed.
OPC Connection
This section describes how to set the monitoring items for the Exaquantum – OPC
connection.
Setup
Selecting the Root\Server\OPCConnection item from the tree view will invoke the
Exaquantum-OPC connection monitoring setup view. There are two main sections to this
view; “Condition Setting” and “Notification Method”. Initially there are no conditions or
notices set.
The Server Name and Unit column values are all available from drop-down lists. The Time
column value must be manually entered and numeric.
♦ Server Name – Select an OPC server name. The first server name in the list will be
displayed as default.
♦ Time - Enter a numerical value greater or equal to one. This value in conjunction with the
Unit value will define the period to monitor how many times the OPC communication is
interrupted between Exaquantum and OPC.
♦ Unit - Specify the unit used in conjunction with the Time, selecting from one of the
following: minute, hour and day.
Note: Clicking the Add button before all the column attributes have been defined will
cause the undefined column(s) to be displayed in red and a related error message to
be displayed.
Clicking the Add button will append a new condition to the list.
Clicking the Delete button will remove the currently selected condition from the list.
Checking either the “Command” or “Windows Message” check box in the “Notification
Method” section will set the Notice value for the currently selected row.
If a condition is fulfilled, a notification will be made once a day according to the definition
of the Notice entry.
1 Checking the Command checkbox will enable the Command and Parameter entry fields.
2 Clicking the […] button adjacent to the Command entry field will display the Open file
dialog window. Select the Application to be used for the Notice.
In the Command entry field the user may enter either the file name with the directory
path, as shown above, or just the file name, for example, "QSendHISMessage.exe."
Note 1: The execution of desktop applications, i.e. applications that provide a user interface
to the user, are Not Supported.
3 This parameter entry is a command line parameter that can be used to pass information to
the Command file when it is executed. The parameter is optional.
4 Checking the Windows Message checkbox enables the HostName and Message entry
fields. Enter the destination computer name in the HostName field and the error message
string in the Message field. In the example figure below the “%VALUE%” parameter
indicates the current free disk space. Note that the “%VALUE%” parameter is the only
parameter that may be used and represents the current value of the condition that is being
monitored.
Note 1: In the case of Windows Server 2008, it is not possible to send or receive a message.
Note 2: In the case of Windows Vista and Windows 7, it is not possible to receive a
message.
Message notification is also possible as a system alarm to the HIS. In this case, the
Command and Parameter fields for the Command “NotificationMethod” are as follows:
If the OPC gateway security is configured and enabled (refer to the Exaquantum/PIMS
User’s Manual (IM 36J04A11-01E), Chapter 2 OPC Gateway Configuration), the
Command and Parameter fields for the Command “NotificationMethod” are as follows:
5 Clicking the Apply Method button in the “Notification Method” section will apply the
configured notifications to the Notice value for the currently selected Condition Setting.
When Windows Message is used, “Messenger Service” must be running.
Once setup has been completed, click on the Save button to commit any changes made. The
configured Setting entries will be written to the monitoring parameter definition file and a
confirmation message will be displayed.
Close
20.1 Overview
The Exaquantum Startup Configuration Tool provides the following functionality:
20.2 Startup
To launch the Exaquantum Startup Configuration Tool, double-click on the following file:
20.3 Setup
The Exaquantum Startup Configuration Tool is displayed in the figure below:
Checking the “Start Exaquantum when OS starts” checkbox will ensure that Exaquantum
automatically starts when the operating system starts.
Enable History Catch-up – By default History Catch-up is disabled. Checking this checkbox
will enable History Catch-up.
Abort on first failure – If this checkbox is checked Exaquantum will wait until the History
Catch-up operation has been completed before starting. If an error occurs during History
Catch-up and the checkbox is unchecked Exaquantum will start up irrespective of the error
received. No data will be collected from the time of the error to the time of Exaquantum start
up.
Catch-up All Down Time – History Catch-up can recover data for all items between the
Exaquantum Server shutdown time and the start-up time
Catch-up from Aggregation Period Boundary – History catch-up can recover a reduced
amount of data for items between the Exaquantum Server shutdown time and the start-up
time. The catch-up to Aggregation Period Boundary option uses the specified “Period for
Catch-up” for the time to start the recovery of data. The purpose is to get a consistent
aggregation result for the specified aggregation period even if the shutdown time is too long
to recover the entire downtime period.
Clicking the Cancel button will clear all the changes made and restore the default settings.
Clicking the OK button will save the current settings and exit.
♦ The idea behind Aggregation Switching is to reduce the amount of data returned for large
time ranges and hence improve display times. To do this, rather than return raw data, the
Aggregation data (e.g. the MEAN aggregation) are returned for the requested time range
instead.
21.2 Startup
To launch the Aggregation Switch Configuration Tool, double-click on the following file:
The tool can only be ran on the server if the user is a member of QAdministratorGroup. If it
is ran on the client the user must be a member of QUserGroup.
21-1.
There may be situations where Aggregation Switching is configured on a client and on the
server the client is connected to. In this situation the client configuration for the current user
will override the server configuration
The table below shows the availability of the two options, depending on whether the tool is
running on a client or server.
With no Aggregation Switch Configuration stored, the tool will appear as in Figure 21-2; the
437H
Server option is selected by default. Note that the Server option is disabled as this is running
on a Client, this option will only be enabled when run on a Server.
Aggregation Switch Thresholds can be added or removed by clicking on the Add Threshold
( ) and Remove Threshold ( ) icons. Refer to Table 21-1 for a description of the
438H
After adding Aggregation Switch thresholds, select either Server or Client option to specify
where this configuration will be stored and click OK to store the configuration. Storing the
Aggregation Switch configuration on the Server can only be carried out with an instance of
the Tool running on the server, and likewise, storing the configuration on a Client can only
be carried out on a Client.
On starting the Aggregation Switch Configuration Tool again, the previously configured
thresholds will be shown as well as the location, either Server or Client.; Figure 21-1 shows
439H
The location of the existing Aggregation Switch Configuration can be changed from Server
to Client (only on Exaquantum Client).
Note: When changes are made using the Aggregation Switch Configuration Tool on either
Client or Server, all the client applications that are connected at the time will need
to be shut down and re-started in order to update the changes.
22.2 Startup
To launch the History Data Checker, double-click the BlobChecker.exe file in the following
folder:
The tool can only be ran on the server if the user is a member of QAdministratorGroup and
can only be executed after stopping Exaquantum.
♦ All storages can be selected or only one storage can be selected to be scanned
♦ The time range of the scan be restricted to only data after the specified time, or all
historian data can be scanned
♦ If the Auto Correct Bounding Value option is checked prior to running the check, then all
bounding values found that are incorrect will be automatically corrected
♦ The Reduce %CPU option (check prior to starting the scan if required) reduces
the %CPU time used when the History Data Checker is scanning historian. The number
represents a small delay (in ms) that the tool will wait between processing blobs.
♦ Click on the Run Blob Check button to start the scan and optional correction. After scan
has completed there are log files created in the tools directory.
NOTE. If the tool is running on Windows 2008 or Windows Vista, with Virtualization
enabled (Local Security Policies, “User Account Control: Virtualize file and registry
write failures to per-user locations”), the log files are stored in the Virtual Store Folder.
Virtualization was introduced in these Operating Systems, as part of the security
enhancements. This feature controls write access to files and folders, to which the user
does not have write access (for example, to the windows “Program Files” folder). If the
user runs the History Data Checker, the Operating System writes the actual log files to
the users Virtual Store Folder. This location is determined by the value of the userprofile
environment variable. The effect of this is that users other than the user who ran the
History Data Checker will not be able to read that location
♦ Configure the Logon credentials that are used to connect to an OPC Gateway when
Exaquantum is not running.
♦ Test the connection to a configured OPC Gateway while Exaquantum is not running.
23.2 Startup
To launch the OPC Logon Tool, double-click on the following file:
You need to be a member of either of the following groups to run this tool.
♦ The OPC Logon Tool will only start if Exaquantum is not running.
♦ Select an OPC Gateway from the list, modify the logon details as required and click on
Test to verify the connection to the OPC Gateway is valid.
♦ After successful test of the connection to the OPC Gateway, click on Apply to save the
logon credentials. If there are multiple OPC Gateways configured with the same OPC
Server, the logon credentials for each affected OPC Gateway are updated following user
confirmation.
♦ If OPC Logon Tool is running when Exaquantum is started, the tool will exit when an
attempt is made to modify the configuration.
Note: Data or Alarms/Events for periods already exported to an Archive database – data or
Alarms/Events cannot be recovered to the Archive.
Data or Alarms/Events that are recovered by the OPC Server Viewer and Data Recovery tool
are merged back into the existing data within the main Historian database.
When the OPC update rate of a tag is changed after the period of the OPC connection loss,
the data or Alarms/Events for that period for the tag cannot be recovered. The OPC data
update rate should be changed only after the missing data or Alarms/Events are recovered.
All recovery operations are recorded in the OPC Recovery Audit log.
For this reason, only those OPC downtimes which have an online time that is within this
value are scheduled for automatic recovery.
Downtime
Threshold
Downtime A
Downtime B
Downtime C
Downtime D
Downtime E
Time Now
In the example shown in Figure A-1, downtime E is not processed because its online time is
outside the threshold. The other downtimes are processed in the order of their offline time,
this order being B, D, A, C.
Attempting to perform OPC Recovery immediately after a reconnect may also make the
network unstable again due to the additional load of the OPC Recovery process. This may in
turn cause another OPC disconnect, and the OPC recovery that was started to fail due to the
OPC Gateway no longer being available.
By providing a configurable delay between when the last downtime’s online time was
recorded for an OPC Gateway, and when the Auto OPC Recovery service will attempt to
recover the downtime for that OPC Gateway the network is given time to stabilize. If further
OPC disconnects occur for that OPC Gateway before the delay has ended, the recovery of
the earlier downtimes will not have been interrupted.
In the example shown in Figure A-2, the Auto OPC Recovery process has been for the last
60 minutes or more processing earlier downtime events, and has just finished processing.
With the default network recovery delay of 10 minutes, downtimes from each OPC Gateway
are only eligible for processing if there hasn’t been any downtime for that OPC Gateway in
the last 10 minutes.
So in the example:
♦ Downtimes F to J for OPC Gateway 3 will NOT be processed this time because
downtimes H to J occurred within the last 10 minutes.
♦ Downtimes F to J for OPC Gateway 3 will be processed NEXT time, provided that:
♦ Another downtime has not occurred for OPC Gateway 3 since downtime J.