210 likes | 326 Views
The Soft-IOC Based Alarm Handler – an Operations View. Pam Gurd October 31, 2007. Why?. Wanted to be able to incorporate alarm summaries in edm screens And to call edm screens from alarm screens. What?. Set of scripts to create soft IOCs from alarm configuration files.
E N D
The Soft-IOC Based Alarm Handler – an Operations View Pam Gurd October 31, 2007
Why? • Wanted to be able to incorporate alarm summaries in edm screens • And to call edm screens from alarm screens. Title_date
What? • Set of scripts to create soft IOCs from alarm configuration files. • A soft IOC is an EPICS IOC that runs on a Linux server, usually with other soft IOCs. • The soft IOC alarm servers: • cryo-ics-softioc2 – cryo alarms • ics-srv-softioc3 – everything else Title_date
Configuration Files • Alarms may be configured using old-style .alhConfig files or new .xml files. • (but the .alhConfig file needs an .xml wrapper) • (controls) Who is supposed to help operators who want to change alarm configurations? • (operations) Will somebody be in charge of configuration control? Title_date
edm Screens – Top Alarm Screen Title_date
edm screens – Legend Title_date
edm Screens – Top-Level Summary Click to change disable status This icon includes current status, latch status, disable status and unmasked status. You can copy it to your own screen. Click in here for details (Alarm details or edm screen from system) Title_date
Summary Screen Note that this doesn’t include everything. In particular, it doesn’t include HPRF. Title_date
A Bit of Philosophy • 3 kinds of status: • Latch • Operating status (as masked) • Current Status • 2 levels of masking • 1-click “Ack” – until the alarm goes away • 2-click “Disable” – until you click again • (plus machine mode masking, which is configured only in a few places) • Alarms may be masked at any level. Title_date
A bit about how things work PVs in these processors Are watching PVs in these processors Soft IOC servers vxWorks IOCs ics-srv-softioc3 cryo-ics-softioc2 Which are connected to reality Alarm soft IOCs Title_date
A bit about how things work • Alarms come from PVs in the IOCs (usually vxWorks systems) • Limit and severity settings are in the IOC • Fields like HIHI, HIGH, LOW, LOLO, HHSV, OSV must be saved in the IOC save/restore (or not changed) or they’ll be lost on IOC reboot. • Also, you need access to the IOC to change them. • Masks are part of the alarm handler • The alarm soft IOC save file includes them automatically. Title_date
edm Screens – Mid-Level Summary Here’s another icon you could copy to your own screen. Click for alarm configuration details Click to change disable status Click for details (edm screen from system, if configured) Title_date
Top-Level Menu • (When you click on one of the system square icons) Title_date
Alarm Logs These are only for a specific system. Title_date
Alarm Logs from Oracle Get there from the Controls Web page, then “ROCS”, then “Alarm Logs”. Ask Katia for help with the query. Title_date
edm Screens – Alarm Configuration • Different screens for different record types Parameters in this area live in the alarm soft IOC. • Parameters in this area live in the vxWorks IOC. • You only have access if you have access to PVs in the vxWorks IOC. • They’re only saved and restored if they’re in the vxWorks IOC save request file. Title_date
Configuration Details • Each summary or PV can have an associated edm display, edm menu or web page. • But not very many are configured. • Each summary or PV can have a description. • Each summary can be automatically disabled based on machine mode. Title_date
Compact Screen Each little square represents an alarm PV. You can “Ack” an alarm by a single click, “Dis”able by a double click, identify it by a mouse-over, or get to a detail screen by a right click. Similarly, you can control or display the summaries. Title_date
New Alarms The only “new” system is FE. I haven’t included that because it seems to have too many alarms to be useful. Title_date
Future Developments (Only one left, but it’s a biggie.) • Provide a way for Ops to do configuration and boot soft IOCs. (Actually, there were also those requests about tree displays.) Title_date
Before I forget everything • You can try calling me at 604-732-8374 (That’s NØ IS DavePG.) • But I might be busy… Title_date