BSY PR45 ========= Date: Mon, 19 Aug 2013 19:21:04 -0700 From: "Iverson, Richard H." To: "Hoobler, Sonya" Cc: "Baker, Alonzo W." Subject: RE: Cater Hardware Problem # 97637 Yes. This sounds like a good solution. Please proceed with implementing this. thanks again, Rick ________________________________________ From: Sonya Hoobler [sonya@slac.stanford.edu] Sent: Monday, August 19, 2013 11:41 AM To: Iverson, Richard H. Cc: Baker, Alonzo W. Subject: Re: Cater Hardware Problem # 97637 Hi Rick, Does this CATER mean that there is spray when PR45 is IN? (It says 'afterwards', so I'm not sure what that means.) Is the purpose to prevent spray from reaching the undulator hall? We could do that by causing a fault if PR45 is IN and D2 is NOT_IN and TDUND is NOT_IN. (At this time, we don't have status of when BYKIK fired, so we can't use that. And until we have that status, it isn't considered to be a fully trustworthy mitigation device. There is a project to add this, but it's in the early stages.) How does this sound? Thanks, Sonya On Fri, 9 Aug 2013, rhi@slac.stanford.edu wrote: > Sonya, Can you make the MPS cause a fault if PR45 in the BSY is in and D2 is out and BYKIK is off? > thanks, > Rick > > Go to CATER > > Problem 97637 (Hardware) [12/07/2011 07:23] > Need to think about MPS requirements for PR45 in the BSY. Inserting this profile monitor caused very bad beam spray afterwards. SXR lower limit fault ====================== > -----Original Message----- > From: Iverson, Richard H. > Sent: Tuesday, July 16, 2013 8:48 AM > To: Stanek, Michael W.; Hoobler, Sonya; Miller, Paul > Cc: Boyes, Matthew > Subject: RE: SXR lower limit fault > > I think we should take it out. > Thanks Mike. > Rick > > ________________________________________ > From: Stanek, Michael W. > Sent: Monday, July 15, 2013 6:18 PM > To: Iverson, Richard H.; Hoobler, Sonya; Miller, Paul > Cc: Boyes, Matthew > Subject: RE: SXR lower limit fault > > As far as I know, we can eliminate this. If you want to keep it in the system > in case we need it in the future, we could set it to match the BAS absolute > lower limit. > It was an MPS measure to ensure that we would not violate our BAS > administrative limit on low energy when sending beam to S2B. XFDSO has > locked S2B out of the beamline until they can find a non-administrative > solution to mitigate the risk of low energy photons focused on S2B. > > -Mike > > -----Original Message----- > From: Iverson, Richard H. > Sent: Monday, July 15, 2013 5:52 PM > To: Hoobler, Sonya; Miller, Paul; Stanek, Michael W. > Cc: Boyes, Matthew > Subject: RE: SXR lower limit fault > > Paul and Mike, > Can we eliminate the mps energy interlock for sir? > Rick > A-line B1/B2 Is Not On AND A-Line Kicker Is Not Enabled ======================================================== Change to no longer use B1/B2 'ON' status. Now use 2 new 'OFF' statuses provided by PPS (chains A and B) [sonya@lcls-dev2 algorithm]$ sdiff -bs 2013-08-28-a/doc/MPSLogicDocumentation.txt 2013-08-02-a/doc/MPSLogicDocumentation.txt .. title:: MPS Logic 2013-08-28-a | .. title:: MPS Logic 2013-08-02-a > Ignored when BX01/BX02 Is Off, BXG Is On, ST1/ST2 Are In, Sto > ============================================================= > > SXR 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 > > > The following code assigns the truth table's state number to | =================== = = = ==================== ============== | Name C B A Pockels Cell Mechanical Sh /* BSY PR45 Profile Monitor | =================== = = = ==================== ============== * | Moving F F F 0 Hz * state = 0 : PR45 BROKEN, 0 Hz fault | Out F F T 120 Hz * state = 1 : PR45 MOVING, 0 Hz fault | In and TDUND Not In F T F 0 Hz * state = 2 : PR45 OUT, 120 Hz beam allowed | Broken F T T 0 Hz * state = 3 : PR45 IN and D2-or-TDUND IN, 10 Hz beam all | OUT and TDUND OUT T F F 120 Hz * state = 4 : PR45 IN but neither D2 nor TDUND IN, 0 Hz | OUT and TDUND IN T F T 120 Hz * Input Descriptions | In and TDUND In T T F 10 Hz * | =================== = = = ==================== ============== * Link Node MPS PV Name Link Node MPS Fau < * ------------------------------- ------------------ < * PROF:BSY0:45:OUT_LIMIT_MPS = PROF_BSY0_45_OUT_ < * PROF:BSY0:45:IN_LIMIT_MPS = PROF_BSY0_45_IN_L < * DUMP:LTU1:970:TDUND_IN_MPS = TDUND_IN_POSITION < * STPR:BSY0:88:IN_LIMSW_A_MPS = STPR_BSY0_88_IN_L < * < */ < < /* Initialize to a guard value */ < state = (unsigned int) -1; < < if ( PROF_BSY0_45_OUT_LIMIT_POSITION && PROF_BSY0_45_IN_L < { < state = 0; < } < < else if ( !PROF_BSY0_45_OUT_LIMIT_POSITION && !PROF_BSY0_ < { < state = 1; < } < < else if ( PROF_BSY0_45_OUT_LIMIT_POSITION ) < { < state = 2; < } < < else if ( PROF_BSY0_45_IN_LIMIT_POSITION && ( TDUND_IN_PO < { < state = 3; < } < else | Where:: { < state = 4; < } < ========================== ===== ==================== ======= | A = PROF_BSY0_45_OUT_LIMIT_POSITION Name State Pockels Cell Mechan | B = PROF_BSY0_45_IN_LIMIT_POSITION ========================== ===== ==================== ======= | C = TDUND_IN_POSITION Broken 0 0 Hz < Moving 1 0 Hz < Out 2 120 Hz < In and D2 or TDUND In 3 10 Hz < In but D2 and TDUND Not In 4 0 Hz < ========================== ===== ==================== ======= < ========= = = = = ==================== ==================== = | ========= = = = ==================== ==================== === Name D C B A Pockels Cell Mechanical Shutter | Name C B A Pockels Cell Mechanical Shutter ========= = = = = ==================== ==================== = | ========= = = = ==================== ==================== === Is Not On T T F F -- -- | Is Not On F F F -- -- ========= = = = = ==================== ==================== = | ========= = = = ==================== ==================== === A = KICK_BSY0_66_PM1_TRIG_ENB_STATUS | A = BEND_BSYA_140_B1_2_PS_ON_STATE B = KICK_BSY0_66_PM2_TRIG_ENB_STATUS | B = KICK_BSY0_66_PM1_TRIG_ENB_STATUS C = BEND_BSYA_140_PS_OFF_A_STATE | C = KICK_BSY0_66_PM2_TRIG_ENB_STATUS D = BEND_BSYA_140_PS_OFF_B_STATE <