Presentation is loading. Please wait.

Presentation is loading. Please wait.

SNS Alarm System Status Curtis Dunn Control System Suite/Eclipse Frameworks Workshop EPICS Collaboration Meeting June 12-16, 2006.

Similar presentations


Presentation on theme: "SNS Alarm System Status Curtis Dunn Control System Suite/Eclipse Frameworks Workshop EPICS Collaboration Meeting June 12-16, 2006."— Presentation transcript:

1 SNS Alarm System Status Curtis Dunn Control System Suite/Eclipse Frameworks Workshop EPICS Collaboration Meeting June 12-16, 2006

2 O AK R IDGE N ATIONAL L ABORATORY U. S. D EPARTMENT OF E NERGY EPICS Collaboration Meeting, June 12-16, 2006 Alarm Annunciator  Written in Objective-C  Uses the EPICS Framework for Cocoa developed by Tom Pelaia  Runs 24/7 on a dedicated alarm station in the SNS Central Control Room  Designed to Operations Specifications  Monitors PV Status and Severity  Speaks customizable alarm messages

3 O AK R IDGE N ATIONAL L ABORATORY U. S. D EPARTMENT OF E NERGY EPICS Collaboration Meeting, June 12-16, 2006 Alarm Annunciator – Alarm Configuration Intended to monitor summary PV's Automatic save and load Dynamically discovers and displays hierarchies Current severity indicated by text color Allows Silencing of Alarms

4 O AK R IDGE N ATIONAL L ABORATORY U. S. D EPARTMENT OF E NERGY EPICS Collaboration Meeting, June 12-16, 2006 Alarm Annunciator - History  Lists the most recent alarms and warnings  Color indicates alarm severity  Shows Alarm info:  Timestamp  PV Name  Audible Message  Status  Severity

5 O AK R IDGE N ATIONAL L ABORATORY U. S. D EPARTMENT OF E NERGY EPICS Collaboration Meeting, June 12-16, 2006 Alarm Annunciator – Pronunciation Dictionary Adjust incorrect pronunciations –Example: Linac Understands Abbreviations –SNS Systems, SubSystems, Devices, Instances –Other abbreviations: Avg, Sts, Temp, etc. Automatic save and load

6 O AK R IDGE N ATIONAL L ABORATORY U. S. D EPARTMENT OF E NERGY EPICS Collaboration Meeting, June 12-16, 2006 Alarm Annunciator – Main Display Designed to be visible from a distance Displays current alarms and warnings Scrolls the audible message

7 O AK R IDGE N ATIONAL L ABORATORY U. S. D EPARTMENT OF E NERGY EPICS Collaboration Meeting, June 12-16, 2006 7 Parallel Efforts at SNS - Soft-IOC-based Alarm Handler (Pam Gurd) Focus: Integration of alarm system with EDM control screens

8 O AK R IDGE N ATIONAL L ABORATORY U. S. D EPARTMENT OF E NERGY EPICS Collaboration Meeting, June 12-16, 2006 Parallel Efforts at SNS – Alarm Pushing in EPICS (A. Liyu, A. Zhukov) Current EPICS Alarm Model IOC Alarm Client CA IOC X channels Y channels Z channels … X channels Y channels Z channels …

9 O AK R IDGE N ATIONAL L ABORATORY U. S. D EPARTMENT OF E NERGY EPICS Collaboration Meeting, June 12-16, 2006 Parallel Efforts at SNS – Alarm Pushing in EPICS (A. Liyu, A. Zhukov) Another Alarm Model IOC Alarm server IOC X channels Y channels Z channels Alarm client Log file

10 O AK R IDGE N ATIONAL L ABORATORY U. S. D EPARTMENT OF E NERGY EPICS Collaboration Meeting, June 12-16, 2006 Parallel Efforts at SNS – Alarm Pushing in EPICS (A. Liyu, A. Zhukov)  Changes in RecGbl.c file recGblResetAlarms() function /* Send alarm message */ char AcMessage[200]; if( pdbc->nsev != pdbc->sevr){ sprintf( AcMessage, "PVNAME=%s&SEVERITY=%d&STATUS=%d&TIMESTAMP=%ld.%ld", pdbc->name, pdbc->nsev, pdbc->nsta, pdbc->time.secPastEpoch, pdbc->time.nsec); vFSendMessageToAlarmService( AcMessage); }  Add Alarm service with API epicsShareFunc int epicsShareAPI iFAlarmServiceStart( char * AcServerNameIn); epicsShareFunc int epicsShareAPI iFAlarmServiceStop(); epicsShareFunc void epicsShareAPI vFSendMessageToAlarmService( char * AcMessage);

11 O AK R IDGE N ATIONAL L ABORATORY U. S. D EPARTMENT OF E NERGY EPICS Collaboration Meeting, June 12-16, 2006 Parallel Efforts at SNS – Alarm Logging  Alarm logging using the Alarm Handler (ALH) (Ernest Williams, Greg Lawson)  Importing Alarm Log Files to RDB – ROCS (Ekaterina Danilova, Ernest Williams)


Download ppt "SNS Alarm System Status Curtis Dunn Control System Suite/Eclipse Frameworks Workshop EPICS Collaboration Meeting June 12-16, 2006."

Similar presentations


Ads by Google