Summary of EPICS Beamline Controls SIG Workshop Mark Rivers University of Chicago June 14, 2006.

Slides:



Advertisements
Similar presentations
SynApps love, vme, ebrick modules EPICS Collaboration Meeting – Beamline Controls SIG Workshop David Kline June 12–16, 2006.
Advertisements

1 1999/Ph 514: Channel Access Concepts EPICS Channel Access Concepts Bob Dalesio LANL.
ICS Test Environment Alexander Söderqvist Dec 9, 2014.
Data Acquisition Risanuri Hidayat.
QuadEM: EPICS Software for Fast Electrometers for Beam Position Monitors Mark Rivers GeoSoilEnviroCARS, Advanced Photon Source University of Chicago.
Wayne Lewis Australian Synchrotron Beamline Controls Design and Implementation.
EPICS at APS Beamlines Tim Mooney Advanced Photon Source Argonne National Laboratory.
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.
Data Acquisition and Control Systems HYTEC ELECTRONICS LIMITED Motor Control and Power Drive Support Graham Cross.
Copyright Arshi Khan1 System Programming Instructor Arshi Khan.
SynApps status and plans Tim Mooney Beamline Controls & Data Acquisition Group June 13, 2006.
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.
EPICS Meeting, APS, June 14 th 2006 MCS-8 The 8 axes motion control system Rok Šabjan
1 Input/Output. 2 Principles of I/O Hardware Some typical device, network, and data base rates.
AreaDetector: Recent Additions and Future Plans Mark Rivers GeoSoilEnviroCARS, Advanced Photon Source University of Chicago.
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.
XFEL The European X-Ray Laser Project X-Ray Free-Electron Laser Matthias Clausen, DESY XFEL Refrigerator Controls – April CSS-DCT (SNL) Training.
EPICS Developments at the Australian Synchrotron DSP EPICS driver for the General Standards 16AIO analog card EPICS driver for the Galil range of motor.
EPICS for Experiments. Programme 09:30: Introduction to EPICS (Nick Rees) 09:45: Asyn (Jon Thompson) –C++, extending AsynPortDriver base class –Parameters,
Conversion to EPICS R3.14 Mark Rivers. New capabilities Progress in converting synApps/GSECARS Outstanding issues Work to be done Outline.
Beamline Controls with EPICS at NSLS Zhijian Yin NSLS, BNL EPICS Collaboration Meeting, SSRF, March 2008.
Materials Science and Protein Crystallography Using the MX Beamline Control Toolkit William M. Lavender
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.
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.
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.
Elder Matias, Diony Medrano, Dong Liu (At Michigan State University - Nov 2011) IRMIS at CLS.
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.
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.
1 EPICS Linux Based IOC Support EPICS Meeting at BESSY May 2002 Marty Kraimer.
“Recent” developments in EPICS-based beamline software 7/24/02 Tim Mooney Beamline Controls & Data Acquisition Group Advanced Photon Source Argonne National.
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.
EPICS at APS Beamlines Tim Mooney Advanced Photon Source Argonne National Laboratory.
Fast Fault Finder A Machine Protection Component.
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.
Control System Overview J. Frederick Bartlett Fermilab June 1,1999.
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.
Motor drivers for asyn motor device support Mark Rivers GeoSoilEnviroCARS, Advanced Photon Source University of Chicago.
EPICS Release 3.15 Bob Dalesio May 19, Features for 3.15 Support for large arrays Channel access priorities Portable server replacement of rsrv.
An EPICS solution for Galil products that can provide a comprehensive, and high performance motor and PLC control system for use at synchrotrons and other.
EPICS Detector and Feedback Software Mark Rivers GeoSoilEnviroCARS, Advanced Photon Source University of Chicago.
B. Dalesio, N. Arnold, M. Kraimer, E. Norum, A. Johnson EPICS Collaboration Meeting December 8-10, 2004 Roadmap for IOC.
1 1999/Ph 514: Supported Hardware EPICS Supported Hardware Ned D. Arnold APS.
CEA DSM Irfu SIS LDISC 18/04/2012 Paul Lotrus 1 Control Command Overview GBAR Collaboration Meeting Paul Lotrus CEA/DSM/Irfu/SIS.
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
E. Matias Canadian Light Source CLS Beamline Controls.
Control System Overview J. Frederick Bartlett Fermilab June 1,1999.
Motion Control at the Advanced Photon Source Argonne National Laboratory Mark Rivers University of Chicago 7 GeV synchrotron x-ray light source, the largest.
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.
Office of Science U.S. Department of Energy “Traditional” Tools for Beamline Applications Mark Rivers University of Chicago October 16, 2008.
January 2010 – GEO-ISC KickOff meeting Christian Gräf, AEI 10 m Prototype Team State-of-the-art digital control: Introducing LIGO CDS.
Software tools for digital LLRF system integration at CERN 04/11/2015 LLRF15, Software tools2 Andy Butterworth Tom Levens, Andrey Pashnin, Anthony Rey.
Wednesday NI Vision Sessions
SynApps status and plans Mark Rivers October 16, 2008 based on material provided by Tim Mooney Beamline Controls & Data Acquisition Group Advanced Photon.
JavaIOC Overview and Update
Diamond Motion Control Emma Shepherd & Matthew Pearson May 2011
Mark Rivers University of Chicago
EPICS MCA and Canberra Support
Using EPICS for Beamline Control and Data Acquisition
EPICS Detector and Feedback Software
synApps status and plans
synApps status and plans
asyn Driver Tutorial Measurement Computing 1608GX-2A0
Channel Access Concepts
EPICS: Experimental Physics and Industrial Control System
areaDetector: What’s New? Mark Rivers, Univ. of Chicago
quadEM: New Beam Position Monitor & Electrometer Hardware and Software
GeoSoilEnviroCARS The University of Chicago
Channel Access Concepts
Presentation transcript:

Summary of EPICS Beamline Controls SIG Workshop Mark Rivers University of Chicago June 14, 2006

2 Organization of Workshop Organized and chaired by Bob Dalesio Presentations on the synApps EPICS beamline controls package –Tim Mooney Overview of what synApps is Presentation on the autosave, calc, ip, sscan modules –Mark Rivers Presentation on the asyn, ip330, dac128V, ipUnidig, mca, dxp, ccd, epid modules –Ron Sluiter Presentation on the motor module –David Kline Presentation on the love, vme, ebrick modules Presentations on experiences and plans elsewhere with synApps –Wayne Lewis, Australian Synchrotron –Peter Dennison, Diamond Discussion of problems, future plans, etc. –Use of Source Forge as repository? Nick Rees to pursue and report.

3 What is synApps? A collection of EPICS Applications for use at synchrotron beamlines Commissioning-level software for ~80% of a new beamline –Basic support for common beamline devices Support for higher level, beamline-specific applications –Code libraries, implementation tools, examples Run-time tools to help users meet unanticipated needs –Can build software machines, feedback loops, serial support Support for collaborative development of beamline software –A vehicle by which developers at one beamline can easily contribute to software running on other beamlines. On the web: –

4 Scope Mostly infrastructure and generic capabilities, as opposed to experiment/technique-specific programs –E.g., things like motors, scalers, and scans, as opposed to things like EXAFS, small-angle scattering, and protein crystallography –Why? Economics – Generic has the wider audience Information & expertise – beamline developers have it; we don’t. Control – Generic software allows us to contribute to user software without taking control. Mostly IOC-resident code, as opposed to client-side programs –E.g., scan software could run on workstations, but instead it runs on IOC’s –Why? Access/coordination – IOC-resident code can be driven by anyone; clients generally cannot be driven by other clients. Distribution/deployment – EPICS handles this for ioc-resident code.

5...Scope Some statistics: 19 EPICS modules autosave, calc, camac, ccd, dac128V, dxp, ebrick, ip, ip330, ipUnidig, love, mca, motor, optics, quadem, sscan, std, vme, xxx 16 record types aCalcout, sCalcout, swait, transform, camac, dxp, motor, mca, table, busy, sscan, scanParm, epid, scaler, sseq, vme ~156 device types (~118 hard, ~38 soft) ~197 EPICS databases ~458 MEDM display files ~526 c, c++, SNL source files (~281,000 lines of code) ~77 documentation files (~38,000 lines of documentation)

6 synApps modules mcamultichannel analyzers and multichannel scalers motorstepper/servo motor opticsmonochromators, optical table, etc. quadEMfour-channel fast analog input sscanscans, data storage stdscalers, feedback, misc. vmeVME hardware xxxrunnable example of how everything in synApps is configured & used; typically controls a single experiment station autosaveparameter save/restore; maintains continuity through reboot calcrun-time expression evaluation camacCAMAC support ccdCCD support dxpXIA DSP-based x-ray detector pulse analyzer ebrick love EPICS-brick application Love controllers (digital and analog I/O via serial) Ip*, dac*Serial, analog, and digital I/O

7 Who uses synApps? Synchrotron beamlines –~20 sectors of APS –Swiss Light Source –NSLS (several beamlines) –Diamond –Australian Synchrotron –CLS, LCLS ? Other EPICS sites –Many non-synchrotron sites use a few synApps modules, notably motor autosave calc mca, dxp, ccd

8 synApps depends on software written by others ModuleDeveloper Org.Purpose asynAPS Controls & CARS-CAT support for asynchronous message-based control ipacAPS ControlsIndustryPack carrier support seqSLACState-Notation-Language compiler genSubObservatory Sciences General-purpose subroutine record vxStatsSNS/ORNLvxWorks status/statistics allenBradleyAPS Controlssupport for communicating with Allen-Bradley PLC’s synApps also uses (“contains”? “second sources”?) some software written by others that is not in the form of a module The idea is to avoid requiring synApps users to find, configure and test software that someone else has already found, configured, and tested.

9 autosave module Records values of selected EPICS Process Variables -- periodically, or in response to user-specified trigger Restores saved values when the computer restarts Can save/restore any scalar or array-valued PV Developer chooses default PV’s to be saved; user can override Defends saved values from incompetent file server, crash, etc. Recent work: –v4.1.3 (synApps 5.2 candidate) –reduce sensitivity to errors –status-PV name length fixed Plans: –no immediate plans

10 calc module Evaluate expressions entered at run time Records –sCalcout – like calcout, but also supports string expressions; user can specify wait-for-completion. –aCalcout – like sCalcout, but for arrays instead of strings; –swait – like calcout, but uses recDynLink (no “PP MS” link attributes) –transform – like 16 calcout records that share a PV data pool Other code –string/array-calc engines –sCalcout soft device support (with wait-for-completion option) –interpolation (lookup table), based on the genSub record

11 ip module Originally, all IndustryPack modules Now, only support for message-based devices device support, SNL code, databases, and MEDM displays for message-based devices –digital multimeters, current preamplifiers, temperature controllers, etc. deviceCmdReply –Used to write support at run time for one command/reply message –sCalcout to format output string –asyn record to write/read device –sCalcout record to parse reply devXxStrParm device support –to be replaced by streamDevice/asyn

12 optics module Slits and mirrors Monochromators –Nondispersive double-crystal –Dispersive double crystal –Spherical Grating Optical table Orientation matrix –(H, K, L)  (2 , , ,  ) + constraint –User/client can write to underlying motors Automated alignment for zone-plate microscope

13 sscan module Support for user-programmable data-acquisition –sscan and busy records –saveData –recDynLink Recent work: –number of data points limited only by IOC memory –pipelined data storage –can mix scalar and array detectors –fixed some link-management bugs –added Python code to read, write, and operate on scan-data files Plans: –Include Dohn Arms’ (APS/XOR-7) C-code utilities for scan-data files –Support 2D-array detectors

14 mca module Support for multi-channel analyzers mcaRecord –Like waveform record with lots of additional fields Start/stop acquisition Preset live/real time Regions of interest – total and net counts, can be used as EPICS scan record detector like a scaler –Device independent –Primary device support uses asyn – also device independent Drivers implement int32, float64, int32array asyn interfaces Devices supported –Canberra Ethernet AIM MCAs and programmable instrumentation –SIS multichannel scaler –Rontec XFlash (serial) MCA –XIA Saturn, DXP-2X and xMAP (support in dxp module)

15 ccd module Support for area detectors (CCD’s and image plates) Supported devices –MAR 165 CCD –MAR 345 image-plate reader (coming soon) –Roper (all WinView-supported CCD’s, including former Princeton and most former Photometrics devices) –Bruker SMART CCD Can control, at minimum –exposure time –file name –data-acquisition start –wait for acquisition to complete –much more for most devices

16 Modules for Industry Pack cards (dac128V, ip330, ipUnidig) Asyn drivers for A/D, D/A and digital I/O cards Use generic asyn device support for ai, ao, bi, bo, mbbi, mbbo records Support mca records (A/D as a 16-bit waveform digitizer) Support epid record for fast (up to 10 kHz) feedback Good models for how to write asyn drivers for other hardware

17 motor module - motor record  Device independence – motor hardware is transparent to users.  Same medm screens and record level software, for all devices.  Common device and driver level software for most devices.  Unsupported motor record features are handled at the device level; typically, by ignoring the request. Available operations from this display; 1.Make absolute or incremental moves. 2.Define the current position. 3.Stop the current move. without any controller specific information.

18 Cont'd Feature list  The scope of the motor record is limited to single axis, non-coordinated, point to point moves.  Absolute, relative and incremental moves.  Supports stepper, DC, piezo and Soft Channel motors. Very few fields are motor type specific;  PID parameters (PCOF/ICOF/DCOF) for DC motors.  Velocity base (VBAS) for stepper motors.  Done Moving Input Link (DINP) for Soft Channel.  Three different position coordinate systems; user, dial and raw.  Record level backlash correction.  Homing.  Device and driver support for 29 controller modules from 13 vendors

19 vme module Record support vmeRecord –Provides run-time access to VME bus (supported/unsupported) –Test and evaluate new hardware Device support –Acromag bit digital input/output –Acromag channel analog output (12-bit) –APS bunch-clock generator –Generic A32 VME interface –Heidenhain IK320 encoder/interpolator –HP 10895A Laser interferometer –Joerger scaler –APS machine-status link (MRD100) –Varoc SSI encoder –VMI bit D/A

20 Australian Synchrotron Benefits of synApps –Reduced development time Common record types already developed Existing drivers for wide range of hardware Ability to put together a functioning experiment in a very short space of time Interface screens already developed –Consistency Maintain consistency with EPICS community Access to support from developers Retain ability to utilize future developments Able to use existing developments that assume presence of synApps records Interactions between records have been considered and allowed for Creates the possibility of contributing back to the EPICS community

21 Diamond Using some synApps modules Contributing enhancements to motor and mca modules already Doing some beamline things differently from synApps model

22 Discussion Problems: –Use of APS CVS repository is a bottleneck – impedes collaboration –Use of SourceForge being investigated RTEMS tested drivers needed. No RTEMS testbed at APS beamlines.