EPICS Collaboration Meeting, CEA, Saclay, Oct 2014 The use of EtherCAT with EPICS at Diamond Ronaldo Mercado 22/10/2014.

Slides:



Advertisements
Similar presentations
Configuring APACS & AAN Controllers
Advertisements

Fall 2014 EPICS Collaboration Meeting, Oct 2014, CEA Saclay, France © 2014, ITER Organization Page 1 Disclaimer: The views and opinions expressed.
Chapter 17 Networking Patricia Roy Manatee Community College, Venice, FL ©2008, Prentice Hall Operating Systems: Internals and Design Principles, 6/E William.
Software Frame Simulator (SFS) Technion CS Computer Communications Lab (236340) in cooperation with ECI telecom Uri Ferri & Ynon Cohen January 2007.
IDEC AUSTRALIA PTY LTD, UNIT 17, 104 FERNTREE GULLY RD, OAKLEIGH, VIC 3166 High Performance, Compact and Economical.
17th Oct 08 Matthew Pearson - Motion Control at DLS 1 Motion Control Developments at Diamond Light Source Matthew Pearson DLS Controls Group.
1 Version 3.0 Module 8 Virtual LANs. 2 Version 3.0.
Brian Martlew 25 th Sept 2006 MICE Control & Monitoring Plan Brian Martlew.
Microprogrammes control the KOMBIS TMM8003. For the reliable operation of its systems and devices there are several programs located in two controllers.
EtherCAT (Beckhoff) for advanced LIGO
EPICS on TPS RF System Yu-Hang Lin Radio Frequency Group NSRRC.
OSI and Architecture Independent Device Driver Jim Chen HYTEC ELECTRONICS LIMITED Spring 2013 – Diamond Light Source.
Building an Application Server for Home Network based on Android Platform Yi-hsien Liao Supervised by : Dr. Chao-huang Wei Department of Electrical Engineering.
GigE Knowledge. BODE, Company Profile Page: 2 Table of contents  GigE Benefits  Network Card and Jumbo Frames  Camera - IP address obtainment  Multi.
Printer Installation Ben Wu A&S IT 09/18/2007. Outline  Preparation  Local Printer Installation  Network Printer Installation  Printer Sharing  Other.
EtherCAT Driver for Remote I/O James Rowland, Ronaldo Mercado and Nick Rees.
EtherCAT Protocol Implementation Issues on an Embedded Linux Platform
A BRIEF INTRODUCTION TO FIELDBUS 4 hf NETLOGIC PLC TRADITIONAL CABLING SYSTEM TERMINAL BOARD.
NetBurner MOD 5282 Network Development Kit MCF 5282 Integrated ColdFire 32 bit Microcontoller 2 DB-9 connectors for serial I/O supports: RS-232, RS-485,
Lecture 2 TCP/IP Protocol Suite Reference: TCP/IP Protocol Suite, 4 th Edition (chapter 2) 1.
EtherCAT for Advanced LIGO
Progress Report on CGSE Control System Project Team of SJTU for AMS-02 Yang Yupu AMS JSC, Jan 8-12, 2007.
EPICS Insertion Device Control System Pete Owens EPICS Collaboration Meeting June 2003 Control System for a Helical Undulator Pete Owens Daresbury Laboratory.
Writing Your Own Custom IP Drivers for the IOC Blade 9010 By Darrell Nineham 5 Craddock.
ETHLON LonWorks Ethernet Adapter Conventional Approach SIPAI Solution ETHLON DIRECTLY REPLACES SLTA-10 OR SLTA CONNECTIONS.
GBT Interface Card for a Linux Computer Carson Teale 1.
Group 10: wvU- Secure Final Presentation 24 April, :00 P.M. ESB 801.
Internet Ethernet Token Ring Video High Speed Router Host A: Client browser: REQUEST:http//mango.ee.nogradesu.edu/c461.
Embedded TechCon Synchronizing mechatronic systems in real-time using FPGAs and Industrial Ethernet Sari Germanos
Guide to Linux Installation and Administration, 2e1 Chapter 2 Planning Your System.
Dec 8-10, 2004EPICS Collaboration Meeting – Tokai, Japan MicroIOC: A Simple Robust Platform for Integrating Devices Mark Pleško
LCLS Undulator Positioning Control System Shifu Xu, Joseph Xu, Josh Stein Control Group, AES/APS, ANL June 15, 2006.
EEC4113 Data Communication & Multimedia System Chapter 1: Introduction by Muhazam Mustapha, September 2011.
1.4 Open source implement. Open source implement Open vs. Closed Software Architecture in Linux Systems Linux Kernel Clients and Daemon Servers Interface.
Ethernet Based Embedded IOC for FEL Control Systems J. Yan, D. Sexton, Al Grippo, W. Moore, and K. Jordan ICALEPCS 2007 October 19, 2007 Knoxville Convention.
1 EPICS Linux Based IOC Support EPICS Meeting at BESSY May 2002 Marty Kraimer.
VARAN Bus Presentation 1 / 27 The VARAN BUS.
IP1 The Underlying Technologies. What is inside the Internet? Or What are the key underlying technologies that make it work so successfully? –Packet Switching.
Messages asynchronously reads or writes a block of data to another module on a network. Controller communication done using local or remote messages. local.
Integrating EPICS and LabVIEW on Windows using DCOM Freddie Akeroyd ISIS Computing Group.
ICPDAS EtherCAT Solution
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Connecting to the Network Introduction to Networking Concepts.
Networks Am I hooked up?. Networks definition sizes of networks types advantages and disadvantages how data is sent transmission media business uses.
1. EPICS IOC on CompactRIO EPICS Collaboration Meeting Fall 2011.
Networking Material taken mainly from HowStuffWorks.com.
1. LabVIEW and EPICS Workshop EPICS Collaboration Meeting Fall 2011.
1.4 Open source implement. Open source implement Open vs. Closed Software Architecture in Linux Systems Linux Kernel Clients and Daemon Servers Interface.
Connecting LabVIEW to EPICS network
Linux Operations and Administration
Computer Communication: An example What happens when I click on
Transmission Control Protocol (TCP) Internet Protocol (IP)
Device/Driver Support for Network Based Devices EPICS Collaboration Meeting Jun, 2003.
11 th February 2008Brian Martlew EPICS for MICE Status of the MICE slow control system Brian Martlew STFC, Daresbury Laboratory.
1 1999/Ph 514: Supported Hardware EPICS Supported Hardware Ned D. Arnold APS.
EPICS and LabVIEW Tony Vento, National Instruments
Instrument Control Systems Seminar 2014, 20 th -24 th October 2014 New Standards VLT Control System Mario Kiekebusch (On behalf everyone who took part.
Control System Overview J. Frederick Bartlett Fermilab June 1,1999.
Instrument Control Systems Seminar 2014, 20 th -24 th October 2014 Introduction to TwinCAT 3.1 and EtherCAT in the context of VLT Instrumentation Control.
January 2010 – GEO-ISC KickOff meeting Christian Gräf, AEI 10 m Prototype Team State-of-the-art digital control: Introducing LIGO CDS.
ESS (vacuum) control system Daniel Piso Controls Division February 20, 2013.
An Overview When Connecting to Yaskawa Drives Date: 8/14/06, Rev: PP.AFD.26.
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.
Serial / Ethernet Converter - IE-CS-2TX-XRS232/485
ICS interfaces Timo Korhonen ICS Apr 22, 2015.
Em4 Ethernet tutorial Remote connection.
EtherCAT® Configuration and Diagnosis Tool
Network Models, Hardware, Protocols and number systems
EEC4113 Data Communication & Multimedia System Chapter 1: Introduction by Muhazam Mustapha, July 2010.
Control Systems for the APTM and GRID
Presentation transcript:

EPICS Collaboration Meeting, CEA, Saclay, Oct 2014 The use of EtherCAT with EPICS at Diamond Ronaldo Mercado 22/10/2014

EPICS Collaboration Meeting, CEA, Saclay, Oct 2014 Contents EtherCAT Diamond setup –Hardware –EPICS driver Recent work and work in-progress –Screenshots from actual setup

EPICS Collaboration Meeting, CEA, Saclay, Oct 2014 Why EtherCAT? How does it work? –EtherCAT master startup of LRW cycle EtherCAT

EPICS Collaboration Meeting, CEA, Saclay, Oct 2014 Open protocol, uses standard Ethernet hardware Uses standard Ethernet cable and connectors. Can use standard switches and routers. DLS uses separate cabling - fieldbus. Available Linux open source master. Faster than most other fieldbuses. Why EtherCAT?

EPICS Collaboration Meeting, CEA, Saclay, Oct 2014 IEC (Type 12) EtherCAT frame structure

EPICS Collaboration Meeting, CEA, Saclay, Oct 2014 EtherCAT: Principle of operation Master – slave communications with a periodic scan cycle All operations in hardware, using an FPGA or an ASIC Global addressing Messages processed on the fly. One pass on the way out and on return – used for distributed clocks timing..

EPICS Collaboration Meeting, CEA, Saclay, Oct 2014 Picture by EtherCAT Technology Group

EPICS Collaboration Meeting, CEA, Saclay, Oct 2014 Configure FMMU for LRW packets Master startup

EPICS Collaboration Meeting, CEA, Saclay, Oct 2014 Contents EtherCAT Diamond setup –Hardware –EPICS driver Recent work and work in-progress –Screenshots from actual setup

EPICS Collaboration Meeting, CEA, Saclay, Oct 2014 Channel Access Clients Channel Access Clients Experimental Remote I/O TCP/IP Various networks TCP/IP Various networks 1U PC IOC PCIe EVR Timing interface panel Timing system IOC Remote I/O Network PLC Equipment Video Motion Remote IO Modules Other

EPICS Collaboration Meeting, CEA, Saclay, Oct 2014 Hardware: Master and slaves

EPICS Collaboration Meeting, CEA, Saclay, Oct 2014 IOC Remote I/O Fieldbus (EtherCAT) IOC Remote I/O Fieldbus (EtherCAT) Remote IO Modules Beamline network (TCP/IP) Beamline network (TCP/IP) View at the back of a server

EPICS Collaboration Meeting, CEA, Saclay, Oct 2014 View at the back of a Front End server IOC Remote I/O Fieldbus (EtherCAT) IOC Remote I/O Fieldbus (EtherCAT) Remote IO Modules Instrumentation Network (TCP/IP) Instrumentation Network (TCP/IP) Controls Network (TCP/IP) Controls Network (TCP/IP)

EPICS Collaboration Meeting, CEA, Saclay, Oct 2014 Contents EtherCAT Diamond setup –Hardware –EPICS driver Recent work and work in-progress –Screenshots from actual setup

EPICS Collaboration Meeting, CEA, Saclay, Oct 2014 EtherLab Master – –Open source, GPLv2 –Realtime Linux (RTAI, Preempt_RT and others) –Part of Etherlab, marketed by IgH (Germany) EtherCAT Scanner (Master)

EPICS Collaboration Meeting, CEA, Saclay, Oct 2014 Kernel module User space and kernel space API Generic and hardware specific network driver FMMU setup and slave state machine control Scan timer not provided. Using 1 KHz. 10 KHz possible. Configuration not provided Etherlab Master

EPICS Collaboration Meeting, CEA, Saclay, Oct 2014 Standard Ethernet Driver Network Stack Generic Ethernet Driver Module EtherCAT Master Module libethercat Hardware (Network Interface Card) Fieldbus Scanner EPICS IOC EPICS Records Asyn Driver KernelspacePreempt RTLinux Kernel Userspace Hardware Etherlab(Master) EPICS IOC EPICS Records Asyn Driver EPICS IOC EPICS Records Asyn Driver Diamondethercat Diamond EtherCAT Driver

EPICS Collaboration Meeting, CEA, Saclay, Oct 2014 EtherCAT integrated into EPICS. Uses – PREEMPT_RT Linux – Etherlab Ethercat Master for Linux – Asyn Scanner broadcast bus data to several Soft IOCs for segregation of areas. Automatic Asyn port creation – One port per slave – One port for master status 18 Diamond EtherCAT Driver

EPICS Collaboration Meeting, CEA, Saclay, Oct 2014 Recent work and work in progress PDO assignments SDO read/write Worst Case Response Time patch Interfacing to Beckhoff Embedded PC CX9020

EPICS Collaboration Meeting, CEA, Saclay, Oct 2014 PDO assignment in screenshots

EPICS Collaboration Meeting, CEA, Saclay, Oct 2014 SDO configuration

EPICS Collaboration Meeting, CEA, Saclay, Oct 2014 Worst Case Response Time Reduce WCRT from 3 to 2 (Damien Lynch, ANSTO)

EPICS Collaboration Meeting, CEA, Saclay, Oct 2014 Interfacing to CX9020 Work by Damien Lynch at ANSTO Adds Float64 data type

EPICS Collaboration Meeting, CEA, Saclay, Oct 2014 Thank you for listening! Thanks to: James Rowland Linda Pratt Peter Leicester Tom Cobb Ian Gillingham Andy Foster Damien Lynch (Ansto) Kevin Wilkinson Armin Wagner