B4C changes (T. Smith, J. Turner) --------------------------------- Truth table B4C Protection of ST1/ST2: set to inactivve Truth table B4C Position: Change to allow full rate if either IN or OUT, zero rate if MOVING/BROKEN. (Previously allowed full rate for OUT, any other state caused zero rate.) CXI changes (A. Wallace, S. Boutet) ----------------------------------- CXI CS-PAD 1 Detector Damage Fault CXI CS-PAD 2 Detector Damage Fault Cleanup ------- -For several truth tables not related to the laser heater shutter, the LHS mitigation rate was incorrectly set to some rate instead of being Ignore. Changes these to Ignore -For BSY RTD temperature summaries, change truth table names to be clearer. [sonya@lcls-dev2 algorithm]$ sdiff -bs 2014-03-31-a/doc/MPSLogicDocumentation.txt 2014-05-13-a/doc/MPSLogicDocumentation.txt .. title:: MPS Logic 2014-03-31-a | .. title:: MPS Logic 2014-05-13-a Temperature: RTD BSYA PAST SL10 Summary | Temperature RTD Summary: A-line Past SL10 --------------------------------------- | ----------------------------------------- Temperature: A-Line Summary Before SL10 | Temperature RTD Summary: A-Line Before SL10 --------------------------------------- | ------------------------------------------- Temperature:BSY RTD Past D2 Sum | Temperature RTD Summary: BSY Common Line Past D2 ------------------------------- | ------------------------------------------------ Moving F F 0 Hz 0 Hz | Moving F F 0 Hz 0 Hz Out F T 120 Hz 120 Hz | Out F T 120 Hz 120 Hz In T F 10 Hz 10 Hz | In T F 10 Hz 10 Hz Broken T T 0 Hz 0 Hz | Broken T T 0 Hz 0 Hz ======= = ==================== ==================== ========= | ====== = = ==================== ==================== ======== Name A Pockels Cell Mechanical Shutter BY | Name B A Pockels Cell Mechanical Shutter B ======= = ==================== ==================== ========= | ====== = = ==================== ==================== ======== NOT_OUT F 0 Hz 0 Hz | Moving F F 0 Hz 0 Hz OUT T 120 Hz 120 Hz | Out F T 120 Hz 120 Hz ======= = ==================== ==================== ========= | In T F 120 Hz 120 Hz > Broken T T 0 Hz 0 Hz > ====== = = ==================== ==================== ======== > B = YAG_DMP1_500_FLT2_IN_POSITION Moving F F 0 Hz 0 Hz | Moving F F 0 Hz 0 Hz Out F T 120 Hz 120 Hz | Out F T 120 Hz 120 Hz In T F 0 Hz 0 Hz | In T F 0 Hz 0 Hz Broken T T 0 Hz 0 Hz | Broken T T 0 Hz 0 Hz CXI CS-PAD 1 Detector Damage Fault < ---------------------------------- < ======== = ==================== ==================== ======== < Name A Pockels Cell Mechanical Shutter B < ======== = ==================== ==================== ======== < Fault F 0 Hz 0 Hz < No Fault T 120 Hz 120 Hz < ======== = ==================== ==================== ======== < < Where:: < < A = CXI_DET_01_MPSFAULT_STATUS < < < CXI CS-PAD 2 Detector Damage Fault < ---------------------------------- < ======== = ==================== ==================== ======== < Name A Pockels Cell Mechanical Shutter B < ======== = ==================== ==================== ======== < Fault F 0 Hz 0 Hz < No Fault T 120 Hz 120 Hz < ======== = ==================== ==================== ======== < < Where:: < < A = CXI_DET_02_MPSFAULT_STATUS < < < Moving F F 0 Hz 0 Hz | Moving F F 0 Hz 0 Hz In F T 120 Hz 120 Hz | In F T 120 Hz 120 Hz Out T F 120 Hz 120 Hz | Out T F 120 Hz 120 Hz Broken T T 0 Hz 0 Hz | Broken T T 0 Hz 0 Hz B4C Protection of ST1/ST2 < ------------------------- < =========== = = ==================== ==================== === < Name B A Pockels Cell Mechanical Shutter < =========== = = ==================== ==================== === < Unprotected F F 0 Hz 0 Hz < OK F T 120 Hz 120 Hz < Protected T F 120 Hz 120 Hz < OK T T 120 Hz 120 Hz < =========== = = ==================== ==================== === < < Where:: < < A = STPR_FEE1_1_ST1ST2OUT_POSITION < B = YAG_DMP1_500_FLT2_IN_POSITION < < < Temperature: Common Line Summary | Temperature RTD Summary: BSY Common Line Before D2 -------------------------------- | -------------------------------------------------- Temperature: North Arc Summary | Temperature RTD Summary: North Arc ------------------------------ | ---------------------------------- ====================================================================================== Date: Thu, 22 May 2014 09:33:48 -0700 From: "Smith, Tonee J." To: "Hoobler, Sonya" Cc: "Turner, James L." , "Alverson, Shawn Christopher" Subject: Re: B4C MPS cleanup Parts/Attachments: 1 Shown ~79 lines Text 2 OK ~41 lines Text ---------------------------------------- Hi Sonya, You are wise. That is a good idea. (n.b. I don't think the beam could ever actually hit the holder, but it could clip the edges of the YAG or the higher-Z materials (normally protected by the leading layer of B4C) as the target swings through its arc between OUT and IN.) Tuesday's fine, I'll be in MCC. Cheers, -Tonee On May 22, 2014, at 9:07 AM, Sonya Hoobler > wrote: Hi Tonee, Slight modification: 1. B4 Position: I will change this truth table to cause a zero-rate fault when B4C is MOVING and to allow full rate when B4C is either IN or OUT. I'm assuming this is a good idea to avoid clipping the beam on the B4C holder. Let me know if you agree. By the way, I may not make the actual logic changes until Tuesday 5/27. Is that too late for you to have a chance to read them over before Wednesday 5/28? Thanks, Sonya On Tue, 13 May 2014, Smith, Tonee J. wrote: Welcome back Sonya! I think both can be removed. I also agree the second doesn't really matter either way because of the D2 requirement, but I lean toward taking it out. I would only leave it in (or make it mirror the BCS logic) if that somehow makes it easier to implement the upcoming "SP0 protection of ST1/ST2" logic (like you could just change the PV from B4C to SP0 -- but it's probably not that straightforward). Just a thought. Cheers, -Tonee On May 13, 2014, at 10:16 AM, Sonya Hoobler > wrote: Hi Tonee, Jim, We're planning a MPS release soon and will include any cleanup of old B4C logic. (We are not yet ready to add B4C as a ignore device aka destination.) There are 2 pieces of logic related to B4C: 1. B4C Position: B4C must be OUT unless an upstream stopper is in. This will be removed, per Tonee's request. 2. Protection of ST1/ST2: B4C must be IN if ST1/ST2 are not OUT. Note that this logic is completely ignored when D2 is in, so I don't think this will actually ever come into effect since BCS requires D2 to be IN if ST1/ST2 not OUT (right?). We could remove this entirely or we could change it to mirror the BCS logic; perhaps the latter is the better option? I've attached snapshots of the 2 truth tables. Let me know what you would like to do. Thanks, Sonya ====================================================================================== Date: Thu, 10 Apr 2014 22:09:18 -0700 From: "Boutet, Sebastien" To: "Wallace, Alex" , "Hoobler, Sonya" Cc: "Alverson, Shawn Christopher" , "Koglin, Jason" Subject: RE: MPS updates OK -----Original Message----- From: Alex Wallace [mailto:awallace@slac.stanford.edu] Sent: Thursday, April 10, 2014 3:47 PM To: Hoobler, Sonya Cc: Alverson, Shawn Christopher; Boutet, Sebastien; Koglin, Jason Subject: Re: MPS updates Sounds good to me. Sebastien or Jason can chime in if it's not. On 04/10/14 15:44, Sonya Hoobler wrote: > Hi Alex, > > Thanks for the update. > > This doesn't seem urgent, so I propose we include this in our next MPS > release. This might not be until late May. So the plan would be: > > -We bypass these inputs for ~6 weeks. I can do this. > > -On our next release, we remove these truth tables: > > 14.8 CXI CS-PAD 1 Detector Damage Fault > 14.9 CXI CS-PAD 2 Detector Damage Fault > > Does that sound reasonable? > > Sonya > > > > > > On Thu, 10 Apr 2014, Alex Wallace wrote: > >> Hi Sonya, >> >> Please remove the detector faults for CXI at the next available opportunity. >> >> Please let me know if you have any questions. >> >> Thanks, >> -Alex