----- New M1S OUT switch consistency check ----- Add truth table to ensure M1S OUT limit switch states match ----- AMO HF4 LAM VGC 01 Gate Valve Position ----- Date: Fri, 22 Nov 2013 15:34:16 -0800 From: Alex Wallace To: Sonya Hoobler , "Hill, Alan S." Subject: Re: XCS Pink Valve Logic Implementation and Testing Hi Sonya, Yes that's correct. Considering the somewhat unusual arrangement we're trying to implement I want to carry out a live test using the valve. I can see no reason why we wouldn't be able to actuate the valve. As for the remaining stoppers, I was hoping that Alan Hill could provide assistance as needed, unless you're familiar with the process. I will try to find out if we can actuate the remaining stoppers. Thanks, -Alex On 11/22/13 14:28, Sonya Hoobler wrote: > Hi Alex, > > I'm not sure I completely understand your spreadsheet. > > It sounds like you only need to add a single veto device (Stopper S5B Is > In) for the existing HF4 LAM VCG 01 Gate Valve Position. No other logic > changes. Is this correct? > > If so, I can manually change it. I don't need a patch file (and actually > I'm not sure how to create one for such a change.). > > To fully test, we need to be able to pull all the veto devices: > > SH1, SH2, XRT S5, HFX DG2, HFX UM6, and the upstream stoppers. > > Do you know if we'll be in a position to do that Tuesday, > photon-side-wise? I'll also have to see if we can get time during the MD. > > Will you actually move the valve or just fake the link node input? > > Thanks, > Sonya > > > > On Fri, 22 Nov 2013, Alex Wallace wrote: > > > Hi Sonya, > > > > I hope you haven't left yet. Here's a link to a logic table for the new > > HF4:VGC:01 logic. > > https://docs.google.com/spreadsheet/ccc?key=0Ak-GLfYD685cdDVjWlVaVm82Mm9nRGdvcWtwaHpXQ1E&usp=drive_web#gid=0 > > > > Basically I need to add an extra veto device to the valve fault. Rather than > > give you a logic file which I know will be wrong, could you generate the > > patch file or let me know how I can for future reference?: > > > > For the > > HF4 LAM VGC 01 Gate Valve Position > > fault, please add > > Stopper S5B Is In > > to the veto (ignore) list. > > > > Can we plan to test on Tuesday December 3rd, 10AM, tentatively? I still need > > to confirm with XCS this time will work. > > > > Thank you! > > -Alex > > ----- B4C Protection of ST1/ST2 ----- Add D2 as ignore device per request from Ops. ----- Remove existing HXR Beam Energy Lower Limit logic ----- Per conversation with Jim Turner and Mike Stanek on 22 Nov 2013, as mentioned: On Fri, 22 Nov 2013, Sonya Hoobler wrote: > Thanks, Mike and Jim. > > It turns out this SH1/HXR low limit is no longer needed, so we will leave it bypassed for now. > > We will repurpose this magnet interlock on BYD per Jim's request below. > > Kristi, could you change the limit from 3.3 GeV to 6.71 GeV in the magnet software at your next opportunity? The limit of > interest is the one for BEND:DMP1:400:INTOL_BMIN2. We can talk more if you have any questions. > > I will do a MPS release to go with Kristi's change. I'll plan to do this on the 12/4 PAMM. > > Sonya ----- New HXR/M1S protection ----- 2 Dec 2013 (SH) - After conversation with Jim Turner, we will wait to release this. I have added a truth table, but made it inactive. Truth table logic is: "If E < 6.7 GeV and M1S is OUT, the beam will be turned off by the MPS" Hi Jim, I just re-read your requirement: "< 6.7 GeV and M1S is OUT, the beam will be turned off by the MPS" Ideally this would be: "< 6.7 GeV and M1S is NOT IN, the beam will be turned off by the MPS" so that it would be fail-safe. But we only have OUT limit switches on this mirror because we did not anticipate this new interlock. Should we add IN limit switches? Sonya > Hi Sonya, > > There's something I don't understand about the present logic. > > Basically, we should use the lines within their design parameters... > 2keV-30keV for the hard line, and from 200eV-2keV for the soft line. > > I'm guessing the motivation for this logic you describe stems from the > fact that a low energy beam down the hard line can damage a lot of > instrument hardware. The implementation sounds wrong. (I'm going to > add Tonee to the cc. list here since we are using Guardian to keep low > energy beam out of the hard line as well.) > > The logic probably should be "< 6.7 GeV and SH1 is OUT, the beam will > be turned off by the MPS". (this would be the design 2keV lower limit > for the hard line). Another way to accomplish the same and enable > Guardian clean up, would be to move the logic to M1S position as follows: > > "< 6.7 GeV and M1S is OUT, the beam will be turned off by the MPS" > > This is my suggested change. > > Now, in reality we should later add device specific logic from the > instrument scientists since there is a lot of hardware we can damage > even in the design regime up to about 4keV and when we run below that > they are very careful remove all their breakable devices... but that > warrants a different discussion. > > ..Jim [sonya@lcls-dev2 algorithm]$ sdiff -bs 2013-11-11-a/doc/MPSLogicDocumentation.txt 2013-12-02-a/doc/MPSLogicDocumentation.txt .. title:: MPS Logic 2013-11-11-a | .. title:: MPS Logic 2013-12-02-a Ignored when BX01/BX02 Is Off, BXG Is On, ST1/ST2 Are In, Sto < ============================================================= < < HXR Beam Energy Lower Limit < --------------------------- < ===== = ==================== ==================== =========== < Name A Pockels Cell Mechanical Shutter BYKI < ===== = ==================== ==================== =========== < FAULT F 0 Hz 0 Hz < OK T 120 Hz 120 Hz < ===== = ==================== ==================== =========== < < Where:: < < A = BEND_DMP1_400_INTOL_BMIN2_STATE < < < < > FEE1 M1S Mirror State > --------------------- > ============ = = ==================== ==================== == > Name B A Pockels Cell Mechanical Shutter > ============ = = ==================== ==================== == > Not Out F F 120 Hz 120 Hz > Inconsistent F T 0 Hz 0 Hz > Inconsistent T F 0 Hz 0 Hz > Out T T 120 Hz 120 Hz > ============ = = ==================== ==================== == > > Where:: > > A = MIRR_FEE1_1560_OUT_LIMIT1_POSITION > B = MIRR_FEE1_1560_OUT_LIMIT2_POSITION > > > HF4 LAM VGC 01 Gate Valve Position > ---------------------------------- > ======== = ==================== ==================== ======== > Name A Pockels Cell Mechanical Shutter B > ======== = ==================== ==================== ======== > Not Open F 0 Hz 0 Hz > Open T 120 Hz 120 Hz > ======== = ==================== ==================== ======== > > Where:: > > A = HF4_LAM_VGC_01_OPN_DI_POSITION > > HF4 LAM VGC 01 Gate Valve Position < ---------------------------------- < ======== = ==================== ==================== ======== < Name A Pockels Cell Mechanical Shutter B < ======== = ==================== ==================== ======== < Not Open F 0 Hz 0 Hz < Open T 120 Hz 120 Hz < ======== = ==================== ==================== ======== < < Where:: < < A = HF4_LAM_VGC_01_OPN_DI_POSITION < < < > 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 > > 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 < < <