14
Control System Studio (CSS) Overview Kay Kasemir, [email protected] July 2009

Control System Studio (CSS) Overview Kay Kasemir, [email protected] July 2009

Embed Size (px)

Citation preview

Control System Studio (CSS) Overview

Kay Kasemir,

[email protected]

July 2009

2 Managed by UT-Battellefor the U.S. Department of Energy

Operator’s View of CSS @ SNS

Assume there’s a new alarm…

Sort by Time,Severity, …Sort by Time,Severity, …

Select by Name, Description

Select by Name, Description

AcknowledgeAcknowledge

3 Managed by UT-Battellefor the U.S. Department of Energy

Alarm Table Data Browser1. Context menu: Alarm Duration, Guidance, Displays, …

2. Select Data Browser for PV in alarm

3. View history, annotate

4 Managed by UT-Battellefor the U.S. Department of Energy

Data Browser Electronic Logbook

After inspecting alarm PV’s history, post commented plot to E-Log

5 Managed by UT-Battellefor the U.S. Department of Energy

Plugin BJava Code,preference settings, …

Plugin BJava Code,preference settings, …

Plugin AJava Code,online help, …

Plugin AJava Code,online help, …

CSS: Applications turn into Eclipse Plug-ins• Java, i.e. runs on Linux, OS X, Windows

• Eclipse Plug-in– JARs with code, images, HTML, …

– MANIFEST: list dependencies, define what’s exported

• Extension Points– Define and document APIs

– Dynamically locate implementations

• Launcher– Native to Operating System, loads JVM

– On-demand plugin dependency loading

• Rich Client Platform (RCP)– Workbench

• Multi-document UI, File browser, Online help, Preferences, …

– Almost everything offers extension points• Menus, file type associations, views, …

Extension PointExtension Point

ImplementationImplementation

6 Managed by UT-Battellefor the U.S. Department of Energy

Support Plug-Ins

• Extension points for accessing– Live control system data– Historic (archived) data– Electronic Logbook– Authentication & Authorization details

• Implementations available for– EPICS– Channel Archiver, BEAUTY, DESY AAPI, Data Logger, Archive

Record– SNS E-Log– LDAP, Kerberous

7 Managed by UT-Battellefor the U.S. Department of Energy

Small, Generic CSS Tools

• Probe– Current value of a PV

• EPICS PV Tree– Trace PV links

• Little things–

(you can provide translations)

– Resize,Scrollbars

– Drop-downskeep previousentries

8 Managed by UT-Battellefor the U.S. Department of Energy

Data BrowserPlot ‘live’ and historic data over time

9 Managed by UT-Battellefor the U.S. Department of Energy

SNS Specific Examples

• PV; Rack Utility– Detailed configuration info for a PV; location of devices in

racks– Pluggable provider for info from e.g. site-specific RDB

10 Managed by UT-Battellefor the U.S. Department of Energy

DESY Examples

Profibus I/O Configurator SNL Editor

11 Managed by UT-Battellefor the U.S. Department of Energy

Bundling into “Product”

• Pick applications of interest– Data Browser? PACE? AMS? …

• Select/add support for your– Data sources: EPICS? Channel

Archiver?– Logbook?– Authentication, Authorization?

• Add custom “welcome” screen

12 Managed by UT-Battellefor the U.S. Department of Energy

Result is “Integrated”

• Uniform Preference GUI,searchable online help– Applications– Support Libraries

• Logging

• Control System access

• For PVs, other tools that support PVs appear in “CSS” context menu

13 Managed by UT-Battellefor the U.S. Department of Energy

Summary

• CSS = Control System Apps as Eclipse Plugins

• Not all pieces work everywhere or are production-ready– But some are better than previous EPICS GUI tools– You pick what you want, or add your own

• Good for end user– Homogeneous “Product”, common preferences,

online help, data exchange between applications

• More:– http://ics-web.sns.ornl.gov/css– http://css.desy.de– http://www.eclipse.org

14 Managed by UT-Battellefor the U.S. Department of Energy

Trivial to silly examples