Author: Rubio-Manrique, S.
Paper Title Page
FPO011 PyPLC, a Versatile PLC-to-PC Python Interface 182
 
  • S. Rubio-Manrique, G. Cuní, D. Fernandez-Carreiras, Z. Reszela, A. Rubio
    CELLS-ALBA Synchrotron, Cerdanyola del Vallès, Spain
 
  The PyPLC [1] Tango Device Server provides a developer-friendly dynamic interface to any Modbus-based control device. Raw data structures from PLC are obtained efficiently and converted into highly customized attributes using the python programing language. The device server allows to add or modify attributes dynamically using single-line python statements. The compact python dialect used is enhanced with Modbus commands and methods to prototype, simulate and implement complex behaviors. As a generic device, PyPLC has been versatile enough to interact with PLC systems used in ALBA [2] Accelerators as well as to our Beamlines SCADA (Sardana [3]). This article describes the mechanisms used to enable this versatility and how the dynamic attribute syntax allowed to speed up the transition from PLC to user interfaces.
[1] www.tango-controls.org
[2] www.cells.es
[3] www.sardana-controls.org
 
poster icon Poster FPO011 [1.603 MB]  
 
FCO206 PANIC, a Suite for Visualization, Logging and Notification of Incidents 246
 
  • S. Rubio-Manrique, F. Becheri, G. Cuní, D. Fernandez-Carreiras, C. Pascual-Izarra, Z. Reszela
    CELLS-ALBA Synchrotron, Cerdanyola del Vallès, Spain
 
  PANIC is a suite of python applications focused on visualization, logging and notification of events occurring in ALBA [1] Synchrotron Control System. Build on top of the PyAlarm Tango [2] Device Server it provides an API and a set of graphic tools to visualize the status of the declared alarms, create new alarm processes and enable notification services like SMS, email, data recording, sound or execution of Tango commands. The user interface provides visual debugging of complex alarm behaviors, that can be declared using single-line python expressions. This article describes the architecture of the PANIC suite, the alarm declaration syntax and the integration of alarm widgets in Taurus [3] user interfaces.
[1] www.cells.es
[2] www.tango-controls.org
[3] www.taurus-scada.org
 
slides icon Slides FCO206 [1.875 MB]