Control System Studio: Overview - EPICS · ORNL is managed by UT-Battelle for the US Department of...

22
ORNL is managed by UT-Battelle for the US Department of Energy Control System Studio: Overview Kay Kasemir, SNS/ORNL June 2014

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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: