slc-aware ioc magnet functional requirements

13
K. Luchini SLC-Aware IOC Review [email protected]. edu June 3, 2005 SLC-Aware IOC Magnet Functional Requirements Introduction Magnet Functions IOC Status - CSTR.MAGF Data Flow Database Displays Alpha Applications EPICS CA Clients Diagnostics Loose Ends

Upload: maddox

Post on 12-Jan-2016

39 views

Category:

Documents


1 download

DESCRIPTION

SLC-Aware IOC Magnet Functional Requirements. Introduction Magnet Functions IOC Status - CSTR.MAGF Data Flow Database Displays Alpha Applications EPICS CA Clients Diagnostics Loose Ends. Introduction. Alpha and IOC magnet software What will not be supported - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: SLC-Aware IOC Magnet Functional Requirements

K. Luchini

SLC-Aware IOC Review [email protected]

June 3, 2005

SLC-Aware IOC Magnet Functional Requirements

IntroductionMagnet FunctionsIOC Status - CSTR.MAGFData Flow DatabaseDisplaysAlpha ApplicationsEPICS CA ClientsDiagnosticsLoose Ends

Page 2: SLC-Aware IOC Magnet Functional Requirements

K. Luchini

SLC-Aware IOC Review [email protected]

June 3, 2005

Introduction

Alpha and IOC magnet softwareWhat will not be supportedWhat will be supported Db naming conventions

SLC) LGPS.LX23.1EPICS) LX23:LGPS:1:<secn>

Page 3: SLC-Aware IOC Magnet Functional Requirements

K. Luchini

SLC-Aware IOC Review [email protected]

June 3, 2005

Magnet Functions

Alpha Functions Degauss

PS On/off – Must support more than LGPS prims

Diagnostic Knobs (Not Supported)

Module I/O access (Not Supported)

Page 4: SLC-Aware IOC Magnet Functional Requirements

K. Luchini

SLC-Aware IOC Review [email protected]

June 3, 2005

Micro Functions

Calibrate - MGNT_CALB

Diagnostic Calibrate - MGNT_DCAL

Standardize - MGNT_STDZ

Perturb - MGNT_PTRB

Zero - MGNT_ZERO

Check - MGNT_CHCK

Reset - MGNT_RSET (Not Supported)

Touchup - MGNT_TOUC

Trim - - MGNT_TRIM

Dumb DAC output – MGNT_DAOC

IACT to IDES – MGNT__ACT

Page 5: SLC-Aware IOC Magnet Functional Requirements

K. Luchini

SLC-Aware IOC Review [email protected]

June 3, 2005

CSTR MAGF

Update the CSTR secondary MAGF for function code from the VAX and don’t have the terse flag set.

MGNT_STDZ

MGNT_CALB

MGNT_DCAL

MGNT_TRIM

Page 6: SLC-Aware IOC Magnet Functional Requirements

Block Diagram

Page 7: SLC-Aware IOC Magnet Functional Requirements

Proxy

Alpha

slcExec

msgSend msgRecv

msgHdlr

Slc DatabasecstrAsync

bpmHdlr

mgntHdlr

mgntAsync

Epics database

Epics Land

dbSenddbRecv

dbHdlr

dbCtl

Msg service

DB service

Db CtlChannel access

mgntMonitorS3

mgntMonitorS2

mgntMonitorS1

Page 8: SLC-Aware IOC Magnet Functional Requirements

K. Luchini

SLC-Aware IOC Review [email protected]

June 3, 2005

Database

SLC DB units required if using Alpha high level applicationsDouble duty magnets, special considerationsLTU, Dump and Undulator magnets will NOT be in the SLC DBUndulator magnets and magnet movers will not be controllable via EPICS or SLCPhase 1, no control of old SLC magnets from EPICSEPICS is the master DB when we have both SLC DB units and EPICS PV’s for the same magnet device.Save/Restore will be done on the EPICS DB and new values pushed to the SLC DB (supertype 2 and 3) at boot.

Page 9: SLC-Aware IOC Magnet Functional Requirements

K. Luchini

SLC-Aware IOC Review [email protected]

June 3, 2005

Displays

Look and Feel for phases I Status color code maintained HSTA , STAT and STAT2

SCP Panel DisplaysInjectorLinac – sectors 21-30BSY (use existing panel)LTU & Dump

EPICS EDM DisplaysWill not be able to control SLC magnets on day 1 from and EPICS displayControl and Monitor equivalent displays (Inj,Linac,BSY,LTU,Dump)Interlock displays – more information avail not passed up to SLC DB

Page 10: SLC-Aware IOC Magnet Functional Requirements

K. Luchini

SLC-Aware IOC Review [email protected]

June 3, 2005

Alpha Applications

Access New verbs

DegaussTurn On/Off PS functionalityHandle generic CA requests w/ status return from COM files or scriptsProbeError LoggingGold and Configuration filesHistory and Correlation PlotsAllow analog (e.g. BDES) changes in SLC via channel access DIMAD and Modeling Applications

LEMSteeringChromaticity

Page 11: SLC-Aware IOC Magnet Functional Requirements

K. Luchini

SLC-Aware IOC Review [email protected]

June 3, 2005

EPICS Channel Access Clients

Channel ArchiverEDM DisplaysXML – still a question but not in phase ISave/RestoreChannel WatcherAlarm HandlerStrip ChartsCMLOGEDMMatlab

Page 12: SLC-Aware IOC Magnet Functional Requirements

K. Luchini

SLC-Aware IOC Review [email protected]

June 3, 2005

Diagnostics

Keep total number of units

Keep total number of units by primary

Keep error counts for unit function failures

Keep number of control functions performed on a unit in the last hour,8hours and 24 hours

Page 13: SLC-Aware IOC Magnet Functional Requirements

K. Luchini

SLC-Aware IOC Review [email protected]

June 3, 2005

Loose Ends

Unknown extent of modeling application changesRequirement of 15 minute switch over from LCLS mode to SLC mode and if any SLC db changes need to run LCLS will require ipl of any the Linac Micros.Streamline DB work especially for those magnets defined in both SLC and EPICSWhat to do short of reboot when the SLC and EPICS DB’s get out of sync.How to control DB edits and EPICS DB edits, and make sure that changes in one DB is reflected in anotherSave/restore files. Must save at least the last few versions in case the last version or two has been corrupted as the EPICS db is the master and data will be passed back up to the SCP. No local control of the PSI magnet ps controllers. Is this a safety issue and can it be addressed?