SLC-Aware IOC Status - 09/23/05: (1) Updated Task Lists: Done Tasks Who When ------------------------------------------ --------------- ---------- * BSAC buffered acquisition Debbie, Diane Sep 20 * BSAC async update, RTEMS testing Diane, Debbie Sep 23 * CSTR/ASYNC review and regression test Steph Sep 22 * Wrong IPL time when not booted from SCP Steph Sep 22 Major Tasks Who When ------------------------------------------ --------------- ---------- * Prototype EPICS PSC slow controls Kristi Oct 7? * Magnet SLC design Debbie Oct 7? * Production SLC IOC test with PX00 Steph, Terri Oct 7 * Magnet EPICS/SLC design review Kristi/Debbie Oct 10 * Magnet SLC code Debbie/Diane Oct 28 * Continue magnet/PSC EPICS Kristi Oct 28 * Fast correctors - EPICS and SLC K,D,S Nov * Change iocLogServer for CMLOG Steph Oct * ESD - IOC naming and restrictions Steph Oct * ICD - EVR,BPM,GADCs,FBCK All Oct * SLC IOC test with PNET D,D,S,Dayle Oct * BSAC integration test with EVR D,D,S,Dayle Oct? * BSAC integration test with ADC D,D,S,Till Oct? * SLC database for injector Kristi,Nancy Nov * LCLS SLC modelling database setup, etc Mark Woodley Next year Loose End Tasks Who When ------------------------------------------ -------------- ----------- * iocsh dbupdate ALL* bug Debbie Sep 30 * dbSend infinite loop bug when DBEX sick Debbie Sep 30 * Change dblist header for FECC Debbie Sep 30 * slcExec to check CSTR CDSC bit for FECC Diane Sep 30 * Finish large msg replies for BSAC Debbie,Diane Sep 30 * Problem with DB download & 360hz intr's Debbie,Diane Sep 30 * Update VDCT/database standards Steph Oct * Thread priorities Steph Oct * Change "BSAC" back to "BPM" on SCP Steph Oct * Timing of 10 sec update not right Steph Oct * LCLS channel archiver Sergei Oct * LCLS channel watcher, setpoint restore Kristi Oct * slcCmlog change to honor stop flag Steph Oct * Add how-to-add-an-slc-aware-ioc Steph Oct * slcCmlog error metering Steph Oct * Pulse ID in SCP correlation plots MikeZ Oct? * Check if regional beam codes affects BSAC Steph Oct * Update specs All As needed * Update record naming conventions All As needed TBD: * Increase max number of micros * Second production proxy? * Production "domain" split * MCC CA server change for controlling CAMAC power supplies (need estimate) (2) Work Division for Magnet/Power-Supply Implementation: (0) Steph, Kristi, Debbie, Diane: We need a few white-board sessions to put together a picture of how data flows from the mgntHdlr task to EPICS and from EPICS back to mgntHdlr. We need an idea of what EPICS records will be available to set and what we need to monitor and poll. We need to go through the sequence-of-events for a specific request function like a trim and come up with a timeline of when actions are performed (like was done for BSAC). We need to think about what happens when control PVs are changed by either EPICS or SLC. We need an idea of when the task waits on one queue and when it waits on the other queue. This picture (actually pictures plural) need to be developed before coding starts. (1) Kristi: Start prototyping the EPICS side. Since we'll be sharing the software for the UDP PS controller with SPEAR for the large power supplies, suggest the first EPICS project: (a) Copy the SPEAR PSC application over to LCLS and build it for LCLS: IOC app: /afs/slac/g/spear/epics/app/spear/PSCApp Displays: /afs/slac/g/spear/epics/edm/display/diagnostics/bitbus*.edl This app currently has skeleton device/driver support for the UDP interface since Clemens hasn't started coding yet. Remove the MCOR, bitbus, and TSP support from this app so it's just the etherPSC stuff. (b) Change the databases (db's, template's) and displays to use LCLS naming conventions and standard macros. Rename display and database files as needed. Instantiate records for our test SLC-aware PSCs that we can load on XL01 to XL05. Run the app and see that all PVs connect, etc. Maybe change the records to use soft support for now (so we can run a simulator until we have hardware). (c) Examine the sequence that comes with this software (psControl.st). This sequence takes care of standardizing and ramp-off of the power supply. It was developed with SPEAR requirements in mind. Will it work for LCLS too? Check the logic in this sequence and compare it with the standardization logic in SLC. If you decide to keep the sequence, make changes as needed. Perhaps this sequence should do other control functions too. Note that this package comes with "control" PVs to start standardization and ramp-off. When the sequence is done, it'll reset PVs that other apps (one of which being SLC) can monitor to know when the control is finished. Also, while the PSC is busy, it sets a "ramping" PV (aka "I'm busy"). (d) Based on the prototype, prepare design spec for EPICS control of slow-control power supplies/magnets. The design spec should have vdct db pictures and a state-transition-diagram for the sequence. Also, a record listing would be nice or pictures of the diagnostic EPICS displays. Do a joint design review with Debbie. Time Estimate: a few weeks. (2) Debbie: (a) Become familiar with the SLC request and reply messages for the magnet job. Examine the function codes that we plan to support. Read Kristi's magnet functional requirements. (b) Find the SCP buttons that send messages for these function codes. Get Joan Paz to put together some development SCP panels for out test SLC-aware magnets. (c) Put together a prototype mgntHdlr that parses the request message, pretends to set EPICS PVs, waits a few seconds, and replies with a good status. (d) Once the white board sessions are done, document the picture, add detail, and write up a design spec. Have a joint design review with Kristi. Time Estimate: a few weeks, once BSAC loose ends and FECC work is finished. (3) Diane: Once the design is done, help Debbie develop the CA monitor callbacks and queue management . Also, think about the best way to keep the EPICS and SLC database in-sync based on your experience with BSAC. (4) Steph: (a) Help where needed (EPICS or SLC). Get rid of anything slowing us done. (b) Schedule white-board sessions as soon as vacation is over.