130 likes | 229 Views
IFMIF/EVEDA – RFQ Legnaro Local Control System M. Montis INFN-LNL Monthly Collaboration Meeting - March 2, 2012. Introduction. EPICS automatic DB generation script Fast acquisition requirements documentation . IFMIF-EVEDA epicsOpcDb script. CSV file. Manual compiled.
E N D
IFMIF/EVEDA – RFQ LegnaroLocal Control SystemM. MontisINFN-LNLMonthly Collaboration Meeting - March 2, 2012
Introduction • EPICS automatic DB generation script • Fast acquisition requirements documentation IFMIF-EVEDA –INFN Legnaro LCS – Monthly Collaboration Meeting, Legnaro, March 02, 2012
IFMIF-EVEDA epicsOpcDb script CSV file Manual compiled epicsOpcDb script DB file Loaded into the OPC XML file From PLC • IFMIF-EVEDA Common Software Framework provides a script to create EPICS DB for OPC system using specific files: • CSV file List of EPICS Record options • XML file Siemens PLC program’s configuration • This script is based on Java IFMIF-EVEDA –INFN Legnaro LCS – Monthly Collaboration Meeting, Legnaro, March 02, 2012
IFMIF-EVEDA epicsOpcDb script • Limits in the script: • It requires both the CSV and the XML files used only for EPICS OPC applications • It creates only EPICS Database files • It is based on Java hardly depending on Java libraries LIMITED SCRIPT POSSIBILITY TO EXTEND FEATURES IFMIF-EVEDA –INFN Legnaro LCS – Monthly Collaboration Meeting, Legnaro, March 02, 2012
EPICS automatic DB generation script – base version EPICS CSV file ArchiverConfig files Manual compiled Loaded into the EPICS Archiver host epicsCSV script Archiver CSV file DB file Loaded into the OPC Manual compiled XML file CSS GUI files From PLC Loaded into the HMI workstation IFMIF-EVEDA –INFN Legnaro LCS – Monthly Collaboration Meeting, Legnaro, March 02, 2012
EPICS automatic DB generation script – Input Files EPICS CSV file • EPICS CSV file used in the previous script • It defines every analog and/or digital EPICS Record field Manual compiled • New CSV file • It defines every Archiver option parameters for every EPICS Record • Period scanning [sec] • Scanning Method Archiver CSV file Manual compiled • PLC XML file used in the previous script • It defines Siemens software application loaded into the PLC XML file From PLC IFMIF-EVEDA –INFN Legnaro LCS – Monthly Collaboration Meeting, Legnaro, March 02, 2012
EPICS automatic DB generation script – Output Files • New files • They define every Archiver Engine and Daemon used to create Historic Database ArchiverConfig files Loaded into the EPICS Archiver host • EPICS DB file similar to the previous script • It defines all the EPICS Record needed DB file Loaded into the OPC • New files • CSS opi files used to automatically create EPICS control panel useful for test and debug step CSS GUI files Loaded into the HMI workstation IFMIF-EVEDA –INFN Legnaro LCS – Monthly Collaboration Meeting, Legnaro, March 02, 2012
EPICS automatic DB generation script – Script File epicsCSV script • New script • Based on Shell Script no dependencies on external libraries • Completely re-written from scratch • First version: limited to OPC configuration files needed to connect embedded to the EPICS environment • Objective: expand previous script and eliminate errors/problem found IFMIF-EVEDA –INFN Legnaro LCS – Monthly Collaboration Meeting, Legnaro, March 02, 2012
EPICS automatic DB generation script – GUI Screenshots CSS Graphical User Interface: OPC Analog Input control panel CSS Graphical User Interface: OPC Digital Input control panel IFMIF-EVEDA –INFN Legnaro LCS – Monthly Collaboration Meeting, Legnaro, March 02, 2012
EPICS automatic DB generation script – Archiver Screenshots • Archiver Daemon: • Engine under tests: • Data Archiver 20120227-1729 • Archiver web interface: • Tests on using history IFMIF-EVEDA –INFN Legnaro LCS – Monthly Collaboration Meeting, Legnaro, March 02, 2012
EPICS automatic DB generation script – Possible next features • Realize a more modular script • possibility to reuse all the functions implemented in other scripts • Extend functionality avoiding the current limitations (useful only for OPC system) • Develop more output configuration files (Alarm Handler) • Make the script available for the collaboration • possibility to ask other new features IFMIF-EVEDA –INFN Legnaro LCS – Monthly Collaboration Meeting, Legnaro, March 02, 2012
Fast acquisition requirements documentation • First version of the fast acquisition requirement document • Contain information about main characteristics for designing the RF control system IFMIF-EVEDA –INFN Legnaro LCS – Monthly Collaboration Meeting, Legnaro, March 02, 2012
IFMIF-EVEDA –INFN Legnaro LCS – Monthly Collaboration Meeting, Legnaro, November 3, 2011