Tech Note 836 Configuring an Alarm Acknowledgement Signature and Using the SignedAlarmAck() Script Function



Similar documents
1. Under Application Objects, open the $Tank object and then open the $TankDisplay as shown in Figure 1 (below).

Introduction. Issues. Symptoms. Application Versions. Case 1: Deploy an ArchestrA Object - UDO4DevUsers_001_001 - Has Error Messages

This tech note will explain how to use the following parameters in Configurator General Parameters.

Tech Note 652 Changing an ArchestrA Symbol's Custom Property Expression or Reference in Runtime

Tech Note 920 Resolving Disabled ActiveFactory Reporting Website for Wonderware System Platform R2

Tech Note 743 Configuring Reporting Services 2008 Configuration for a New Host Name in Windows 2008 R2

Tech Note 663 HMI Reports: Creating Alarm Database (WWALMDB) Reports

Tech Note 1010 SQL Server Authentication and ArchestrA Network Account Restrictions When Installing Wonderware Historian

Introduction. Symbol Script Timeout Setting. Sample MES Custom Code in Symbol Script. Application Versions. Sample Code

Introduction. Notes. Important Considerations. Application Versions. Assumptions. 8/22/13 Setting Up Historian Servers for Tier-2 Summary Replication

All Tech Notes and KBCD documents and software are provided "as is" without warranty of any kind. See the Terms of Use for more information.

Introduction. Configuration: Entity and OCO Modeling. Application Version: OCO General Configuration

Tech Note 751 Installing InBatch Report Contents for Wonderware Information Server (WIS)

Introduction. Tech Note 884 Setting Up Historian Servers for Tier-2 Summary Replication

Tech Note 612 Upgrading DLL Version Mismatches Between CBM Solution and System Platform

Tech Note 782 Installing Remote Desktop Services on Windows 2008 Server R2 for Wonderware Products

Tech Note 338 How to Change the ActiveFactory Reporting Website Default Install Location

Introduction. Application Versions. Installing Virtual SMTP Server. Tech Note 692 Using Virtual SMTP Server for SCADAlarm Notifications

All Tech Notes and KBCD documents and software are provided "as is" without warranty of any kind. See the Terms of Use for more information.

How To Write A Summary On A Historyorian Server

Tech Note 882 Configuring Time Synchronization for Historian Server Using Net Time and Windows Task Scheduler

Tech Note 782 Installing Remote Desktop Services on Windows 2008 Server R2 for Wonderware Products

Introduction. Back Up the Runtime Database. Application Versions

Introduction. Application Versions. Assumptions. Delete $$ExportTempFolders. Tech Note 930 Wonderware System Platform Clean-up Guide

This Tech Note describes working with Microsoft Reporting Services in order to publish InBatch Reports to Wonderware Information Server.

Communication to End Device Going In and Out of Slow Poll Mode

Tech Note 868 Troubleshooting Wonderware Software Resource Issues with Performance Monitor

Note: This Tech Note was formerly titled Installing Microsoft SQL Server 2008 for Wonderware Historian v10.0.

Tech Note 1035 Moving the Historian Runtime Database to Another Machine Using SQL Server 2012

All Tech Notes and KBCD documents and software are provided "as is" without warranty of any kind. See the Terms of Use for more information.

Tech Note 847 Installing Wonderware Information Server (WIS) on the Windows Server Window 7 64 and 32-bit Operating System

8/22/13 Configuring Windows SharePoint Services for PEM v1.0 to Work with SuiteVoyager v2.6

Industrial Application Server Redundancy: Troubleshooting Guidelines

Note: Not all messages in the log are indicative of a problem. Contact Technical Support if questions arise.

Tech Note 882 Configuring Time Synchronization for Historian Server Using Net Time and Windows Task Scheduler

Tech Note 957 Creating Custom Password Entry on Intermec-Supported Handhelds

This Tech Note provides step-by-step procedures to install Microsoft SQL Server 2012 on a 32- or 64-bit Operating System.

Part I: Setting up Bristol Babcock's OPC Server

Enabling Cross-Machine Distributed Transactions (via MSDTC)

Tech Note 551 Configuring SQLMail or Database Mail for the Historian Event

Tech Note 912 Using Alternate TCP Port Numbers with Modbus Ethernet DAServer

Tech Note 400 Configuring Remote Connections for Windows 2000/2003/XP

Introduction. Application Versions. Compatibility and System Requirements. Firewall and DCOM Settings

Tech Note 1042 Solving Historian Memory Issue with SQL Server MemToLeave Configuration

Tech Note 905 Troubleshooting Wonderware Information Server (WIS) Part Six: ArchestrA Graphics No Live-Data

Using Network Application Development (NAD) with InTouch

8/23/13 Configuring SIDirect DAServer to Communicate with S7 PLC Over TCP Connection

8/22/13 Configuring the SST5136SD PCI Card Using the New SSTDHP IO Server V8.1 or the DASDHPlus Server

Migrating QI 8.0 Admin and Process Databases from Microsoft Access to Microsoft SQL Server

Installation Guides - Information required for connection to the Goldfields Institute s (GIT) Wireless Network

8/23/13 Configuring the Wonderware SECS-II/GEM Host Creator (SERIAL-RS232)

Instead, use the following steps to update system metadata that is stored in sys.servers and reported by the system function

How To Migrate Qi Analyst To A New Database On A Microsoft Access (Windows) From A New Version Of Qi.Io To A Newer Version Of A New Qi 8.0 (Windows 7.3

Tech Note 813 Troubleshooting Wonderware Information Server (WIS) Part Four: Client License Release

This Tech Note describes modem connections using DAServers and provides some guidelines on how to make the modem connection work.

Use the below instructions to configure your wireless settings to connect to the secure wireless network using Microsoft Windows Vista/7.

Implementing the system using these guidelines should improve your system performance for a large database while your database grows in size.

To allow SQL Server Agent to trigger when a report is executed, we need to provide a set of report group types.

All Tech Notes and KBCD documents and software are provided "as is" without warranty of any kind. See the Terms of Use for more information.

System Area Management Software Tool Tip: Integrating into NetIQ AppManager

Video Administration Backup and Restore Procedures

Windows Vista: Connecting to the wireless network at Hood College

This Tech Note provides detailed guidelines and options for defragmenting and maintaining your production databases.

Alarm Display. Tips & Tricks DIANA SMIT. Tel: 0861-WONDER Fax: (011)

ArchestrA Log Viewer User s Guide Invensys Systems, Inc.

All Tech Notes and KBCD documents and software are provided "as is" without warranty of any kind. See the Terms of Use for more information.

How to setup a VPN on Windows XP in Safari.

XStream Remote Control: Configuring DCOM Connectivity

Sophos Endpoint Security and Control standalone startup guide

Automated backup. of the LumaSoft Gas database

Mac OS X Secure Wireless Setup Guide

Connecting System Platform to TOP Server. Using the SuiteLink DI Object

Setting up VMware ESXi for 2X VirtualDesktopServer Manual

How To Connect To A Wireless Network On Windows 7 (Windows 7) On A Pc Or Mac Or Ipad (Windows) On Pc Or Ipa (Windows 8) On Your Computer Or Mac (Windows). (Windows.7) On An

Working with SQL Server Integration Services

Connecting to UNOSECURE using Windows 7

Configuring a Custom Load Evaluator Use the XenApp1 virtual machine, logged on as the XenApp\administrator user for this task.

Creating IBM Cognos Controller Databases using Microsoft SQL Server

Outlook Profile Setup Guide Exchange 2010 Quick Start and Detailed Instructions

Virtual Office Remote Installation Guide

eadvantage Certificate Enrollment Procedures

Alarm DB Logger Object for Wonderware Application Server Demo Guide Ver 1.0 Rev 1.0

BillQuick Installation Guide for Microsoft SQL Server 2005 Express Edition

Connecting to the University Wireless Network

Setting up a Scheduled task to upload pupil records to ParentPay

Creating a User Profile for Outlook 2013

Print Audit 6 - SQL Server 2005 Express Edition

LepideAuditor Suite for File Server. Installation and Configuration Guide

Connecting to the Rovernet WPA2 Secured Wireless Network with Windows 7

E-Map Application CHAPTER. The E-Map Editor

SETTING UP REMOTE ACCESS ON EYEMAX PC BASED DVR.

Business Portal for Microsoft Dynamics GP Field Service Suite

Windows XP Exchange Client Installation Instructions

Web Manual: September 2014

Victoria College Online Course Guide

Velocity Web Services Client 1.0 Installation Guide and Release Notes

Configuring WPA2 for Windows XP

Decision Support AITS University Administration. Web Intelligence Rich Client 4.1 User Guide

Integrating LANGuardian with Active Directory

Automatic Setup... 1 Manual Setup... 2 Installing the Wireless Certificates... 18

Transcription:

Tech Note 836 Configuring an Alarm Acknowledgement Signature and Using the SignedAlarmAck() Script Function All Tech Notes, Tech Alerts and KBCD documents and software are provided "as is" without warranty of any kind. See the Terms of Use for more information. Topic#: 002628 Created: March 2012 Introduction SignedAlarmAck() is a script function for ArchestrA Graphics to perform an acknowledgment of one or more alarms on ArchestrA attributes that optionally require a signature depending on whether any of the indicated alarms falls within a designated priority range. If so, the user must perform an authentication of the operation to acknowledge the alarms. Application Versions Wonderware InTouch 10.5 and later Wonderware Application Server 3.5 and later Before You Start Before you complete this procedure, setup your Security in the Galaxy. 1. Create a new Galaxy 2. On the main menu, click Galaxy-> Configure-> Security. 3. Select Galaxy Security. 4. Login with the following credentials: Login Name: Administrator Password: (blank) 5. Repeat Step 3 and click the Users tab. 6. Add two users. One user is an Operator and the other is a Supervisor (Figure 1 below). FIGURE 1: ADD OPERATOR AND SUPERVISOR USERS 7. Highlight the Operator and click Change Password. 8. The old password is (blank). Set a new password, for example, operator. 9. Highlight the Supervisor and click the Change Password button. 10. The old password is (blank). Set a new password, for example, supervior. 11. Click the Roles tab. 12. Click Default and uncheck all options (Figure 2 below). https://wdnresource.wonderware.com/support/kbcd/html/1/t002628.htm 1/13

FIGURE 2: UNCHECK ALL DEFAULT SECURITY OPTIONS 13. Add the Supervisor and Operator roles with Access Levels of 9999 and 5555 respectively. 14. For the Supervisor Role, check all the permissions as shown in Figure 3 (below). FIGURE 3: CHECK PERMISSIONS FOR SUPERVISOR 15. For the Operator role just check SMC permissions and everything under Default except for Can Verify Writes (Figure 4 below). https://wdnresource.wonderware.com/support/kbcd/html/1/t002628.htm 2/13

FIGURE 4: OPERATOR PERMISSIONS 16. Click the Users tab and make sure you have selected the associated role for each authorized user. For example, Operator is associated with the Operator role (Figure 5 below). FIGURE 5: ASSOCIATED USERS AND ROLES 17. Associate the Supervisor with the Supervisor role (Figuer 6 below). https://wdnresource.wonderware.com/support/kbcd/html/1/t002628.htm 3/13

FIGURE 6: ASSOCIATED SUPERVISOR USER AND ROLE Examples This Tech Note includes the following examples. Each section contains script samples you can copy/paste into your Objects. Configuring the signature requirement for alarm acknowledgement using the Embedded Alarm Client Control Using the SignedAlarmAck() Script Function Configuring the signature requirement for alarm acknowledgement using the Embedded Alarm Client Control This example shows how to configure alarm acknowledgement signature on an Embedded Alarm Client Control. 1. Create an ArchestrA Graphic Symbol on the Graphic toolbox (e.g. AlarmSymbol). 2. Embed the Alarm Client Control on the graphic editor. 3. Double-click the Alarm Client Control and type the alarm query as \Galaxy!Area_001. FIGURE 7: ALARM CLIENT CONTROL WITH ALARM QUERY 4. In the Run-Time Behavior configuration panel, check Requires ACK Signature. 5. Type the Min Priority and Max Priority for the Alarm Acknowledgement. This example uses Min Priority of 1 and Max Priority of 2. https://wdnresource.wonderware.com/support/kbcd/html/1/t002628.htm 4/13

FIGURE 8: REQUIRES ACK SIGNATURE RUN-TIME BEHAVIOR CONFIGURATION 6. Open the IDE and create the following object instances: $WinPlatform instance called $WinPlatform_001. $AppEngine instance called $AppEngine_001. $Area instance called $Area_001. $UserDefined Object instance called $UDO1. 7. Enable InTouch Alarm Provider on the $WinPlatform_001 object (Figure 9 below). FIGURE 9: ENABLE INTOUCH ALARM PROVIDER 8. On the $UDO1 instance, configure the following: UDA called AlarmTag which is an Integer data type. Analog Field Attribute called Analog_001. Set the Access mode to Input. Input Source is UDO1.AlarmTag. Click Enable limit alarms. For Hi Alarm, change the priority to 1 (Figure 10 below). https://wdnresource.wonderware.com/support/kbcd/html/1/t002628.htm 5/13

FIGURE 10: UDA CONFIGURATION FOR THE $UDO1 INSTANCE 9. Click the Graphics tab and create a new symbol called EmbeddedAlarmSymbol and then embed the AlarmSymbol that was created in step #1 above. 10. Create a new derived InTouchViewApp called SecurityApp. 11. Create an InTouch Window and call it Win1. 12. Embed the AlarmSymbol on the InTouch Window. 13. Embed the SliderBasic from the ArchestrA Symbol Library (Figure 11 below). FIGURE 11: ALARMSYMBOL AND SLIDERBASIC SYMBOLS 14. Double-click the SliderBasic control and add Galaxy:UDO1.AlarmTag for the Custom Property's Default Value (Figure 12 blow). https://wdnresource.wonderware.com/support/kbcd/html/1/t002628.htm 6/13

FIGURE 12: CUSTOM PROPERTY DEFAULT FOR SLIDERBASIC 15. Click OK and on the main menu, click Special-> Security. 16. Click ArchestrA for the Security Type. 17. Deploy all the objects. (WinPlatform_001, AppEngine_001, Area_001, UDO1) 18. Switch to Runtime mode. 19. Click Special-> Security-> Log on. 20. Login as Supervisor with password supervisor. 21. Use the Slider to reach a value where it is in Hi Alarm. This example shows a value of 85 and the Priority is 1 for that Hi Alarm. FIGURE 13: SLIDER GENERATING A P1 ALARM 22. Right-click on the Hi Alarm to Acknowledge it. The Ack Alarm popup appears. Type any comments and provide the username\password (Figure 14 below). https://wdnresource.wonderware.com/support/kbcd/html/1/t002628.htm 7/13

FIGURE 14: ACK ALARM REQUIREMENT The Embedded Alarm Client control displays your comment after Acking the alarm (Figure 15 below). FIGURE 15: COMMENTS AND ACK DISPLAY Using the SignedAlarmAck() Script Function This example shows how to use SignedAlarmAck() script function. 1. Create an ArchestrA Graphic Symbol on the Graphic toolbox (e.g. AlarmSymbol). 2. Embed the Alarm Client Control on the graphic editor. 3. Double-click the Alarm Client Control and type the alarm query as \Galaxy!Area_001 (Figure 16 below). https://wdnresource.wonderware.com/support/kbcd/html/1/t002628.htm 8/13

FIGURE 16: ALARM QUERY 4. Create the following object instances: $WinPlatform instance called $WinPlatform_001 $AppEngine instance called $AppEngine_001 $Area instance called $Area_001 $UserDefined Object instance called $UDO1 5. Enable InTouch Alarm Provider on the $WinPlatform_001 (Figure 17 below). FIGURE 17: ENABLE INTOUCH ALARM PROVIDER ON THE $WINPLATFORM INSTANCE 6. On the $UDO1 instance, configure the following: UDA called AlarmTag which is an Integer data type. Analog Field Attribute called Analog_001 Access mode is Input. Input Source is UDO1.AlarmTag Enable limit alarms HiHi Alarm Alarm priority is 1 https://wdnresource.wonderware.com/support/kbcd/html/1/t002628.htm 9/13

FIGURE 18: UDA CONFIGURATION FOR THE $UDO1 INSTANCE 7. Open the Alarm Symbol in Graphic Editor and add a Button called SignedAlarmAck(). 8. Add the following SignedAlarmAck() script function on an Action script animation link where the trigger is On Left Click/Key Down. Dim Result as Integer; Result = SignedAlarmAck("UDO1.Analog_001.HiHi", True, 1, 5, "Acked by script", False "Acknowledge Alarms by Scripting","Acknowledge HIHI Alarms"); This script example disables the Alarm Comment field (non-editable) provides a Title Bar caption. FIGURE 19: ACTION SCRIPT EXAMPLE 9. Click the Graphics tab on the $UDO1 and create a new symbol called EmbeddedAlarmSymbol and embed the AlarmSymbol that was created on step # 1 above. 10. Create a new derived InTouchViewApp called SecurityApp. 11. Create an InTouch Window call it Win1. 12. Embed the AlarmSymbol on the InTouch Window. 13. Embed the SliderBasic from the ArchestrA Symbol Library (Figure 20 below): https://wdnresource.wonderware.com/support/kbcd/html/1/t002628.htm 10/13

FIGURE 20: SLIDER AND BUTTON 14. Double-click the SliderBasic and add Galaxy:UDO1.AlarmTagfor the Custom Property's Default Value (Figure 21 below). FIGURE 21: SIGNEDALARM DEFAULT VALUE 15. On the main menu, click Special-> Security. 16. Security Type is ArchestrA. 17. Deploy all the objects (WinPlatform_001, AppEngine_001, Area_001, UDO1). 18. Switch to Runtime. 19. Click Special-> Security-> Log on. 20. Login as Supervisor and provide the supervisor password. 21. Use the Slider to reach a value where it is in HiHi Alarm. This example shows value of 96 and the Priority is 1 for that HiHi Alarm. https://wdnresource.wonderware.com/support/kbcd/html/1/t002628.htm 11/13

FIGURE 22: P1 ALARM USING THE SLIDER 22. Click the SignedAlarmAck() button. In this example, notice that you see the Acknowldge Alarm by Scripting dialog box where you cannot edit the alarm comment. It requires a signature to acknowledge the HiHi alarm. FIGURE 23: ACK BY SCRIPTING The comment contained in the script appears on the Embedded Alarm Client Control Display (Figure 24 below). https://wdnresource.wonderware.com/support/kbcd/html/1/t002628.htm 12/13

FIGURE 24: ACKED BY SCRIPT Return values indicate success or failure status. A non-zero value indicates type of failure. For more help on the different return values, refer to the Scripting.pdf/page 57 for Wonderware Application Server 3.5. Note: A return value of zero does not indicate if the alarms are acknowledged, only that the function wrote to the AckMsg attributes. The alarms may not be acknowledged due to insufficient permission or because the alarms have already been acknowledged. SignedAlarmAck() Scripting Recommendations SignedAlarmAck() and Alarm Configuration You can use the SignedAlarmAck() function only in ArchestrA client scripts. SignedAlarmAck() with OnShow and OnHide Scripts Do not use the SignedAlarmAck() function with OnShow and OnHide scripts. This can cause issues with window functionality, including the window title bar, windows losing correct focus, and windows opening on top of one another. SignedAlarmAck() with While True Scripts Do not use the SignedAlarmAck() function in a While True script type. A signed alarm acknowledgement requires user interaction. If you want to use a While True type script, it must be set to an execution time of 30-seconds or longer to allow the user to enter the required information. Note: The SignedWrite() function is supported only for client scripting and not for object scripting. Click the following icon to view this file in.pdf format: B. Shah Tech Notes are published occasionally by Wonderware Technical Support. Publisher: Invensys Systems, Inc., 26561 Rancho Parkway South, Lake Forest, CA 92630. There is also technical information on our software products at Wonderware Technical Support. For technical support questions, send an e-mail to wwsupport@invensys.com. Back to top 2013 Invensys Systems, Inc. All rights reserved. No part of the material protected by this copyright may be reproduced or utilized in any form or by any means, electronic or mechanical, including photocopying, recording, broadcasting, or by anyinformation storage and retrieval system, without permission in writing from Invensys Systems, Inc. Terms of Use. https://wdnresource.wonderware.com/support/kbcd/html/1/t002628.htm 13/13