mpsConfiguration-R2-14
Logic 2013-08-02-a
------------
* Add SXRSS logic and devices; remove obsolete e+ devices
* Active SXRSS logic assumes only slit and chicane are installed
* Inactive SXRSS logic added for potential future use:
  - All SXRSS devices installed
  - slit, chicane, M2, M3 installed

Config 2013-08-02-a
------------
* Add SXRSS devices

mpsConfiguration-R2-13
Logic 2013-07-19-a
------------
* Per CATER 109696, add fault if A-line IV26 NOT_OUT
* Add missing state names for B4C protection

mpsConfiguration-R2-12
Logic 2013-07-08-a
------------
* Per Cater 109199, add logic that requires B4C in ST0 to be OUT

* Per J. Turner (see algorithm/2013-07-08-a/changes.log) require
  FEE M1S Mirror to be OUT OR Beam Energy is low enough

Database 2013-07-08-a
---------------
* To support M1S mirror protection (above), add 2 OUT limit switch inputs
  and 'energy OK' input (this repurposes an unused LN11 input 'BC1_CID')

mpsConfiguration-R2-11
Logic 2013-06-15-a
------------
* Per Cater#108919
	Regarding mitigating potential B4C damage while running low energy.  
	In attendance were Rad Physics, Paul Miller, John Arthur, Roger, 
	Jim Turner, and M. Stanek.

	The interim solution for allowing low energy running without a BAS 2 mJ 
	limit was an agreement that we would not allow photons on the ST0 B4C piece 
	at all.  Sayed Rokni accepted that as an interim measure, we would use MPS 
	to ensure this condition.  

 	What is need required:
	If ST1/ST2 = Not OUT,  Zero rate fault the Gun.
 	This fault should have an 'ignore condition' when TDUND is in, 
	D2 is in, TD11 is in, BX01/02 is NOT ON, YAG BL211 is IN, BXG is ON.
	
	Existing B4C ST1_ST2 shall stay in place.



mpsConfiguration-R2-10
Logic 2013-06-13-a
------------
* Change D2 Stopper State Strings. Bit 0 and 1 were reversed. Change does not affect logic only readback status string

mpsConfiguration-R2-09
Database 2013-06-03-a
------------
* Add GLAST Limit Switches 

Logic 2013-06-03-a
------------
* Add Logic for GLAST Target Moving
* Add Logic for VAC Valve BSYA 4005 (IV40)


mpsConfiguration-R2-08
Database 2013-05-27-a
* Add new STPR 60 System (D2, ST60,ST61, BTM60,BTM PPS SOLN CNTL). Signals coming from PPS

Logic 2013-05-27-a
------------
* Add New STPR 60 System C-code logic, all must be IN or OUT. 
	Change Ignore logic status to use new D2 IN bits and
	De-Activate D2 Logic from BCS
* Add TDUND IN to Prof BSY 45 logic per R.Iverson
* De-Activate A-Line LGPS/COR magnets from A-Line logic per R. Iverson and J. Nelson
	- lgps ab01 1010, 1090, 1950, 2050, 2750, 2850, and xcor 2890, 3212, 
	and ycor 2911, 3313.
* De-Activate A-Line GLAST Klixon per R. Iverson and J. Nelson


mpsConfiguration-R2-07
Logic    2012-12-10-a
---------------------
* Changed HXRSS Mode logic per Heinz-Dieter Nuhn:
	- HXRSS bend lints changed from 12.7<E < 14.2 to 10<E <15
	- Changed Seeded Mode definition to require Crystal to be IN
	- Changed Phase Shifter Mode to all HXRSS Bend to be at ANY state


mpsConfiguration-R2-06
Database 2012-11-12-a
Logic    2012-11-12-a
---------------------
* Add THZR:LTU1:741:IN_LMTSW, OUT_LMSW limit switches for new THZ-2 
* removed a spare vacuum valve on LN 31, card 1, ch 9 so that we could add
  these limit switches

mpsConfiguration-R2-05:
Database 2012-10-26-a
Logic    2012-10-26-a
---------------------
* Add new logic to set lower limit of Beam Energy for SXR and HXR per R. Iverson.
	Lower Beam E limit is 3.3GeV

mpsConfiguration-R2-04:
Database 2012-10-15-a
Logic    2012-10-15-a
---------------------
* Add new logic to set lower limit of Beam Energy for Undulator per R. Iverson.
	Lower Beam E limit is 2.3GeV


mpsConfiguration-R2-03:
Logic    2012-09-30-a
---------------------
* Modify logic for SXR:GMD:VGC_01, add S2 Stopper to ignore logic and renamed 
	logic table to include NEH at the beginning like the rest of NEH tables.
* Included upstream beam destinations to BCS PIC/LION inputs per HVS,
	and changed the logic name to BCS PIC/LION Raw Charge Threshold



mpsConfiguration-R2-2:
Database 2012-09-26-a
Logic    2012-09-26-a
---------------------
* Adds new SXR:GMD:VGC_01 support
* this skips database and logic 2012-09-25-a in order to remove the PICMs that
were not needed

mpsConfiguration-R2-1: DO NOT USE
Database 2012-09-25-a
Logic    2012-09-25-a
---------------------
* Adds new PICM:DMP1:380.381 and SXR:GMD:VGC_01 support

mpsConfiguration-R2-00:
Database 2012-09-18-a
Logic    2012-09-18-a
---------------------
* end of downtime 2012 release. Tag for production. Adds new VVPG:DMP1:355
	 and XPP:SH3 support

mpsConfiguration-R1-115:
added file database/2012-08-08-a/AdditionalCode.h, otherwise same as 114 
Database 2012-08-08-a
Logic    2012-08-08-a
---------------------
upgrade to epics-R3-14-12, mps-R1-0-1-branch-R1-2

mpsConfiguration-R1-114:
Database 2012-08-08-a
Logic    2012-08-08-a
---------------------
upgrade to epics-R3-14-12, mps-R1-0-1-branch-R1-2

mpsConfiguration-R1-113:
Logic   2012-06-29-a
------------
* Fixed bug in SL10 IS IN state, state # is 15 (ie 1111) not 4.
* Fixed a bug in HXRSS Mode Logic (is code=True) became false in Logic 2012-06-25-a, 
	Logic 2012-06-25-a should NO Longer be used!!!



mpsConfiguration-R1-112:
Logic   2012-06-25-a
------------
* De-activate some BSYA logic  per R. Iverson and C. hast
* Added PPS STOPPER Inputs
* changes existing PPS logic to use new inputs	
* De-Activated A-Line Profile Monitor Summary logic per R. Iverson 

Config 2012-06-25-a
------------
* Added BSYA PPS Inputs
* removed some BSYA inputs that are now being replaced by the PPS inputs
* removed A-Line Kicker auto recovery for trigger inputs

Logic   2012-06-05-a
------------
* De-activate some BSY PICS in Logic per R. Iverson
	PIC Unit numbers:
	LCLS  SLC 
	65	145	Trips often if PM1 is on-bypassed			
	67	155				
	69	165				
	71	175				
	73	185				
	75	195				
	76	205	

Config 2012-06-05-a
------------
* Clean up names of A-Line devices, desc was too long
	
DESC, "SLIT_BSYA_2010_SL10_CLS_LIMIT" to  blahÉLIM instead of LIMIT 
DESC, "STPR_BSYA_2275_ST22_OUT_LIMIT" to  blahÉLIM

* Remove recovery for A-Line Kicker Rate Inputs so that it doesn't fill up Logs when kicker is at rates less than 120Hz.


mpsConfiguration-R1-110:

Logic   2012-05-21-a
------------
* Changes for CXI and MEC
* Logic for A-Line, removed unused inputs

Config 2012-05-05-a
------------ 
* Set BSYA PICM's to NOT have auto recovery
   


mpsConfiguration-R1-109:

Logic   2012-05-05-a
------------
* de-Activate logic for
	 VVPG:LI21:1:POSITION Per Ted Martinez 
* Logic for A-Line
* Logic MEC
Config 2012-05-05-a
------------ 
* Add BSYA XCOR Power Supply input


mpsConfiguration-R1-108:
Config  2012-04-30-a baed on 2012-03-20-a but fixed PICM channel errors
------------
* Added Link Node 43 for A-Line KICKER (BYKICK TYPE)
* Added inputs for A-Line


mpsConfiguration-R1-107:
Config 2012-04-22-a
------------
* Added Link Node 42 for A-Line PICs along with A-LINE PICMs.

mpsConfiguration-R1-106:
Config 2012-03-20-a
	* Added new CXI Valve
	* Fix Input typos in LNW_BSO and STPR_BSY_88
Logic 2012-03-20-a
	* same logic as 2012-01-06-a but includes the config typo fix
Logic 2012-03-20-b
	* based on 2012-03-20-a and includes new CXI valve logic

mpsConfiguration-R1-105:
Config 2012-01-06-a
	* Added HXRSS HOZ and YAW Home Status
	* Updated for Puleo Status

mpsConfiguration-R1-104:
Added Config: 2012-01-03-a for VVFS:DMP1:107
Added Logic: 2012-01-03-a MEC logic and VVFS:DMP1:107

mpsConfiguration-R1-103:
Added Config: 2011-11-29-a which fixes A-Line Kicker ON/OFF read back strings
Added Logic: 2011-11-29-a and 2011-11-15-b for MEC logic

mpsConfiguration-R1-102:
Add Logic:  2011-11-15-a  and 2011-11-15-b for new CXI and MEC logic, "b" includes logic for HXRSS full installation.
Add Config: 2011-11-15-a for A-Link Kicker Pulser Status, inputs not added to logic input list

mpsConfiguration-R1-101:
Add Logic:  2011-11-07-a  and 2011-11-07-b for HXRSS
Add Config: 2011-11-07-a for MEC and CXI
Logic corrects "BXG is On" 0 bit input error which was set to BEND_IN20_751_OFF, corrected it to be BEND_IN20_231_OFF.

mpsConfiguration-R1-100:
Add Logic:  2011-10-31-a  and 2011-10-31-b for HXRSS
Add Config: 2011-10-31-a for HXRSS

mpsConfiguration-R1-99:
Add Logic:  2011-09-19-a for MEX and XPP

mpsConfiguration-R1-98:
Add Config:  2011-09-12-a per MEC

mpsConfiguration-R1-97:
-- Add Config: 2011-08-26-a to set Detector Pad Faults autorecovery to False 

mpsConfiguration-R1-96:
-- Add Logic: 2011-08-10-a Fixed error in M3H Ignore logic definitions. 

mpsConfiguration-R1-95:
-- Logic: 2011-08-09-a
---- Changes for Mark Arndt in MEC, XPP, and CXI

mpsConfiguration-R1-94:
-- Logic: 2011-08-01-a
---- Added updated BYKICK Readback Logic to ignore when D2 is IN
-- Config: 2011-08-01-a
----Changes for Mark Arndt in Config
	

mpsConfiguration-R1-93:
-- Logic: 2011-07-12-a
-- Config: 2011-07-12-a
-- Changes for CXI per Mark Arndt

mpsConfiguration-R1-92:
-- Logic: 2011-07-05-a
-- Config: 2011-07-05-a
-- Additional ignore devices for UM6; DG2; XCS devices; add new devices for upcoming runs

mpsConfiguration-R1-91:
-- Logic: 2011-06-28-a
-- Config: 2011-06-15-a
-- New XCS logic; remove some obsolete NEH and XCS logic

mpsConfiguration-R1-90:
-- Logic: 2011-06-17-a
-- Config: 2011-06-15-a
-- Fix bug introduced in mpsConfiguration-R1-88 

mpsConfiguration-R1-89: **Bug in this version; DO NOT USE**
-- Logic: 2011-06-16-a
-- Config: 2011-06-15-a
-- Fix bug introduced in mpsConfiguration-R1-88

mpsConfiguration-R1-88: **Bug in this version; DO NOT USE**
-- Logic: 2011-06-15-a
-- Config: 2011-06-15-a
-- Add XPP truth table and ignore condition.
   Add XCS inputs.
   Cleanup: remove obsolete XRT input and CXI logic
            remove obsolete FEE stopper inputs

mpsConfiguration-R1-87:

-Logic 2011-05-31-a
--Add 2 new XPP logic tables

-Logic 2011-05-26-a
-- Add new CXI Logic
-- Add new MEC Logic
-- Add D2 Logic and D2 Ignore Device Logic
-- Change Valve Logic to include D2 and TD11 Ignore Logic per Iverson

-Databse 2011-05-26-a
--Remove Extra B921 ST1_ST2 Inputs that never were used. Real status comes from B950.

-Logic 2011-05-25-a
   *IMPORTANT IMPORTANT IMPORTANT 
	NOTE: reverted back to logic 2010-09-28-a because 
	everything in logic sqlite fails from then till 
	now was malformed. Recreated all logic changes 
	so that logic 2011-02-26-a and 2011-05-25-a 
	are equivalent, but 2011-05-25-a has db issues 
	resolve and extra S5 Position Logic. Added 
	AutoIncroment to sqlite Mpslogic.mpl tables.


mpsConfiguration-R1-86:
-config: 2011-05-11-a
--Add support new inputs and  for CXI
--Add RTD summary past BSY D2 inputs 

mpsConfiguration-R1-85:
-config: 2011-05-04-a
--Add support new inputs and  for CXI
--Add D2 inputs 

mpsConfiguration-R1-84:
-Should not be used

mpsConfiguration-R1-83:
-Logic:  2011-02-26-a
-config: 2011-02-26-a
--Add support for soft input for CXI CS-PAD-Damage Fault and reverted logic back for CXI Configuration 4 Summary.

 
mpsConfiguration-R1-82:
-Logic: 2011-02-25-a
-- Per Mark Arndt and CXI request, temporarily changed CXI MPS CFG 4 CONFID logic from "CXI Configuration 4 Summary" to "CXI CS-PAD-Damage Fault". Changes should be backed out when CXI changes can support a proper protection design. Logic for "CXI Configuration 4 Summary" should revert back to logic 2011-2-2-a when needed.

mpsConfiguration-R1-81:
 -Deactivate logic for BSY Prof PR1_2, 50PR3, and PR2 per Iverson. Added BSY PIC HV per Sony. 

mpsConfiguration-R1-80:
 -Add logic and database "2011-01-08-a" to change PV name of input and sway states. 

mpsConfiguration-R1-79:
 -Add logic 2010-12-06-a (for CXI Config 1-7 and PLC_OK Status logic)

mpsConfiguration-R1-78:
 -Add database 2010-12-01-a for CXI 
 -Add logic 2010-12-01-a for CXI
 - Removed extra HXX:MXT:VGC_01:OPN_DI Position input and removed from logic 

mpsConfiguration-R1-77:
 -Add database 2010-11-29-a for CXI (built from database 2010-09-28-a)
 -Add logic 2010-11-29-a for CXI

mpsConfiguration-R1-76:
 -Add database 2010-11-22-b for CXI (built from database 2010-09-28-a)

mpsConfiguration-R1-75:
 -Add database 2010-11-22-a for CXI

mpsConfiguration-R1-74:
 - Add database 2010-09-28-a (Changed name of TRHZ:DMP1:310 to THZR:DMP1:350)
 - Add logic 2010-09-28-a (same as above)

mpsConfiguration-R1-73:
 - Add database 2010-09-24 (added VVMG-DMP1-743)
 - Add logic 2010-09-24 (added VVMG-DMP1-743, remove BSY Fast Gauges and BSYA B11)

mpsConfiguration-R1-72:
 - Update which CONFIG and LOGIC to build in top level Makefile (should have been 
   included in R1-71)

mpsConfiguration-R1-71:
 - New database and logic 2010-08-30-a. Add NEH AMO End Station Ready; Set NEH2 HXRAY StrongBack 1 Isolation Valve to inactive" 
 - Builds database 2010-08-17a and 2010-08-30-a
 - Builds logic 2010-08-17a and 2010-08-30a

mpsConfiguration-R1-70:
 - New databaseand logic  2010-08-17-a. (added BYKICK watchdog)

mpsConfiguration-R1-69:
 - New database 2010-08-11-a, logic 2010-08-11-a (Add PICM:BSYA:1701A,1701B) 

mpsConfiguration-R1-68:
 - New database 2010-08-10-a 

mpsConfiguration-R1-67:
 - New logic 2010-08-09-a (BSYA devices ignore BYKICK)

mpsConfiguration-R1-66:
- Fixed double BSYA devices
- Added logic for BSYA Prof and BSYA PIC ignore on B1/B2
	
mpsConfiguration-R1-65:
- Added BSYA devices

mpsConfiguration-R1-64:
- Made BSY PIC inputs latching
- Added mpslogic_create_pic_patch.py application

mpsConfiguration-R1-63:
- Corrects CE11 flowswitch input and logic

mpsConfiguration-R1-62:
- Added PIC inputs to LN 25
- Added PIC logic for LN 11, 16, and 22

mpsConfiguration-R1-61:
- Added NO_TRIG inputs to LN 11, 16, and 22

mpsConfiguration-R1-60:
- Removed PIC autorecover

mpsConfiguration-R1-59:
- Removed PICs from LN 23, 25, and 26

mpsConfiguration-R1-58:
 - Corrected Link Node types

mpsConfiguration-R1-57:
 - Added PIC inputs

mpsConfiguration-R1-56:
 - Updated photon section inputs

mpsConfiguration-R1-55:
 - New configurations, 2010-03-23-a, 2010-03-29-a
 - New logic 2010-03-30-a

mpsConfiguration-R1-54:
 - New configuration, 2010-03-16-a

mpsConfiguration-R1-53:
 - Alg common uses mps-R1-0-0

mpsConfiguration-R1-52:
 - New unlatch PVs
 - New algorithm wrapper to use latched values
 - New EDM displays
 - Better Makefiles reduce number of products built
 - Replaced deprecated Python code (os.popen)
 - Split up mpsconfig Python module.  Easier to modify, understand.

mpsConfiguration-R1-51:
 - Updated channel mapping
 - Updated BASII stopper logic to use new channel mapping

mpsConfiguration-R1-50:
 - TIMING_STABLE logic added
 - TIU inputs added to logic

mpsConfiguration-R1-49:
 - TIMING_STABLE input added
 - BPM BYKIK input (27/1/14) is now a latching fault

mpsConfiguration-R1-48:
 - Rate request logic for BYKIK and Pockels Cell
 - Rate requests include burst and single shot modes for BYKIK and Pockels cell

mpsConfiguration-R1-47:
 - Added 1553 logic
 - Added rate request logic and inputs

mpsConfiguration-R1-46:
 - Updated AMO logic
 - Updated MPS configuration

mpsConfiguration-R1-45:
 - Added AMO logic

mpsConfiguration-R1-44:
 - Added AMO inputs and stopper S1 in status

mpsConfiguration-R1-43:
 - Added AMO inputs and stopper S1 in status

mpsConfiguration-R1-42:
 - Added "Phase Two Alpha" FEE and NEH inputs and logic

mpsConfiguration-R1-41:
 - Added PIC/BLM watchdog faults

mpsConfiguration-R1-40:
 - Removed ignore cases from ST1/ST2 B4C protection logic

mpsConfiguration-R1-39:
 - Added B4C/ST1ST2 logic

mpsConfiguration-R1-38:
 - Added FEE logic, moved ST1 ST2 inputs to different card

mpsConfiguration-R1-37:
 - Moved LN 38/4 to 38/3 to match reality

mpsConfiguration-R1-36:
 - Added FEE phase 1 inputs

mpsConfiguration-R1-35:
 - Remapped LTU PIC inputs
 - Removed masking of LTU PICS on TDUND

mpsConfiguration-R1-34:
 - PICM 732 latches
 - Update to EPICS fault latching

mpsConfiguration-R1-33:
 - Better fault numbering

mpsConfiguration-R1-32:
 - Added LN28/29 PICs

mpsConfiguration-R1-31:
 - Bypass recover internal input and logic

mpsConfiguration-R1-30:
 - Moved BFW 1010 In from 33/1/13 to 32/1/12

mpsConfiguration-R1-29:
 - Renamed BFW inputs

mpsConfiguration-R1-28:
 - Removed EPICS BFW inputs

mpsConfiguration-R1-27:
 - Added PIC inputs

mpsConfiguration-R1-26:
 - Moved BFW 1810 and 2610 to non-card-1-chan-13 inputs

mpsConfiguration-R1-25:
 - Pockels Cell AND Gate TT no longer affects LHS
 - Uses hardwired BFW In status

mpsConfiguration-R1-24:
 - Added LN34 no trig input

mpsConfiguration-R1-23:
 - Added LN34 PICs

mpsConfiguration-R1-22:
 - Added BTM summary fault PV

mpsConfiguration-R1-21:
 - Removed many PV faults

mpsConfiguration-R1-20:
 - Added BFW In PV faults

mpsConfiguration-R1-19:
 - Corrected magnet PV names

mpsConfiguration-R1-18:
 - Added magnet PV faults

mpsConfiguration-R1-17:
 - Added OTR 621 logic

mpsConfiguration-R1-16:
 - Added OTR/TDUND logic

mpsConfiguration-R1-15:
 - Added BLM:LTU1:980 to algorithm 2009-04-03-a

mpsConfiguration-R1-14:
 - New algorithms with much more BLM logic

mpsConfiguration-R1-13:
 - Moved VVMG:LTU1:505 from LN29-01-13 to LN29-01-03

mpsConfiguration-R1-12:
 - New algorithm and configuration to handle laser AND gate

mpsConfiguration-R1-11:
 - Added many BLM and BLM HVPS inputs
 - Added new shutter inputs
 - Better documentation export
 - New algorithm wrapper
 - New MPS Logic

mpsConfiguration-R1-10:
 - Added BLM channels for link nodes 30, 32, 33, 35, and 37.
 - Changed LN36's BLM names to match the new channels.
 - Shifted LN10's card 2 channels up by one channel number.
 - Updated database/current to 2009-02-26-a

mpsConfiguration-R1-9:
 - New algorithm export format.  Initializes rates to 120 Hz.

mpsConfiguration-R1-8:
 - New algorithm export format

mpsConfiguration-R1-7:
 - New handwritten algorithm 2009-02-20-c

mpsConfiguration-R1-6:
 - Ignore logic inverted

mpsConfiguration-R1-5:
 - Algorithm fixes laser heater logic

mpsConfiguration-R1-4:
 - Added new DB with four new PV inputs (BP01-BP04)
 - New MPS logic created to use these inputs
 - New SNL output.

mpsConfiguration-R1-3:
 - Removed BFW 110 EPICS channel from config DB.

mpsConfiguration-R1-2:
 - Algorithm 2009-02-18-a modified to remove more EPICS dependencies.

mpsConfiguration-R1-1:
 - Algorithm 2009-02-18-a added.  Removes dependency on EPICSs status.

mpsConfiguration-R1-0:
 - Initial version

