SlideShare a Scribd company logo
P. Gurd, G. Law 37831, USA
E. Williams, SLAC, Menlo Park, CA 94025, USA
A
re that alarms are defined in the
control system.
DEFINI W TO
way to
integrate everything into a single system.
THE SOLU C-BASE
ft IOCs to be built
onfiguration files.
de all the
alarms hierarchically,
larms included in
ation about
n; in others, to a web page.
d with audible signals that
ppen, such as by output to a
appearance and functionality of the existing
op new
stem added a few requirements:
phone dialers. This is important to achieve
er
ting components.
ms when the
se, the IOC heartbeat) has
e maskable.
It should be possible to see the alarm status of
y are masked.
S shared area contains
THE NEW SOFT-IOC-BASED ALARM HANDLER AT THE SPALLATION
NEUTRON SOURCE*
son, J. Munro, W.H. Strong, ORNL, Oak Ridge, TN
bstract
The standard EPICS alarm handler tool (ALH) does not
integrate well with other EPICS client applications. At
SNS, we wanted the ability to incorporate alarm
summaries and alarm controls such as masks and resets
into screens in the display manager as well as the ability
to call display screens from alarm screens. To achieve
these aims, we built a soft-IOC-based alarm handler that
runs in Linux soft IOCs. A set of scripts builds EPICS
databases, display manager screens, and startup scripts for
standard Linux soft IOCs from old EPICS Alarm Handler
(ALH) or extensible markup language (XML)
configuration files. With this new tool the summaries,
masks and latch status can be incorporated into other
EPICS client applications. In this paper we describe our
experience building and using the soft-IOC-based alarm
handler everywhe SNS identify alarms as they ha
NG THE PROBLEM: HO
INTEGRATE ALARMS
Previous to the development of the soft-IOC-based
alarm handler, the Spallation Neutron Source (SNS)
controls group had tried a number of different approaches
to alarm handling. The cryogenic systems, the IOC
(input-output controller) summary and the operator top-
level summary screens used a number of EPICS database
calculation records to summarize machine status which
was then displayed using the extensible display manager
(edm). Some systems such as the target system used the
standard EPICS alarm handler (ALH) [3]. The
calculation records were hard to maintain, operators
resisted the use of ALH, and there was no easy
TION: THE SOFT-IO D The IOC snapshot, which displays the status of system
processors, added this requirement:
Device heartbeats need to raise alarALARM HANDLER
Some of the calculation records used for alarm
summaries were already running in soft IOCs – Linux
processes sharing Linux servers with other such processes
[1]. It seemed reasonable to replace those soft IOCs using
scripts to build EPICS databases, displays, logging
sequences and start-up scripts from XML configuration
files [4]. The new XML files are much easier to maintain
than the EPICS databases they replaced. The scripts were
then extended to allow the alarm so
from ALH-style c
Requirements
The new alarm handler needed to provi
functionality provided by the systems it was to replace.
Some important features are given below.
It must be possible to group
with arbitrary numbers of a
arbitrary numbers of levels.
Each alarm should be maskable.
It should be possible to find more inform
any alarm. In some cases, this means getting to a
display scree
Alarms should latch so that momentary glitches can
be tracked.
Operators must be presente
voice synthesizer.
Alarms must be logged.
In addition, when changing the software behind existing
operator interfaces, it is very important to ensure that
operators are comfortable with the new system. Interfaces
with the
erator interfaces should be created from the
system.
The cryogenic sy
A delay before latching some alarms must be
configurable.
It must be possible to interface alarms to devices
such as
unmanned operation of the Central Helium Liquifi
(CHL.)
It must be possible to add logic to alarm elements.
It must be possible to use templates and substitutions
to configure systems with repea
process variable (in this ca
not updated in a specified time period.
Operators had a few wishes:
Each alarm group should b
Alarms only relevant in some machine modes could
be masked automatically.
devices even if the
Software Structure
for the U.S. Department of Energy.
___________________________________________
* Work supported by Oak Ridge National Laboratory
for UT-Battelle, LLC, under contract DE-AC05-00OR22725 A soft alarm area in the EPIC
Proceedings of ICALEPCS07, Knoxville, Tennessee, USA RPPB26
Operational Tools
665
Database templates
Display screen templates
t IOCs.
of the standard EPICS
compone
ss variables for both
arm points and for
riables.
a full-size and a miniature
– all of the parameters needed
so that the alarm masking survives a soft IOC reboot.
LER AT SNS
oft-IOC-based alarm handlers are operating in ten
systems
: Soft-IO ed A
s maries H
at
Scripts for building the components of the individual
alarm sof
The soft IOCs are composed
nts:
EPICS Run-Time Databases
o Summary process variables
Mask proceo
individual al
summaries.
o Time stamps.
o Logging process va
Sequences to create logging records and to send logs
to the Oracle relational database.
Display screen files –
screen for the summary at each level.
Soft IOC startup script.
Autosave request files
Archive request files.
THE SOFT-IOC-IMPLEMENTATION OF
BASED ALARM HAND
System and Channel Counts
S
at the SNS, as shown in Table 1.
Table 1 C-Bas larms at SNS
System PV Sum AL
Form
Accelerator Cooling 599 43 Yes
Conventional
Facilities
270 72 Yes
Cryogenics 540 56 No
High Power RF 5611 52 No
Integrated Controls 2509 266 No
Personnel Protection 723 148 Yes
Target 545 84 Yes
Target Moderator 567 18 Yes
Timing e454 7 Y s
Vacuum 218 27 Yes
Totals 12036 773
The process variable (PV) counts given in Table 1 are
those being monitored by the soft IOCs. The soft IOC
logic uses a large number of PVs for its logic; for
ex
nal database to make it
po
e of any of a subset of the alarms, a
message is sent to a speech synthesizer in the control
room.
Screen Examples
ample, the accelerator cooling system soft IOC uses
8677 PVs to monitor 599 points and serve 43 summaries.
All alarms are logged to XML-like files that are sent
periodically to the Oracle relatio
ssible to search through the alarm histories and to
create alarm statistics.
Upon the occurrenc
Figure 1: The Top Alarm Summary displays the status of
all the alarms in the system. Since EPICS process
variables provide the status, the information can be used
in any EPICS client application.
Figure 2: The IOC Status Screen was one of the previous
status displays that the new alarm system had to replicate.
Figure 3: The Cryogenic Alarm Screens existed prior to
the new alarm system, and would continue to be required.
RPPB26 Proceedings of ICALEPCS07, Knoxville, Tennessee, USA
Operational Tools
666
Figure 4: The Annunciated Alarm Summary and the soft
IOC that provides its data and functionality is built
automatically using the Soft Alarm scripts.
Figure 5: Another automatically created screen, the Ring
Cooling Alarm Screen, shows individual alarm status bits.
EXPERIENCE WITH THE SOFT-IOC-
BASED ALARMS AT SNS
The alarms are in constant use, both in the Central
Control Room and in the CHL Control Room. Operators
use the top-level alarm screen, the automatically created
lower-level alarm screens and the masking facilities all
the time. Occasionally, they refer to the alarm logs to find
out the sequence of alarm events.
The main objection the operators have to the new soft-
IOC-based alarm system is the many screens they have to
drill down through to get to the actual alarm. This might
be improved somewhat by more rational alarm
configuration.
Most of the operators and control system engineers who
have configured alarms have used the traditional EPICS
ALH-style configuration files rather than the new XML-
style configuration files [2]. This might be because of
familiarity or because of a lack of clear documentation for
the new XML format. The soft IOCs created by operators
to summarize machine states have not yet been converted
to the new alarm handler, though operators have said it
would be a good idea.
The Linux server that runs the alarm soft IOCs and
several other soft IOCs – a Hewlett Packard DL360 Intel
32 bit machine – is only about 10% busy, and thus can
easily accommodate all the alarms the SNS needs in the
foreseeable future.
THE FUTURE OF THE SOFT-IOC-BASED
ALARM HANDLER
At the SNS, several systems need to be configured to
complete the alarm systems, notably the low level RF
systems and the power supply systems. The front end
alarm configuration needs improvement to reduce the
number of nuisance alarms before it is ready for full
deployment.
A number of improvements should be made to the
existing configuration files so that operators could click
on any alarm summary or alarm point and get to more
information about the system. Some of the capabilities
have not really been used; for example, the machine mode
could be used to reduce unwanted alarms in many more
areas.
It could be useful to incorporate alarm summary
process variables into more control system screens.
An attempt was made to create a configuration
interface and an operator status display interface using
CSS/Eclipse (Control System Studio) [5], [6]. CSS would
make it possible to enable operators to go directly to the
alarm point, as they have requested. Also, an interface
could be created to make alarm configuration self-
explanatory. This approach seems hopeful, but much
more work is needed to make it useful.
REFERENCES
[1] P. Gurd, G. Lawson, D.H. Thompson, E. Williams,
“
The Application of Linux ‘Soft’ IOCs for Status
Summaries at the Spallation Neutron Source,”
ICALEPCS 2005, Geneva, November 2005.
[2] J. Munro, R.E. Battle, E. Danilova, R.L. Sangrey, E.
Williams, “A Proposed Alarm Handling System
Management Plan for SNS with Application to Target
Control System,” ICALEPCS 2007, Knoxville,
October 2007.
[3] http://www.aps.anl.gov/epics/extensions/alh/index.php
The EPICS Alarm Handler.
[4] http://en.wikipedia.org/wiki/XML XML.
[5] http://css.desy.de/content/index_eng.html CSS.
[6] K. Kasemir, “Control System Studio Applications,”
ICALEPCS 2007, Knoxville, October 2007.
Proceedings of ICALEPCS07, Knoxville, Tennessee, USA RPPB26
Operational Tools
667

More Related Content

PDF
Dcs course
PDF
7 1 r14
PPT
Ov150 win.ppt
PDF
Dcs or plc
PDF
Distributed Control System (DCS) Notes
PDF
PLC and SCADA summer training report- government engineering college ajmer
PDF
Summer training plc & scada
Dcs course
7 1 r14
Ov150 win.ppt
Dcs or plc
Distributed Control System (DCS) Notes
PLC and SCADA summer training report- government engineering college ajmer
Summer training plc & scada

What's hot (20)

PDF
Whatisaplc
PPTX
Ch1-Operating System Concept
PPTX
DCS an overview
PDF
Alarm management at DeltaV
DOCX
OVERVIEW OF PLC AND SCADA
PDF
Simulation of Signals with Field Signal Simulator
PPTX
Working of DCS systems
PDF
Programmable Automation Controller T2750
PPTX
plc training report
PPTX
Microcontroller 8051 timer 274 P$
PPT
1 introduction to plc and its programming-1
PDF
Distributed Control System (DCS) Applications, Selection & Troubleshooting
PPTX
Scada system ( Overview )
PPT
Distributed Control System
PPT
Hierarchical control and industrial automation
PPT
Chapter 1: Introduction to Operating System
PDF
Safety control systems: Some essential considerations
PPTX
Unit 1 ppt
PPTX
PPT of PLC and SCADA
Whatisaplc
Ch1-Operating System Concept
DCS an overview
Alarm management at DeltaV
OVERVIEW OF PLC AND SCADA
Simulation of Signals with Field Signal Simulator
Working of DCS systems
Programmable Automation Controller T2750
plc training report
Microcontroller 8051 timer 274 P$
1 introduction to plc and its programming-1
Distributed Control System (DCS) Applications, Selection & Troubleshooting
Scada system ( Overview )
Distributed Control System
Hierarchical control and industrial automation
Chapter 1: Introduction to Operating System
Safety control systems: Some essential considerations
Unit 1 ppt
PPT of PLC and SCADA
Ad

Viewers also liked (14)

PDF
Kaplan National Physical Therapy Exam by Bethany Chapman Mary Fratianni
PDF
How To Enjoy Lang-8
PDF
Manual of the CSS Alarm Handler (Beast)
PDF
RptResponseTime
PPTX
Screenshots Creating My ROAR! Makeup Web Popup
PDF
BCBSD 1/2 Pg Ad
PDF
Are we approaching armageddon sepy-oct 2006
DOCX
LAN Hair Strength
PDF
Vb6 ch.6-3 cci
PPTX
Increase Firm Profits Through Client Feedback
DOCX
Documentary arrangements
PDF
Global Power City Index 2010
PPT
1 share point presentation
PDF
Acug datafiniti pellon_sept2013
Kaplan National Physical Therapy Exam by Bethany Chapman Mary Fratianni
How To Enjoy Lang-8
Manual of the CSS Alarm Handler (Beast)
RptResponseTime
Screenshots Creating My ROAR! Makeup Web Popup
BCBSD 1/2 Pg Ad
Are we approaching armageddon sepy-oct 2006
LAN Hair Strength
Vb6 ch.6-3 cci
Increase Firm Profits Through Client Feedback
Documentary arrangements
Global Power City Index 2010
1 share point presentation
Acug datafiniti pellon_sept2013
Ad

Similar to The New Soft-IOC Based alarm handler at the SNS (20)

PPTX
ISO/IEC 61131-3
PDF
PLC, DCS and PLC vs DCS Presentation by Jitender Singh Shekhawat
PDF
Automation Production Systems and Computer Integrated Manufacturing 4th Editi...
PPTX
Basics of Automation, PLC and SCADA
PDF
CSS Alarm Handler (BEAST) 2009
PPTX
PLC (Programmable Logic Circuit)
PPTX
DEVENDRAPLC .pptx
PDF
Troubleshooting & Tools
PPTX
PRESENTATION ON PLC AND SCADA
PPT
Embedded os
PDF
Training feedback Basavaraju
PPT
chapter1 -Basic co.pptjsjjsjdjxjdjdjdjjsjsjd
PDF
Programmable Automation Controller with modular expansion
PDF
Embedded Systems Implementation and Applications
PPT
Cisc(a022& a023)
PDF
p850-ries
PDF
BEST, the CSS Alarm Handler - Performance Testing
PDF
BEAST - CSS Alarm Handler Performance Tests
PPTX
ch1-1.pptx
PDF
Presentation aix performance updates & issues
ISO/IEC 61131-3
PLC, DCS and PLC vs DCS Presentation by Jitender Singh Shekhawat
Automation Production Systems and Computer Integrated Manufacturing 4th Editi...
Basics of Automation, PLC and SCADA
CSS Alarm Handler (BEAST) 2009
PLC (Programmable Logic Circuit)
DEVENDRAPLC .pptx
Troubleshooting & Tools
PRESENTATION ON PLC AND SCADA
Embedded os
Training feedback Basavaraju
chapter1 -Basic co.pptjsjjsjdjxjdjdjdjjsjsjd
Programmable Automation Controller with modular expansion
Embedded Systems Implementation and Applications
Cisc(a022& a023)
p850-ries
BEST, the CSS Alarm Handler - Performance Testing
BEAST - CSS Alarm Handler Performance Tests
ch1-1.pptx
Presentation aix performance updates & issues

More from Robert-Emmanuel Mayssat (20)

PDF
Beast alarm guideline_2013
PDF
CSS alarm Handler (BEAST) at the EPICS Collaboration meeting 2010
PDF
CSS - Alarm Management System (AMS)
PDF
Honeywell - Alarm management standards taken seriously
PDF
Sample Beamline Scientist Job Description
PDF
Sample GUI Style Guide
PDF
ALH user guide 1.2.33 (May 2013)
PDF
Storytelling for startups
PDF
CSS Alarm Handling
PDF
Web browser design template
PDF
Ipad design template
PDF
Iphone 5 design template
PDF
Epics Qt design specification
PDF
Epics Qt requirements specification
PDF
Pitch anything webinar
PPTX
Qtc managed-runtimes
PDF
Sample Quad Chart
PDF
PDF
Epics Qt Collabroration at the EPICS conference in Spring 2014
PDF
QNX Sales Engineering Presentation
Beast alarm guideline_2013
CSS alarm Handler (BEAST) at the EPICS Collaboration meeting 2010
CSS - Alarm Management System (AMS)
Honeywell - Alarm management standards taken seriously
Sample Beamline Scientist Job Description
Sample GUI Style Guide
ALH user guide 1.2.33 (May 2013)
Storytelling for startups
CSS Alarm Handling
Web browser design template
Ipad design template
Iphone 5 design template
Epics Qt design specification
Epics Qt requirements specification
Pitch anything webinar
Qtc managed-runtimes
Sample Quad Chart
Epics Qt Collabroration at the EPICS conference in Spring 2014
QNX Sales Engineering Presentation

Recently uploaded (20)

DOCX
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
PDF
Well-logging-methods_new................
PDF
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
DOCX
573137875-Attendance-Management-System-original
PPTX
CYBER-CRIMES AND SECURITY A guide to understanding
PDF
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
PPTX
Sustainable Sites - Green Building Construction
PPTX
Foundation to blockchain - A guide to Blockchain Tech
PPTX
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
PPT
Mechanical Engineering MATERIALS Selection
PDF
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
PPTX
bas. eng. economics group 4 presentation 1.pptx
PPTX
UNIT-1 - COAL BASED THERMAL POWER PLANTS
PDF
R24 SURVEYING LAB MANUAL for civil enggi
PDF
Unit I ESSENTIAL OF DIGITAL MARKETING.pdf
PPT
Introduction, IoT Design Methodology, Case Study on IoT System for Weather Mo...
PPT
Project quality management in manufacturing
PDF
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
PDF
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
PDF
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
Well-logging-methods_new................
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
573137875-Attendance-Management-System-original
CYBER-CRIMES AND SECURITY A guide to understanding
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
Sustainable Sites - Green Building Construction
Foundation to blockchain - A guide to Blockchain Tech
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
Mechanical Engineering MATERIALS Selection
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
bas. eng. economics group 4 presentation 1.pptx
UNIT-1 - COAL BASED THERMAL POWER PLANTS
R24 SURVEYING LAB MANUAL for civil enggi
Unit I ESSENTIAL OF DIGITAL MARKETING.pdf
Introduction, IoT Design Methodology, Case Study on IoT System for Weather Mo...
Project quality management in manufacturing
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf

The New Soft-IOC Based alarm handler at the SNS

  • 1. P. Gurd, G. Law 37831, USA E. Williams, SLAC, Menlo Park, CA 94025, USA A re that alarms are defined in the control system. DEFINI W TO way to integrate everything into a single system. THE SOLU C-BASE ft IOCs to be built onfiguration files. de all the alarms hierarchically, larms included in ation about n; in others, to a web page. d with audible signals that ppen, such as by output to a appearance and functionality of the existing op new stem added a few requirements: phone dialers. This is important to achieve er ting components. ms when the se, the IOC heartbeat) has e maskable. It should be possible to see the alarm status of y are masked. S shared area contains THE NEW SOFT-IOC-BASED ALARM HANDLER AT THE SPALLATION NEUTRON SOURCE* son, J. Munro, W.H. Strong, ORNL, Oak Ridge, TN bstract The standard EPICS alarm handler tool (ALH) does not integrate well with other EPICS client applications. At SNS, we wanted the ability to incorporate alarm summaries and alarm controls such as masks and resets into screens in the display manager as well as the ability to call display screens from alarm screens. To achieve these aims, we built a soft-IOC-based alarm handler that runs in Linux soft IOCs. A set of scripts builds EPICS databases, display manager screens, and startup scripts for standard Linux soft IOCs from old EPICS Alarm Handler (ALH) or extensible markup language (XML) configuration files. With this new tool the summaries, masks and latch status can be incorporated into other EPICS client applications. In this paper we describe our experience building and using the soft-IOC-based alarm handler everywhe SNS identify alarms as they ha NG THE PROBLEM: HO INTEGRATE ALARMS Previous to the development of the soft-IOC-based alarm handler, the Spallation Neutron Source (SNS) controls group had tried a number of different approaches to alarm handling. The cryogenic systems, the IOC (input-output controller) summary and the operator top- level summary screens used a number of EPICS database calculation records to summarize machine status which was then displayed using the extensible display manager (edm). Some systems such as the target system used the standard EPICS alarm handler (ALH) [3]. The calculation records were hard to maintain, operators resisted the use of ALH, and there was no easy TION: THE SOFT-IO D The IOC snapshot, which displays the status of system processors, added this requirement: Device heartbeats need to raise alarALARM HANDLER Some of the calculation records used for alarm summaries were already running in soft IOCs – Linux processes sharing Linux servers with other such processes [1]. It seemed reasonable to replace those soft IOCs using scripts to build EPICS databases, displays, logging sequences and start-up scripts from XML configuration files [4]. The new XML files are much easier to maintain than the EPICS databases they replaced. The scripts were then extended to allow the alarm so from ALH-style c Requirements The new alarm handler needed to provi functionality provided by the systems it was to replace. Some important features are given below. It must be possible to group with arbitrary numbers of a arbitrary numbers of levels. Each alarm should be maskable. It should be possible to find more inform any alarm. In some cases, this means getting to a display scree Alarms should latch so that momentary glitches can be tracked. Operators must be presente voice synthesizer. Alarms must be logged. In addition, when changing the software behind existing operator interfaces, it is very important to ensure that operators are comfortable with the new system. Interfaces with the erator interfaces should be created from the system. The cryogenic sy A delay before latching some alarms must be configurable. It must be possible to interface alarms to devices such as unmanned operation of the Central Helium Liquifi (CHL.) It must be possible to add logic to alarm elements. It must be possible to use templates and substitutions to configure systems with repea process variable (in this ca not updated in a specified time period. Operators had a few wishes: Each alarm group should b Alarms only relevant in some machine modes could be masked automatically. devices even if the Software Structure for the U.S. Department of Energy. ___________________________________________ * Work supported by Oak Ridge National Laboratory for UT-Battelle, LLC, under contract DE-AC05-00OR22725 A soft alarm area in the EPIC Proceedings of ICALEPCS07, Knoxville, Tennessee, USA RPPB26 Operational Tools 665
  • 2. Database templates Display screen templates t IOCs. of the standard EPICS compone ss variables for both arm points and for riables. a full-size and a miniature – all of the parameters needed so that the alarm masking survives a soft IOC reboot. LER AT SNS oft-IOC-based alarm handlers are operating in ten systems : Soft-IO ed A s maries H at Scripts for building the components of the individual alarm sof The soft IOCs are composed nts: EPICS Run-Time Databases o Summary process variables Mask proceo individual al summaries. o Time stamps. o Logging process va Sequences to create logging records and to send logs to the Oracle relational database. Display screen files – screen for the summary at each level. Soft IOC startup script. Autosave request files Archive request files. THE SOFT-IOC-IMPLEMENTATION OF BASED ALARM HAND System and Channel Counts S at the SNS, as shown in Table 1. Table 1 C-Bas larms at SNS System PV Sum AL Form Accelerator Cooling 599 43 Yes Conventional Facilities 270 72 Yes Cryogenics 540 56 No High Power RF 5611 52 No Integrated Controls 2509 266 No Personnel Protection 723 148 Yes Target 545 84 Yes Target Moderator 567 18 Yes Timing e454 7 Y s Vacuum 218 27 Yes Totals 12036 773 The process variable (PV) counts given in Table 1 are those being monitored by the soft IOCs. The soft IOC logic uses a large number of PVs for its logic; for ex nal database to make it po e of any of a subset of the alarms, a message is sent to a speech synthesizer in the control room. Screen Examples ample, the accelerator cooling system soft IOC uses 8677 PVs to monitor 599 points and serve 43 summaries. All alarms are logged to XML-like files that are sent periodically to the Oracle relatio ssible to search through the alarm histories and to create alarm statistics. Upon the occurrenc Figure 1: The Top Alarm Summary displays the status of all the alarms in the system. Since EPICS process variables provide the status, the information can be used in any EPICS client application. Figure 2: The IOC Status Screen was one of the previous status displays that the new alarm system had to replicate. Figure 3: The Cryogenic Alarm Screens existed prior to the new alarm system, and would continue to be required. RPPB26 Proceedings of ICALEPCS07, Knoxville, Tennessee, USA Operational Tools 666
  • 3. Figure 4: The Annunciated Alarm Summary and the soft IOC that provides its data and functionality is built automatically using the Soft Alarm scripts. Figure 5: Another automatically created screen, the Ring Cooling Alarm Screen, shows individual alarm status bits. EXPERIENCE WITH THE SOFT-IOC- BASED ALARMS AT SNS The alarms are in constant use, both in the Central Control Room and in the CHL Control Room. Operators use the top-level alarm screen, the automatically created lower-level alarm screens and the masking facilities all the time. Occasionally, they refer to the alarm logs to find out the sequence of alarm events. The main objection the operators have to the new soft- IOC-based alarm system is the many screens they have to drill down through to get to the actual alarm. This might be improved somewhat by more rational alarm configuration. Most of the operators and control system engineers who have configured alarms have used the traditional EPICS ALH-style configuration files rather than the new XML- style configuration files [2]. This might be because of familiarity or because of a lack of clear documentation for the new XML format. The soft IOCs created by operators to summarize machine states have not yet been converted to the new alarm handler, though operators have said it would be a good idea. The Linux server that runs the alarm soft IOCs and several other soft IOCs – a Hewlett Packard DL360 Intel 32 bit machine – is only about 10% busy, and thus can easily accommodate all the alarms the SNS needs in the foreseeable future. THE FUTURE OF THE SOFT-IOC-BASED ALARM HANDLER At the SNS, several systems need to be configured to complete the alarm systems, notably the low level RF systems and the power supply systems. The front end alarm configuration needs improvement to reduce the number of nuisance alarms before it is ready for full deployment. A number of improvements should be made to the existing configuration files so that operators could click on any alarm summary or alarm point and get to more information about the system. Some of the capabilities have not really been used; for example, the machine mode could be used to reduce unwanted alarms in many more areas. It could be useful to incorporate alarm summary process variables into more control system screens. An attempt was made to create a configuration interface and an operator status display interface using CSS/Eclipse (Control System Studio) [5], [6]. CSS would make it possible to enable operators to go directly to the alarm point, as they have requested. Also, an interface could be created to make alarm configuration self- explanatory. This approach seems hopeful, but much more work is needed to make it useful. REFERENCES [1] P. Gurd, G. Lawson, D.H. Thompson, E. Williams, “ The Application of Linux ‘Soft’ IOCs for Status Summaries at the Spallation Neutron Source,” ICALEPCS 2005, Geneva, November 2005. [2] J. Munro, R.E. Battle, E. Danilova, R.L. Sangrey, E. Williams, “A Proposed Alarm Handling System Management Plan for SNS with Application to Target Control System,” ICALEPCS 2007, Knoxville, October 2007. [3] http://www.aps.anl.gov/epics/extensions/alh/index.php The EPICS Alarm Handler. [4] http://en.wikipedia.org/wiki/XML XML. [5] http://css.desy.de/content/index_eng.html CSS. [6] K. Kasemir, “Control System Studio Applications,” ICALEPCS 2007, Knoxville, October 2007. Proceedings of ICALEPCS07, Knoxville, Tennessee, USA RPPB26 Operational Tools 667