Babak Kalantari, EPICS Collaboration Meeting, Kobe 2009 A generic driver for Data Buffer of MRF Timing System Babak Kalantari Paul Scherrer Institute Switzerland.

Slides:



Advertisements
Similar presentations
MIL/STD-1553B Bus Overview J. Frederick Bartlett Fermilab June 3, 1999.
Advertisements

SynApps love, vme, ebrick modules EPICS Collaboration Meeting – Beamline Controls SIG Workshop David Kline June 12–16, 2006.
1 1999/Ph 514: Channel Access Concepts EPICS Channel Access Concepts Bob Dalesio LANL.
Fall 2014 EPICS Collaboration Meeting, Oct 2014, CEA Saclay, France © 2014, ITER Organization Page 1 Disclaimer: The views and opinions expressed.
ITER Fast Controller Prototype Feng Wang, Shi Li and Xiaoyang Sun Institute of Plasma Physics, Chinese Academy of Sciences 4/15/20151 The Spring 2010 EPICS.
EPICS Collaboration Meeting, CEA, Saclay, Oct 2014 The use of EtherCAT with EPICS at Diamond Ronaldo Mercado 22/10/2014.
Stephanie Allison LCLS Event System 14 June LCLS Event System Outline HW Block Diagram Timing Requirements Time Lines EVG.
Operating Systems Operating Systems - Winter 2009 Chapter 3 – Input/Output Vrije Universiteit Amsterdam.
Dirk Zimoch for Babak Kalantari, EPICS Collaboration Meeting October SLS F illing P attern F eedback (FPF) system Charge Distribution Control in.
Wir schaffen Wissen – heute für morgen Babak Kalantari, PSI MRF workshop, Prague, Eli Beamlines Paul Scherrer Institut SwissFEL Timing System.
Dirk Zimoch, EPICS Collaboration Meeting, Vancouver 2009 Real-Time Data Transfer using the Timing System (Original slides and driver code by Babak Kalantari)
Dayle Kotturi and Stephanie Allison Facility Advisory Committee Meeting April 20-21,
Device Driver for Generic ASC Module - Project Presentation - By: Yigal Korman Erez Fuchs Instructor: Evgeny Fiksman Sponsored by: High Speed Digital Systems.
OPC Overview OPC Device Support (PLC Gateway for 3.14) Ralph Lange – EPICS Collaboration Meeting at SLAC, April 2005.
14 Nov 2000G3/FlexIO/PLC5/VSIOD8 Carl Lionberger 1 EPICS Support for G3/FlexIO/PLC5/VSIOD8 Carl Lionberger Group3™ optical-fiber-connected I/O AB FlexIO™
Dirk Zimoch, EPICS Meeting April 2007, Hamburg Siemens S7 PLC Communication.
EPICS support for ControlLogix via EtherNet/IP Kay-Uwe Kasemir, LANL May 2001.
Ether_ip - EPICS EtherNet/IP support for ControlLogix Kay-Uwe Kasemir, LANL Nov
Managed by UT-Battelle for the Department of Energy Kay Kasemir Sept EPICS EtherIP Driver.
EtherCAT Driver for Remote I/O James Rowland, Ronaldo Mercado and Nick Rees.
Argonne National Laboratory is managed by The University of Chicago for the U.S. Department of Energy P0 Feedback Project: Merging EPICS with FPGA’s Nicholas.
SLAC asyn class, Day 1, August 26, 2010 Example asyn driver Modbus Mark Rivers, Marty Kraimer, Eric Norum University of Chicago Advanced Photon Source.
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 Collaboration meeting Fall 2012, SDD status and plansPage 1 Self-Described Data - SDD status and plans Lana Abadie, ITER CODAC.
Wir schaffen Wissen – heute für morgen 24. August 2015PSI,24. August 2015PSI, Paul Scherrer Institut Embedded PREEMPT_RT Linux for IOxOS VME IOC Damir.
Dirk Zimoch, KSTAR Meeting 2009 Auto Save and Restore.
SNS Integrated Control System EPICS Collaboration Meeting SNS Machine Protection System SNS Timing System Coles Sibley xxxx/vlb.
CODAC Core System, 2-June-2010, EPICS Collaboration Meeting Aix-en-Provence Page 1 CODAC Core System F. Di Maio ITER IO / CHD / CIT / CODAC.
Input/ Output By Mohit Sehgal. What is Input/Output of a Computer? Connection with Machine Every machine has I/O (Like a function) In computing, input/output,
SCADA. 3-Oct-15 Contents.. Introduction Hardware Architecture Software Architecture Functionality Conclusion References.
8 May 2001EPICS Group3 Carl Lionberger1 EPICS Support for Group3 Control System Carl Lionberger Group3™ optical-fiber-connected I/O Software and operational.
1 Experimental Physics and Industrial Control System (EPICS) Database Bob Dalesio, May 31,2010.
Experimental Physics and Industrial Control System (EPICS) Database Bob Dalesio, June 27,2001.
EPICS devSNMP Extensions Euan Troup, CSIRO Australia Telescope National Facility ASKAP Project Paul Wild Observatory.
Ralph Lange: OPC Gateway (Device Support) OPC Gateway (Device Support) Ralph Lange – EPICS Collaboration Meeting March SSRF.
Wir schaffen Wissen – heute für morgen Babak Kalantari, PSI EPICS Meeting, Saclay Paul Scherrer Institut SwissFEL Timing System Babak Kalantari.
Berliner Elektronenspeicherringgesellschaft für Synchrotronstrahlung mbH (BESSY) OPC - Device Support Bernhard Kuner, Carsten Winkler BESSY, Berlin, Germany.
LCLS Timing Software and Plan 1 Controls Timing Workshop EPICS Collaboration Meeting SLAC LCLS Timing Software and Plan April Kukhee Kim.
DEVICES AND COMMUNICATION BUSES FOR DEVICES NETWORK
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.
EPICS 2011 Spring Collaboration Meeting, Hsinchu, June 13-17, 2011 pciGeneral PCI Device Support of EPICS which is used in TPS Control System Presented.
FAIR Accelerator Controls Strategy
MRF & Cosylab on timing system: integration support Joze Dedic the best people make cosylab … Head of Hardware.
EPICS Workshop 2003Dirk Zimoch 1 StreamDevice 2.0 A Multi-Purpose Character Driver for EPICS 3.14.
EPICS Collaboration Meeting Fall PAL October 22 ~ 26, 2012 LCLS Timing System (pattern design, evGUI, and high level) Mike Zelazny for LCLS Timing.
EPICS EPICS Collaboration Meeting Argonne National Laboratory drvTS improvements for soft timing EPICS Collaboration Meeting Argonne National Laboratory.
EPICS EPICS Limitations Bob Dalesio Marty Kraimer.
Babak Kalantari, EPICS Meeting, , Kobe A vxWorks driver for DMA on VMEbus Babak Kalantari Paul Scherrer Institute Switzerland.
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.
IMAC 2007BEPCII Timing System Status1 Event timing system for BEPCII storage ring commissioning Presented by G. Lei May 2007.
4P13 Week 12 Talking Points Device Drivers 1.Auto-configuration and initialization routines 2.Routines for servicing I/O requests (the top half)
1 1999/Ph 514: Supported Hardware EPICS Supported Hardware Ned D. Arnold APS.
EPICS and LabVIEW Tony Vento, National Instruments
Wir schaffen Wissen – heute für morgen Babak Kalantari, PSI MRF workshop, Prague, Eli Beamlines Paul Scherrer Institut Synchronous DAQ using.
EPICS Records J. Frederick Bartlett Fermilab June 1,1999.
Using COTS Hardware with EPICS Through LabVIEW – A Status Report EPICS Collaboration Meeting Fall 2011.
ESS Timing System Plans Timo Korhonen Chief Engineer, Integrated Control System Division Nov.27, 2014.
WIR SCHAFFEN WISSEN – HEUTE FÜR MORGEN SwissFEL Timing System status & plans Babak Kalantari :: Large Research Facilities /Controls :: Paul Scherrer Institut.
Beam-Synchronous Data Acquisition (BS-DAQ)
Advanced Photon Source
CS 286 Computer Organization and Architecture
Status of Fast Controller EPICS Supports for ITER Project
asyn Driver Tutorial Measurement Computing 1608GX-2A0
regDev Simple access to register based devices
Device support for VMIVME-5565 and its usage at KEK
ASYN based S7 PLC Driver Jignesh Patel
Presentation transcript:

Babak Kalantari, EPICS Collaboration Meeting, Kobe 2009 A generic driver for Data Buffer of MRF Timing System Babak Kalantari Paul Scherrer Institute Switzerland

Babak Kalantari, EPICS Collaboration Meeting, Kobe 2009 MRF Event System Data Buffer ■ Real-time data transfer parallel to event distribution ■ 2048 Bytes of raw data ■ Transfer rate half of the event clock ■ Applications include: ► Beam parameter distribution ► Beam-synchronous DAQ ► Bunch marking ► Global command/status distribution

Babak Kalantari, EPICS Collaboration Meeting, Kobe 2009 Exp._x Bunch_ID Exp. 2 Exp. 3 Exp. 4 Exp. 1 Beam source dev. 1 dev. 2 dev. 3 dev. 4 start Pulser RF Diag. Pulser RF Diag. …… 12 start Pulser RF Diag. … 3 Exp._x Bunch_ID

Babak Kalantari, EPICS Collaboration Meeting, Kobe 2009 Problem / Similarities? ■ Need an EPICS driver that: ● can send/receive data by standard record types ● is application- and site- independent ● easy to understand / use ■ Dev. Sup. layer similar to S7 PLC ● A data buffer of PVs (each in certain offset) sent over network ● Uses a generic device support layer ( regDev by Dirk Zimoch) ■ Need a driver layer for ► interaction with hardware ► low level communication handling

Babak Kalantari, EPICS Collaboration Meeting, Kobe 2009 One-to-one data mapping EVG DBuff EVR DBuff ao Offs=x Offs=y aao Offs=z bo ai Offs=x Offs=y waveform Offs=z bi 2)Flush 1)Write3)receive (I/O Intr) Protocol_data

Babak Kalantari, EPICS Collaboration Meeting, Kobe 2009 Support for protocols EVG (H/W) Data Buffer Tx Local Buffer (protocol_1) Local Buffer (protocol_2) Local Buffer (protocol_x) EVR (H/W) Data Buffer Rx Local Buffer (protocol_1) Local Buffer (protocol_2) Local Buffer (protocol_3) Flush Deliver Output records (set_x) Input records (set_x) Output records (set_1) Write Input records (set_1) Read

Babak Kalantari, EPICS Collaboration Meeting, Kobe 2009 Driver Software ■ Configuration mrfDBuffConfigure ("device", cardNum, Tx, protocolID) ■ DB: ► Output records ( ao, bo, mbbo, aao, stringout, longout, etc. ) ● OUT, “#C / T= " ● SCAN, “Passive” ► Input records ( ai, bi, mbbi, waveform, stringin, longin, etc. ) ● OUT, “#C / T= " ● SCAN, “I/O Intr” ► Special “bo” record: (data Flush) ● SCAN, “Passive” ● OUT, "#C device name offset in bytes data type

Babak Kalantari, EPICS Collaboration Meeting, Kobe 2009 Example: ■ Startup: mrfDBuffConfigure (“myEvg_A", 2, 1, 10) mrfDBuffConfigure (“myEvr_A", 3, 0, 10) mrfDBuffConfigure (“myEvg_B", 2, 1, 15) mrfDBuffConfigure (“myEvr_B", 3, 0, 15) ■ DB: record (ai, "($NAME)") { field (DTYP, "regDev") field (INP, T=FLOAT") field (SCAN, "I/O Intr") } record (stringin, "($NAME)") { field (DTYP, "regDev") field (INP, T=STRING L=10") field (SCAN, "I/O Intr") }

Babak Kalantari, EPICS Collaboration Meeting, Kobe 2009 Status ■ In production use at swissFEL test-facilities ► Bunch marker ► Beam synchronous DAQ (single-shot) ■ How to get it: ► sourceForge EPICS Applications ● “mrfDataBufferApp” included in MRF Event System driver package

Babak Kalantari, EPICS Collaboration Meeting, Kobe 2009 Thanks!