managed by ut-battelle for the department of energy css update matthias clausen, helge rickens, jan...

18
Managed by UT-Battelle for the Department of Energy CSS Update Matthias Clausen, Helge Rickens, Jan Hatje and more @ DESY Delphy Armstrong, Xihui Chen, Kay Kasemir, Dave Purcell @ SNS/ORNL [email protected] April 2009

Upload: brandon-dennis

Post on 13-Dec-2015

215 views

Category:

Documents


0 download

TRANSCRIPT

Managed by UT-Battellefor the Department of Energy

CSS Update

Matthias Clausen, Helge Rickens,

Jan Hatje and more @ DESY

Delphy Armstrong, Xihui Chen,

Kay Kasemir, Dave Purcell @ SNS/ORNL

[email protected]

April 2009

2 Managed by UT-Battellefor the Department of Energy

Electronic Logbook Support

1. API for creating E-Log entries (Text w/ optional image).Used by Data Browser, BEAST, PACE.

2. Implementation for SNS Oracle-based ELog.You can plug your implementation in.

3 Managed by UT-Battellefor the Department of Energy

‘PACE’: PV Adjust, Confirm, ELog

• Tool for conveniently editing several related PVs, then log the reason & change

• Spreadsheet-type GUI – Click, enter value for single PV … or …

– Select many rows, right-click, “Set Values”, enter value

4 Managed by UT-Battellefor the Department of Energy

‘PACE’… When done, “Save” prompts for ELog entry

– PV name, value, … automaticallyadded to text

– PVs only updated whenpressing ‘OK’

Planned use @ SNS:– RF Power limits

– LLRF calibration settings

– RCCS P/I/D parameters

… where viewing and editingseveral system instancesand Elog entriesare useful

manual

automatic

5 Managed by UT-Battellefor the Department of Energy

RDB Tools

Needed to view SNS RDB

Coded with pluggable implementations– Device/PV mappings

– Rack Info

– Fields of a PV

… with examples for the SNS Oracle RDB which could be replaced by plugins for your site

6 Managed by UT-Battellefor the Department of Energy

PV &Rack Utils

PVs on IOC

Which IOC has PV?

IOC Location

7 Managed by UT-Battellefor the Department of Energy

PV Fields

Shows fields of a PV, both “from File” and current– All configured fields of a PV

– Selected fields of several PVs

8 Managed by UT-Battellefor the Department of Energy

Similar DESY Tool:Kryo Namespace Browser

Search filter and creation

mask

Search filter and creation

mask View ofKryo-Name elements

View ofKryo-Name elementsSearch

resultSearch result

9 Managed by UT-Battellefor the Department of Energy

EDM Write Log

Recent EDM versions can send information about PV “writes” to external tool.

Updated “JMSSender” tool to forward EDM output into CSS JMS log– PV

– Old, new value

– User, Host

Write access can then be viewed together with e.g. alarms

Not used operationally at this time

10 Managed by UT-Battellefor the Department of Energy

SDS work at SNS

Fundamentally a greatidea

Evaluation,assembling list of issues

Adding new widgets

11 Managed by UT-Battellefor the Department of Energy

Ongoing @ DESY

SDS in operation– ~20 displays,

plus >100 translated dm2k Faceplates

– In ~Autumn, plan to use SDS exclusively

CSS-as-EPICS-IDE– IO Configurator (specific to DESY)

– Database configuration editor (generic interface)

– SNL Editor (generic)

12 Managed by UT-Battellefor the Department of Energy

IO Configurator

Tree representation of the Profibus

elements

Tree representation of the Profibus

elements

Configuration view for a

Profibus Module

Configuration view for a

Profibus Module

Slide info from Helge Rickens, DESYSlide info from Helge Rickens, DESY

13 Managed by UT-Battellefor the Department of Energy

IO Configurator

The IO Configurator has several functions.

- Creation of the Profibus Configuration in XML for the Profibus Master (EPICS IOC)

- Create and fill the Device Database

- Mapping of Documents and Devices.

- Mapping of Hardware Addresses to EPICS DEV and INP/OUT fields

Slide info from Helge Rickens, DESYSlide info from Helge Rickens, DESY

14 Managed by UT-Battellefor the Department of Energy

DCT - Database Creation Tool

Object Properties

Object Properties

Object Tree

Object Tree

Record Fields or Object ParametersRecord Fields or

Object Parameters

Project Navigator

Project Navigator

Slide info from Helge Rickens, DESYSlide info from Helge Rickens, DESY

15 Managed by UT-Battellefor the Department of Energy

DCT - Database Creation Tool Design Criteria:

1. Create hierarchical EPICS databases

2. Graphical Representation of Record Structures

1. For Documentation purpose

2. As a Design Tool

Functionality- Definition of prototypes

(Prototypes may include other prototypes as well as records)- Definition of prototype hierarchies (no limitation)- String/ Name substitution using Macro substitution on all levels- By default only fields which differ from the default are visible- Support for forward links inside prototypes- Support for DEV/ INP/ OUT filed name definition from Device

Database- Store complete model in XML (cvs support (built in Eclipse))- Save database in db format – or other persistent store (simple

interface)

Slide info from Helge Rickens, DESYSlide info from Helge Rickens, DESY

16 Managed by UT-Battellefor the Department of Energy

SNL Editor – State Notation Language

OutlineNavigatorOutline

Navigator

SNL EditorSNL

Editor

Slide info from Helge Rickens, DESYSlide info from Helge Rickens, DESY

17 Managed by UT-Battellefor the Department of Energy

SNL Editor – State Notation Language

- Syntax high lightning

- Outline to list SNL states

Planned:- Support for Compile/ Link/ Run on local machine

1. Linux; 2. …

- Graphical representation of SNL programs (State Diagram)

- Support to graphically create SNL skeletons

- Support to debug SNL programs on local machine (requires SNL changes)

Slide info from Helge Rickens, DESYSlide info from Helge Rickens, DESY

18 Managed by UT-Battellefor the Department of Energy

Summary

• A lot going on.

• Plenty room to add tools for site-specific needs

• Can be designed with site-specific code in pluggable implementations

• Appear and act in CSS, not as standalone tcl/tk/phython/… hacks