EPICS 7 Matej Sekoranyja, Marty Karimer, Michael Davidsaver, Ralph Lange, Andrew Johnson, Timo Korhonen, Heinz Junkes, Patrick Marschalik, Murali Shankar,

Slides:



Advertisements
Similar presentations
V4 Status and Workshop Report CSS, DISCS, an V4 team.
Advertisements

Paul Chu FRIB Controls Group Leader (Acting) Service-Oriented Architecture for High-level Applications.
1 1999/Ph 514: Channel Access Concepts EPICS Channel Access Concepts Bob Dalesio LANL.
1 BROOKHAVEN SCIENCE ASSOCIATES EPICS V4 Support to Physics Application, Data Acquisition, and Data Analysis L. Dalesio, Gabriele Carcassi, Martin Richard.
EPICS V4/areaDetector Integration
PvData,pvAccess,pvIOC,pvService Status EPICS Meeting June 2011 NSRRC,Hsinchu, Taiwan Marty Kraimer, Guobao Shen, and Matej Sekoranja.
EPICS Architecture Version 3 Channel Access Client (CAC) Connection Data Transfers WAN/LAN/Local Connection Data Transfers Channel Access Server (CAS)
Jeffrey Hill.  LANSCE Requirements – a Review  EPICS Paradigm Shift – a Review  Status – What is Implemented  What is an Abstract Data Type?  Benefits.
PvData,pvAccess,javaIOC,pvService Status EPICS Meeting Aix-en-Provence, France Marty Kraimer, Guobao Shen, and Matej Sekoranja.
ORNL is managed by UT-Battelle for the US Department of Energy EPICS V4 for SNS Neutron Data Kay Kasemir Oct
AreaDetector Data Processing Pipeline In EPICS V4 Dave Hickin Diamond Light Source EPICS Collaboration Meeting Diamond Light Source 01/05/2013.
Technical Architectures
Agenda Adaptation of existing open-source control systems from compact accelerators to large scale facilities.
Data Acquisition at the NSLS II Leo Dalesio, (NSLS II control group) Oct 22, 2014 (not 2010)
1 The SpaceWire Internet Tunnel and the Advantages It Provides For Spacecraft Integration Stuart Mills, Steve Parkes Space Technology Centre University.
Presentation on Osi & TCP/IP MODEL
1 BROOKHAVEN SCIENCE ASSOCIATES EPICS Core (and other development efforts) L. Dalesio. EPICS April 25, 2013.
1 BROOKHAVEN SCIENCE ASSOCIATES NSLSII Physics Applications – Applying V4 The Control Group – presented by Bob Dalesio Taiwan EPICS Meeting, June 2011.
EPICS Direction to Support Large Projects and Incorporate New Technology Leo R. Dalesio 09/21/99.
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,
New Features in EPICS V4 Release 4.4 EPICS Meeting 2014, CEA, October 2014 Marty Kraimer, Matej Sekoranja.
MASAR Server & Application Guobao Shen Photon Sciences Department Brookhaven National Laboratory Collaboration Working Group Oct 02, 2013.
Wir schaffen Wissen – heute für morgen Paul Scherrer Institut EPICS V4 Archiver Service and Matlab client Timo Korhonen.
Writing a Channel Access Client in EPICS Bob Dalesio, April 5, 2000.
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
EPICS EPICS Limitations Bob Dalesio Marty Kraimer.
Data Types written by Gabriele Carcassi performed by Bob Dalesio based on ideas/requirements from Bob Dalesio, Kay Kasemir, Ralph Lange, James Roland,
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.
BROOKHAVEN SCIENCE ASSOCIATES Advanced Monitor/Subscription Mechanisms Ralph Lange EPICS Collaboration Meeting October 11, 2009.
1 BROOKHAVEN SCIENCE ASSOCIATES EPICS Version 4 – Development Plan V4 Team – presented by Bob Dalesio EPICS Meeting October 12, 2010.
New IP Drivers using drvIpac Module Driver:CANopen Carrier Driver:GPFC drvIpac ?? CANopen Tip810 CAN Tip810 mv162GPFCatc40vipc310vipc616 Module driver.
EPICS Release 3.15 Bob Dalesio May 19, Features for 3.15 Support for large arrays Channel access priorities Portable server replacement of rsrv.
1 BROOKHAVEN SCIENCE ASSOCIATES High Level Applications Infrastructure and Current Status Guobao Shen, Lingyun Yang* Controls Group & Accelerator Physics.
B. Dalesio, N. Arnold, M. Kraimer, E. Norum, A. Johnson EPICS Collaboration Meeting December 8-10, 2004 Roadmap for IOC.
PvaPy: Python API for EPICS PV Access Siniša Veseli Scientific Software Engineering & Data Management Advanced Photon Source EPICS Meeting October 2015.
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
The DCS Databases Peter Chochula. 31/05/2005Peter Chochula 2 Outline PVSS basics (boring topic but useful if one wants to understand the DCS data flow)
IP Protocol CSE TCP/IP Concepts Connectionless Operation Internetworking involves connectionless operation at the level of the Internet Protocol.
1 BROOKHAVEN SCIENCE ASSOCIATES EPICS Version 4 – Normative V4 Team – presented by Bob Dalesio EPICS Meeting October 7, 2011.
NSLS-II Data Management Framework Arman Arkilic Brookhaven National Lab EPICS 2015 Collaboration Meeting-FRIB.
Monitoring Dynamic IOC Installations Using the alive Record Dohn Arms Beamline Controls & Data Acquisition Group Advanced Photon Source.
Control System Tools for Beam Commissioning Timo Korhonen Controls Division Chief Engineer April 8, 2014.
Version 4 Charter – Discussion Bob Dalesio Greg White.
1 BROOKHAVEN SCIENCE ASSOCIATES EPICS Version 4 – Development Plan V4 Team – presented by Bob Dalesio EPICS Meeting October 7, 2011.
The OSI Model Prof. Choong Seon HONG.
JavaIOC Overview and Update
Introduction Functional Requirements (Stephanie) SLC Executive (Diane)
LCLS Timing Software and Plan
ChannelFinder Directory Service
Prototyping the Next EPICS Archiver
by Prasad Mane (05IT6012) School of Information Technology
EPICS Version 4 Abstract:
SLAC USA Marty Kraimer and Matej Sekoranja
Object Oriented Programming
pvData,pvAccess,pvIOC,pvService Overview and Status EPICS Meeting
pvData,pvAccess,pvIOC,pvService Overview and Status EPICS Meeting
Server-Side Plugins Andrew Johnson, Ralph Lange
Writing a Channel Access Client in EPICS
Channel Access Concepts
Ch 17 - Binding Protocol Addresses
Beam Synchronous Acquisition on IOC
pvData,pvAccess,pvIOC,pvService Overview and Status EPICS Meeting
Banafsheh Hajinasab Based on presentation by K. Strnisa, Cosylab
ASYN based S7 PLC Driver Jignesh Patel
Channel Access Concepts
TANGO from an EPICS perspective
OPC UA and EPICS Introduction
Presentation transcript:

EPICS 7 Matej Sekoranyja, Marty Karimer, Michael Davidsaver, Ralph Lange, Andrew Johnson, Timo Korhonen, Heinz Junkes, Patrick Marschalik, Murali Shankar, Bruno Martins, Kunal Shroff, Arman Arkilic, Michael Dalesio, Anton Metzger, Greg White, David Hibkin, Guobao Shen, Sinesa Veseli, Bob Dalesio, Steve Hartman

EPICS 7 Outline What is it? Status Services Support Application Development Community Use Conclusions

What Is EPICS 7 (not) V4 is not a replacement for V3 V4 does not introduce a new IOC database V4 does not require you to rewrite all your drivers V4 does not break existing systems

What is EPICS 7 EPICS 3 is a set of tools, libraries and applications to create a distributed control system EPICS 7 extends V3, and does not require upgrading any of your applications. EPICS 7 adds structured data to EPICS V3

EPICS 7 Improves EPICS V3 Overcome Channel Access shortcomings: Better array and string handling Structured data: Extending the scope of EPICS from I&C to data acquisition, image processing, and beyond Efficient network transfer: High performance archiving and image transfer RPC type services: Service oriented architecture: archiver, snapshot, database backends Complex control: Communicating with devices (groups of PVs on an IOC) in an always-consistent, transaction type way

EPICS 7 overcomes some shortcomings in V3 Support for 64bit integers 1/8/16/32/64bit integers, signed and unsigned Better support for arrays No element_count upper limit (fixed and bounded arrays possible) Clear distinction between arrays of size 1 and scalars Axis metadata is transmitted with the array Better support for strings Arbitrary size No fixed limit or need for long string workaround Much better support for arrays of strings Handles arbitrary number of arbitrary length strings

EPICS 7 Supports Structured data V4 can do everything V3 can do (but better): Can construct pvData structures analogous to DBR types. For example the equivalent of a DBR_TIME_DOUBLE would be the structure: NTScalar double value alarm_t alarm int severity int status string message time_t timeStamp long secondsPastEpoch int nanoseconds int userTag

EPICS 7 Provides Efficient network transfer pvAccess operations only send deltas on the wire. So if the value of the structure in the above example is modified to: NTScalar double value 8.1 alarm_t alarm int severity 2 int status 3 string message HIHI_ALARM time_t timeStamp long secondsPastEpoch 1460589145 int nanoseconds 588698520 int userTag 0 only changed values (in bold) need be sent, plus a bitset indicating which fields have changed value.

EPICS 7 Supports RPC type services RPC type services can use structures that are different for every call and different for put (request) and get (response). pvData can encode more complex data types like a table: NTTable string[] labels [value, seconds, nanoseconds, status, severity] structure value double[] value [ 1.1, 1.2, 2.0] long[] secondsPastEpoch [1460589140, 1460589141, 1460589142] int[] nanoseconds [ 164235768, 164235245, 164235256] int[] severity [ 0, 0, 1] int[] status [ 0, 0, 3]

EPICS 7 Provides Complex control Possible to create complex structures representing, for example, a detector, camera driver, file writer or camera plugin Can operate on subset of fields for control or monitor whole structure With RPC can add “methods” and create distributed objects

EPICS 7 Base Status Build System builds EPICS 3 and pvAccess into the single EPICS 7 Release pvAccess and pvData run alongside of Channel Access and DBR_types pvData supports structured data NTypes are standard pvData for DBR_types, Tables, N-D Arrays, Heterogeneous Arrays, etc.. pvAccess provides improved metadata for the IOC Database pvAccess provides communication mechanism for Relational DB and No SQL DB Services pvAccess Gateway Alpha Release pvAccess Database Links (2018 Q2) Access Security (Not Yet Scheduled) Data Aggregation is planned for Java Client API (2018 Q2) Data Aggregation is planned for C++ Client API (Not Yet Scheduled) EPICS Records To Take Advantage of NTYpes (Not Yet Scheduled)

EPICS 7 Service Status Standard Services are developed to demonstrate the use of these mechanisms: IOC (QSRV) 2017, Q3 areaDetector 2017, Q1 Directory 2017, Q3 Save Sets 2017, Q3 Data Index 2017, Q3 Archive 2018, Q2 Log Book 2018, Q2 Snap Shot 2018, Q2 Alarm Not Yet Specified Unit Tests and Performance Tests are provided with most code Python, Matlab, C++, and Java APIs available for client and service development

Standard Clients Are Developed for NTypes Configuration Data Archive CSStudio Python, C++, Java Archive Directory I to Field NoSQL NoSQL E Log NoSQL IOC Instrumentation

Standard Services Support Application Development Data Archive Feedback Control Physics Code Receives EPICS PV Names Given Physics Device and Properties From a Directory Service Archive Directory I to Field NoSQL NoSQL E Log NoSQL IOC Instrumentation

Feedback Control Application Uses Standard Services – Read/Write Instrumentation Data Archive Feedback Control Physics Code Reads All Set points and Readbacks to Calculate Errors Errors are used to Calculate New Field Settings for Magnets Archive Directory I to Field NoSQL NoSQL E Log NoSQL IOC Instrumentation

Feedback Control Application Uses Standard Services – Complex Conversions Data Archive Feedback Control Physics Code Sends Designed Field Setting to Conversion Service and Receives New I Settings Archive Directory I to Field NoSQL NoSQL E Log NoSQL IOC Instrumentation

Feedback Control Application Uses Standard Services – Instrumentation Interfaces Data Archive Feedback Control Physics Code Sends New Current Setting to Magnet Power Supply Archive Directory I to Field NoSQL NoSQL E Log NoSQL IOC Instrumentation

Feedback Control Application Uses Standard Services Data Archive Feedback Control Archive Directory I to Field NoSQL NoSQL E Log NoSQL IOC Physics Code Records the Activity Into Official Logbook Lists all PVs used Instrumentation

New Services Can Be Added Easily Data Archive Alarm NoSQL Archive Directory I to Field NoSQL NoSQL Data Set Snap Shot Data Set E Log NoSQL IOC HDF5 Data Index NoSQL Instrumentation Index Data Set

Who is using EPICS 7 at this time? NSLS-II/FRIB/RAON: middle-layer services using structured data In production: Channel Finder, MASAR service for save sets, Data Index More services planned (archiver, snapshot data, elog, ...) SNS Beamlines: implementing next generation of controls and data acquisition LCLS I/LCLS II: re-implementing all high-level physics database access using pvAccess and middle-layer services FHI: using archiver appliance with pvAccess and structured data APS: uses v4 RPC services for large buffer transfer Diamond/NSLS-II: transferring areaDetector images across the network / between processes using pvAccess Using >90% of physical bandwidth on 10Gb ethernet (no compression)

Conclusions EPICS 7: pvAccess extends V3 without replacing the existing IOC pvData and pvAccess add flexible structures w efficient network protocol NTypes is Set of well-defined containers for generic clients Beyond beta status, first in-production users are happy Developments are ongling……… EPICS 7.0 release will be ready 10/31 (if you can’t wait… contact us)