AlarmWorX from Iconics

H

Thread Starter

Hanoi Santos Hung

Hi all :
I'm using Genesis32EE and I need that when an alarm comes an AlarmWorX window pop ups. Anybody knows how to do it ?


Best Regards
Ing Hanoi Santos Hung
Dpto Sistemas Digitales 3
Instituto Central de Investigacion Digital
email : [email protected]
 
A

Audun Alvestad

Hi There!

Here is an cut'n paste from Iconics that might help you. If this doesn't helps you must use vba and and do your stuff there. If you need further help with Genesis32 or VBA I'm able to help you with most things. Send me a mail and I give you a reply.

Good Luck
Audun Alvestad
Dep.Man. Automation
Ulstein Elektro AS
Norway


3.4 Advanced Features
The alarm server is capable of exposing more information than you would get with a normal alarm server. As an example we will show how to see help information in your ToolTips and launch an application related to the alarm.
3.4.1 Help Text
Each alarm tag can have help information associated with it. As an example you can add the following text to your PUMP alarm

Alarm Server Settings
1. Change the alarm server configuration
Tag name: PUMP
Help instructions:
“Close the release valve pressure should
be increased before pumping!”
2. Click the Apply Button in order to apply the changes

Alarm Viewer Settings
3. Change the alarm viewer subscription settings
4. Click the Attributes tab and select the Event Category “Limit”
5. Select “Help Text” from the “Available” list box and click Add
6. The Attribute1 will now represent help information

Select the Column tab in order to bind this new information to an extra column
7. In the column tab you select “Attribute 1” from the “Available:” list box and click Add.
8. Double click the Attribute 1 from the “Available” list box, Check the “Cell” option and activate the “Hide” option.
9. Select the “Settings” tab
 Check the Help check box
 Select “Attribute1” from the drop down box

During runtime the operator can select the Help ToolTip with a Right-Mouse click. Pointing at an alarm will show its related help information.
3.4.2 Default Display
Your alarm tag can have a Default Display associated with it. This could be a MS-Excel spreadsheet a GraphWorX32 Display but it could also be an AVI Video file, or other applications. (i.e. *.exe, *.com or *.bat file)
The operator can execute this on demand during runtime.

As an example you can add the following text to your PUMP alarm

Alarm Server Settings
1. Change the alarm server configuration
Tag name: PUMP
Default display: “D:\WinNT\AlarmAdvise.AVI”

2. Click the Apply Button in order to apply the changes


Alarm Viewer Settings
3. Change the alarm viewer subscription settings
4. Click the Attributes tab and select the Event Category “Limit”
5. Select “Default Display” from the “Available” list box and click Add
6. The Attribute1 will now represent Default Display information.

Select the Column tab in order to bind this new information to an extra column.
7. In the column tab you select “Attribute 1” from the “Available:” list box and click Add.
8. Double click the Attribute 1 from the “Available” list box, Check the “Cell” option and activate the “Hide” option.

During runtime the operator can do a Right-Mouse click. And run the associated Application AVI file.
 
M
Easy to do,
Use The expression editor and add the alarm tag to test for the alarm case.
and you can popup a GWX32 window.
Or even better use the Gen32 Layer function like AutoCAD, and put the embedded Alarmworx window on a layer You can then show that layer based on anything you want. this is so that you do not need to create more windows and can do it in one file.
Mark Massa
 
R

Raymond van der Tas

In order to popup an alarm window GENESIS32 supplies several solutions:

1. You place a checkbox in your ICONICS GraphWorX32 Display(s). This checkbox can be configured to continuously (e.g. every 1000 ms) perform a VBA action. Your VBA script determines which action to take For instance the vba command ThisDisplay.FileOpen "myAlarmDisplay.gdf"

2. You configure ICONICS ScriptWorX32 with OPC event based scripts (e.g. an OPC Tag goes True) or an OPC A/E event filter (e.g. the alarm message with the text "run for you live, plant is about to explode ..." is being sent by any OPC A/E Event server. An example of such an event server could be the ICONICS Alarm Server.
The script code being executed is can be anything you would like to perform in this case. As an example see item 3.

3. You add five (5) lines of VBA code to your favorite VBA enabled application (e.g. Visual Basic, MS-Excel, MS-Word, ScriptWorX32 etc. the code could look like this

' under Tools, References...
' ensure that your VB(A) program has a reference ICONICS AutoGenRegistrarWrapper Type Library
Dim genreg As AutoGenRegistrar ' Automation GenRegistrar Wrapper dispatch pointer
' ensure that your VB(A) program has a reference Gwx32
Dim gwx As Gwx32.GwxDisplay ' GWX32 dispatch pointer
' Create AutoGenRegistrar dispatch pointer
Set genreg = New AutoGenRegistrar
' Get existing GWX32 dispatch from ICONICS GenRegistrar
Call genreg.GetDispatch("*", "GWX32", "*", gwx)
' Perform your alarm action
gwx.FileOpen "MyAlarmDisplay.GDF"
' Release dispatch pointers
Set gwx = Nothing
Set genreg = Nothing

4. Using the AlarmWorX32 Multimedia component (AWX32 MMX v6.1) alarm actions can be performed without using scripting. Some of the actions are:
- announce the alarm (text-to-speech conversion)
- popup an IE4.x window
- page the alarm, send an email
- announce the alarm on a hardware text panel
- ..

Regards,
ICONICS EUROPE BV
 
Top