Serial Support for Diamond A review of EPICS serial interface options Pete Owens Daresbury Laboratory.

Slides:



Advertisements
Similar presentations
Architecture of a shared-image electronic whiteboard in telemedicine
Advertisements

1 Recording & Reporting – A Mission Ahead. 2 System Collection of specific components I nformation System Information support in decision making Health.
RavensNest 60 Channel Intelligent Video Solution The RavensNest is an enhanced video command and control platform that transforms any centralized analog.
Chapter 13: I/O Systems I/O Hardware Application I/O Interface
1 The Leader in Industrial Data Communication Solutions Training: AB Application Interfacing.
1 Copyright © 2002 Pearson Education, Inc.. 2 Chapter 1 Introduction to Perl and CGI.
1 jNIK IT tool for electronic audit papers 17th meeting of the INTOSAI Working Group on IT Audit (WGITA) SAI POLAND (the Supreme Chamber of Control)
Tom Sugden EPCC OGSA-DAI Future Directions OGSA-DAI User's Forum GridWorld 2006, Washington DC 14 September 2006.
© 1998, Progress Software Corporation 1 Migration of a 4GL and Relational Database to Unicode Tex Texin International Product Manager.
17 Copyright © 2005, Oracle. All rights reserved. Deploying Applications by Using Java Web Start.
0 - 0.
Addition Facts
XFEL 2D Pixel Clock and Control System Train Builder Meeting, DESY 22 October 2009 Martin Postranecky, Matt Warren, Matthew Wing.
NexSentry Imaging Solutions
Overview Environment for Internet database connectivity
1 Communication in Distributed Systems REKs adaptation of Tanenbaums Distributed Systems Chapter 2.
Local Services and Swipe Card Chapter 5. Local Services and Swipe Card 5-2 Objectives Add Local Services Load Services from Other Swipe Card Systems Demo.
© 2003 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice Performance Measurements of a User-Space.
Chapter 1: Introduction to Scaling Networks
Categories of I/O Devices
Campus02.at don't stop thinking about tomorrow DI Anton Scheibelmasser Setubal ICINCO /25 Device integration into automation systems with.
Extensions to the Asyn Driver for Data Acquisition Klemen Zagar May 2 nd, 2013.
Slide 5-1 Copyright © 2004 Pearson Education, Inc. Operating Systems: A Modern Perspective, Chapter 5 5 Device Management.
Interconnection Test Framework Josef Hammer jun. Marc Magrans de Abril · Christian Hartl · Thomas Themel · Franz Mittermayr 15 June 2011.
Paul Chu FRIB Controls Group Leader (Acting) Service-Oriented Architecture for High-level Applications.
ICS 434 Advanced Database Systems
Vodafone MachineLink 3G
DB Relay An Introduction. INSPIRATION Database access is WAY TOO HARD The crux.
Addition 1’s to 20.
Test B, 100 Subtraction Facts
Week 1.
1 1999/Ph 514: Channel Access Concepts EPICS Channel Access Concepts Bob Dalesio LANL.
Nokia 30 technical specification
Chapter 14 The User View of Operating Systems
TCP/IP Protocol Suite 1 Chapter 18 Upon completion you will be able to: Remote Login: Telnet Understand how TELNET works Understand the role of NVT in.
1 XML Web Services Practical Implementations Bob Steemson Product Architect iSOFT plc.
PH4705 ET4305 Interface Standards A number of standard digital data interfaces are used in measurement systems to connect instruments and computers for.
Pete Owens MICE Controls & Monitoring Workshop 25th September 2006 MICE Control and Monitoring: General Architecture Subsystem Integration User Interface.
Brian Martlew 6 th June 2006 Controls Ground Rules Brian Martlew.
INTEGRATION OF EPICS ASYN INTO NON EPICS ENVIRONMENT PRERANA KANKIYA Brookhaven National Laboratory, New York EPICS COLLABORATION MEETING, 2014.
Professional Informatics & Quality Assurance Software Lifecycle Manager „Tools that are more a help than a hindrance”
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.
OPC and EPICS M. Clausen EPICS workshop Trieste’99 1 OPC Introduction and EPICS Perspectives Matthias Clausen.
Intelligent I/O ©2002 B&R Powerpoint_Vorlage_V61D.
EPICS Insertion Device Control System Pete Owens EPICS Collaboration Meeting June 2003 Control System for a Helical Undulator Pete Owens Daresbury Laboratory.
Berliner Elektronenspeicherringgesellschaft für Synchrotronstrahlung mbH (BESSY) Accelerator and Experiment Control and Monitor Systems Ralph Lange BESSY,
K.Vijayan : RDB for Diamond Control Systems RDB for Diamond V.Smithers & K.Vijayan June 2003.
Department of Electronic Engineering City University of Hong Kong EE3900 Computer Networks Introduction Slide 1 A Communications Model Source: generates.
Unit – I CLIENT / SERVER ARCHITECTURE. Unit Structure  Evolution of Client/Server Architecture  Client/Server Model  Characteristics of Client/Server.
Running EPICS on NI CompactRIO Initial Experience Eric Björklund (LA-UR )
ICS – Software Engineering Group 1 GeneralTime Proposal Status at SNS and Ideas for EPICS base David Thompson Sheng Peng Kay-Uwe Kasemir.
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.
Stephen Schuh Vacuum Controls SCR and 16 November 2005 Vacuum Controls System Concept Review and Preliminary Design Review.
EPICS Workshop 2003Dirk Zimoch 1 StreamDevice 2.0 A Multi-Purpose Character Driver for EPICS 3.14.
AS Computing Data Transmission and Networks. Transmission error Detecting errors in data transmission is very important for data integrity. There are.
William Stallings Data and Computer Communications
Stepper Motor Control, PLC vs VME Herb Strong, Pam Gurd Spallation Neutron Source Oak Ridge National Laboratory October 17, 2007.
18th June 2003 Diamond Vacuum System Steve Singleton 18th June 2003.
Managed by UT-Battelle for the Department of Energy SCL Vacuum Control System Upgrade Derrick Williams
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.
April 2005OLAV Workshop Diamond Vacuum Controls Hugo S Shiers.
Ornl Serial Software: A User’s View Ray Juras, ornl November 14, 2000.
Control System Overview J. Frederick Bartlett Fermilab June 1,1999.
ESS (vacuum) control system Daniel Piso Controls Division February 20, 2013.
Using COTS Hardware with EPICS Through LabVIEW – A Status Report EPICS Collaboration Meeting Fall 2011.
SNS Integrated Control System ORACLE –JERI DB Generation April 27, 2004 Coles Sibley Jeff Patton.
Introduction to Operating Systems Concepts
EPICS Controls Steve Lewis 13 December 2007
Presentation transcript:

Serial Support for Diamond A review of EPICS serial interface options Pete Owens Daresbury Laboratory

EPICS Collaboration Meeting - May 2002 Serial Support for Diamond - Pete Owens - Daresbury Laboratory 2 Serial Interfaces Sharp intake of breath!

EPICS Collaboration Meeting - May 2002 Serial Support for Diamond - Pete Owens - Daresbury Laboratory 3 Serial Interfaces Need to support serial interfaces to equipment Advantages: –Increased functionality per connection –Minimises calibration errors from Control System ADCs –Widely accepted use of RS232/422 etc –Integration of systems –Faster commissioning Disadvantages: –High processor load –Development to support vendor protocols –Asynchronous I/O –Need signals for fast logging and interlocks

EPICS Collaboration Meeting - May 2002 Serial Support for Diamond - Pete Owens - Daresbury Laboratory 4 Vacuum Equipment Test Rack MKS 937A - multi-sensor vacuum gauge system Balzers TPG pressure gauge controller Varian Dual - ion pump controller Digitel MPC - ion pump controller Mitsubishi A Series PLC - valve control

EPICS Collaboration Meeting - May 2002 Serial Support for Diamond - Pete Owens - Daresbury Laboratory 5 Vacuum Equipment Test Rack VME 64x Crate Processors: –MVME 167 & PPC 604 IP Carriers: –Hytec VICB8002 –Greenspring VIPC601 Serial Interface Card: –Greenspring IPOctal - 8 channel IP card

EPICS Collaboration Meeting - May 2002 Serial Support for Diamond - Pete Owens - Daresbury Laboratory 6 EPICS Devices devAscii - Allan Honey/Jeff Hill - KECK Stream Device - Dirk Zimoch - DELTA MPF - Mohan Ramanathan - APS ornlSerial - John Sinclair - Oak Ridge tyGSOctal - Peregrine McGehee - Hawaii

EPICS Collaboration Meeting - May 2002 Serial Support for Diamond - Pete Owens - Daresbury Laboratory 7 devAscii Allan Honey/Jeff Hill - KECK Observatory De-facto standard Format string in INP or OUT field Special records for terminators, timeout etc. ")

EPICS Collaboration Meeting - May 2002 Serial Support for Diamond - Pete Owens - Daresbury Laboratory 8 devAscii - Experience Implemented database for MKS 937A Good points –easy to use –widely used Not so good –special records Limitation –checksums or complex protocols

EPICS Collaboration Meeting - May 2002 Serial Support for Diamond - Pete Owens - Daresbury Laboratory 9 Stream Device Dirk Zimoch - DELTA – Device support for common record types. Allows to connect records to multiple hardware via arbitrary field bus architectures (CAN & GPIB supported). Bus data must appear as a stream of bytes. Protocol defined in a file.

EPICS Collaboration Meeting - May 2002 Serial Support for Diamond - Pete Owens - Daresbury Laboratory 10 Stream Device - Protocol File # Stream Device Protocol for the MKS 937A Multi-Sensor System terminator = CR; replytimeout = 1000; # milliseconds extrainput = Ignore; pressure { out "R\$1"; in "%f"; } enable { out "%{X|E}CC\$1"; in "OK"; } status { out "R\$1"; in "%{HI|A|Lo|F|H|W|L|CON|P|NOG|M|NOT|Not|C}"; }

EPICS Collaboration Meeting - May 2002 Serial Support for Diamond - Pete Owens - Daresbury Laboratory 11 Stream Device - Experience Added bus support for tty devices –modular design, good documentation Produced protocol files for: –MKS 937A, Varian dual, TPG 300 Good points –protocol files, multi-stage protocols, delays... Limitation –checksums

EPICS Collaboration Meeting - May 2002 Serial Support for Diamond - Pete Owens - Daresbury Laboratory 12 MPF (Message Passing Facility) Mohan Ramanathan - APS – Client/server design –Server side independent of EPICS, giving configuration flexibility. Support available for Digitel MPC Custom record

EPICS Collaboration Meeting - May 2002 Serial Support for Diamond - Pete Owens - Daresbury Laboratory 13 MPF - Experience Implemented support for Varian Dual Software complex to build and modify –Mods to C++ module for the server side, handling the hardware interface –Mods to C++ module for the client side, scheduling command requests –Mods to C module for custom record support –Mods to build files –Mods to include files

EPICS Collaboration Meeting - May 2002 Serial Support for Diamond - Pete Owens - Daresbury Laboratory 14 MPF - Evaluation Good points –flexibility –custom record for Digitel MPC included –well-structured software design. Bad points –development overhead for new devices –over-engineered for diamond project.

EPICS Collaboration Meeting - May 2002 Serial Support for Diamond - Pete Owens - Daresbury Laboratory 15 ornlSerial John Sinclair - Oak Ridge – Device Manager for configuration –Baud, parity, etc. Generic interface module Device specific plugin modules –Construct and parse I/O strings

EPICS Collaboration Meeting - May 2002 Serial Support for Diamond - Pete Owens - Daresbury Laboratory 16 ornlSerial - Experience Implemented plugin module for MKS 937A Added record support for standard ai & ao Coding straightforward tyGSOctal doesnt implement –ioctl (…, SIO_HW_OPTS_SET, …) Device Manager

EPICS Collaboration Meeting - May 2002 Serial Support for Diamond - Pete Owens - Daresbury Laboratory 17 ornlSerial - Evaluation Good points –Useful for complex protocols (eg. checksums needed). ORNL features –Non standard use of DISA field (warm start) –Non standard ai/ao records However –requires some programming for device-specific modules.

EPICS Collaboration Meeting - May 2002 Serial Support for Diamond - Pete Owens - Daresbury Laboratory 18 Summary All software built and worked –minor glitches 68k / PPC Where existing support exists - use it For new development we like: – stream device for most cases – ornlSerial for complex protocols/checksums

EPICS Collaboration Meeting - May 2002 Serial Support for Diamond - Pete Owens - Daresbury Laboratory 19 Possible Developments Stream Device –bus support module for device manager tyGSOctal –SIO_HW_OPTS_SET ioctl call –hot swap support ornlSerial –record support for waveform record

Serial Support for Diamond The End