250 likes | 368 Views
CSS Core Applications – DESY The best of - for operations and commissioning. EPICS Collaboration Meeting Aix-en-Provence June 3 rd , 2010 Matthias Clausen - DESY. CSS Core Applications. Alarms and the Alarm System The EPICS IOC application development process
E N D
CSS Core Applications – DESYThe best of - for operations and commissioning EPICS Collaboration Meeting Aix-en-Provence June 3rd , 2010 Matthias Clausen - DESY
CSS Core Applications • Alarms and the Alarm System • The EPICS IOC application development process • Applications in the control room • Diagnostic Tools
Alarms and the Alarm System • The first CSS based Application which went fully into operation • Requirements driven by ‘on call’ operators
Pushing Alarm/ Putlog/ SysLog/ SnlLog- Messages from the IOC IOC-Logging Overview Alarms caPut SysLog SNL-Log ioc log control Command Reply Alarm caPutLog sysMsg snlMsg Beacon Alarm ICS ICS ICS JMS
T ALARM T T T T T T Derby Db Derby Db T_AMS_CON_SMS T_AMS_CON_VOICEMAIL T_AMS_CON_MAIL T_AMS_MESSAGEMINDER T_AMS_DISTRIBUTE T_AMS_CON_JMS Filter-Konfiguration Filter-Konfiguration AlarmManagementSystem (AMS) – OverviewFiltering and Forcing Actions on Messages Message Sources ActiveMQ JMS-Server DepartmentDecision (FilterManager) SmsConnector EMailConnector JmsConnector ActiveMQ JMS-Server MessageMinder VoicemailConnector Distributor
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)
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
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 recordsChange in Prototype inherited to 150 instances
Application Development Configuration of I/O Hardware And Process Controls Integrating new I/O devices Hardware Engineer Process Engineer Programmer Prepare new IOC Load Image Get driver from EPICS site Configure Profibus Configure Database Profibus Configuration Tool Database Creation Tool Write text file to load directory Load IOC with -Operating System -EPICS core -Database
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)
DCT Basic Graphical Representation • Connected to IOC (alarm severity) • List of fields (different from default)
DCT: Left out from training:>: Get list of available funtions • >eval() • >ioname() • >forwardlink() • >datalink() • >sensorid() • Typing in brackets () will offer record list:
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
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
Screenshot • Activation: • Activate from any view by <CTRL+Alt+S> (important for detached views) • Screenshot Menu in SDS Graphics • Icon in CSS Menu
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
caSnooperFrom CSS in the Office Network to a Server in the Control Network List of remote CSS-headless applications
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)