Integration with the SLC Control System LCLS Facility Advisory Committee Oct 27, 2005 Introduction Demo SLC-Aware IOC Plans for Next 12 Months SLC Apps have a separate presentation Oct 27, 2005 Integration with the SLC Control System 1 Stephanie Allison saa@slac.stanford.edu Integration with the SLC Control System SLC Alpha All High Level CAS Apps Xterm Xterm Xterm Xterm CA Gateway EPICS EPICS EPICS W/S EPICSWS W/S EPICS W/S Distributed W/S Distributed Distributed Distributed Applications Distributed Applications High Level Applications Applications Applications SLC Net over Ethernet (Data Transfer) PNet (Pulse ID / User ID) CA over Ethernet (EPICS Protocol) MPG micro CAMAC I/O P Micro E N emulator I/OC V E (SLC-aware) G T Micro emulator I/OC (SLC-aware) Fast Feedback RF reference clock Oct 27, 2005 Integration with the SLC Control System 2 Stephanie Allison saa@slac.stanford.edu Oct 27, 2005 Integration with the SLC Control System 3 Stephanie Allison saa@slac.stanford.edu SLC IOC – What It Will Do Receive SLC messages and act on them in the same way as existing SLC micros for: BPM-Like Data Acquisition (Gated ADCs) – beam synchronous Magnet-Like Control and Readback (All Controlled Devices) Maintain its part of the VMS SLC database: Receive the entire SLC database at initialization time Receive new setpoints at any time from the Alpha Send readbacks back to the Alpha on request and periodically Send setpoint changes made by external EPICS applications to the Alpha Goal – same amount of network traffic as SLC micros Oct 27, 2005 Integration with the SLC Control System 4 Stephanie Allison saa@slac.stanford.edu SLC IOC – What It Won’t Do MPS BITBUS Power Supply Control KISNET Communication Micro-to-Micro Communication via Alpha SLC-style Analog Signal Monitoring SLC-style Digital Input/Output SLC-style Error Logging (use CMLOG instead) SLC-style Klystron Interface SLC-style Video Interface SLC-style Timing Interface Direct Hardware Access (and no support for “virtual CAMAC” commands) Debugging from VMS SLC-Style Fast Feedback Interface Keep static data in the EPICS and SLC database up-to-date Oct 27, 2005 Integration with the SLC Control System 5 Stephanie Allison saa@slac.stanford.edu SLC-Aware IOC Issues Endian – VMS to/from any possible EPICS platform (no 64 bit) Memory – CPUs that support SLC-aware IOC need memory Keeping the EPICS and SLC database in-sync – 2 master problem (Magnet Control) Will need to increase max # of “micros” in the SLC control system Decision to use the PEP proxy so LCLS SLC traffic will go through the PEP network and be routed to the LCLS network Oct 27, 2005 Integration with the SLC Control System 6 Stephanie Allison saa@slac.stanford.edu SLC IOC Progress Since Apr 2005 Team: LCLS Controls: Stephanie Allison, Kristi Luchini, Consultants ESD Software: Diane Farley, Debbie Rogind, Consultants Weekly meetings and working web pages Basic Services: Executive, Message, Database, CMLOG – Done except for message passing from RTEMS IOCs to CMLOG and thread priorities Async Utilities and Periodic “Micro” Health Update – Done Tested on Production Network and Proxy, RTEMS testing done Application Services: Device Control and Readback (Magnet) – Reqts and design done, implementation in progress PNET Timing Diagnostics – Removed Gated ADC Acquisition (BPM) – Done Changes to VMS Programs – not needed Record Naming Conventions – Done PNET VME Module Implementation done, testing in-progress Oct 27, 2005 Integration with the SLC Control System 7 Stephanie Allison saa@slac.stanford.edu SLC-Aware IOC Plans for 2006 Implementation: Device Control and Readback – Nov 2005 (Debbie) Finish CMLOG interface – Jan 2006 (Stephanie) Integration testing when the following are ready: With BPMs and other GADCs (Till Straumann, Doug Murray) With MPG/PNET/EVG/EVR (Dayle Kotturi) With Power Supplies (Kristi Luchini) Add router between PEP and LCLS network – Aug 2006 Ready for first beam in Injector – Nov 2006 Update specifications Some of the EPICS interface developed for the SLC-aware IOC will also be used for fast feedback SLC-aware basic services being used for another project (micro upgrade to RTEMS or Linux PCs) Oct 27, 2005 Integration with the SLC Control System 8 Stephanie Allison saa@slac.stanford.edu