Top Banner
Control System Studio (CSS) Kunal Shroff EPICS Training Meeting 07/10/2010
20

Control System Studio (CSS) Kunal Shroff EPICS Training Meeting 07/10/2010.

Dec 26, 2015

Download

Documents

Prosper Bennett
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Control System Studio (CSS) Kunal Shroff EPICS Training Meeting 07/10/2010.

Control System Studio (CSS)

Kunal ShroffEPICS Training Meeting

07/10/2010

Page 2: Control System Studio (CSS) Kunal Shroff EPICS Training Meeting 07/10/2010.

CSS: Introduction

• CSS is a common platform for new control system applications

• CSS software is built on top of the Eclipse Rich Client Platform

• Provides developers with management infrastructure and a centralised connection to external data sources.

Page 3: Control System Studio (CSS) Kunal Shroff EPICS Training Meeting 07/10/2010.

CSS: installation

• Step 1.o Download css product based on your OS, site,

requirement…o http://cs-studio.sourceforge.net/

• Step 2.o Unzip

Page 4: Control System Studio (CSS) Kunal Shroff EPICS Training Meeting 07/10/2010.

CSS: installation

• Why are there multiple CSS product’s ?o Site specific product

Set of applications Configurations

• Wikio http://sourceforge.net/apps/trac/cs-studio

Page 5: Control System Studio (CSS) Kunal Shroff EPICS Training Meeting 07/10/2010.

CSS: Workspace

• Stores configuration fileso CSS core pluginso CSS applications/tools

• One workspace each instance of CSS• Project and files can be shared between various

instances• Training workspace

o http://www.bnl.gov/epics/ → Agenda

Page 6: Control System Studio (CSS) Kunal Shroff EPICS Training Meeting 07/10/2010.

CSS:Perspectives

• Editor• view

• view

• view

Page 7: Control System Studio (CSS) Kunal Shroff EPICS Training Meeting 07/10/2010.

CSS: Help

• Help->help contents• Search• Browse

Page 8: Control System Studio (CSS) Kunal Shroff EPICS Training Meeting 07/10/2010.

CSS: Probe

• CSS→Diagnostic Tools →Probe

• basic reading and writing of Process Variables (PVs). o Cageto Caputo Camonitor

Page 9: Control System Studio (CSS) Kunal Shroff EPICS Training Meeting 07/10/2010.

CSS: EPICS PVtree

• Displays the hierarchical data flow between EPICS records.

• displayso record typeso alarm servertity

Page 10: Control System Studio (CSS) Kunal Shroff EPICS Training Meeting 07/10/2010.

CSS: Best OPI Yet (BOY)

• BOY is an Operator Interface (OPI) development and runtime environment.

• Developed at SNS by Kay Kasemir & Xihui Chen• BOY is integrated in CSS• Runtime

o Web-Browser like navigationo Scalable

• Editoro Easy to useo Simplified Dynamic support (rules)

Page 11: Control System Studio (CSS) Kunal Shroff EPICS Training Meeting 07/10/2010.

CSS: BOY Editor PerspectiveCSS → Display → OPI Perspective

Page 12: Control System Studio (CSS) Kunal Shroff EPICS Training Meeting 07/10/2010.

CSS: BOY Runtime Perspective

Page 13: Control System Studio (CSS) Kunal Shroff EPICS Training Meeting 07/10/2010.

CSS: BOY Widgets

• Graphics: The graphics widgets can help you decorate your OPI. (Image, arc, rectangle)

• Monitors: The widgets that can graphically display the value of PV in various ways. (Text update, meter)

• Controls: The widgets by which you can make control operations directly. (action button, text input)

• Others: The other widgets which is not in the three major categories. (web Browser, linked container)

Page 14: Control System Studio (CSS) Kunal Shroff EPICS Training Meeting 07/10/2010.

CSS: BOY getting started

• Create a simple OPI with Text Update widget using a simulated pv (sim://noise)

• sim:// Simulated PVs can have these formats: sim://noise

generates simulated noise from -5 to 5, updating once every second.

sim://noise(-10, 10, 0.2)generates simulated noise from -10 to 10, updating every 0.2 seconds.

sim://sine(0, 10, 20, 0.5)generates a simulated sine wave signal valued 0 to 10, split into 20 updates, updating every 0.5 seconds. A full period takes 20 updates, i.e. 5 seconds in this example.

sim://ramp(0, 10, 0.1, 0.5)generates a ramp (saw-tooth) valued 0 to 10, stepping 0.1 every 0.5 seconds.

Page 15: Control System Studio (CSS) Kunal Shroff EPICS Training Meeting 07/10/2010.

CSS: BOY getting started

• Connect to the ${P}:count

• Use Text Input widget to change o Set size (INPB)o Function (CALC)

• Add a menu button to change SCAN rate• Add action to reset the count

Page 16: Control System Studio (CSS) Kunal Shroff EPICS Training Meeting 07/10/2010.

CSS: BOY getting started

• XY chart widget o Scalar and waveform recordso line chart, scatter chart, bar chart, step chart, area chart... o Abundant interactive operationso Configure properties during runningo log scale, date time format

• Use the XY chart to monitor the Gaussian waveformo Set PV Name to ${P}:histo Uncheck concatenate under the trace properties

Page 17: Control System Studio (CSS) Kunal Shroff EPICS Training Meeting 07/10/2010.

CSS: BOY is that it?

• Dozens of widget• Actions, rules and script framework to support

dynamic operations• Integrated with the CSS tools• Extensible with custom widgets

Page 18: Control System Studio (CSS) Kunal Shroff EPICS Training Meeting 07/10/2010.

CSS: BOY Self-Training Resources

• BOY Homepageo http://sourceforge.net/apps/trac/cs-studio/wiki/BOY

• Exampleso CSS->Display->Install OPI Examples

• Helpo Help->help Contents

Page 19: Control System Studio (CSS) Kunal Shroff EPICS Training Meeting 07/10/2010.

CSS: If you liked this you might like

• Thursday 14 October 2010o CSS overview & updateo BOY (OPI)o BEAST (Alarm System)o Channelfinder Viewer

Page 20: Control System Studio (CSS) Kunal Shroff EPICS Training Meeting 07/10/2010.

Questions