16 - Nov. 2000EPICS Workshop Oak Ridge1 Epics to TINE translator Matthias Clausen, DESY Hamburg Phil Duval, DESY Hamburg Zoltan Kakucs, DESY Hamburg.

Slides:



Advertisements
Similar presentations
MicroKernel Pattern Presented by Sahibzada Sami ud din Kashif Khurshid.
Advertisements

Control System Studio (CSS)
Paul Chu FRIB Controls Group Leader (Acting) Service-Oriented Architecture for High-level Applications.
SNS Integrated Control System SNS RDB Requirements, wish list, status A little history l Oracle RDB used exclusively by accelerator physics group l JERI.
1 1999/Ph 514: Channel Access Concepts EPICS Channel Access Concepts Bob Dalesio LANL.
SNS Integrated Control System Running IOC Core on Windows and Linux Dave Thompson Wim Blokland Ernest Williams.
Channel Access Protocol Andrew Johnson Computer Scientist, AES Controls Group.
Controls Group New Channel Access Nameserver Joan Sage 12/4/01.
Linux IOC Operations at NSTX - An Overview P. Sichta 28Mar2005.
9-12 Oct 2000PCaPAC 2000, DESY Hamburg Epics to TINE translator Matthias Clausen, DESY Hamburg Phil Duval, DESY Hamburg Zoltan Kakucs, DESY Hamburg.
14-Nov-2000EPICS Workshop - Oak Ridge1 DESY Matthias Clausen DESY / MKS-2.
INTRODUCTION OS/2 was initially designed to extend the capabilities of DOS by IBM and Microsoft Corporations. To create a single industry-standard operating.
Brian Martlew 25 th Sept 2006 MICE Control & Monitoring Plan Brian Martlew.
V4 – Executive Summary 1.Provide online add/delete of I/O to support continuous operation. 2.Provide redundant control of remote I/O to support improved.
EPICS on TPS RF System Yu-Hang Lin Radio Frequency Group NSRRC.
14 Nov. 2000EPICS Workshop - Oak Ridge1 DESY SCADA Experience Matthias Clausen DESY/ MKS-2.
OPC and EPICS M. Clausen EPICS workshop Trieste’99 1 OPC Introduction and EPICS Perspectives Matthias Clausen.
SNS Integrated Control System EPICS Collaboration Meeting SNS Machine Protection System SNS Timing System Coles Sibley xxxx/vlb.
History Server & API Christopher Larrieu Jefferson Laboratory.
Deutsches Elektronen-Synchrotron DESY Helmholtz Association of German Research Centres Hamburg, Germany The European X-Ray Laser Project.
Imperial College Tracker Slow Control & Monitoring.
XFEL The European X-Ray Laser Project X-Ray Free-Electron Laser Matthias Clausen, DESY XFEL Refrigerator Controls – April CSS-DCT (SNL) Training.
Matthias Clausen, DESY CSS GSI Feb. 2009: Introduction XFEL The European X-Ray Laser Project X-Ray Free-Electron Laser 1 CSS – Control System.
9 Chapter Nine Compiled Web Server Programs. 9 Chapter Objectives Learn about Common Gateway Interface (CGI) Create CGI programs that generate dynamic.
Redundancy. 2. Redundancy 2 the need for redundancy EPICS is a great software, but lacks redundancy support which is essential for some highly critical.
Debby Quock November 13, 2012 IRMIS at CLS. IRMIS Currently at CLS PV Crawler –Perl modules that parse EPICS IOC st.cmd, db, and dbd files. Information.
Dec 8-10, 2004EPICS Collaboration Meeting – Tokai, Japan MicroIOC: A Simple Robust Platform for Integrating Devices Mark Pleško
1 SNL Current State (in transition state) By Matthias Clausen Ron Chestnut.
EPICS Direction to Support Large Projects and Incorporate New Technology Leo R. Dalesio 09/21/99.
Running EPICS on NI CompactRIO Initial Experience Eric Björklund (LA-UR )
Making LabVIEW look like an IOC Kay-Uwe Kasemir, LANL May 2002.
ATCA based LLRF system design review DESY Control servers for ATCA based LLRF system Piotr Pucyk - DESY, Warsaw University of Technology Jaroslaw.
Jan Hatje, DESY CSS ITER March 2009: Technology and Interfaces XFEL The European X-Ray Laser Project X-Ray Free-Electron Laser 1 CSS – Control.
EPICS-LabVIEW Interfaces PANDA Collaboration Meeting December 2009 Holger Brand GSI – EE/KS.
Windows NT Operating System. Windows NT Models Layered Model Client/Server Model Object Model Symmetric Multiprocessing.
Jožef Stefan Institute Oct. 8-9, 2005ACS 2005 Workshop Comparison of EPICS and ACS M. Plesko – JSI and Cosylab, in collaboration with Phil Duval, DESY.
March 2008EPICS Meeting in Shanghai1 KEKB Control System Status Mar Tatsuro NAKAMURA KEKB Control Group, KEK.
Experience Running Embedded EPICS on NI CompactRIO Eric Björklund Dolores Baros Scott Baily.
14-Nov-2000EPICS Workshop - Oak Ridge1 PCaPAC Review Matthias Clausen DESY/ MKS-2.
Writing a Channel Access Client in EPICS Bob Dalesio, April 5, 2000.
Writing a Channel Access Client in EPICS Bob Dalesio, April 5, 2000.
FLASH Free Electron Laser in Hamburg Status of the FLASH Free Electron Laser Control System Kay Rehlich DESY Content: Introduction Architecture Future.
A XML 1 An XML Driven Graphical User Interface and Application Management Toolkit Matthias Clausen (DESY & SLAC) Piotr Bartkiewicz (DESY & FPNT/AGH) Alexei.
Reliability/ Secure IOC / Outlook M. Clausen / DESY 1 CA-Put Logging BurtSave Warm Reboot Matthias Clausen DESY/ MKS.
EPICS Release 3.15 Bob Dalesio May 19, Features for 3.15 Support for large arrays - done for rsrv in 3.14 Channel access priorities - planned to.
1 1999/Ph 514: Flow of Control EPICS Flow of Control Marty Kraimer APS.
EPICS at DESY M. Clausen EPICS workshop Trieste’99 1 EPICS at DESY Matthias Clausen.
Control System Overview J. Frederick Bartlett Fermilab June 1,1999.
1. LabVIEW and EPICS Workshop EPICS Collaboration Meeting Fall 2011.
EPICS Development for the ASKAP Design Enhancements Program ASTRONOMY AND SPACE SCIENCE Craig Haskins 18 th October 2015 EPICS User Meeting – Melbourne.
EPICS to TANGO Translator Rok Šabjan on behalf of Rok Štefanič Presented at ICALEPCS, Knoxville, October.
Reliability/ Secure IOC / Outlook M. Clausen / DESY 1 Reliability Secure IOC DESY Outlook Matthias Clausen DESY/ MKS.
Jan Hatje, DESY CSS GSI Feb. 2009: Technology and Interfaces XFEL The European X-Ray Laser Project X-Ray Free-Electron Laser 1 CSS – Control.
Matthias Clausen, Gongfa Liu, Bernd Schoeneburg (DESY), ICALEPCS, 2007 XFEL The European X-Ray Laser Project X-Ray Free-Electron Laser Redundant EPICS.
Connecting LabVIEW to EPICS network
Jefferson Lab Report Karen S. White 11/14/00. Overview  Status of Jefferson Lab Control System  Work In Progress  Transitioning to Operations.
Matthias Clausen, Jan Hatje, DESY CSS Overview – Alarm System and Management CSS Overview - GSI, 11 Februrary CSS Overview Alarm System and CSS.
1 Channel Access Concepts – IHEP EPICS Training – K.F – Aug EPICS Channel Access Concepts Kazuro Furukawa, KEK (Bob Dalesio, LANL)
EPICS and LabVIEW Tony Vento, National Instruments
1 EPICS Flow of Control: EPICS Workshop at IHEP, Beijing, August 2001 EPICS Flow of Control Marty Kraimer APS.
Control System Overview J. Frederick Bartlett Fermilab June 1,1999.
Controls Group New Channel Access Nameserver Presented by Karen White for Joan Sage.
An Introduction to Epics/Tango Steve Hunt Alceli EPICS Meeting 2008 INFN Legnaro 15 Oct 17:15.
Using COTS Hardware with EPICS Through LabVIEW – A Status Report EPICS Collaboration Meeting Fall 2011.
Redundancy in the Control System of DESY’s Cryogenic Facility. M. Bieler, M. Clausen, J. Penning, B. Schoeneburg, DESY ARW 2013, Melbourne,
Chapter 3: Windows7 Part 4.
Writing a Channel Access Client in EPICS
Channel Access Concepts
EPICS: Experimental Physics and Industrial Control System
Commissioning the European XFEL cryogenic system and best practice
Presentation transcript:

16 - Nov. 2000EPICS Workshop Oak Ridge1 Epics to TINE translator Matthias Clausen, DESY Hamburg Phil Duval, DESY Hamburg Zoltan Kakucs, DESY Hamburg

16 - Nov. 2000EPICS Workshop Oak Ridge2 Contents Accelerator Controls at DESY History of creating EPICS to TINE translator Naming convention Mode of operation Conclusions, summary and future

16 - Nov. 2000EPICS Workshop Oak Ridge3 Accelerator Controls at DESY Past –hampered by the “many- control-systems” syndrome –different subsystems controlled by completely different means –no possibility of intercommunication (HERA) Today –practically all subsystems of HERA are controlled by TINE or at least talking TINE –important exceptions include: Proton Vacuum cryogenics control ( D/3 and EPICS) the super conducting electron RF cavities the utility subsystems (EPICS)

16 - Nov. 2000EPICS Workshop Oak Ridge4 EPICS data to TINE in the past Most of the TINE applications are written in Visual basic One generic component of the TINE environment is ACOP, an Active-X control ACOP (Accelerator Component Object Programming) library; ACOP has the CA –DLL bulit in Not all programmers use ACOP to develop their applications

16 - Nov. 2000EPICS Workshop Oak Ridge5 “Old way” ca-client ACOP Application ca-server VME crate OS: vxWorks Appl: EPICS UNIX or WindowsNT TINE client CA function

16 - Nov. 2000EPICS Workshop Oak Ridge6 Disadvantages of using “old way“ Update of distributed CA libraries and DLL-s No naming service available No easy way to integrate EPICS IOC‘s into TINE applications –Alarms, trends... Low priority clients consume (CA) resources in critical machines

16 - Nov. 2000EPICS Workshop Oak Ridge7 First Ideas Integrate the EPICS IOC-s into the HERA mainstream Build new server which runs directly on the EPICS IOC The server module resides in each of the IOC‘s along with the local EPICS namespace Autoconfiguration of the TINE server during system startup (after IOC_init) Control via channel access remains as before Use well implemented local calls like dbpf, dbgf Additional “mapped” record list EPICS TINE can be configured

16 - Nov. 2000EPICS Workshop Oak Ridge8 Requirements Excellent performance without disturbing the real-time control loops in the IOC A maximum level of flexibility Less additional programming Fit seamlessly into TINE applications (Alarm, Archive, Naming, Permit, …)

16 - Nov. 2000EPICS Workshop Oak Ridge9 Configuration PC Windows NT VBA Applic TINE I/O Controller vxWorks EPICS CA Server Field I/O Sun Solaris MEDM CA Field I/O I/O Controller vxWorks EPICS CA Server TINE Server PC Windows NT X-Session CA

16 - Nov. 2000EPICS Workshop Oak Ridge10 IOC DATABASE database access library device drivers Channel Access client C program SNL sequence record support device support database library Channel Access server TINE server Channel Access Client user program WORKSTATION Channel Access Repeater TINE Client user program WINDOWS NT

16 - Nov. 2000EPICS Workshop Oak Ridge11 Naming convention (EPICS-CA) Database is the heart of an IOC (records) Unique record names across all IOC-s attached to the same TCP/IP subnet. Form: [. ] Each record type has a fixed set of fields: common / specific Access to the database is via the channel or database access routines

16 - Nov. 2000EPICS Workshop Oak Ridge12 Naming convention (Gateway) Each server module has a mapped record list –the real PV names are mapped to TINE registered names –EPICS record names 28 chars, field 4 chars field –TINE device names 16 chars, properties 32 chars Record names are registered as TINE devices Register devices with their truncated TINE names: –List of PV’s can be associated with TINE names –Dynamically Need to truncate !!!!

16 - Nov. 2000EPICS Workshop Oak Ridge13 Extended support for different data types Data type conversions are performed in the server Using EPICS CA standard data types defined in db_access.h like DBR_STRING, _DOUBLE, _FLOAT, _LONG, _CHAR Converting of different data types was possible without major changes in EPICS or TINE code

16 - Nov. 2000EPICS Workshop Oak Ridge14 More... New requirements were identified Additional set of PV’s ( all temperatures of the dipoles...) Set of arranged TINE devices Identified through collective names Configuration files, contains the composite names and the members of each composite device User can set up his own sets Easily scaleable

16 - Nov. 2000EPICS Workshop Oak Ridge15 Summary and Future First tests >>> monitor 250 channels in one IOC Weather station data transparent to several TINE clients Possibility to communicate to the EPICS IOC’s through: CA protocol and “TINE-Way” Integrate existing EPICS systems without rebooting –TINE server can be loaded and started at any time –Restarting of the TINE-Server without booting the system Integrate the EPICS IOC‘s into TINE control system

16 - Nov. 2000EPICS Workshop Oak Ridge16

16 - Nov. 2000EPICS Workshop Oak Ridge17

16 - Nov. 2000EPICS Workshop Oak Ridge18 Conclusions The ‚dual face‘ IOC can be reliably implemented The integration of EPICS IOC‘s into other control systems can be implemented on the IOC itself Auto configuration – or configuration files – helps to unbundle the IOC database from ‚the other‘ server Existing data conversion routines can be used Using EPICS specific memory allocation routines in the code of the ‚the other‘ server helps to achieve stable operation Channel access ‚limitations‘ like name server and broadcast barriers can be avoided this way