BOY Training Xihui Chen, Kay Kasemir, David Purcell [email protected].
Control System Studio: Overview - EPICS · ORNL is managed by UT-Battelle for the US Department of...
Transcript of Control System Studio: Overview - EPICS · ORNL is managed by UT-Battelle for the US Department of...
![Page 1: Control System Studio: Overview - EPICS · ORNL is managed by UT-Battelle for the US Department of Energy Control System Studio: Overview Kay Kasemir, SNS/ORNL June 2014](https://reader034.fdocuments.us/reader034/viewer/2022042803/5f44fbc283e489768554bd05/html5/thumbnails/1.jpg)
ORNL is managed by UT-Battelle
for the US Department of Energy
Control System
Studio:
Overview
Kay Kasemir,
SNS/ORNL
June 2014
![Page 2: Control System Studio: Overview - EPICS · ORNL is managed by UT-Battelle for the US Department of Energy Control System Studio: Overview Kay Kasemir, SNS/ORNL June 2014](https://reader034.fdocuments.us/reader034/viewer/2022042803/5f44fbc283e489768554bd05/html5/thumbnails/2.jpg)
2
What EPICS looks like
Oracle
http://xkcd.com/730/
![Page 3: Control System Studio: Overview - EPICS · ORNL is managed by UT-Battelle for the US Department of Energy Control System Studio: Overview Kay Kasemir, SNS/ORNL June 2014](https://reader034.fdocuments.us/reader034/viewer/2022042803/5f44fbc283e489768554bd05/html5/thumbnails/3.jpg)
3
EPICS: Distributed System
Servers Clients
IOC
IOC
IOC
User Interface
Archive
Alarm Handler
![Page 4: Control System Studio: Overview - EPICS · ORNL is managed by UT-Battelle for the US Department of Energy Control System Studio: Overview Kay Kasemir, SNS/ORNL June 2014](https://reader034.fdocuments.us/reader034/viewer/2022042803/5f44fbc283e489768554bd05/html5/thumbnails/4.jpg)
4
Over the years
Since ~1990:
record(ai, “my_record”)
{
field(DTYP, “MyDevice”)
field(INP , “@channel2”)
field(SCAN, “1 second”)
...
More supported platforms: vxWorks, RTEMS, Linux, OS X, Windows, .. 68000, Intel, PPC, Arm, ..
IOC User Interface
1. edd/dm 198x
2. medm 199x
3. edm 200x
4. CS-Studio 201x
Also: tcl/tk/ca, python/qt/ca, ..
Limited upward-compatibility.
![Page 5: Control System Studio: Overview - EPICS · ORNL is managed by UT-Battelle for the US Department of Energy Control System Studio: Overview Kay Kasemir, SNS/ORNL June 2014](https://reader034.fdocuments.us/reader034/viewer/2022042803/5f44fbc283e489768554bd05/html5/thumbnails/5.jpg)
5
Control System (CS) Studio
User Interface tools
– Display editor & runtime
– Strip Chart
– Channel Access utilities
Also
– Archive system
– Alarm Handler
– Site-Specific support for logbook, IOC and channel information, ..
.. combined into an integrated, site-specific user-interface tool for Windows, Linux, OS X
![Page 6: Control System Studio: Overview - EPICS · ORNL is managed by UT-Battelle for the US Department of Energy Control System Studio: Overview Kay Kasemir, SNS/ORNL June 2014](https://reader034.fdocuments.us/reader034/viewer/2022042803/5f44fbc283e489768554bd05/html5/thumbnails/6.jpg)
6
What does CS-Studio look like?
![Page 7: Control System Studio: Overview - EPICS · ORNL is managed by UT-Battelle for the US Department of Energy Control System Studio: Overview Kay Kasemir, SNS/ORNL June 2014](https://reader034.fdocuments.us/reader034/viewer/2022042803/5f44fbc283e489768554bd05/html5/thumbnails/7.jpg)
7
Australian Square-Kilometer Array
Pathfinder (ASKAP)
Oct. 2012, Juan Guzman, http://www.aps.anl.gov/epics/tech-talk/2012/msg02113.php
![Page 8: Control System Studio: Overview - EPICS · ORNL is managed by UT-Battelle for the US Department of Energy Control System Studio: Overview Kay Kasemir, SNS/ORNL June 2014](https://reader034.fdocuments.us/reader034/viewer/2022042803/5f44fbc283e489768554bd05/html5/thumbnails/8.jpg)
8
ITER ITER-FPSC-vBetaVersionPanelsOPI-UserManual.doc, Nadine Utzel, 2011
![Page 9: Control System Studio: Overview - EPICS · ORNL is managed by UT-Battelle for the US Department of Energy Control System Studio: Overview Kay Kasemir, SNS/ORNL June 2014](https://reader034.fdocuments.us/reader034/viewer/2022042803/5f44fbc283e489768554bd05/html5/thumbnails/9.jpg)
9
ORNL ‘CG-1D’ Beam Line
Neutron Tomography, EPICS/CSS since Jan. 2013
![Page 10: Control System Studio: Overview - EPICS · ORNL is managed by UT-Battelle for the US Department of Energy Control System Studio: Overview Kay Kasemir, SNS/ORNL June 2014](https://reader034.fdocuments.us/reader034/viewer/2022042803/5f44fbc283e489768554bd05/html5/thumbnails/10.jpg)
10
ORNL SNS ‘VULCAN’ Beam Line
Engineering Diffractometer, EPICS/CSS since March 2014
![Page 11: Control System Studio: Overview - EPICS · ORNL is managed by UT-Battelle for the US Department of Energy Control System Studio: Overview Kay Kasemir, SNS/ORNL June 2014](https://reader034.fdocuments.us/reader034/viewer/2022042803/5f44fbc283e489768554bd05/html5/thumbnails/11.jpg)
11
BNL NSLS2
Kunal Shroff, May 2014
![Page 12: Control System Studio: Overview - EPICS · ORNL is managed by UT-Battelle for the US Department of Energy Control System Studio: Overview Kay Kasemir, SNS/ORNL June 2014](https://reader034.fdocuments.us/reader034/viewer/2022042803/5f44fbc283e489768554bd05/html5/thumbnails/12.jpg)
12
Airplane Simulator/Test
Somewhere in China …
![Page 13: Control System Studio: Overview - EPICS · ORNL is managed by UT-Battelle for the US Department of Energy Control System Studio: Overview Kay Kasemir, SNS/ORNL June 2014](https://reader034.fdocuments.us/reader034/viewer/2022042803/5f44fbc283e489768554bd05/html5/thumbnails/13.jpg)
13
What is CS-Studio?
![Page 14: Control System Studio: Overview - EPICS · ORNL is managed by UT-Battelle for the US Department of Energy Control System Studio: Overview Kay Kasemir, SNS/ORNL June 2014](https://reader034.fdocuments.us/reader034/viewer/2022042803/5f44fbc283e489768554bd05/html5/thumbnails/14.jpg)
14
CS-Studio Components
Common Use
• BOY Display Builder
• Data Browser
• Probe
• PV Table
• EPICS PV Tree
• Channel Access
• PV Autocomplete from History
Selected Use •Alarm System
•Channel Archiver, RDB
Archiver, Archive Appliance
•ChannelFinder
•Olog, SNS ELog
•DDS, EPICS V4 PVA
•Autocomplete from Channel
Finder, SNS PV database,
Archive
•Scan Server
•SNS MPS Bypass Table
•Therapist, Clock, …
Not all components are “visible”!
![Page 15: Control System Studio: Overview - EPICS · ORNL is managed by UT-Battelle for the US Department of Energy Control System Studio: Overview Kay Kasemir, SNS/ORNL June 2014](https://reader034.fdocuments.us/reader034/viewer/2022042803/5f44fbc283e489768554bd05/html5/thumbnails/15.jpg)
15
Technically…
• CS-Studio is an “Eclipse RCP” application
– Rich Client Platform
• Eclipse RCP is based on Java
– Windows, Linux, OS-X
• CS-Studio components are “Eclipse Plugins”
– Fundamentally, supports install/uninstall
![Page 16: Control System Studio: Overview - EPICS · ORNL is managed by UT-Battelle for the US Department of Energy Control System Studio: Overview Kay Kasemir, SNS/ORNL June 2014](https://reader034.fdocuments.us/reader034/viewer/2022042803/5f44fbc283e489768554bd05/html5/thumbnails/16.jpg)
16
Integration: Alarm…
Context-Menu
Complete Alarm Perspective: Tree view, Table of current alarms
![Page 17: Control System Studio: Overview - EPICS · ORNL is managed by UT-Battelle for the US Department of Energy Control System Studio: Overview Kay Kasemir, SNS/ORNL June 2014](https://reader034.fdocuments.us/reader034/viewer/2022042803/5f44fbc283e489768554bd05/html5/thumbnails/17.jpg)
17
Integration: Alarm…
![Page 18: Control System Studio: Overview - EPICS · ORNL is managed by UT-Battelle for the US Department of Energy Control System Studio: Overview Kay Kasemir, SNS/ORNL June 2014](https://reader034.fdocuments.us/reader034/viewer/2022042803/5f44fbc283e489768554bd05/html5/thumbnails/18.jpg)
18
Integration: Alarm…
![Page 19: Control System Studio: Overview - EPICS · ORNL is managed by UT-Battelle for the US Department of Energy Control System Studio: Overview Kay Kasemir, SNS/ORNL June 2014](https://reader034.fdocuments.us/reader034/viewer/2022042803/5f44fbc283e489768554bd05/html5/thumbnails/19.jpg)
19
Integration: Alarm…
![Page 20: Control System Studio: Overview - EPICS · ORNL is managed by UT-Battelle for the US Department of Energy Control System Studio: Overview Kay Kasemir, SNS/ORNL June 2014](https://reader034.fdocuments.us/reader034/viewer/2022042803/5f44fbc283e489768554bd05/html5/thumbnails/20.jpg)
20
Integration: Channel Finder
“All 6- and 4- pole magnets in cell 1..”
Kunal Shroff, 2013 San Francisco EPICS Meeting
![Page 21: Control System Studio: Overview - EPICS · ORNL is managed by UT-Battelle for the US Department of Energy Control System Studio: Overview Kay Kasemir, SNS/ORNL June 2014](https://reader034.fdocuments.us/reader034/viewer/2022042803/5f44fbc283e489768554bd05/html5/thumbnails/21.jpg)
21
Integration: Plot for Channel Finder Query
“All PVs that match ‘V*..’”
Kunal Shroff, 2013 San Francisco EPICS Meeting
![Page 22: Control System Studio: Overview - EPICS · ORNL is managed by UT-Battelle for the US Department of Energy Control System Studio: Overview Kay Kasemir, SNS/ORNL June 2014](https://reader034.fdocuments.us/reader034/viewer/2022042803/5f44fbc283e489768554bd05/html5/thumbnails/22.jpg)
22
CS-Studio
is a collection of components. Many of them. Confusing to get started as a developer/integrator.
To end user: One tool, integrated Workflow
– Alarm display
– BOY Displays (Channel Access)
– Data Browser (with RDB Archive)
– Logbook (SNS Elog)
Result: