Motor drivers for asyn motor device support Mark Rivers GeoSoilEnviroCARS, Advanced Photon Source University of Chicago.

Slides:



Advertisements
Similar presentations
C-Bus Now and in the Future
Advertisements

EPICS Collaboration Meeting, June 3, 2010 asynPortDriver C++ Base Class for asyn Port Drivers Mark Rivers University of Chicago Advanced Photon Source.
Delta Tau Coordinate Systems and PLCs at Diamond Matthew Pearson Controls Group, Diamond Light Source Overview: Delta Tau Geobrick motor controller Delta.
QuadEM: EPICS Software for Fast Electrometers for Beam Position Monitors Mark Rivers GeoSoilEnviroCARS, Advanced Photon Source University of Chicago.
17th Oct 08 Matthew Pearson - Motion Control at DLS 1 Motion Control Developments at Diamond Light Source Matthew Pearson DLS Controls Group.
RF controls for MICE Andrew Moss Sept 06. What we need A flexible easy to use solution to control the amplitude, phase and timing of the MICE RF amplifiers.
Xuan Guo Chapter 1 What is UNIX? Graham Glass and King Ables, UNIX for Programmers and Users, Third Edition, Pearson Prentice Hall, 2003 Original Notes.
INTEGRATION OF EPICS ASYN INTO NON EPICS ENVIRONMENT PRERANA KANKIYA Brookhaven National Laboratory, New York EPICS COLLABORATION MEETING, 2014.
1 Input/Output Chapter 3 TOPICS Principles of I/O hardware Principles of I/O software I/O software layers Disks Clocks Reference: Operating Systems Design.
UQC113S2 Interrupt driven IO. We have already seen the hardware support required to facilitate interrupts We will now look at the higher levels of software.
Presented By Chandra Shekar Reddy.Y 11/5/20081Computer Architecture & Design.
OSI and Architecture Independent Device Driver Jim Chen HYTEC ELECTRONICS LIMITED Spring 2013 – Diamond Light Source.
–Streamline / organize Improve readability of code Decrease code volume/line count Simplify mechanisms Improve maintainability & clarity Decrease development.
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.
I/O Tanenbaum, ch. 5 p. 329 – 427 Silberschatz, ch. 13 p
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.
What is a Protocol A set of definitions and rules defining the method by which data is transferred between two or more entities or systems. The key elements.
Micro-Mouse By Mohamad Samhat Narciso Lumbreras Hasan Almatrouk.
UART and UART Driver B. Ramamurthy.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS Feb Motor Support.
ITEC 502 컴퓨터 시스템 및 실습 Chapter 8-1: I/O Management Mi-Jung Choi DPNM Lab. Dept. of CSE, POSTECH.
Segmentation & O/S Input/Output Chapter 4 & 5 Tuesday, April 3, 2007.
Upgrade to Real Time Linux Target: A MATLAB-Based Graphical Control Environment Thesis Defense by Hai Xu CLEMSON U N I V E R S I T Y Department of Electrical.
EPICS Developments at the Australian Synchrotron DSP EPICS driver for the General Standards 16AIO analog card EPICS driver for the Galil range of motor.
Standard for a Convergent Digital Home Network for Heterogeneous Technologies Zhimeng Du 12/5/2013.
BLU-ICE and the Distributed Control System Constraints for Software Development Strategies Timothy M. McPhillips Stanford Synchrotron Radiation Laboratory.
On-the-fly scanning: Improvements in the EPICS motor and mca modules Mark Rivers University of Chicago.
Conversion to EPICS R3.14 Mark Rivers. New capabilities Progress in converting synApps/GSECARS Outstanding issues Work to be done Outline.
Windows 2000 Course Summary Computing Department, Lancaster University, UK.
Controls Group May 22-24, 2002 EPICS Collaboration PC-104 Use at JLAB Arne Freyberger.
Slide 5-1 Copyright © 2004 Pearson Education, Inc. Operating Systems: A Modern Perspective, Chapter 5.
Integrating EPICS and LabVIEW on Windows using DCOM Freddie Akeroyd ISIS Computing Group.
Slide: 1 ICEPAP ICEPAP Software Status Presented by Manuel Perez Member of BLISS group.
Welcome to the world of ARM. COURSE CONTENT Module 1: Introduction  Introduction of ARM Processors  Evolution of ARM  32 - bit Programming Module 2:
EPICS to TANGO Translator Rok Šabjan on behalf of Rok Štefanič Presented at ICALEPCS, Knoxville, October.
CEA DSM Irfu July 19th 2013-Françoise Gougnaud - Status of EPICS control for ECCTD 1 Françoise Gougnaud Irfu/SIS.
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.
Device/Driver Support for Network Based Devices EPICS Collaboration Meeting Jun, 2003.
1 1999/Ph 514: Supported Hardware EPICS Supported Hardware Ned D. Arnold APS.
1 EPICS Flow of Control: EPICS Workshop at IHEP, Beijing, August 2001 EPICS Flow of Control Marty Kraimer APS.
Stanford Linear Accelerator Center Stephanie AllisonEPICS Meeting June, Porting EtherIP to EPICS 3.14 Usage at SPEAR IOC Software Porting Notes 3.13/3.14.
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.
CSCI/CMPE 4334 Operating Systems Review: Exam 1 1.
1 Chapter 2: Operating-System Structures Services Interface provided to users & programmers –System calls (programmer access) –User level access to system.
AsynMotor: Support For Coordinated Multi-Axis Motion In EPICS Mark Rivers University of Chicago.
Diamond Motion Control Emma Shepherd & Matthew Pearson May 2011
C++ Base Class for asyn Port Drivers
Mark Rivers University of Chicago
C++ Base Class for asyn Port Drivers
Advanced Photon Source
Simple CNC machine Students: Mahmood Yunis Shadi Tahseen Hanani.
asynMotor: Support For Coordinated Multi-Axis Motion In EPICS
HAPS Controls Glen White ATF2 Software Review Workshop, LAL, June 2008
EPICS MCA and Canberra Support
Motion Control (at APS)
Human Interface Devices
C++ Base Class for asyn Port Drivers
asyn Driver Tutorial Measurement Computing 1608GX-2A0
Getting Started with EPICS Lecture Series
Outline Device Management Device Manager Design Buffering
Motor record – next generation ?
Device support for VMIVME-5565 and its usage at KEK
quadEM: New Beam Position Monitor & Electrometer Hardware and Software
Presentation transcript:

Motor drivers for asyn motor device support Mark Rivers GeoSoilEnviroCARS, Advanced Photon Source University of Chicago

GeoSoilEnviroCARS EPICS Collaboration Meeting, June 2006 Problems with existing support Complex –Device and driver support need to be written for each new controller –Interaction of common (device-independent) device and driver support vs device-dependent code is not clear One thread per controller type, not per controller –Multiple serial controllers of same type block each other I/O is driven by device support, not atomic –Conflicts if other software talks to controller simultaneously No way to have other records communicate with the driver –Can’t exploit controller-specific features that motor record does not know about Non-standard interface between device and driver support

GeoSoilEnviroCARS EPICS Collaboration Meeting, June 2006 Current Status Working drivers for Newport XPS and MM4005 controllers done at APS. Delta Tau PMAC done at Diamond. Continuing to refine the API, devMotorAsyn, drvMotorAsyn based on this experience

GeoSoilEnviroCARS EPICS Collaboration Meeting, June 2006 Newport XPS Architecture and features –Ethernet TCP/IP socket interface –Can drive steppers, DC, wide variety –Lot of auxilliary I/O. 48 bits of digital I/O, 4 A/D, 4 D/A –vxWorks on Intel internally –TCL/Tk interpreter No good device/driver support using “old” model Success in using asyn generic device support to set parameters not supported by motor record Success in using asyn generic device support to read fields with I/O Intr scanning Will be doing coordinated motion soon –Probably first outside of new API using SNL program –Then extend API to handle coordinated motion

GeoSoilEnviroCARS EPICS Collaboration Meeting, June 2006 Newport XPS – Auxilliary I/O Done on separate sockets Uses asyn generic device support Rapid polling, I/O Intr scanned record

GeoSoilEnviroCARS EPICS Collaboration Meeting, June 2006 Newport XPS Generic device support to read readback, and control jerk times Uses asynInterposeInterface for asynDrvUser interface grecord(ao,"$(P)$(R)MIN_JERK_TIME") { field(DESC,"Min jerk time") field(PREC,"3") field(VAL,".01") field(DTYP, "asynFloat64") } grecord(ao,"$(P)$(R)MAX_JERK_TIME") { field(DESC,"Max jerk time") field(PREC,"3") field(VAL,".03") field(DTYP, "asynFloat64") } grecord(ai,"$(P)$(R)READBACK") { field(DESC,"Readback") field(PREC,"4") field(DTYP, "asynFloat64") field(SCAN, "I/O Intr") }

GeoSoilEnviroCARS EPICS Collaboration Meeting, June 2006 Newport MM4005 Simpler than XPS. Serial or GPIB Converted in about 1 day Now can have EPICS interface to features motor record does not support Already have coordinated motion (“trajectory scanning”) with SPEC macros to use it Re-do this as a standard API in the future Given MM4005 support should be less than a day each to convert other serial drivers to asyn device support

GeoSoilEnviroCARS EPICS Collaboration Meeting, June 2006 Summary 2-3 times fewer lines of code 2-3 times fewer files New features and flexibility Path forward to take advantage of new controller features Plan motor record enhancements/fixes after new asyn interface matures