Author: Rubio-Manrique, S.
Paper Title Page
TUBPL03 PANIC and the Evolution of Tango Alarm Handlers 170
 
  • S. Rubio-Manrique, G. Cuní, D. Fernández-Carreiras
    ALBA-CELLS Synchrotron, Cerdanyola del Vallès, Spain
  • G. Scalamera
    Elettra-Sincrotrone Trieste S.C.p.A., Basovizza, Italy
 
  The PANIC Alarm System is a python based suite to manage the configuration, triggering and acknowledge of alarms and automated actions in a Tango control system. The suite was developed at Alba in 2007 and since then it has been adopted by several other facilities and installations such as Synchrotrons and large telescopes, integrating in the process a large set of community-requested features. Its scalability is based on the stand-alone PyAlarm engines, that operate distributed across the control system; and the PANIC python API and user interfaces, that centralize the operation and configuration of the system. Each PyAlarm engine performs polled or event-triggered evaluation of alarm rules, complex logical operations and regular expression searches. The activation, recovery or reset of any alarm in the system can trigger actions like email, SMS, audible messages, local/remote logging, database insertion or execution of tango commands. This paper describes the evolution of the suite, its compatibility with other alarm handlers in Tango, the current state-of-the-art features, the compliance with Alarm Management standards and the future needs.  
video icon Talk as video stream: https://youtu.be/T3730ZH_NsM  
slides icon Slides TUBPL03 [6.277 MB]  
DOI • reference for this paper ※ https://doi.org/10.18429/JACoW-ICALEPCS2017-TUBPL03  
Export • reference for this paper using ※ BibTeX, ※ LaTeX, ※ Text/Word, ※ RIS, ※ EndNote (xml)  
 
TUDPL01 Reproduce Anything, Anywhere: A Generic Simulation Suite for Tango Control Systems 280
 
  • S. Rubio-Manrique, S. Blanch-Torné, M. Broseta, G. Cuní, D. Fernández-Carreiras, J. Moldes
    ALBA-CELLS Synchrotron, Cerdanyola del Vallès, Spain
  • A. Götz
    ESRF, Grenoble, France
 
  Synchrotron Light Sources are required to operate on 24/7 schedules, while at the same time must be continuously upgraded to cover scientists needs of improving its efficiency and performance. These operation conditions impose rigid calendars to control system engineers, reducing to few hours per month the maintenance and testing time available. The SimulatorDS project has been developed to cope with these restrictions and enable test-driven development, replicating in a virtual environment the conditions in which a piece of software has to be developed or debugged. This software provides devices and scripts to easily duplicate or prototype the structure and behavior of any Tango Control System, using the Fandango python library* to export the control system status and create simulated devices dynamically. This paper will also present first large scale tests using multiple SimulatorDS instances running on a commercial cloud.
* S.Rubio et al., "Dynamic Attributes and other
functional flexibilities of PyTango", ICALEPCS'09,
Kobe, Japan (2009)
 
video icon Talk as video stream: https://youtu.be/YyLu76YV3iQ  
slides icon Slides TUDPL01 [2.732 MB]  
DOI • reference for this paper ※ https://doi.org/10.18429/JACoW-ICALEPCS2017-TUDPL01  
Export • reference for this paper using ※ BibTeX, ※ LaTeX, ※ Text/Word, ※ RIS, ※ EndNote (xml)  
 
TUPHA165 New developments for the TANGO Alarm System 797
 
  • G. Scalamera, L. Pivetta
    Elettra-Sincrotrone Trieste S.C.p.A., Basovizza, Italy
  • S. Rubio-Manrique
    ALBA-CELLS Synchrotron, Cerdanyola del Vallès, Spain
 
  The TANGO Alarm System, based on an efficient event-driven, highly configurable rule-based engine named AlarmHandler, has undergone a deep refactoring. The dedicated MySQL database has been dropped; the TANGO database now stores all the configuration whereas the HDB++ historical database keeps all the alarms history. Correlating alarms with any other engineering data is now much simpler. A dynamic attribute is provided for each alarm rule; this allows to easily build a hierarchy of AlarmHandlers. The AlarmHandler manages Attribute quality in the alarm rules and provides possible exceptions resulting in alarm evaluation. Mathematical functions, such as sin, cos, pow, min, max and ternary conditionals are available in the alarm formulae. The TANGO AlarmHandler device server is now based on the IEC 62682 standard.  
poster icon Poster TUPHA165 [1.099 MB]  
DOI • reference for this paper ※ https://doi.org/10.18429/JACoW-ICALEPCS2017-TUPHA165  
Export • reference for this paper using ※ BibTeX, ※ LaTeX, ※ Text/Word, ※ RIS, ※ EndNote (xml)  
 
TUPHA166 New Developments for the HDB++ TANGO Archiving System 801
 
  • L. Pivetta, G. Scalamera, G. Strangolino, L. Zambon
    Elettra-Sincrotrone Trieste S.C.p.A., Basovizza, Italy
  • R. Bourtembourg, S. James, J.L. Pons, P.V. Verdier
    ESRF, Grenoble, France
  • S. Rubio-Manrique
    ALBA-CELLS Synchrotron, Cerdanyola del Vallès, Spain
 
  TANGO HDB++ is a high performance event-driven archiving system which stores data with micro-second resolution timestamps, using archivers written in C++. HDB++ currently supports MySQL and Apache Cassandra back-ends but could be easily extended to support additional back-ends. Since the initial release many improvements and new features have been added to the HDB++. In addition to bug-fixes and optimizations, the support for context-based archiving allows to define an archiving strategy for each attribute, specifying when it has to be archived or not. Temporary archiving is supported by means of a time-to-live parameter, available on a per-attribute basis. The Cassandra back-end is using Cassandra TTL native feature underneath to implement the time-to-live feature. With dynamic loading of specific libraries switching back-ends can be done on-the-fly and is as simple as changing a property. Partition and maintenance scripts are now available for HDB++ and MySQL. The HDB++ tools, such as extraction libraries and GUIs, followed HDB++ evolution to help the user to take full advantage of the new features.  
poster icon Poster TUPHA166 [1.957 MB]  
DOI • reference for this paper ※ https://doi.org/10.18429/JACoW-ICALEPCS2017-TUPHA166  
Export • reference for this paper using ※ BibTeX, ※ LaTeX, ※ Text/Word, ※ RIS, ※ EndNote (xml)  
 
TUPHA173 A Web-Based Report Tool for Tango Control Systems via Websockets 826
 
  • M. Broseta, A. Burgos, G. Cuní, D. Fernández-Carreiras, D. Roldán, S. Rubio-Manrique
    ALBA-CELLS Synchrotron, Cerdanyola del Vallès, Spain
 
  Beamlines at Synchrotron Light sources operate 24 hours/day requiring Beamline scientists to have tools to monitor the current state of the Beamline without interfering with the measurements being carried out. The previous web report system developed at ALBA was based on cron tasks querying the Tango Control system and generating html files. The new system integrates all those automatic tasks in a Tornado Tango Device letting the users create their own reports without requiring the intervention of the software support groups. This device runs a Tornado web server providing an html5 web interface to create, customize and visualize its reports in real time (via websockets). Originally designed for the vacuum engineers to monitor the vacuum, is actually used by the scientists and engineers involved in the experiment and the different on-call services to remotely check the beamline overall status.  
poster icon Poster TUPHA173 [0.867 MB]  
DOI • reference for this paper ※ https://doi.org/10.18429/JACoW-ICALEPCS2017-TUPHA173  
Export • reference for this paper using ※ BibTeX, ※ LaTeX, ※ Text/Word, ※ RIS, ※ EndNote (xml)  
 
THPHA096 ALBA Equipment Protection System, Current Status 1599
 
  • A. Rubio, G. Cuní, D. Fernández-Carreiras, S. Rubio-Manrique, N. Serra, J. Villanueva
    ALBA-CELLS Synchrotron, Cerdanyola del Vallès, Spain
 
  ALBA is the name of Barcelona's 3GeV Synchrotron Lightsource. In operation since 2012, it currently hosts experiments 24/7 in its 8 beamlines with 3 more in development. The aim of ALBA Equipment Protection System is to avoid damage of hardware by managing sets of permits and interlock signals. The EPS scope covers not only ALBA accelerators and its beamlines but also the accessory laboratories like RF, Optics, Vacuum, etc. It is built on B&R PLCs with CPUs installed in cabinets in ALBA service and experimental areas and a network of remote I/O modules installed in shielded boxes inside the tunnel and other irradiated zones. CPU's and Remote models are interconnected by the X2X field-bus. Signals managed by PLC's include interlocks, temperature readouts, flow-meters, flow-switches, thermo-switches, shutters, pneumatic actuators, fluorescence screens, etc. This paper describes the design and the architecture of the Equipment Protection System, the current status, the tools used by the EPS team and the recent improvements in terms of reaction time and interaction with other systems via Powerlink and fast interlock systems.  
poster icon Poster THPHA096 [1.080 MB]  
DOI • reference for this paper ※ https://doi.org/10.18429/JACoW-ICALEPCS2017-THPHA096  
Export • reference for this paper using ※ BibTeX, ※ LaTeX, ※ Text/Word, ※ RIS, ※ EndNote (xml)  
 
THPHA169 Building S.C.A.D.A. Systems in Scientific Installations with Sardana and Taurus 1820
 
  • D. Fernández-Carreiras, J. Andreu, F. Becheri, S. Blanch-Torné, M. Broseta, G. Cuní, C. Falcon-Torres, R. Homs-Puron, G. Jover-Mañas, J. Klora, J. Moldes, C. Pascual-Izarra, S. Pusó Gallart, Z. Reszela, D. Roldán, M. Rosanes Siscart, A. Rubio, S. Rubio-Manrique, J. Villanueva
    ALBA-CELLS Synchrotron, Cerdanyola del Vallès, Spain
  • T.M. Coutinho, A. Homs, E.T. Taurel
    ESRF, Grenoble, France
  • Ł.J. Dudek, P.P. Goryl, Ł. Żytniak
    Solaris, Kraków, Poland
  • V.H. Hardion, A.M. Milan, D.P. Spruce
    MAX IV Laboratory, Lund University, Lund, Sweden
  • T. Kracht, M.T. Nunez Pardo de Vera
    DESY, Hamburg, Germany
 
  Sardana and Taurus form a python software suite for Supervision, Control and Data Acquisition (SCADA) optimized for scientific installations. Sardana and Taurus are open source and deliver a substantial reduction in both time and cost associated to the design, development and support of control and data acquisition systems. The project was initially developed at ALBA and later evolved to an international collaboration driven by a community of users and developers from ALBA, DESY, MAXIV and Solaris as well as other institutes and private companies. The advantages of Sardana for its adoption by other institutes are: free and open source code, comprehensive workflow for enhancement proposals, a powerful environment for building and executing macros, optimized access to the hardware and a generic Graphical User Interface (Taurus) that can be customized for every application. Sardana and Taurus are currently based on the Tango Control System framework but also capable to inter-operate to some extend with other control systems like EPICS. The software suite scales from small laboratories to large scientific institutions, allowing users to use only some parts or employ it as a whole.  
poster icon Poster THPHA169 [2.746 MB]  
DOI • reference for this paper ※ https://doi.org/10.18429/JACoW-ICALEPCS2017-THPHA169  
Export • reference for this paper using ※ BibTeX, ※ LaTeX, ※ Text/Word, ※ RIS, ※ EndNote (xml)