Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS Oct. 2012 EPICS Meeting, PAL, Korea Control System Studio Training.

Slides:



Advertisements
Similar presentations
Managed by UT-Battelle for the Department of Energy Best Ever Archive Utility, Yet (BEAUtY) Kay Kasemir April 2013.
Advertisements

Control System Studio (CSS)
Managed by UT-Battelle for the Department of Energy Xihui Chen, Kay Kasemir ORNL/SNS April 2013 at IHEP Control System Studio Setup - Hierarchical.
Jan Hatje, DESY AMS – Alarm Management System PCaPAC AMS – Alarm Management System and CSS – Control System Studio Update PCaPAC 2008 J.Stefan Institute,
User Training. Step 1 Press Ctrl-I or choose File > Login, this will open the Login window. Figure 1-1 shows the Login window. Figure 1-1 Login Window.
ORNL is managed by UT-Battelle for the US Department of Energy Control System Studio: First Steps Kay Kasemir ORNL/SNS June 2014.
Managed by UT-Battelle for the Department of Energy Kay Kasemir, Xihui Chen ORNL/SNS April, 2013 Getting Started with CSS.
Best Ever Alarm System Toolkit Kay Kasemir, Xihui Chen, Katia Danilova SNS/ORNL April, 2013.
HORIZONT 1 TWS/WebAdmin Tips & Tricks HORIZONT Software for Datacenters Garmischer Str. 8 D München Tel ++49(0)89 /
Best Ever Alarm System Toolkit Xihui Chen, Katia Danilova, Kay Kasemir SNS/ORNL July 2009.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS Jan Control System Studio Training - Alarm System Use.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS April 2013 Control System Studio Training - Alarm System Use.
A walkthrough of the SageQuest Mobile Control Online & ESC integration.
Presented by Brian Griffin On behalf of Manu Goel Mohit Goel Nov 12 th, 2014 Building a dynamic GUI, configurable at runtime by backend tool.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS April 2013 Control System Studio Training - Workspaces, Shared.
ACNET Alarms Brian Hendricks October 18, Alarm Types analog – simple comparison to minimum and maximum values single set of limits digital – nominal.
Control System Studio (CSS)‏ Kunal Shroff EPICS Training Meeting 07/10/2010.
Scan System Kay Kasemir, Xihui Chen Jan Managed by UT-Battelle for the U.S. Department of Energy Automated Experiment Control “Scan” should be.
Scan System: Experiment Automation Kay Kasemir, Xihui Chen RAL EPICS Meeting, May 2013.
12-CRS-0106 REVISED 8 FEB 2013 EPICS Collaboration Meeting 2013 CSS An integrated development and runtime environment for ITER plant system local controls.
From the ChannelArchiver to the Best Ever Archive Utility, Yet July 2009.
Jan Hatje, DESY CSS ITER March 2009: Alarm System, Authorization, Remote Management XFEL The European X-Ray Laser Project X-Ray Free-Electron.
Managed by UT-Battelle for the Department of Energy Kay Kasemir, Ph.D. ORNL/SNS July 2011 at Control System Studio - CSS - Overview.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS 2012, April at SLAC Control System Studio - Introduction.
Managed by UT-Battelle for the Department of Energy Kay Kasemir, Ph.D. ORNL/SNS July 2011 at Control System Studio - CSS - Overview.
User Interface Elements of User Interface Group View.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS Jan Control System Studio Training - Web OPI.
4 May I/O Control. 4 May What is I/O Control? A Doors feature that allows you to program input events to drive output responses – for example:
Copyright © 2007, Oracle. All rights reserved. Managing Concurrent Requests.
Managed by UT-Battelle for the Department of Energy Kay Kasemir, Ph.D. ORNL/SNS June 2011 at KEK Control System Studio - CSS - Alarm.
Thomas Jefferson National Accelerator Facility Page 1 Slow Controls Ken Livingston University of Glasgow.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS Oct EPICS Meeting, PAL, Korea Control System Studio Training.
Control System Studio (CSS) Overview Kay Kasemir, July 2009.
The CSS Scan System Kay-Uwe Kasemir SNS/ORNL Dec
Chapter 8 Collecting Data with Forms. Chapter 8 Lessons Introduction 1.Plan and create a form 2.Edit and format a form 3.Work with form objects 4.Test.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS Jan Control System Studio Training - Archive System Setup.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS Oct EPICS Meeting, PAL, Korea Control System Studio Training.
 Whether using paper forms or forms on the web, forms are used for gathering information. User enter information into designated areas, or fields. Forms.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS Jan Control System Studio, CSS Overview.
XFEL The European X-Ray Laser Project X-Ray Free-Electron Laser Matthias Clausen, DESY XFEL Refrigerator Controls – April CSS Core Applications.
Jan Hatje, DESY CSS GSI Feb. 2009: Alarm System, Authorization, Remote Management XFEL The European X-Ray Laser Project X-Ray Free-Electron.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS With slides from Xihui Chen May 2014 Control System Studio Training.
Apache JMeter By Lamiya Qasim. Apache JMeter Tool for load test functional behavior and measure performance. Questions: Does JMeter offers support for.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS 2011, October at CEA Saclay, France Control System Studio.
3 Copyright © 2004, Oracle. All rights reserved. Working in the Forms Developer Environment.
Managed by UT-Battelle for the Department of Energy CSS Update Matthias Clausen, Helge Rickens, Jan Hatje and DESY Delphy Armstrong, Xihui Chen,
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS 2012, January 9-12 at NSRRC, Taiwan Control System Studio Training.
Managed by UT-Battelle for the Department of Energy Best Ever Alarm System Tool Xihui Chen, Katia Danilova, Kay Kasemir SNS/ORNL April.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS 2011, October at CEA Saclay, France Control System Studio.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS April 2013 Control System Studio, CSS Overview.
Office of Housing Choice Voucher Program Voucher Management System – VMS Version Released October 2011.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS A lot of material from Nadine Utzel, ITER and BOY online help.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS 2012, January 9-12 at NSRRC, Taiwan Control System Studio Training.
Page 1 of 42 To the ETS – Create Client Account & Maintenance Online Training Course Individual accounts (called a Client Account) are subsets of the Site.
Matthias Clausen, Jan Hatje, DESY CSS Overview – Alarm System and Management CSS Overview - GSI, 11 Februrary CSS Overview Alarm System and CSS.
Applications Kay Kasemir ORNL/SNS Using Information and pictures from Matthias Clausen, Jan Hatje, and Helge Rickens (DESY) October 2007.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS Jan Control System Studio Training - Extension Points:
EPICS and LabVIEW Tony Vento, National Instruments
Using Workflow With Dataforms Tim Borntreger, Director of Client Services.
CSS Synoptic Display Comments Kay Kasemir, July 2009.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS May 2014 Control System Studio Training - Hierarchical Preferences.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS 2012, April at SLAC Control System Studio Training - Alarm System.
Managed by UT-Battelle for the Department of Energy Quest for the Best Ever Alarm System Tool Kay Kasemir Oct
Best Ever Alarm System Toolkit Kay Kasemir, Xihui Chen, Katia Danilova, SNS/ORNL ICALEPCS 2009, Kobe, Japan, Oct 2009.
BOY, A Modern Graphical Operator Interface Editor and Runtime Xihui Chen, Kay Kasemir RAD Control Group.
Monitoring Dynamic IOC Installations Using the alive Record Dohn Arms Beamline Controls & Data Acquisition Group Advanced Photon Source.
Introduction to Control System Studio (CSS) Kay Kasemir, Kunal Shroff EPICS Fall Collaboration Meeting, October 2011 PSI.
E-NOTIFY and CAER OnLine Training
Control System Studio - CSS - Alarm Handling
Banafsheh Hajinasab Based on presentation by K. Strnisa, Cosylab
Presentation transcript:

Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS Oct EPICS Meeting, PAL, Korea Control System Studio Training - Alarm System Usage

2Managed by UT-Battelle for the Department of Energy Alarm System Components Control System Alarm Server, … Configuration User Interface

3Managed by UT-Battelle for the Department of Energy Levels Of Complexity  Use the Alarm System –Control Room operator  Configure the Alarm System –Certain operators, IOC engineers  Alarm System Setup –CSS maintainer for site  Coming up with a good configuration –Everybody Easy Hard

4Managed by UT-Battelle for the Department of Energy Operator Using the Alarm System  Menu CSS, Alarm, Alarm Table  Ideally: no alarms

5Managed by UT-Battelle for the Department of Energy Operator Looking at Alarm User Interface  Other Alarm Views (Context Menu Alarm Perspective) –Alarm Tree displays items monitored by the alarm server –Area Panel displays state of areas  Still, all OK

6Managed by UT-Battelle for the Department of Energy An Alarm Triggers! Table shows what, when, … Annunciator would say: “Minor alarm: Overtemperature”

7Managed by UT-Battelle for the Department of Energy An Alarm Triggers… Some operators prefer just the Alarm Table, others also like to look at Area Panel or Tree View So there is a problem in the Ion Source Vacuum…

8Managed by UT-Battelle for the Department of Energy Context menu of Alarm  Guidance  Links to related OPIs

9Managed by UT-Battelle for the Department of Energy The Problem is fixed, Alarm clears  By default, the alarm system latches alarms –“Current” severity of PV is OK, but MINOR alarm is remembered until alarm is ✔ Acknowledged

10Managed by UT-Battelle for the Department of Energy Guidance, Related Displays, Commands  Basic Text  Open EDM/OPI screen  Open web page  Run ext. command Hierarchical: Including info of parent entries Merges Guidance etc. from all selected alarms

11Managed by UT-Battelle for the Department of Energy CSS Context Menus Connect the Tools Send alarm PV to any other CSS PV tool

12Managed by UT-Battelle for the Department of Energy E-Log Entries  “Logbook” from context menu creates text w/ basic info about selected alarms. Edit, submit.  Pluggable implementation  Similar:

13Managed by UT-Battelle for the Department of Energy Alarm System Setup  Infrastructure –Separate talks: RDB, JMS, AlarmServer, AlarmConfigTool –Assume there is an Alarm Server running  Machine, Control System, or at least soft IOC with alarm trigger PVs: # EPICS (Soft) IOC Database # for alarm system demo # # Execute with # softIoc -s -d alarm.db record(ai, "demo:temp") { field(INP, "20”) field(EGU, "C”) field(HIGH, "30") field(HSV, "MINOR") field(PINI, "YES") field(HOPR, "100") }

14Managed by UT-Battelle for the Department of Energy Configuring the Alarm System  Open Alarm Tree a)Menu CSS/Alarm/Alarm Tree b)Use Alarm Perspective  Select alarm configuration Select Perspective Alarm Tree View Select Alarm Configuration Alarm Configuration (would be empty for new configuration) Alarm Configuration (would be empty for new configuration)

15Managed by UT-Battelle for the Department of Energy Alarm Configuration Hierarchy  Root –Name of the alarm configuration  Area –Top-level elements  System –Anything below ‘Area’ –Can have (Sub-)System below other System  PV –Alarm trigger PV –Can be below Area or System Root Areas (Sub-) System PV

16Managed by UT-Battelle for the Department of Energy Why Hierarchy? 1.Organization –Easier to maintain than plain list of PVs 2.Help Operators Locate Alarm –Especially when there are many alarms, if can be useful to know where they are –Use physical “Areas”, i.e. location along the machine! 3.Guidance, Related Displays –Guidance for an Area or System will be displayed for all Subsystems and PVs below that point in the alarm configuration tree –Examples:  General Ion Source contact information (phone numbers, …)  Linac Overview display link

17Managed by UT-Battelle for the Department of Energy Editing the Alarm Configuration  Open Alarm Tree  Log in  Use Context Menu to add, edit, remove,... Add a new Area, System, or PV

18Managed by UT-Battelle for the Department of Energy Add PV or Subsystem 1.Right-click on ‘parent’ 2.“Add …” 3.Check either Area, System or PV 4.Enter name Online. No search for config files, no restarts.

19Managed by UT-Battelle for the Department of Energy Configure PV  Again online  Especially useful for operators to update guidance and related screens.

20Managed by UT-Battelle for the Department of Energy PV Configuration See online help for more details Full Path to PV in Alarm Tree Description: Also used for Annunciation Description: Also used for Annunciation Guidance: Simple Title & Detail that should help operators handle the alarm Guidance: Simple Title & Detail that should help operators handle the alarm Display Link Options: /CSS/path/to/display.opi scriptname arg1 arg2 Display Link Options: /CSS/path/to/display.opi scriptname arg1 arg2

21Managed by UT-Battelle for the Department of Energy Exercise: Edit Alarm Configuration  Open Alarm Tree View  Select the Alarm Configuration (‘root’) assigned to your team  Add areas like “Front End”, “Linac”, “Target”  Add Systems like “Vacuum”, “Cooling”  Create simple BOY display that shows alarm trigger PVs and allows you to control them  Add alarm trigger PVs to alarm configuration –Add some simple guidance like “Fix it” –Use path to your BOY *.opi as Display Link

22Managed by UT-Battelle for the Department of Energy Exercise: Use Alarm Configuration  Switch to the Alarm Perspective –Can do that from context menu of alarm tree  Use the display to trigger an alarm  See how alarm is indicated in the table, tree, area panel –Open the guidance, related display –Cause the alarm PV to stop alarming –Acknowledge the alarm

23Managed by UT-Battelle for the Department of Energy General Alarm Server Behavior  Latch highest severity, or non-latching –like ALH “ack. transient”  Annunciate  Chatter filter ala ALH  Alarm only if severity persists some minimum time .. or alarm happens >=N times within period  Optional formula-based alarm enablement: –Enable if “(pv_x > 5 && pv_y < 7) || pv_z==1” –… but we prefer to move that logic into IOC  When acknowledging MAJOR alarm, subsequent MINOR alarms not annunciated –ALH would again blink/require ack’

24Managed by UT-Battelle for the Department of Energy Logging ..into generic CSS log also used for error/warn/info/debug messages  Alarm Server: State transitions, Annunciations  Alarm GUI: Ack/Un-Ack requests, Config changes  Generic Message History Viewer –Example w/ Filter on TEXT=CONFIG

25Managed by UT-Battelle for the Department of Energy Logging: Get timeline  Example: Filter on TYPE, PV 1. PV triggers, clears, triggers again 2. Alarm Server latches alarm 4. Problem fixed 3. Alarm Server annunciates 5. Ack’ed by operator 6. All OK

26Managed by UT-Battelle for the Department of Energy Web Report Examples  Anything is possible  Examples from SNS –Code would need some rework to port to other sites

27Managed by UT-Battelle for the Department of Energy Creating a good Alarm Configuration B. Hollifield, E. Habibi, "Alarm Management: Seven (??) Effective Methods for Optimum Performance", ISA, 2007 Hard

28Managed by UT-Battelle for the Department of Energy Alarm Philosophy Goal: Help operators take correct actions –Alarms with guidance, related displays –Manageable alarm rate (<150/day) –Operators will respond to every alarm (corollary to manageable rate)

29Managed by UT-Battelle for the Department of Energy  DOES IT REQUIRE IMMEDIATE OPERATOR ACTION? –What action? Alarm guidance!  Not “make elog entry”, “tell next shift”, … –Consequence of not reacting? –How much time to react? What’s a valid alarm?

30Managed by UT-Battelle for the Department of Energy How are alarms added?  Alarm triggers: PVs on IOCs –But more than just setting HIGH, HIHI, HSV, HHSV –HYST is good idea –Dynamic limits, enable based on machine state,... Requires thought, communication, documentation  Added to alarm server with –Guidance: How to respond –Related screen: Reason for alarm (limits, …), link to screens mentioned in guidance –Link to rationalization info (wiki)

31Managed by UT-Battelle for the Department of Energy Example: Elevated Temp/Press/Res.Err./…  Immediate action required? –Do something to prevent interlock trip  Impact, Consequence? –Beam off: Reset & OK, 5 minutes? –Cryo cold box trip: Off for a day?  Time to respond? – 10 minutes to prevent interlock?   MINOR? MAJOR?  Guidance: “Open Valve 47 a bit, …”  Related Displays: Screen that shows Temp, Valve, …

32Managed by UT-Battelle for the Department of Energy Avoid Multiple Alarm Levels

33Managed by UT-Battelle for the Department of Energy Bad Example: Old SNS ‘MEBT’ Alarms  Each amplifier trip: ≥ 3 ~identical alarms, no guidance  Rethought w/ subsystem engineer, IOC programmer and operators: 1 better alarm

34Managed by UT-Battelle for the Department of Energy Alarms for Redundant Pumps

35Managed by UT-Battelle for the Department of Energy Alarm Generation: Redundant Pumps the wrong way  Control System –Pump1 on/off status –Pump2 on/off status  Simple Config setting: Pump Off => Alarm: –It’s normal for the ‘backup’ to be off –Both running is usually bad as well  Except during tests or switchover –During maintenance, both can be off

36Managed by UT-Battelle for the Department of Energy Redundant Pumps  Control System –Pump1 on/off status –Pump2 on/off status –Number of running pumps –Configurable number of desired pumps  Alarm System: Running == Desired? –… with delay to handle tests, switchover  Same applies to devices that are only needed on-demand 1 1 Required Pumps:

37Managed by UT-Battelle for the Department of Energy Weekly Review: How Many? Top 10?

38Managed by UT-Battelle for the Department of Energy Summary  Easy to use –Check alarms in Table, Tree, Panel –Fix it: Read Guidance, use Display Links – ✔ Acknowledge  Configuration –Can be changed online –Operators can update guidance or add better display links  Alarm System Setup –Somewhat Involved, but only once  Coming up with a good configuration –Hard Easy Hard