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.

Slides:



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

The ASYN Software Module
1 1999/Ph 514: Working With an IOC EPICS Working with an IOC Marty Kraimer APS.
Embedded Solutions for EPICS Based Control Systems Miroslaw Dach Goran Marinkovic Paul Scherrer Institut Switzerland.
Linux IOC Operations at NSTX - An Overview P. Sichta 28Mar2005.
Finding, Deploying and Managing EPICS Support Modules Andrew Johnson Computer Scientist, AES Controls.
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.
9-12 Oct 2000PCaPAC 2000, DESY Hamburg Epics to TINE translator Matthias Clausen, DESY Hamburg Phil Duval, DESY Hamburg Zoltan Kakucs, DESY Hamburg.
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.
OUTLINE WHAT ? HOW ? WHY ? BLUEPOST Poster and Message Content Specified by the User Displaying the Poster Content on a Monitor Sending Messages to.
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.
INTEGRATION OF EPICS ASYN INTO NON EPICS ENVIRONMENT PRERANA KANKIYA Brookhaven National Laboratory, New York EPICS COLLABORATION MEETING, 2014.
Pioneering Science and Technology Office of Science U.S. Department of Energy Joseph Xu, apsctl, anl LCLS Motion Control Architecture Motion Drive/Devices.
OPC Overview OPC Device Support (PLC Gateway for 3.14) Ralph Lange – EPICS Collaboration Meeting at SLAC, April 2005.
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.
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.
SLAC asyn class, Day 1, August 26, 2010 Example asyn driver Modbus Mark Rivers, Marty Kraimer, Eric Norum University of Chicago Advanced Photon Source.
Beamline Controls at the IPNS* *The Intense Pulsed Neutron Source (IPNS) at Argonne National Laboratory is a national facility for neutron scattering research.
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.
Shell and Flashing Images Commands and upgrades. RS-232 Driver chip – ST3232C Driver chip is ST3232C Provides electrical interface between UART port and.
Dirk Zimoch, KSTAR Meeting 2009 Auto Save and Restore.
Basic Router Configuration Honolulu Community College Cisco Academy Training Center Semester 2 Version 2.1.
Input/Output Controller (IOC) Overview Andrew Johnson Computer Scientist, AES Controls Group.
JavaIOC Marty Kraimer EPICS Collaboration Meeting ICALEPCS October
EPICS Insertion Device Control System Pete Owens EPICS Collaboration Meeting June 2003 Control System for a Helical Undulator Pete Owens Daresbury Laboratory.
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.
December 2009 Target Group Control System of production furnace for SPES project Results and progress status december 2009.
XFEL The European X-Ray Laser Project X-Ray Free-Electron Laser Matthias Clausen, DESY XFEL Refrigerator Controls – April CSS-DCT (SNL) Training.
Controls for High-Availability Magnet PS’s for ATF2 Glen White SLAC September
TANGO on embedded devices: the Bimorph Mirror application case Fulvio Billè Roberto Borghes, Roberto Pugliese, Lawrence Iviani Instrumentation & Measurement.
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.
What’s TSP ? Code : STM#340 STM#340: What’s TSP ?
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.
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.
1 EPICS Linux Based IOC Support EPICS Meeting at BESSY May 2002 Marty Kraimer.
XFEL The European X-Ray Laser Project X-Ray Free-Electron Laser Matthias Clausen, DESY XFEL Refrigerator Controls – April CSS Core Applications.
Challenges in KeyStone Workshop Getting Ready for Hawking, Moonshot and Edison.
Interoperable marine monitoring systems Toma Daniel Mihai Technical University of Catalonia Mentor: Tom O’Reilly MBARI 2010.
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.
Fast Fault Finder A Machine Protection Component.
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 DIAMOND EPICS Meeting, EPICS base 3.14 OSI: Operating System Independent Support Marty Kraimer.
18th June 2003 Diamond Vacuum System Steve Singleton 18th June 2003.
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 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.
Source Controller software Ianos Schmidt The University of Iowa.
An Overview of Support of Small Embedded Systems with Some Recommendations Controls Working Group April 14, 2004 T. Meyer, D. Peterson.
B. Dalesio, N. Arnold, M. Kraimer, E. Norum, A. Johnson EPICS Collaboration Meeting December 8-10, 2004 Roadmap for IOC.
OOI CI LCA REVIEW August 2010 Ocean Observatories Initiative Sensing and Acquisition Subsystem Arjuna Balasuriya Life Cycle Architecture Review La Jolla,
1 1999/Ph 514: Supported Hardware EPICS Supported Hardware Ned D. Arnold APS.
EPICS and LabVIEW Tony Vento, National Instruments
Router Startup and Setup Honolulu Community College Cisco Academy Training Center Semester 2 Version 2.1.
Control System Overview J. Frederick Bartlett Fermilab June 1,1999.
OATS - An Example of LCOD Organic Aerosol Thermal desorption chemical ionization mass Spectrometer David Thomson NOAA Aeronomy Lab October 19, 2006 ALARM.
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.
16th Oct 08 Tom Cobb - Python at DLS 1 Uses of Python at Diamond Light Source.
Chapter 4: server services. The Complete Guide to Linux System Administration2 Objectives Configure network interfaces using command- line and graphical.
© 2002, Cisco Systems, Inc. All rights reserved..
Monitoring Dynamic IOC Installations Using the alive Record Dohn Arms Beamline Controls & Data Acquisition Group Advanced Photon Source.
Using COTS Hardware with EPICS Through LabVIEW – A Status Report EPICS Collaboration Meeting Fall 2011.
Integration of Blu-Ice into
Advanced Photon Source
Relational Database Collaboration
SCADA Communication and Architecture Principles
EPICS: Experimental Physics and Industrial Control System
ASYN based S7 PLC Driver Jignesh Patel
Presentation transcript:

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 of Energy BCDA Cross Training Love Controller Support David Kline April 4, 2005

devAsynLove: An Asyn-based device support for the Love Controller 2 Pioneering Science and Technology Office of Science U.S. Department of Energy Contents Overview, Hardware Configurations, Communication protocol, Software Architecture, -Common record initialization scenario, -Read AI record scenario, loveApp standalone application, -Initialization scenario, Reporting (dbior), MEDM screens, Distribution, Improvements, Acknowledgements,

devAsynLove: An Asyn-based device support for the Love Controller 3 Pioneering Science and Technology Office of Science U.S. Department of Energy Overview Love Controller, -Instrument to measure voltage, current, thermocouple, -Support models 1600 and 16A, -Communication is through 2-wire RS485, Device support, -Old support based on MPF, -New support based on Asyn, -The echoServer and devMPC were departure points, -Includes an interpose interface, -Standalone application is available, -IP-Octal RS232 and RS485 modules can be used, Purpose of the new device support, -Use as a learning tool for Asyn-based device support, -Migrate from the unsupported MPF to Asyn, -Appoint one as the owner of the module, -Provide OS independence,

devAsynLove: An Asyn-based device support for the Love Controller 4 Pioneering Science and Technology Office of Science U.S. Department of Energy Hardware Configuration – RS232 RS485 Love Controller Model SBS XM-Octal-IO Love Controller Model 16A 2 Love Controller Model 1600 n-1 Love Controller Model 1600 n B&B Electronics 485LDRC Converter B(+) A(-) RS485RS232 TD RD MVME5100 SBS 626 (TVME200) IP-OCTAL

devAsynLove: An Asyn-based device support for the Love Controller 5 Pioneering Science and Technology Office of Science U.S. Department of Energy MVME5100 Hardware Configuration – RS485 Love Controller Model SBS XM-Octal-IO Love Controller Model 16A 2 Love Controller Model 1600 n-1 Love Controller Model 1600 n B(+) A(-) SBS 626 (TVME200) IP-OCTAL

devAsynLove: An Asyn-based device support for the Love Controller 6 Pioneering Science and Technology Office of Science U.S. Department of Energy Communication 2-wire RS485, Master/slave protocol, command, response messages, Message format (simple), -Sent and received as ASCII hex, -Cmd: - Read: L - Write: L -Rsp: - Data: L - Err: L N How does device support know commands? -INP/OUT fields, CMD MODEL”)

devAsynLove: An Asyn-based device support for the Love Controller 7 Pioneering Science and Technology Office of Science U.S. Department of Energy Software Architecture (coarse granularity) Hardware Port Lovelink Interpose Interface Layer (interposeLovelink) Love Device Support (devAsynLove) EPICS Asyn Record Support (asynRecord) EPICS AI Record Support EPICS AO Record Support EPICS BI Record Support EPICS BO Record Support EPICS MBBI Record Support Octal IP-Module (tyGSOctal) drvAsynSerialPort

devAsynLove: An Asyn-based device support for the Love Controller 8 Pioneering Science and Technology Office of Science U.S. Department of Energy Software Architecture (fine granularity) drvAsynSerialPort asynCommon asynOctet asynOption interposeEos asynOctetBase interposeLovelink asynOctet devAsynLove MBBIBOBIAOAI asyn Port “S0”

devAsynLove: An Asyn-based device support for the Love Controller 9 Pioneering Science and Technology Office of Science U.S. Department of Energy Common record initialization scenario EPICS Record Support Love Device Support Asyn EPICS Utilities XX__init() createAsynUser() parseLink() validateParams() connectDevice() findInterface() lov__recordInit()

devAsynLove: An Asyn-based device support for the Love Controller 10 Pioneering Science and Technology Office of Science U.S. Department of Energy Read AI record scenario EPICS Record Support Love Device Support Asyn Love Interpose Interface ai_read() queueRequest() callback() preProcess() executeCommand() write() process() Love Controller write message read() read response ai_read() ioCompletion()

devAsynLove: An Asyn-based device support for the Love Controller 11 Pioneering Science and Technology Office of Science U.S. Department of Energy loveApp standalone application Sample application, New with the release (R3-0-0), Supports vxWorks and Linux, Database with PVs for each command,

devAsynLove: An Asyn-based device support for the Love Controller 12 Pioneering Science and Technology Office of Science U.S. Department of Energy loveApp Initialization Scenario Startup Cmd File Octal IP Module Asyn Port Driver Love Interpose EPICS Love Device Support Init IP carrier Init Serial Port Load database Init record inst. Init Interpose Lovelink Register record,device,driver Load database records Init IOC Config Serial Port Create device Init IP module

devAsynLove: An Asyn-based device support for the Love Controller 13 Pioneering Science and Technology Office of Science U.S. Department of Energy Reporting (dbior) General Information Item Number Controller Address Controller Model Controller Command Record Type PV Name Asyn Status Access Counter Asyn Port Name PACT State

devAsynLove: An Asyn-based device support for the Love Controller 14 Pioneering Science and Technology Office of Science U.S. Department of Energy MEDM screens

devAsynLove: An Asyn-based device support for the Love Controller 15 Pioneering Science and Technology Office of Science U.S. Department of Energy Distribution Standard directories, -Configuration, - Requires Asyn 4-2 and Ipac 2-8, -Documentation, - Controller and converter Information, - Release notes, known issues, - Wiring diagram, -Database, record instance files, -iocBoot for Linux and vxWorks (startup scripts), -MEDM displays, Contains the sources, -devAsynLove.c, -interposeLovelink.c, -devLove.cc, -loveServer.cc,

devAsynLove: An Asyn-based device support for the Love Controller 16 Pioneering Science and Technology Office of Science U.S. Department of Energy Improvements Current issues, -Cannot easily debug an individual controller, -Tight coupling between device support and model type (i.e. INP/OUT), -Device support controls the command / response processing, Solutions, -Develop a multidevice driver, -Employ different approach to reduce coupling,

devAsynLove: An Asyn-based device support for the Love Controller 17 Pioneering Science and Technology Office of Science U.S. Department of Energy Improvements – Multidevice port driver Develop a multidevice port driver, Replaces the existing interposeLovelink layer, Placed on top of drvAsynSerialPort, Creates multiple connections to an Asyn port, Allows connections to individual controllers, Monitor individual controller communication,

devAsynLove: An Asyn-based device support for the Love Controller 18 Pioneering Science and Technology Office of Science U.S. Department of Energy Improvements – Multidevice port driver drvAsynSerialPort asynCommon asynOctet asynOption interposeEos asynOctetBase asyn Port “S0” drvLove asynOctet asynOctetBase asyn Port “L0” devAsynLove AI “L0” addr=1 AO addr=1 BI addr=3 BO addr=4 MBBI addr=5 asynCommon

devAsynLove: An Asyn-based device support for the Love Controller 19 Pioneering Science and Technology Office of Science U.S. Department of Energy Improvements – Different approach Modify the information supplied to INP/OUT, Employ the drvAsynSerialPort and drvLove drivers, Implement an interpose at layer to, -Define interfaces for the specific model (i.e. love1600), -Provide a method to map the controller address to model type, -Reduces the need for conditional statements, -Introducing new model type is cleaner,

devAsynLove: An Asyn-based device support for the Love Controller 20 Pioneering Science and Technology Office of Science U.S. Department of Energy Improvements – Different approach, cont… drvAsynSerialPort asynCommon asynOctet asynOptioninterposeEos asynOctetBase asyn Port “S0” asyn Port “L0” devAsynLove interposeLove love1600love16AasynOption AI “L0” addr=1 AO addr=1 BI addr=3 BO addr=4 MBBI addr=5 asyn Port “L0” drvLove asynOctet asynOctetBase asynCommon

devAsynLove: An Asyn-based device support for the Love Controller 21 Pioneering Science and Technology Office of Science U.S. Department of Energy Acknowledgements Marty Kraimer, Ron Sluiter,

devAsynLove: An Asyn-based device support for the Love Controller 22 Pioneering Science and Technology Office of Science U.S. Department of Energy Observation …it’s all about the interfaces and the methods that implement that interface…

devAsynLove: An Asyn-based device support for the Love Controller 23 Pioneering Science and Technology Office of Science U.S. Department of Energy Thank You Cross Training Beamline Controls and Data Acquisition APS Operations Division