css core applications –...

25
XFEL The European X-Ray Laser Project X-Ray Free-Electron Laser Matthias Clausen, DESY XFEL Refrigerator Controls – April 27 2010 CSS Core Applications – DESY The best of - for operations and commissioning EPICS Collaboration Meeting Aix-en-Provence June 3 rd , 2010 Matthias Clausen - DESY

Upload: others

Post on 22-Sep-2020

3 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: CSS Core Applications – DESYcss.desy.de/content/e198/e2712/e2725/AM02-EPICS-CSS-Core-DESY.pdfAlarmManagementSystem (AMS) – Overview Filtering and Forcing Actions on Messages ActiveMQ

XFELThe EuropeanX-Ray Laser Project X-Ray Free-Electron Laser

Matthias Clausen, DESYXFEL Refrigerator Controls – April 27 2010

CSS Core Applications – DESY

The best of - for operations and commissioning

EPICS Collaboration Meeting Aix-en-ProvenceJune 3rd , 2010

Matthias Clausen - DESY

Page 2: CSS Core Applications – DESYcss.desy.de/content/e198/e2712/e2725/AM02-EPICS-CSS-Core-DESY.pdfAlarmManagementSystem (AMS) – Overview Filtering and Forcing Actions on Messages ActiveMQ

Matthias Clausen, DESYXFEL Refrigerator Controls – April 27, 2010 2

XFELThe EuropeanX-Ray Laser Project X-Ray Free-Electron Laser

CSS Core Applications

• Alarms and the Alarm System• The EPICS IOC application development

process• Applications in the control room• Diagnostic Tools

Page 3: CSS Core Applications – DESYcss.desy.de/content/e198/e2712/e2725/AM02-EPICS-CSS-Core-DESY.pdfAlarmManagementSystem (AMS) – Overview Filtering and Forcing Actions on Messages ActiveMQ

Matthias Clausen, DESYXFEL Refrigerator Controls – April 27, 2010 3

XFELThe EuropeanX-Ray Laser Project X-Ray Free-Electron Laser

Alarms and the Alarm System

• The first CSS based Application which went fully into operation

• Requirements driven by ‘on call’ operators

Page 4: CSS Core Applications – DESYcss.desy.de/content/e198/e2712/e2725/AM02-EPICS-CSS-Core-DESY.pdfAlarmManagementSystem (AMS) – Overview Filtering and Forcing Actions on Messages ActiveMQ

Matthias Clausen, DESYXFEL Refrigerator Controls – April 27, 2010 4

XFELThe EuropeanX-Ray Laser Project X-Ray Free-Electron Laser

Pushing Alarm/ Putlog/ SysLog/ SnlLog-Messages from the IOC

IOC-Logging Overview

Beacon

Alarms caPut SysLog SNL-Log

AlarmAlarm caPutLog sysMsg snlMsg

Command Reply

ioc log control

ICSICSICS

JMS

Page 5: CSS Core Applications – DESYcss.desy.de/content/e198/e2712/e2725/AM02-EPICS-CSS-Core-DESY.pdfAlarmManagementSystem (AMS) – Overview Filtering and Forcing Actions on Messages ActiveMQ

Matthias Clausen, DESYXFEL Refrigerator Controls – April 27, 2010 5

XFELThe EuropeanX-Ray Laser Project X-Ray Free-Electron Laser

AlarmManagementSystem (AMS) – OverviewFiltering and Forcing Actions on Messages

ActiveMQJMS-Server

DepartmentDecision(FilterManager)

MessageMinder

Distributor

Derby Db

Filter-Konfiguration

VoicemailConnector

EMailConnector

SmsConnector

JmsConnector

ALARM

T

T_AMS_MESSAGEMINDER

T

T_AMS_DISTRIBUTE

T

T_AMS_CON_SMS

T

T_AMS_CON_MAIL

T

T_AMS_CON_JMS

T

T_AMS_CON_VOICEMAIL

T

Derby Db

Filter-Konfiguration

ActiveMQJMS-Server

MessageSources

Page 6: CSS Core Applications – DESYcss.desy.de/content/e198/e2712/e2725/AM02-EPICS-CSS-Core-DESY.pdfAlarmManagementSystem (AMS) – Overview Filtering and Forcing Actions on Messages ActiveMQ

Matthias Clausen, DESYXFEL Refrigerator Controls – April 27, 2010 6

XFELThe EuropeanX-Ray Laser Project X-Ray Free-Electron Laser

Alarm Displays

• Alarm Table– AlarmTables may be connected to one or more JMS Topics

(dynamically) – Alarm Tables may be (alternatively)updated by channel access monitors

– using a XML config file for channel list (NEW)*• Log Table • Log Tables may be connected to one or more JMS Topics

(dynamically) • Alarm-Tree

– Get the configuration from LDAP (default)– Reading configuration from XML File (NEW)*

(* Local Alarm Displays can run independently from LDAP and JMS)

Page 7: CSS Core Applications – DESYcss.desy.de/content/e198/e2712/e2725/AM02-EPICS-CSS-Core-DESY.pdfAlarmManagementSystem (AMS) – Overview Filtering and Forcing Actions on Messages ActiveMQ

Matthias Clausen, DESYXFEL Refrigerator Controls – April 27, 2010 7

XFELThe EuropeanX-Ray Laser Project X-Ray Free-Electron Laser

Alarm Table

Page 8: CSS Core Applications – DESYcss.desy.de/content/e198/e2712/e2725/AM02-EPICS-CSS-Core-DESY.pdfAlarmManagementSystem (AMS) – Overview Filtering and Forcing Actions on Messages ActiveMQ

Matthias Clausen, DESYXFEL Refrigerator Controls – April 27, 2010 8

XFELThe EuropeanX-Ray Laser Project X-Ray Free-Electron Laser

Looking back into the Archive (24h) from Oracle

Page 9: CSS Core Applications – DESYcss.desy.de/content/e198/e2712/e2725/AM02-EPICS-CSS-Core-DESY.pdfAlarmManagementSystem (AMS) – Overview Filtering and Forcing Actions on Messages ActiveMQ

Matthias Clausen, DESYXFEL Refrigerator Controls – April 27, 2010 9

XFELThe EuropeanX-Ray Laser Project X-Ray Free-Electron Laser

Log Messages (System, Put, SNL)

Page 10: CSS Core Applications – DESYcss.desy.de/content/e198/e2712/e2725/AM02-EPICS-CSS-Core-DESY.pdfAlarmManagementSystem (AMS) – Overview Filtering and Forcing Actions on Messages ActiveMQ

Matthias Clausen, DESYXFEL Refrigerator Controls – April 27, 2010 10

XFELThe EuropeanX-Ray Laser Project X-Ray Free-Electron Laser

Alarm System- Alarm Tree view

• Shows the current status of the alarm state from the IOC• Delete and create records and subcomponents by context menu• Configuration-Changes are stored in the LDAP server (or in XML file)• Alarm status is propagated to root component• Property view to display and edit tree items

Page 11: CSS Core Applications – DESYcss.desy.de/content/e198/e2712/e2725/AM02-EPICS-CSS-Core-DESY.pdfAlarmManagementSystem (AMS) – Overview Filtering and Forcing Actions on Messages ActiveMQ

Matthias Clausen, DESYXFEL Refrigerator Controls – April 27, 2010 11

XFELThe EuropeanX-Ray Laser Project X-Ray Free-Electron Laser

The EPICS IOC application development process

• Developers– EPICS IOC core software (e.g. drivers)– Device configuration– EPICS database configuration

• Working model– Device configuration by the hardware engineer

• Add/ Change devices in RDB based device configuration tool– EPICS control database by the process engineer using CSS-

DCT independent from hardware engineerDatabase size: 2500/ 1500 records

Change in Prototype inherited to 150 instances

Page 12: CSS Core Applications – DESYcss.desy.de/content/e198/e2712/e2725/AM02-EPICS-CSS-Core-DESY.pdfAlarmManagementSystem (AMS) – Overview Filtering and Forcing Actions on Messages ActiveMQ

Matthias Clausen, DESYXFEL Refrigerator Controls – April 27, 2010 12

XFELThe EuropeanX-Ray Laser Project X-Ray Free-Electron Laser

Application DevelopmentIntegrating new I/O devices Configuration of I/O Hardware

And Process Controls

Programmer Process Engineer

Get driverfrom

EPICS site

Prepare newIOC

Load ImageConfigureDatabase

DatabaseCreation

Tool

Write text fileto load

directory

Load IOC with-Operating System-EPICS core-Database

Hardware Engineer

ProfibusConfiguration

Tool

ConfigureProfibus

Page 13: CSS Core Applications – DESYcss.desy.de/content/e198/e2712/e2725/AM02-EPICS-CSS-Core-DESY.pdfAlarmManagementSystem (AMS) – Overview Filtering and Forcing Actions on Messages ActiveMQ

Matthias Clausen, DESYXFEL Refrigerator Controls – April 27, 2010 13

XFELThe EuropeanX-Ray Laser Project X-Ray Free-Electron Laser

Datbase Creation Tool

A Tool to create hierarchical EPICS Databases• Lessons learned from previous developments• Integrated in CSS as a plugin

– Use csv to manage version control– Basic Graphical Representation

• Integrated with the I/O configuration Tool(share unique IO_NAMEs to configure the address space)

• Using Extension Point to create:– EPICS database file– Entries in RDB (Oracle)– XML file to create hierarchical Alarm-Tree (next release)

Page 14: CSS Core Applications – DESYcss.desy.de/content/e198/e2712/e2725/AM02-EPICS-CSS-Core-DESY.pdfAlarmManagementSystem (AMS) – Overview Filtering and Forcing Actions on Messages ActiveMQ

Matthias Clausen, DESYXFEL Refrigerator Controls – April 27, 2010 14

XFELThe EuropeanX-Ray Laser Project X-Ray Free-Electron Laser

DCT – Database Creation Tool

Page 15: CSS Core Applications – DESYcss.desy.de/content/e198/e2712/e2725/AM02-EPICS-CSS-Core-DESY.pdfAlarmManagementSystem (AMS) – Overview Filtering and Forcing Actions on Messages ActiveMQ

Matthias Clausen, DESYXFEL Refrigerator Controls – April 27, 2010 15

XFELThe EuropeanX-Ray Laser Project X-Ray Free-Electron Laser

DCT Basic Graphical Representation

Connected to IOC (alarm severity)

List of fields (different from default)

Page 16: CSS Core Applications – DESYcss.desy.de/content/e198/e2712/e2725/AM02-EPICS-CSS-Core-DESY.pdfAlarmManagementSystem (AMS) – Overview Filtering and Forcing Actions on Messages ActiveMQ

Matthias Clausen, DESYXFEL Refrigerator Controls – April 27, 2010 16

XFELThe EuropeanX-Ray Laser Project X-Ray Free-Electron Laser

DCT: Left over from training:The ‘>’ entry

Page 17: CSS Core Applications – DESYcss.desy.de/content/e198/e2712/e2725/AM02-EPICS-CSS-Core-DESY.pdfAlarmManagementSystem (AMS) – Overview Filtering and Forcing Actions on Messages ActiveMQ

Matthias Clausen, DESYXFEL Refrigerator Controls – April 27, 2010 17

XFELThe EuropeanX-Ray Laser Project X-Ray Free-Electron Laser

DCT: Left out from training:>: Get list of available funtions

>eval()>ioname()>forwardlink()>datalink()>sensorid()

Typing in brackets () will offer record list:

Page 18: CSS Core Applications – DESYcss.desy.de/content/e198/e2712/e2725/AM02-EPICS-CSS-Core-DESY.pdfAlarmManagementSystem (AMS) – Overview Filtering and Forcing Actions on Messages ActiveMQ

Matthias Clausen, DESYXFEL Refrigerator Controls – April 27, 2010 18

XFELThe EuropeanX-Ray Laser Project X-Ray Free-Electron Laser

SNL Editor

Page 19: CSS Core Applications – DESYcss.desy.de/content/e198/e2712/e2725/AM02-EPICS-CSS-Core-DESY.pdfAlarmManagementSystem (AMS) – Overview Filtering and Forcing Actions on Messages ActiveMQ

Matthias Clausen, DESYXFEL Refrigerator Controls – April 27, 2010 19

XFELThe EuropeanX-Ray Laser Project X-Ray Free-Electron Laser

Applications in the Control Room

• CSS including DCT, device config, SNL editor– Ideal for commissioning – the ‘all in one’ toolkit

• Synoptic Display Studio– Several thousand (dm2k) ald files got converted

• Alarm Displays• Log Table

– Specially the possibility to list log messages from SNL programs

• dataBrowser• Name Space Browser (LDAP)• Screendump

Page 20: CSS Core Applications – DESYcss.desy.de/content/e198/e2712/e2725/AM02-EPICS-CSS-Core-DESY.pdfAlarmManagementSystem (AMS) – Overview Filtering and Forcing Actions on Messages ActiveMQ

Matthias Clausen, DESYXFEL Refrigerator Controls – April 27, 2010 20

XFELThe EuropeanX-Ray Laser Project X-Ray Free-Electron Laser

SDS Displays – Faceplates - run ‘as shell’

Page 21: CSS Core Applications – DESYcss.desy.de/content/e198/e2712/e2725/AM02-EPICS-CSS-Core-DESY.pdfAlarmManagementSystem (AMS) – Overview Filtering and Forcing Actions on Messages ActiveMQ

Matthias Clausen, DESYXFEL Refrigerator Controls – April 27, 2010 21

XFELThe EuropeanX-Ray Laser Project X-Ray Free-Electron Laser

Name Server Support

• Using the output of dbl > /fileServer/iocName• ldapUpdater

– CSS headless application (product)– checking /fileServer/* for new/updated files– Updating entries in the LDAP server

• NameSpaceBrowser– CSS plug-in– Read entries from LDAP server– Browse LDAP tree– Search for records in LDAP– Drag and Drop support to other CSS plugins

Page 22: CSS Core Applications – DESYcss.desy.de/content/e198/e2712/e2725/AM02-EPICS-CSS-Core-DESY.pdfAlarmManagementSystem (AMS) – Overview Filtering and Forcing Actions on Messages ActiveMQ

Matthias Clausen, DESYXFEL Refrigerator Controls – April 27, 2010 22

XFELThe EuropeanX-Ray Laser Project X-Ray Free-Electron Laser

Screenshot

Activation:•Activate from any view by <CTRL+Alt+S> (important for detached views)•Screenshot Menu in SDS Graphics•Icon in CSS Menu

Page 23: CSS Core Applications – DESYcss.desy.de/content/e198/e2712/e2725/AM02-EPICS-CSS-Core-DESY.pdfAlarmManagementSystem (AMS) – Overview Filtering and Forcing Actions on Messages ActiveMQ

Matthias Clausen, DESYXFEL Refrigerator Controls – April 27, 2010 23

XFELThe EuropeanX-Ray Laser Project X-Ray Free-Electron Laser

Screenshot Actions

• Copy view to buffer• Copy from buffer to view• Send image via e-Mail• Send image to e-Logbook• Once activated:

– select view as image– select window as image– select screen as image

Page 24: CSS Core Applications – DESYcss.desy.de/content/e198/e2712/e2725/AM02-EPICS-CSS-Core-DESY.pdfAlarmManagementSystem (AMS) – Overview Filtering and Forcing Actions on Messages ActiveMQ

Matthias Clausen, DESYXFEL Refrigerator Controls – April 27, 2010 24

XFELThe EuropeanX-Ray Laser Project X-Ray Free-Electron Laser

caSnooperFrom CSS in the Office Network to a Server in the Control Network

List of remote CSS-headless applications

Page 25: CSS Core Applications – DESYcss.desy.de/content/e198/e2712/e2725/AM02-EPICS-CSS-Core-DESY.pdfAlarmManagementSystem (AMS) – Overview Filtering and Forcing Actions on Messages ActiveMQ

Matthias Clausen, DESYXFEL Refrigerator Controls – April 27, 2010 25

XFELThe EuropeanX-Ray Laser Project X-Ray Free-Electron Laser

CSS @ DESY

Application development tools ‘debugged’ during commissioning of cryogenic plant

Well accepted by operators

New version within one month from now(including remote update, XML-File support, CA alarm monitor)