You are on page 1of 25

The European

X-Ray Laser Project


XFEL
X-Ray Free-Electron Laser

CSS Core Applications – DESY

The best of - for operations and commissioning

EPICS Collaboration Meeting Aix-en-Provence


June 3rd , 2010

Matthias Clausen - DESY

Matthias Clausen, DESY


XFEL Refrigerator Controls – April 27 2010
The European
X-Ray Laser Project
XFEL
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

Matthias Clausen, DESY


XFEL Refrigerator Controls – April 27, 2010
2
The European
X-Ray Laser Project
XFEL
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

Matthias Clausen, DESY


XFEL Refrigerator Controls – April 27, 2010
3
The European
X-Ray Laser Project
XFEL
X-Ray Free-Electron Laser

Pushing Alarm/ Putlog/ SysLog/ SnlLog-


Messages from the IOC
IOC-Logging Overview

Alarms caPut SysLog SNL-Log

ioc log
control

Command Reply

Beacon Alarm
Alarm caPutLog sysMsg snlMsg
ICS
ICS
ICS

JMS
Matthias Clausen, DESY
XFEL Refrigerator Controls – April 27, 2010
4
The European
X-Ray Laser Project
XFEL
X-Ray Free-Electron Laser

AlarmManagementSystem (AMS) – Overview


Filtering and Forcing Actions on Messages
Derby Db Message
Sources
Filter-Konfiguration

ActiveMQ
T JMS-Server
DepartmentDecision ALARM
(FilterManager) T
T_AMS_CON_SMS SmsConnector

T
T T_AMS_CON_MAIL EMailConnector
T_AMS_MESSAGEMINDER
T
T_AMS_CON_JMS JmsConnector ActiveMQ
MessageMinder JMS-Server

T T
T_AMS_DISTRIBUTE T_AMS_CON_VOICEMAIL VoicemailConnector

Derby Db
Distributor Filter-Konfiguration

Matthias Clausen, DESY


XFEL Refrigerator Controls – April 27, 2010
5
The European
X-Ray Laser Project
XFEL
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)

Matthias Clausen, DESY


XFEL Refrigerator Controls – April 27, 2010
6
The European
X-Ray Laser Project
XFEL
X-Ray Free-Electron Laser

Alarm Table

Matthias Clausen, DESY


XFEL Refrigerator Controls – April 27, 2010
7
The European
X-Ray Laser Project
XFEL
X-Ray Free-Electron Laser

Looking back into the Archive (24h) from Oracle

Matthias Clausen, DESY


XFEL Refrigerator Controls – April 27, 2010
8
The European
X-Ray Laser Project
XFEL
X-Ray Free-Electron Laser

Log Messages (System, Put, SNL)

Matthias Clausen, DESY


XFEL Refrigerator Controls – April 27, 2010
9
The European
X-Ray Laser Project
XFEL
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

Matthias Clausen, DESY


XFEL Refrigerator Controls – April 27, 2010
10
The European
X-Ray Laser Project
XFEL
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 engineer
Database size: 2500/ 1500 records
ÆChange in Prototype inherited to 150 instances

Matthias Clausen, DESY


XFEL Refrigerator Controls – April 27, 2010
11
The European
X-Ray Laser Project
XFEL
X-Ray Free-Electron Laser

Application Development
Integrating new I/O devices Configuration of I/O Hardware
And Process Controls

Programmer Hardware Engineer Process Engineer

Prepare new
Get driver IOC Configure Configure
from Load Image Profibus Database
EPICS site
Profibus Database
Write text file
to load Configuration Creation
directory Tool Tool

Load IOC with


-Operating System
-EPICS core
-Database

Matthias Clausen, DESY


XFEL Refrigerator Controls – April 27, 2010
12
The European
X-Ray Laser Project
XFEL
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)

Matthias Clausen, DESY


XFEL Refrigerator Controls – April 27, 2010
13
The European
X-Ray Laser Project
XFEL
X-Ray Free-Electron Laser

DCT – Database Creation Tool

Matthias Clausen, DESY


XFEL Refrigerator Controls – April 27, 2010
14
The European
X-Ray Laser Project
XFEL
X-Ray Free-Electron Laser

DCT Basic Graphical Representation

Connected to IOC (alarm severity)

List of fields (different from default)

Matthias Clausen, DESY


XFEL Refrigerator Controls – April 27, 2010
15
The European
X-Ray Laser Project
XFEL
X-Ray Free-Electron Laser

DCT: Left over from training:


The ‘>’ entry

Matthias Clausen, DESY


XFEL Refrigerator Controls – April 27, 2010
16
The European
X-Ray Laser Project
XFEL
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:

Matthias Clausen, DESY


XFEL Refrigerator Controls – April 27, 2010
17
The European
X-Ray Laser Project
XFEL
X-Ray Free-Electron Laser

SNL Editor

Matthias Clausen, DESY


XFEL Refrigerator Controls – April 27, 2010
18
The European
X-Ray Laser Project
XFEL
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
Matthias Clausen, DESY
XFEL Refrigerator Controls – April 27, 2010
19
The European
X-Ray Laser Project
XFEL
X-Ray Free-Electron Laser

SDS Displays – Faceplates - run ‘as shell’

Matthias Clausen, DESY


XFEL Refrigerator Controls – April 27, 2010
20
The European
X-Ray Laser Project
XFEL
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

Matthias Clausen, DESY


XFEL Refrigerator Controls – April 27, 2010
21
The European
X-Ray Laser Project
XFEL
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
Matthias Clausen, DESY
XFEL Refrigerator Controls – April 27, 2010
22
The European
X-Ray Laser Project
XFEL
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

Matthias Clausen, DESY


XFEL Refrigerator Controls – April 27, 2010
23
The European
X-Ray Laser Project
XFEL
X-Ray Free-Electron Laser

caSnooper
From CSS in the Office Network to a Server in the Control Network

List of remote
CSS-headless
applications

Matthias Clausen, DESY


XFEL Refrigerator Controls – April 27, 2010
24
The European
X-Ray Laser Project
XFEL
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)

Matthias Clausen, DESY


XFEL Refrigerator Controls – April 27, 2010
25

You might also like