Wonderware Alarm DB Logger Object For Wonderware Application Server User Guide Ver 1.x Rev 1.0 PR 00186
Wonderware Alarm DB Logger Object For Wonderware Application Server User Guide Ver 1.x Rev 1.0 PR 00186
for Wonderware
Application Server
User Guide
Ver 1.x Rev 1.0
PR 00186
WONDERWARE FINLAND
P.O. Box 38
FIN-00371 Helsinki Finland
tel. int. + 358 9 5404940
fax int. + 358 9 5413541
www.wonderware.fi
i
Table of Contents
Introduction .................................................................................................................... 1
Installing the Alarm DB Logger Object ........................................................................... 1
Hardware requirements .............................................................................................. 1
Software requirements................................................................................................ 1
Files ............................................................................................................................ 1
Installation .................................................................................................................. 2
Licensing requirements............................................................................................... 4
Demo License installation ....................................................................................... 4
Software key installation ......................................................................................... 5
Configuration .................................................................................................................. 6
General Configuration................................................................................................. 6
Run-Time Object Attributes ........................................................................................ 8
Troubleshooting ............................................................................................................. 9
Advanced Troubleshooting ......................................................................................... 12
Installation
2. Start the ArchestrA IDE and import the AlarmDBLogger.aaPKG file to a new/existing
galaxy (in the further explanation we will assume that a new galaxy grTest2 is used).
If you are using existing galaxy and there are already deployed older Alarm Gateway
object version please, following upgrade instruction from section Object upgrade
procedure.
Licensing requirements
Alarm Gateway object support two types of licenses:
The demo license is for free and provides an unlimited functionality, but it is valid
only for a limited time period.
The software key enables the Alarm Gateway Object unlimited full time running
without any restrictions.
To activate the received demo License key, you need to set it to object attribute
License_DemoKey:
If demo license is valid (correct key is installed) attribute License_IsLicensed is true and
in attribute License_DemoExpirationDate is displayed expiration date after that product
stops working.
- get “Product ID” from object attribute License_ProductID (e.g. PR00185 100);
- get “Customer ID” from object attribute License_CustomerID;
- copy/paste it to e-mail (or text file or similar) and provide this “Customer ID” string when
ordering the Alarm Gateway Object;
- when product is purchased, copy the received “Software Key” to object attribute
License_SoftwareKey:
If license ket is valid (correct key is installed) attribute License_IsLicensed is set to true
and product is ready for use.
Configuration
For general information about objects (including relationships, deployment and alarm
distribution) - see the Wonderware Integrated Development Environment (IDE)
documentation.
SQL. - defines attributes for Alarm SQL database general configuration and status.
Consumer_ - defines attributes for Alarm Consumer configuration.
Licence_ - defines attributes for licensing – see “Licensing” section for more information
General Configuration
The following section describes the Object Editor options for configuration and the
associated attributes.
Use the General tab to configure and tune the behavior of the Alarm Gateway Object:
The following table describes the run-time only attributes for the Alarm Gateway Object.
Note: Configurable run-time attributes are described in the configuration sections. For
more information, see Configuration section above.
Note: Due object is actively communication with SQL server it is highly recommended to
run each Alarm DB Logger Object in separate Engine since Alarm Gateway uses scan
interval for reading the alarms.
Minimum recommended Engine scan interval for Alarm Gateway is 10000 ms.
Troubleshooting
Here are common issues that may occur while using Alarm DB Logger object and
solutions.
a) check is valid Demo or full license installed for Alarm DB Logger is Attribute
(License_IsLicensed = true) in Object Viewer:
c) if alarms are checked and alarms are displayed in any Wonderware alarm
display from Platform directly, check Alarm DB Logger consumer settings in Object
Viewer, is correct alarm query, FromPriority, ToPriority set (must be the same as in
Wonderware alarm controls):
if alarms are coming to Alarm DB Logger Consumer but on alarms created in alarm
database, check Alarm DB Logger alarm database configuration:
SQL Server Management Studio can be used for checking alarm database status.
Advanced Troubleshooting
For advanced troubleshooting there are possible to enable Debug Mode by setting
object attribute DebugLogging to true to enable full logging or change attribute
LogLevel from 1 to 4:
If debuglogging is enabled Alarm DB Logger logs alarms created to alarm database and
object alarms insert to database performance logs.
2) Delete all Alarm Gateway object instances and templates from galaxy.
WONDERWARE FINLAND
Alarm DB Logger Object
Revision History