ACNET vs EPICS at Fermilab Accelerator Physics and Technology Seminar Sharon Lackey 3/14/2006.

Slides:



Advertisements
Similar presentations
Network II.5 simulator ..
Advertisements

1 1999/Ph 514: Channel Access Concepts EPICS Channel Access Concepts Bob Dalesio LANL.
EPICS Architecture Version 3 Channel Access Client (CAC) Connection Data Transfers WAN/LAN/Local Connection Data Transfers Channel Access Server (CAS)
Linux IOC Operations at NSTX - An Overview P. Sichta 28Mar2005.
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-12 Oct 2000PCaPAC 2000, DESY Hamburg Epics to TINE translator Matthias Clausen, DESY Hamburg Phil Duval, DESY Hamburg Zoltan Kakucs, DESY Hamburg.
16 - Nov. 2000EPICS Workshop Oak Ridge1 Epics to TINE translator Matthias Clausen, DESY Hamburg Phil Duval, DESY Hamburg Zoltan Kakucs, DESY Hamburg.
Pete Owens MICE Controls & Monitoring Workshop 25th September 2006 MICE Control and Monitoring: General Architecture Subsystem Integration User Interface.
14. Oct ICALEPCS Geneva EPICS Office1 EPICS Office An Initiative for a new Control System Office Framework Matthias Clausen DESY.
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.
OPC Overview OPC Device Support (PLC Gateway for 3.14) Ralph Lange – EPICS Collaboration Meeting at SLAC, April 2005.
A U.S. Department of Energy Office of Science Laboratory Operated by The University of Chicago Argonne National Laboratory Office of Science U.S. Department.
Diagnostics and Controls K. Gajewski ESS Spoke RF Source Accelerator Internal Review.
EPICS Meeting, APS, June 14 th 2006 MCS-8 The 8 axes motion control system Rok Šabjan
Agenda Adaptation of existing open-source control systems from compact accelerators to large scale facilities.
Diagnostic and Hardware Index Page Application Survey Brian Hendricks.
Imperial College Tracker Slow Control & Monitoring.
Matthias Clausen, DESY CSS GSI Feb. 2009: Introduction XFEL The European X-Ray Laser Project X-Ray Free-Electron Laser 1 CSS – Control System.
SCADA. 3-Oct-15 Contents.. Introduction Hardware Architecture Software Architecture Functionality Conclusion References.
Drag and Drop Display and Builder. Timofei B. Bolshakov, Andrey D. Petrov FermiLab.
Ralph Lange: OPC Gateway (Device Support) OPC Gateway (Device Support) Ralph Lange – EPICS Collaboration Meeting March SSRF.
IRMIS 2 Overview Andrew Johnson Computer Scientist, AES Controls.
Introduction to EPICS (Ned Arnold, John Maclean).
EPICS Direction to Support Large Projects and Incorporate New Technology Leo R. Dalesio 09/21/99.
A U.S. Department of Energy Office of Science Laboratory Operated by The University of Chicago Argonne National Laboratory Office of Science U.S. Department.
MASAR Service Guobao Shen Photon Sciences Department Brookhaven National Laboratory EPICS Collaboration Workshop Oct 05, 2013.
1 Channel Access Concepts – EPICS Training – K.Furukawa – Mar EPICS Channel Access Concepts Kazuro Furukawa, KEK, ( ) (Bob Dalesio, LANL,
Final Review of ITER PBS 45 CODAC – PART 1 – 14 th, 15 th and 16 th of January CadarachePage 1 FINAL DESIGN REVIEW OF ITER PBS 45 CODAC – PART 1.
Experience Running Embedded EPICS on NI CompactRIO Eric Björklund Dolores Baros Scott Baily.
3.14 Work List IOC Core Channel Access. Changes to IOC Core Online add/delete of record instances Tool to support online add/delete OS independent layer.
Writing a Channel Access Client in EPICS Bob Dalesio, April 5, 2000.
Online Software 8-July-98 Commissioning Working Group DØ Workshop S. Fuess Objective: Define for you, the customers of the Online system, the products.
Writing a Channel Access Client in EPICS Bob Dalesio, April 5, 2000.
1 BROOKHAVEN SCIENCE ASSOCIATES Control System Overview Bob Dalesio, Control Group HLA Review for NSLS-II Project April
Managed by UT-Battelle for the Department of Energy CSS Update Matthias Clausen, Helge Rickens, Jan Hatje and DESY Delphy Armstrong, Xihui Chen,
EPICS EPICS Limitations Bob Dalesio Marty Kraimer.
Solve problem of integrating other control systems Solve problem of extending our control system Minimize the latency for data Minimize the implementation.
A XML 1 An XML Driven Graphical User Interface and Application Management Toolkit Matthias Clausen (DESY & SLAC) Piotr Bartkiewicz (DESY & FPNT/AGH) Alexei.
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.
LANLLEDA, LANSCE*, AFEL ANLAPS, 25 of 37beamlines, IPNS JLABCEBAF, FEL, Halls A.B.C. LBLALS, BaBar, Heavy ion Fusion, Gammasphere, SLACPEP II*, NLC** ORNLSNS,
1 1999/Ph 514: Flow of Control EPICS Flow of Control Marty Kraimer APS.
Control System Overview J. Frederick Bartlett Fermilab June 1,1999.
1. LabVIEW and EPICS Workshop EPICS Collaboration Meeting Fall 2011.
Controls & Monitoring Overview J. Leaver 03/06/2009.
EPICS Release 3.15 Bob Dalesio May 19, Features for 3.15 Support for large arrays Channel access priorities Portable server replacement of rsrv.
Connecting LabVIEW to EPICS network
Jan Hatje, DESY CSS – Control System Studio EPICS collaboration meeting CSS – Control System Studio Update EPICS collaboration meeting 2008 Shanghai.
B. Dalesio, N. Arnold, M. Kraimer, E. Norum, A. Johnson EPICS Collaboration Meeting December 8-10, 2004 Roadmap for IOC.
SPI NIGHTLIES Alex Hodgkins. SPI nightlies  Build and test various software projects each night  Provide a nightlies summary page that displays all.
EPICS at Fermilab: Not just D0 anymore - Cavities, Cavities, Cavities Geoff Savage for the Dzero and ILCTA controls groups Wed June 14, 2006 EPICS Collaboration.
11 th February 2008Brian Martlew EPICS for MICE Status of the MICE slow control system Brian Martlew STFC, Daresbury Laboratory.
1 1999/Ph 514: Supported Hardware EPICS Supported Hardware Ned D. Arnold APS.
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.
Managed by UT-Battelle for the Department of Energy Kay Kasemir Jan Experimental Physics and Industrial Control System.
Control System Overview J. Frederick Bartlett Fermilab June 1,1999.
Project X RD&D Plan Controls Jim Patrick AAC Meeting February 3, 2009.
ICS WP3 – Software Core Components Suzanne Gysin Work Package Lead November 25, 2014.
An Introduction to Epics/Tango Steve Hunt Alceli EPICS Meeting 2008 INFN Legnaro 15 Oct 17:15.
1 BROOKHAVEN SCIENCE ASSOCIATES EPICS Version 4 – Normative V4 Team – presented by Bob Dalesio EPICS Meeting October 7, 2011.
Fermilab Control System Jim Patrick - AD/Controls MaRIE Meeting March 9, 2016.
Monitoring Dynamic IOC Installations Using the alive Record Dohn Arms Beamline Controls & Data Acquisition Group Advanced Photon Source.
Redundancy in the Control System of DESY’s Cryogenic Facility. M. Bieler, M. Clausen, J. Penning, B. Schoeneburg, DESY ARW 2013, Melbourne,
JavaIOC Overview and Update
Presented by Li Gang Accelerator Control Group
Channel Access Concepts
EPICS: Experimental Physics and Industrial Control System
Channel Access Concepts
Presentation transcript:

ACNET vs EPICS at Fermilab Accelerator Physics and Technology Seminar Sharon Lackey 3/14/2006

ACNET vs EPICs at Fermilab 2 Special Thanks to:  Ned Arnold – APS  Fritz Bartlett – D0  Dennis Nicklaus – AD/Controls  Jim Patrick – AD/Controls  Charlie Briegel – AD/Controls  Brian Hendricks – AD/Controls

ACNET vs EPICs at Fermilab 3 EPICS  What is EPICS  What EPICS is not  Who uses EPICS  Comparison of EPICS and ACNET  Other Solutions  The Future

ACNET vs EPICs at Fermilab 4 EPICS is …  Experimental Physics and Industrial Control System  A toolkit that Allows a Controls System to be built with configuration rather than programming  A set of tools with well defined interfaces  Written and Maintained by a Collaboration of Controls groups  Client/Server based  Distributed, Two Tiered Architecture  Allows Communication between any two points  Limited primarily by Network Bandwidth  Written in C and C++

*Courtesy of N. Arnold ACNET vs EPICs at Fermilab 5 What is EPICS? *  Any tool/program/application that abides by the Channel Access protocol could be described as “EPICS Compliant”. My Accelerator Simulator Code (PVs) CAS My Special Data Collection Program CAC  EPICS can be viewed as a “toolkit” of EPICS compliant programs. One can select the appropriate tool for their need or develop their own. StripToolMEDM CAC iocCore (PVs) LabView (PVs) CASCACCASCAC

ACNET vs EPICs at Fermilab 6 CA Clients may run on: Unix, Windows, VxWorks or VMS VME,VXI, PCI, ISA, or embedded processors Servers running under: VxWorks, RjTEMS, Solaris, Linux, Windows, Ethernet TCP/IP & UDP

ACNET vs EPICs at Fermilab 7 EPICS IS…  EPICS Core:  Channel Access Client and Server  Process Database  Scanners  Monitors  Database Configuration Tools  Build Tools  Source/Release  EPICS Extensions:  GUI Builders: EDD/DM (LNAL) MEDM (ANL) EDM (ORNL) DM2K (BESSY) JoiMint (DESY)  Alarm Handler  Channel Archiver  Sequencer (State Machine)  BURT (Back up and Restore Tool)  Gateway  APIs Python LabVIEW TCL/TK  Data Display Tools ADT (Array Display Tool) StripTool (Strip Chart Plotting Tool) Yviewer (Data Visualization Tool)  Database Configuration/Management Tools DCT (Tcl/Tk – deprecated) GDCT (Graphical – deprecated) JDCT (Java) VDCT (Visual) CapFast (Commercial schematic capture Tool…  More we won’t mention…

*Courtesy of F. Bartlett ACNET vs EPICs at Fermilab 8 Inside a VME IOC * Ethernet LAN Channel Access Database Access Record Support Device Support Driver VME Scanners DB Load IOC Database Customizing Elements

*Courtesy of N. Arnold ACNET vs EPICs at Fermilab 9 Channel Access Server Channel Access in One Slide * CA Server CA Client Process Variables: S1A:H1:CurrentAO S1:P1:x S1:P1:y S1:G1:vacuum Channel Access Client Who has a PV named “S1A:H1:CurrentAO”? I do. What is its value? 25.5 AMPS Change its value to 30.5 “connection request” or “search request” OK, it is now is too high. It is now set to the maximum value of You are not authorized to change this value Notify me when the value changes It is now 20.5 AMPS It is now 10.5 AMPS It is now AMPS “put” or “caPut” “get” or “caGet” “set a monitor” “post an event” or “post a monitor” “put complete” or

ACNET vs EPICs at Fermilab 10 EPICS is NOT…  A Control System “in a box”  The total solution for all your controls needs  Going to allow you to get rid of the controls dept. & all programming  Object Oriented

ACNET vs EPICs at Fermilab 11 Channel Access Records  Analog  Input (double float)  Output  Long Input (32 bit integer)  Long output  Binary  Input  Out  Multi-bit Input (16 bits)  Multi-bit Output  Multi-bit Input Direct (16 bit integer to char[16] )  Multi-bit Output Direct ( char[16] to 16 bit integer)  Archive  Calculation  Calculation Out  Compression  CPID and PID  fanout and dfanout (data fanout)  Event (hardware int. handler)  Histogram  Permissive (client-server communication)  Pulse  Counter (counts pulses)  Delay (generates pulses)  Train (generates pulse trains)  Scan (used to scan detectors)

ACNET vs EPICs at Fermilab 12 Channel Access Records  Select (12 input mux)  Sequence (triggers up to 10 other records and sends values)  State ( ASCII string representing the current state of a state program )  Stepper Motor  String  Input  Output  Array  Waveform  Sub Array ( reads part of a waveform)  Subroutine (calls a C routine with up to 12 input links)  Timer ( drives an output to latch data)  Wait – obsolete, replaced by calc out

ACNET vs EPICs at Fermilab 13 Who Uses EPICS ? (an incomplete list)  SNS & ORNL  JLAB  APS & ANL  LBL  LANL  DESY  BESSY  CosyLab  Kinetic Systems  Intuit  FNAL (D0 & SMTF)

ACNET vs EPICs at Fermilab 14 Comparison of EPICS and ACNET  ACNET  3 Tiers  Central Services  Client/Server  Uses UDP  Uses Multicasts  Multiple protocols Snapshot FTP Data acquisition (RetDat/SetDat) Network (Acnet)  Single Site More Control Less help  Lots of Specialized User Applications  Limited to Six Character Names  FTDs  EPICS  2 Tiers  Distributed Services  Client/Server  Uses TCP/IP  Uses Broadcasts  Single protocol Data Acquisition (Channel Access)  Collaboration More Help Less Control  One GUI Application can be used to create many displays  Names can be very long  Data scan rate set in database

*Courtesy of J. Patrick ACNET vs EPICs at Fermilab 15 ACNET Control System Overview * Console Applications Central Services IRM Front-Ends Java Applications Web Applications MOOC Front-Ends Labview Front-Ends Open Access Clients Field Hardware ethernet CAMAC, VME, PMC, IP, Multibus, CIA, GPIB, … field bus: VME, SLD, Arcnet, ethernet, … ServletsDatabase Application Central Front-End

ACNET vs EPICs at Fermilab 16 EPICS Use at Fermilab  D0 slow controls  Using EPICS since beginning of Run 2  Extended EPICS by: Adding support for new device types Added Global Event reporting system Added a Central Database Added support for MIL/STD1553B bus Detector configuration tool  Proton Driver  Plans to use EPICs  Meson Test Facility  Using EPICS, DOOCs and ACNET

ACNET vs EPICs at Fermilab 17 OAC Local Applications Application 1 ACNET on One Slide Central Services Console Database Entries SQL Server Front Ends Data Pool Manager Read M:OUTTMP What is its value? Already getting this data? No MOOC I’ll get the info and calculate the value Retdat/Setdat Client Application 2 SQL ClientRetDat/SetDat Client Retdat/Setdat Server Methods MOOC Retdat/Setdat Client Retdat/Setdat Server Methods Local Applications MOOC Retdat/Setdat ClientRetdat/Setdat Server Methods Local Applications Console Read C:LUMIN

ACNET vs EPICs at Fermilab 18 Meson Test Facility  EPICS used for Cryogenics Controls interface to Siemens- Moore PLCs  Implemented in Software IOCs on the PCs that run the APACS+ software  Communicate with the PLCs via OPC (OLE for Process Control )  EPICs driver for DESY’s SimCon 3.1 LLRF board  Edm used as the GUI builder  Using extensions: Plan to use: Alarm handler BURT StripTool for plots Channel Archiver

ACNET vs EPICs at Fermilab 19 Brown Refrigerator GUI Display in edm

ACNET vs EPICs at Fermilab 20 Alarm Handler for Meson Test Facility Cryo

ACNET vs EPICs at Fermilab 21 Strip Tool Plotter

ACNET vs EPICs at Fermilab 22

ACNET vs EPICs at Fermilab 23 Why Use Meson & ILC Test Facility?  Test Facility will be used by many visitors from various labs  EPICs is used at more labs than other controls systems  Argonne personnel have expertise  D0 personnel have expertise  EPICs or its successor may be considered for the ILC  FNAL needs to develop expertise in EPICS in order to fully evaluate it

ACNET vs EPICs at Fermilab 24 Why not use EPICS Now at Fermilab?  ACNET is a stable, full featured controls system  Operators are familiar with ACNET  Huge investment in existing code  Users can easily write applications for ACNET  ACNET is now ported to Linux  We can modify ACNET without the approval of a collaboration  Switching controls systems would be a monumental task  We would lose functionality

ACNET vs EPICs at Fermilab 25 Why Should We Switch to EPICS at Fermilab?  We can benefit from the collaboration of laboratories  We can influence the characteristics of Version 4.0  EPICS or its successor may be the choice for the ILC  Professional development of staff

ACNET vs EPICs at Fermilab 26 What Does ACNET have that EPICS doesn’t?  The Parameter Page  Ability to add a data channel on the fly  Data has associated error status on each return  Redirection  Consolidation of requests to front ends  Wild card devices  Snapshot plots  Automatic downloads of settings on reboot  Automatic logging of settings  SDA  Consolidated Error reports  An integrated Console environment

ACNET vs EPICs at Fermilab 27 ACNET Parameter Page

ACNET vs EPICs at Fermilab 28

ACNET vs EPICs at Fermilab 29 What Does EPICS have that ACNET Doesn’t?  Longer More Descriptive names  Distributed database  Wide user base and on-line Tech-Talk help  Front ends can be “programmed” by configuring database records with minimal real programming

ACNET vs EPICs at Fermilab 30 Some Other Control Systems  Tango (Collaboration of Light Sources)  LHC (new system using Java, CORBA & C++)  DOOCS (DESY Object Oriented Controls System)  ALMA Common Software (Large Array Telescope)

ACNET vs EPICs at Fermilab 31 The FUTURE: Version 4.0  Provide online add/delete of I/O to support continuous operation.  Provide redundant control of remote I/O to support improved reliability.  Provide name introspection and domain control in support of seamless integration of large control systems  Provide triggers, filters, and rate limits to improve resource use of network and client side processing  Provide hierarchical devices to support higher level view of application in the front-end processors.

ACNET vs EPICs at Fermilab 32 Version 4.0 cont.  Provide automatic backup and restore to support bump- less reboot and synchronization of redundant controllers.  Provide atomic read, write, and write with read-back to multiple channels to support synchronized access of arbitrary sets of channels.  Support international users with uni-code and time.  Remove limitations on string lengths, device states, number of input links to support arbitrary sizes.  Internationalize Time Stamps

ACNET vs EPICs at Fermilab 33  Allow definition and access to complex devices and multi-dimensional arrays  Name hierarchy in Channel Access .structure. Element[n]  e.g. Arc3PwrSupply.readback.status, ArcPwrSupply.readback.value  Device description in database  Support arbitrary number of inputs to calculations and subroutines.  Support multi-state devices of an arbitrary number of states Version 4.0 cont.

ACNET vs EPICs at Fermilab 34 Version 4.0 cont.  Allow wildcard searches  Allow request to send all names supported in the IOC  Support redundancy by allowing connections to specify that they are not active  Support multiple name servers by allowing connections to specify how close to the source they are.  Support Name aliases

ACNET vs EPICs at Fermilab 35 Another Initiative  EPICs Office  Led by Matthias Clausen of DESY  Initiative to provide an Integrated Development Environment for EPICs  Provide a common look and feel across EPICs applications

ACNET vs EPICs at Fermilab 36 Status of Version 4.0 as of Feb 3, 2006 Ned Arnold (for the APS Team) wrote in TechTalk: Upon review of last year's efforts and accomplishments, we have realized that EPICS Version 4 is too large of a development to successfully undertake with the part-time resources that can be leveraged from operating facilities. In addition, the ambitious redesign of major portions of EPICS core (database, communications API, device support interface) would be a significant impediment for operating facilities to migrate to Version 4. Therefore, under the current EPICS collaborative structure (and funding model), we have made a decision to focus on small incremental evolutionary steps (3.15, 3.16, etc) rather than revolutionary leaps. We will evaluate the desired features of V4 and develop a roadmap for incorporating some of these features into Version 3. More significant changes/features will have to wait until new opportunities present themselves to fund substantial developments (there are a few ideas on the table, however).

ACNET vs EPICs at Fermilab 37 Andrew Johnson has taken over responsibility of "keeper of the source". His primary emphases will be reliability, maintainability and establishing a well-defined forward migration path for existing applications as new features are added. Some features already identified for possible incorporation into 3.x include enhancement of the build system; unbundling BASE into Core, Channel Access, and IOC; variable length strings; etc. Because of our limited resources, we will be looking for significant assistance in developing these features (i.e. the timeline for delivery is directly proportional to available resources). Some V4 research and development will continue, but not led or coordinated by Argonne. One effort will include investigation of hierarchical records, "devices", and emerging protocols. An initial implementation of some of these ideas will be in a Java IOC (Marty Kraimer is working on this development). Another emerging development effort is the Control System Studio (a.k.a EPICS Office) and IOC redundancy driven by DESY. Any successes in these areas will be considered for integration somewhere in the future. Contact Bob Dalesio or Matthias Clausen if you are interested in these activities.