#==============================================================
#
#  Name: RELEASE_NOTES
#
#  Rem:  This files describes release notes for 
#        the LCLS Magnet Control IOC Application.        
#
#  Auth: 22-May-2007, K. Luchini         (LUCHINI):
#  Rev:  dd-mmm-yyyy, Reviewer's Name    (USERNAME)
#--------------------------------------------------------------
#  Mod:
#        29-Sep-2014, Zelazny, Shantha:
#           CATER 119598 See below.
#        31-May-2010, K. Luchini         (LUCHINI):
#           add release Magnet-R3-0-4
#        26-May-2010, K. Luchini         (LUCHINI);
#           add release Magnet-R5-0-3
#        04-May-2010, D. Rogind	         (DROGIND):
#           add release Magnet-R5-0-2
#        03-May-2010, D. Rogind          (DROGIND):
#          add release Magnet-R5-0-1
#        03-May-2010, D. Rogind          (DROGIND):
#          add release Magnet-R5-0-0
#        28-Apr-2010, K. Luchini         (LUCHINI):
#          add release Magnet-R-0-10
#        02-Apr-2010, K. Luchini         (LUCHINI):
#          add release Magnet-R4-0-9
#        01-Dec-2009, K. Luchini         (LUCHINI):
#           add release Magnet-R4-0-8
#        04-Nov-2009, K. Luchini         (LUCHINI):
#           add release Magnet-R4-0-7
#        20-Oct-2009, K. Luchini         (LUCHINI):
#           add release Magnet-R4-0-6
#        14-Oct-2009, K. Luchini         (LUCHINI):
#           add release Magnet-R4-0-5
#        15-Sep-2009, K. Luchini         (LUCHINI):
#           add release Magnet-R4-0-4
#        20-Aug-2009, K. Luchini         (LUCHINI):
#           add release Magnet-R4-0-3
#        13-Jul-2009, K. Luchini         (LUCHINI):
#           add release  Magnet-R4-0-2
#        21-May-2009, K. Luchini         (LUCHINI):
#           add releases Magnet-R4-0-1
#        04-May-2009, K. Luchini         (LUCHINI):
#           add releases Magnet-R4-0-0
#        22-Apr-2009, K. Luchini         (LUCHINI):
#           add releases Magnet-R3-2-5
#        06-Apr-2009, K. Luchini         (LUCHINI):
#           add releases Magnet-R3-2-4
#        23-Mar-2009, K. Luchini         (LUCHINI):
#           add releases Magnet-R3-2-3
#        24-Feb-2009, K. Luchini         (LUCHINI):
#           add releases Magnet-R3-2-2
#        12-Feb-2009, K. Luchini         (LUCHINI):
#           add releases Magnet-R3-2-1
#        11-Feb-2009, K. Luchini         (LUCHINI):
#           add release Magnet-R3-2-0
#        02-Feb-2009, K. Luchini         (LUCHINI):
#           add release Magnet-R3-1-7
#        30-Jan-2009, K. Luchini         (LUCHINI):
#           add release Magnet-R3-1-6         
#        27-Jan-2009, K. Luchini         (LUCHINI):
#           add release Magnet-R3-1-5
#        08-Dec-2008, K. Luchini         (LUCHINI):
#           add release Magnet-R3-1-4
#        28-Nov-2008, K. Luchini         (LUCHINI):
#           add release Magnet-R3-1-3
#           add release Magnet-R3-1-2
#        20-Nov-2008, K. Luchini         (LUCHINI):
#           add release Magnet-R3-1-1
#        07-Oct-2008, K. Luchini         (LUCHINI):
#           add release Magnet-R3-1-0
#        18-Aug-2008, K. Luchini         (LUCHINI):
#           add release Magnet-R3-0-10
#        09-Jul-2008, K. Luchini         (LUCHINI):
#           add release Magnet_R3-0-9
#        09-Jul-2008, K. Luchini         (LUCHINI):
#           add release Magnet_R3-0-8
#        18-Jun-2008, K. Luchini         (LUCHINI):
#           add release Magnet-R3-0-7
#        28-May-2008, K. Luchini         (LUCHINI):
#           add release Magnet-R3-0-6
#        21-May-2008, K. Luchini         (LUCHINI):
#           add release Magnet-R3-0-5
#        06-May-2008, K. Luchini         (LUCHINI):
#           add release Magnet-R3-0-4 
#        25-Apr-2008, K. Luchini         (LUCHINI):
#           add release Magnet-R3-0-3 
#        13-Mar-2008, K. Luchini         (LUCHINI):
#           add release Magnet-R3-0-2
#        12-Mar-2008, K. Luchini         (LUCHINI):
#           add release Magnet-R3-0-1
#        05-Mar-2008, K. Luchini         (LUCHINI):
#           add release Magnet-R3-0-0
#        27-Jan-2008, K. Luchini         (LUCHINI):
#           add release MagnetCommon-R1-0-5
#        22-Jan-2008, K. Luchini         (LUCHINI):
#           add release MagnetCommon-R1-0-4     
#        30-Jan-2008, K. Luchini         (LUCHINI):
#           add release MagnetCommon-R1-0-3
#        23-Jan-2008, K. Luchini         (LUCHINI):
#           add release MagnetCommon-R1-0-2
#        Jan-08-2008, K. Luchini         (LUCHINI):
#           add release MagnetCommon-R1-0-1           
#        28-Nov-2007, K. Luchini         (LUCHINI):
#           add release MagnetCommon-R1-0-0
#        14-Nov-2007, K. Luchini         (LUCHINI):
#           add release Magnet-R2-0-15
#        18-Oct-2007, K. Luchini         (LUCHINI):
#           add release Magnet-R2-0-14
#           add release Magnet-R2-0-13
#           add release Magnet-R2-0-12
#        17-Oct-2007, K. Luchini         (LUCHINI):
#           add release Magnet-R2-0-11
#        30-Aug-2007, K. Luchini         (LUCHINI):
#           add release Magnet-R2-0-10
#        22-Aug-2007, K. Luchini         (LUCHINI):
#           add release Magnet-R2-0-9
#        15-Aug-2007, K. Luchini         (LUCHINI):
#           add release Magnet-R2-0-8
#        15-Aug-2007, K. Luchini         (LUCHINI):
#           add release Magnet-R2-0-7
#        14-Aug-2007, K. Luchini         (LUCHINI):
#           add release Magnet-R2-0-6
#        08-Aug-2007, K Luchini,D.Rogind (LUCHINI/DROGIND):
#           add release Magnet-R2-0-5
#        03-Aug-2007, K. Luchini         (LUCHINI):
#           add release Magnet-R2-0-4
#        02-Aug-2007, K.Luchini,D.Rogind (LUCHINI/DROGIND):
#           add release Magnet-R2-0-3
#        30-Jul-2007, K.Luchini,D.Rogind (LUCHINI/DROGIND):
#           add release Magnet-R2-0-2
#        24-Jul-2007, K. Luchini         (LUCHINI):
#           add release magnet-R2-0-1
#        24-Jul-2007, D. Rogind          (ROGIND):
#           add release Magnet-R2-0-0  
#        19-Jul-2007, K. Luchini         (LUCHINI):
#          add release Magnet-R1-2-11
#        18-Jul-2007, D. Rogind          (ROGIND):
#          add release Magnet-R1-2-10
#          this release is booted in production as
#          ../build/epics/iocTop/Magnet/rogind 
#        27-Jun-2007, K. Luchini         (LUCHINI):
#          add release Magnet-R1-2-9
#          add release Magnet-R1-2-8 
#          add release Magnet-R1-2-7   
#        22-Jun-2007, K. Luchini         (LUCHINI):
#          add release Magnet-R1-2-6
#        21-Jun-2007, K. Luchini         (LUCHINI):
#          add release Magnet-R1-2-5
#        07-Jun-2007, D. Rogind          (DROGIND):
#          add release Magnet-R1-2-4
#        06-Jun-2007, K. Luchini         (LUCHINI):
#          add release Magnet-R1-2-3
#        06-Jun-2007, K. Luchini         (LUCHINI):
#          add release Magnet-R1-2-2
#        30-May-2007, K. Luchini         (LUCHINI):
#          add release Magnet-R1-2-1
#        29-May-2007, K. Luchini         (LUCHINI):
#          add release Magnet-R1-2
#        24-May-2007, K. Luchini         (LUCHINI):
#          add release Magnet-R1-1
#
#==============================================================
#
Magnet-R7-0-15  K. Luchini (luchini):
03-Mar-2016     ASTA UED chg b-field from +/-220 Bto +/-300 0Gcm
                for XCOR:AS01:121 (XC002)

Magnet-R7-0-14  K. Luchini (luchini):
02-Mar-2016     B921 mcor upgrade

Magnet-R7-0-13  K. Luchini (luchini):
17-Feb-2016     Update modbus module
                add ModBusTCPClnt-R2-2-1 AND Bx9000_MBT-R2-5-7 module
                Chagne A-line pulsed corrector hardware to use 2 analogs adc/dac
                for backward corrector just after the n and n+1 pulse.

Magnet-R7-0-12  K. Luchini (luchini):
10-Feb-2016     Add rtemsutils modules to configure/RELEASE for spy utility
                Moved mps tolerance pvs from mgnt_phy.template to mgnt_tol.template
                Add macros LOC and DRAWING in plc-in20-mg01.substitutions and
                ioc-li21-mg01_plc.substitutions
                Changed SOL2s in ASTA-UED from an mcor12 to an epsc 0-7Amps
        
Magnet-R7-0-11  K. Luchini (luchini):
07-Jan-2016    Add mcor20 and mcor9 types for emcor.

Magnet-R7-0-10  K. Luchini (luchini):
06-Jan-2016    Migrate mgntCtrl.st and mgntSub.c to 64-bit
               Use default macros in mgnt_calb.template
               Upgrade b913 mcors controller to new emcor.

Magnet-R7-0-9  K. Luchini (luchini):
24-Nov-2015    Cater 128660

Magnet-R7-0-8  K. Luchini (luchini):
07-Oct-2015    Set TRIPPED state if ps fault has occurred but
               ps is still on.  This will occur for an emcor

Magnet-R7-0-7  K. Luchini (luchini):
07-Oct-2015    remove duplicate XCM11 poly coef from
               vioc-li21-mg02.substitutions

Magnet-R7-0-6  K. Luchini (luchini):
07-Oct-2015    Upgrade standard biRa slot-0 controllers to
               an emcor slot-0 controller in b912, booting
               new epics ioc vioc-ltu1-mg03

Magnet-R7-0-5  K. Luchii (luchini):
05-Oct-2015    ASTA: add sol2 ivb poly coefficients.

Magnet-R7-0-4  K. Luchii (luchini):
30-Sep-2015    Remove duplicate PLC:BSY0:MG02 in vioc-bsy0-mg02

Magnet-R7-0-3  K. Luchini (luchini)
28-Sep-2015    Add sol2 in ASTA

Magnet-R7-0-2  K. Luchini (luchini)
25-Sep-2015    Fix caters 127171, 127172, 127214, 127168. 

Magnet-R7-0-1  K. Luchini (luchini)
24-Sep-2015    Move Chg XCDL4/YCDL5 downsteam, change unit numbers

Magnet-R7-0-0 K. Luchini (luchini)
19-Sep-2015    Upgrade standard biRa slot-0 controllers to
               an emcor slot-0 controller, in S20 gallery, Linac
               Alcove sectors li21-li27, li24 Gallery, b136, and 
               b5 bsy crate only. Each emcor is a linuxRT epics ioc, 
               remove pvs from vme iocs that are now in the he
               emcor linuxRT epics ioc. 

Magnet-R6-2-28 K. Luchini (luchini)
19-Aug-2015    Combine bsy ivb poly coef db files into 
               main ioc-bsy0-mg01.db,ioc-bsy0-mg02.db and sioc-bsy0-mg01.db
               Update corresponding st.cmd file.
               Load local init_asyn.cmd file in iocBoot/sioc-bsy0-mg01/st.cmd
               remove file iocBoot/ioc-bsy0-mg01/init_50b1.cmd

Magnet-R6-2-27 K. Luchini (luchini)
19-Aug-2015    Decommission b50b1 and b52agf, magnets
               have been removed from tunnel for lcls-ii
               bsy reconfiguration project

Magnet-R6-2-26 K. Luchini (luchini)
23-Jul-2015    For ASTA and XTA add hw databases separately
               in st.cmd file. Add separate timing db that
               includes mgnt_evr.template and mgnt_pattern.template

Magnet-R6-2-25 K. Luchini (luchini)
23-Jul-2015    For ASTA, change b-field units for
               soln and cq01s from kG to G 
               correctors chg kG-m to K-cm

Magnet-R6-2-24 K. Luchini (luchini)
01-Jul-2015    PM1 out-of-service should change PM4
               Chg pm4 b-field upper range to 5.6

Magnet-R6-2-23 K. Luchini (luchini)
24-Jun-2015    remove mcor,epsc,plc dbs from 
               iocBoot/ioc-li30-mg01/st.cmd for
               emcor upgrade. 

Magnet-R6-2-22 K. Luchini (luchini)
09-Jun-2015    LCLS Add pm4 pulsed magnet in bsy

Magnet-R6-2-21 K. Luchini (luchini)
03-Jun-2015    ASTA
                 add bxss
                 chg xcg1s/ycg1s with unit 811/812
                 to xc03s/yc03s with unit 421/422 

Magnet-R6-2-20 K. Luchini (luchini)
27-May-2015    Upgrade li30 mcor slot-0 controller
               Add dbs for upgrade of li24 mcor iocs
               Chg bx21-24 max current from 250 to 240
               chg bx21-24 max b-field from 9.9 to 9.9094kG-m

Magnet-R6-2-19 K. Luchini (luchini)
26-May-2015    Upgrade li27 mcor slot-0 controller

Magnet-R6-2-18 K. Luchini (luchini)
06-May-2015    Chg mgntApp/psSub.c mgntReversePoly() to check
               for NaN - not a number.
               Chg bx21-24 max current from 200 to 250
               chg bx21-24 max b-field from 8.5 to 9.9kG-m

Magnet-R6-2-17 K. Luchini (luchini)
05-May-2015    Chg iocBoot/ioc-li29-mg01/st.cmd to replace
               st.rtems.cmd with st.vmegeneric.cmd due to
               bug in irmis pvcrawler, which scans dbs nightly.
               The pvcrawler is unable to decipher some rtems cexp 
               commands found in st.rtems.cmd. Note that this ioc
               will be decommissioned during the august down.

Magnet-R6-2-16 K. Luchini (luchini)
21-Apr-2015    Upgrade li29 mcor slot-0 controller
               add linuxRT ioc, iocBoot/ioc-lcls/vioc-li29-mg01
               chg iocBoot/ioc-li29-mg01/st.cmd, moving
               all mgnt databases to vioc-li29-mg01
               create new restore file, including only emcor pvs
               that do not exist in the mgnt_mcor.cwConfig.
               VIOC-LI29-MG01_MCOR.cwsubtitutions.
               Modify IOC-LI29-MG01.cwsubstitutions changing
               the ioc name from IOC:LI29:MG01 to VIOC:LI29:MG01

Magnet-R6-2-15
07-Apr-2015    K. Luchini (luchini)
               Update db sioc-sys0-mg01 to include all sector
               model dbs so we only load one db. Also update
               iocBoot/sioc-sys0-mg01/st.cmd to load one db
               and add env var IOC_NODE.
                              
Magnet-R6-2-14 K. Luchini (luchini)
01-Apr-2015    Add asta correctors xc02s, yc02s and skeq quads 

Magnet-R6-2-13 K. Luchini (luchini)
26-Mar-2015    Fixed unpopulated macro seen in in20 and li22-cater 123802 
               Move all model pvs from sector soft iocs to sioc-sys0-mg01

Magnet-R6-2-12 K. Luchini (luchini)
25-Mar-2015    Force A-line Kicker to control out of service for
               slave, and pulsed correctors.
               Force A-line Kicker to control on/off of pulsed 
               correctors.

Magnet-R6-2-11 K. Luchini (luchini)
02-Mar-2015    Feedback Ctrl not showing up in summary when <dev>:fbck enabled.
                 Fixed by changing <dev>:HSTABSUB input field
                  PAU.RVAL  to PAU 
                  FBCK.RVAL to FBCK 
               Cater 122192 - Disable alarming when feedback & pau enabled
               Cater 122904 - Add pulsed A-line correctors XCOR:BSY0:71,YCOR:BSY0:72

Magnet-R6-2-10 K. Luchini (luchini)
11-Feb-2015    Fix Cater 121937, replace li21 type-4 with type-4ai
                 Chg xc21502-21900 and yc21503-21900 IvB poly coef (gain) 
                 and b-field range
               Fix Cater 122129, standardize delay time too long.

Magnet-R6-2-9  K. Luchini (luchini)
13-Jan-2015    Fix Cater 122031 for Q5 error when perturbing.
               When perturb selected form menu goto mgntCtrl_perturb.

Magnet-R6-2-8  K. Luchini (luchini)
19-Dec-2014    Move XCVM2 upstream between QVM1 and QVM2
               Chg XCVM2 device name from XCOR:LTU0:122 to XCOR:LTU0:115
               Chg xc21202 and yc21303 IvB poly coef (gain) and b-field range 
               Chg xc21302 and yc21303 IvB poly coef (gain) and b-field range 
               Chg xc21402 and yc21403 IvB poly coef (gain) and b-field range
               gain from 95.3A to 396.8A, b-range from +/-0.7 to +/-0.016kG-m
               due to magnet type chg fro

Magnet-R6-2-7  K. Luchini (luchini)
09-Dec-2014    Chg xc21502 and yc21503 IvB poly coef (gain) and b-field range
               Chg xc21602 and yc21603 IvB poly coef (gain) and b-field range 
               Chg xc21702 and yc21703 IvB poly coef (gain) and b-field range
               Chg xc21802 and yc21803 IvB poly coef (gain) and b-field range 
               Chg xc21900 and yc21900 IvB poly coef (gain) and b-field range 
               gain from 95.3A to 396.8A, b-range from +/-0.7 to +/-0.016kG-m
               due to magnet type chg from type 4 to a new style,
               type 4-al (aluminum) corrector.
               Chg mgnt_emcor_smps.substitutions macro  STEPSZ for
               mgnt_trim.template, which affects mininum trim current
               used for current tolerance checking in pv<dev>:TRIMSTEPMIN.
               Default STEPSZ changed from 1 to 0.0001.
               Update barcode for QA0 and Q5 as per R.Iverson


Magnet-R6-2-6  K. Luchini (luchini)
20-Nov-2014    Restore some additional EVR A-line triggers. The
               change was added to a new file mgnt_evrTrig.cwConfig,
               which replaced IOC-BSY0-MG01_TRIG.cwConfig
               Add commonApp/srcRestore/mgnt_evrTrig.cwConfig
               Move A-line triggers from IOC-BSY0-MG01.cwsubstitions
               to IOC-BSY0-MG01_TRIG.cwsubstitutions.
               Add IOC-BSY0-MG01-TRIG.cwsubstitutions
               Remove IOC-BSY0-MG01_TRIG.cwConfig, replaced by
               mgnt_evrTrig.cwConfig

Magnet-R6-2-5  K. Luchini (luchini)
19-Nov-2014    Chg EMCOR current range output
               Chg restore for vioc-li28-mg01/st.cmd to restore
               the emcor file separate from the standard pvs to make
               backout easier.
               Reduce the number of emcor pvs by using ao/ai conversion 
               Add commonApp/srcRestore/mgnt_emcor.cwConfig
               Add mgntApp/srcRestore/VIOC-LI28-MG01_MCOR.cwsubstitutions
               Add mgntApp/srcRestore/VIOC-LI22-MG01_MCOR.cwsubstitutions
               Move dev file from mgntApp/srcRestore to devApp/srcRestore

Magnet-R6-2-4  K. Luchini (luchini)
29-Oct-2014    Propagate emcor interlocks
               Chg pv <dev>:MAGNETMAIN   to <dev>:MAIN and fix macro MAIN
               Chg pv <dev>:MAGNETCONFIG to <dev>:CONFIG

Magnet-R6-2-3  K. Luchini (luchini)
28-Oct-2014     Upgrade iocAdmin from R3-1-9_1-0 to R2-1-12_1-1
                Upgrade restore from R2-2-1 to R2-2-2
                Add autosave-R5-1_1-0 to configure/RELEASE
                Update mgnt_emcor_chan.template 
                Update mgnt_emcor_controller.template
                Update vioc-li28-mg01.substitutions to add EPSCs
                Update vioc-li22-mg01.substitutions to add EPSCs
                Update iocBoot/comon/st.linuxRT.cmd
                Update st.cmd files in iocBoot/vioc-b34-mg03
                Update st.cmd files in iocBoot/vioc-b34-mg04
                Remove iocBoot/lclsde-17, obsolete test-stand
                Update mgntMcorLmits in mgntSub.c, to set  emcor
                dac drvh/drvl and hopr/lopr limits 2% above 
                full scale range. Note that dac full scale range
                is set to the fbck full scale range.
                Add emcor oversampling.

Magnet-R6-2-2  Zelazny, Shantha
29-Sep-2014     CATER 119598: Q24501 (LI24), CQ22 (LI24), and 
                YCOR 703 (LI29) all get stuck in the TRIM state
                when activating configs. Found and fixed typos
                in corresponding init_seq.cmd's.

Magnet-R6-2-1  K. Luchini
12-Sep-2014     Add pv <dev>:RAMPSTARTDLY to be used
                in mgntCtrl.st state mgntCtrl_ramp_start_wait
                instead of the constant,which was set to 20 sec.
                for 50b1. Previously this was a constant of 2 sec.
                Now this pv is save/restored, and the default is 2 sec.

Magnet-R6-2-0  K. Luchini
12-Sep-2014     Add 50B1 new polarity switch 
                Major  Sequence cleanup, which includes
                removing unavail_ef, only monitoring now.
                Move unavail_ef code to db. Move some of code
                for onoffstate_ef db, left time stamp of stdzlosttod
                and degauslosttod for now. Added new states

Magnet-R6-1-10  K. Luchini
04-Sep-2014     Add 50B1 new polarity switch hw changes to
                sequences,dbs,includes and command files
                Add additional pvs for emcor, for dev checkout

Magnet-R6-1-9   K. Luchini
26-Aug-2014     Add mgnt_mcor_crate.template 
                Update ASTA mcor db, chg mcor6 adc to 12A

Magnet-R6-1-8   K. Luchini
19-Aug-2014     add fbck full scale for emcor
                update asta corrector poly coef.

Magnet-R6-1-7   K. Luchini
30-Jul-2014     emcor db changes. 
                mgntMcorLimits subroutine in mgntSub.c
                Asta-UED db updates

Magnet-R6-1-6   K. Luchini
09-Jul-2014     modify mgnt_hsta.template, adding default macros
                modify mngt_degauss.template, adding default macros
                modify mgnt_emcor_chan.template and mgnt_emcor_linac.substitutions
                Add diagnostics to mgntCtrl.st to degaussing function to monitor
                ramp speed.

Magnet-R6-1-5   K. Luchini
25-Jun-2014     for QSM1,lose degauss if ps trips or BACT>0.05Kg
                Set Degaus OK flag in <dev>:STAT
                Set Degauss Warning in <dev>:STATMSG
                Fix BACT Out-of-Tolerance bug in mgntSlcStat

Magnet-R6-1-4   K. Luchini
25-Jun-2014     Add QSM1 degauss waveform data ponts from Scott
 
Magnet-R6-1-3   K. Luchini
25-Jun-2014     Add epicsvme.dbd, epicspci.dbd for devlib2
                Add pci diagnostic functoin for linuxRT pciMcor.dbd

Magnet-R6-1-2   K. Luchini
06-May-2014      Add QSM1 to beamline in same BSY location
                Update devlib2,drvPciMcor,drvUipPciGen

Magnet-R6-1-1   K. Luchini
                Upgrade to event-R4-1-1
                Add back in streamdevice
                Add EPICS V4 modules 

Magnet-R6-1-0   K. Luchini
                Upgrade to event-R4-1-0. 
                Remove streamdevice
                Simplify reversing switch. Prep for new polarity
                switch tobe installedin b136.

Magnet-R6-0-8
05-Feb-2014     K. Luchini 
                Move 10Hz scan rate of ioc heartbeat from ioc-dmp1-mg01
                to both ioc-ltu1-mg01 and ioc-dmp1-mg01 as per Sonya
                for SXRSS

Magnet-R6-0-7
29-Jan-2014     K. Luchini 
                Change to static build, required for soft iocs
                using cram

Magnet-R6-0-6
29-Jan-2014     K. Luchini 
                Add cram

Magnet-R6-0-5
29-Jan-2014     K. Luchini
                Solve ater #113985, mistyped degauss function.
                coordinate release with Henrik's matlab gui for
                hard and soft x-ray, due to temp fix to handle
                mispelling.
                ioc heartbeat should be set to 0.1 seconds
                in iocBoot/ioc-ltu1-mg01/init_seq instead
                of in iocBoot/ioc-dmp1-mg01/init_seq.cmd. 

Magnet-R6-0-4
22-Oct-2013     K. Luchini
                Add A-line kicker interlocks MAGLCWSTATE and MAGTEMP2
                Chg A-link kicker units from kG-m to GeV, changing BMAX
                and slope, and updateing units for EDES,EACT,ECON,etc
 
Magnet-R6-0-3
14-Oct-2013     K. Luchini
                Add new b-limits for ASTA correctors YC00S and XC00S
                and new slope and offset as per J.Sheppard.
                specified in GTF Corrector Cluster and Maximum
                Misterred Beam Energy.

Magnet-R6-0-2
14-Oct-2013     K. Luchini
                Tag final changes for Soft X-Ray Chicane

Magnet-R6-0-1
08-Aug-2013     K. Luchini
                Add Undulator Soft X-Ray Chicane

Magnet-R6-0-0
31-Jul-2013     K. Luchini
                Merge Magnet-R5-0-16-BRANCH-P33
                Add iocBoot/ioc-lcls2,ioc-lcls and ioc-testfac
                Update mcor substition files in common and in20
                to remove unused macros. 
                Remove module calbok fanout to channel calbok
                for vsam and ip8413, as it is no longer  needed.

Magnet-R5-0-15-BRANCH-P33
22-May-2013     K. Luchini 
                Build with upgraded modules
                  event-R3-2-2-br_generaltime-4-
                  udpComm-R2-4-2
                  fcom-R1-3-18
                  fcomUtil-R1-1-18
                  fcomUtil-R1-1-18
                Add A-line kicker event ch 12 and 23 trigger channels in bsy
                for A-line kicker backward correction to
                ioc-bsy0-mg01_trig.substitutions
                IOC-BSY0-MG01.cwsubstitutions
                Add A-line kicker mag temp plc signal and fix iact broken link
                for slave magnet
                Add A-line Kicker backward pulse correction event trig width calc records
                Fix cater 104884, where STDZOK was not cleared
                on DAC_ZERO. This required a cange to mgnt_raw.template
                IDIRECT.CALC to check for DAC ZERO and STATE change. The
                seq mgntCtrl.st was changed in the DAC_ZERO when statement.

Magnet-R5-0-16-BRANCH-P32
01-Apr-2013     K. Luchini
                Add ASTA database, restore, and startup files
                Note that we have a problem with mgntCtrl.st
                This problem did not appear in BRANCH-P29

Magnet-R5-0-16-BRANCH-P31
23-Jan-2013     K. Luchini 
                Fix soft ioc and linux-RT crash in linear square fit
                and mgnt calb limits subroutine initialization.
                Check out of service, power supply state, feedback and
                pau enabled, and analog control enabled state before
                starting calibration.

Magnet-R5-0-16-BRANCH-P30
14-Nov-2012     K. Luchini
                Change mgnt_calb.template and calib in mgntCtrl.st
                Change linear square fit and linear square fit residual
                functions.

Magnet-R5-0-16-BRANCH-P29
07-Nov-2012     K. Luchini
                Restore: 
                 1) Fix restore of Time-Of-Day PVs
                    TRIMTOD,STDZTOD,STDZLOSTTOD,CALBTOD,DEGAUSTOD,DEGAUSLOSTTOD
                 1) Don't log change for CALBSLOPE,CALBOFFSET,CALBLINRCALBGOODFIT.
                 2) Static restore of 50B1 DEGAUSEENABLE
                 3) Restore BDESPREVTRIM
                 4) Restore EDESSAVE
                Db:
                 1) add mgnt_calb.template macros
                 2) chg TOD pvs from stringin timeStamp dev support to stringout soft chan dev support.
                 3) add FEEDBACK function to mcor controlled devices, as this is used for fast feedback 
                 4) Change MDEL for BDES to from 0.00001
                 5) Remove FLNK from BDESPREVTRIM
                Seq:
                 1) Convert epicsTimestamp to ascii and put into TOD pvs for
                    STDZ,CALB,TRIM and DEGAUSS functions.
                    Initalize local parameter bdesprev to BDESPREVTRIM on boot, 
                     now that this PV restored on boot.
                 2) Get STDZOK before check when onoffstate event flag occurs.

Magnet-R5-0-16-BRANCH-P28
22-Oct-2012     K. Luchini
                Add PVs <device>:INTOL_BMIN2 and <device>:MPSBLLIM2
                providing a secondary MPS lower limit tolerance check
                requested by RHI on 10/16/2012

Magnet-R5-0-16-BRANCH-P27
22-Oct-2012     K. Luchini
                Add <device>:EDESSAVE to mgnt_model.template
                and restore new PV on boot. 
                Add <device>:BMAGINIT to initalize all magnet
                model pvs on soft ioc boot.
                Correct QDMP2 Z-position

Magnet-R5-0-16-BRANCH-P26
10-Oct-2012     K. Luchini
                Change mgntMain.cpp, compileDependencies.h and
                src/Makefile for linuxRT build
                Add BEND:DMP1:400:MPSBLLIM to IOC-LTU1-MG01_static.cwConfig
                because MPS requirements have changed. Also changed
                the data in this static restore file in 
                $IOC_DATA/ioc-ltu1-mg01/restore/IOC-LTU1-MG01_static.sav
                such that:
                  BEND:DMP1:400:MPSBLLIM is set to 2.3 was 0.055
                  BEND:DMP1:300:MPSLIMITS.INPE is set to 7 was 5

Magnet-R5-0-16-BRANCH-P25
01-Oct-2012     K. Luchini
                Remove deprecated PV STDZMINIENABLE
                Added additional fastfeedbakc sqequence sncPauFcomPush
                to init_st.cmd for ioc-ltu0-mg01 and ioc-ltu1-mg01 

Magnet-R5-0-16-BRANCH-P24
18-Sep-2012     K. Luchini
                Remove XCVB2 from db since magnet in the LTU ihas been 
                removed from beamline.
                Rename QUAD:DMP1:200 to QUAD:DMP1:380 (QUE1 renamed to QUE2)
                Rename QUA:DMP1:300 MAD name to QUE1. Z-position of QUE1,QUE2,
                XCD3 and YCD3 have moved.
                Change BMAX for XCQT12 and XCQT22 as per R.Iverson

Magnet-R5-0-16-BRANCH-P23
11-Sep-2012     K. Luchini
                Change linac LCLS Type-5 corrector magnets polynomials.
                XC30402, YC30403, XC30502, YC30503 
                XC29602, YC29603, XC29702, YC29703
                XC27202, YC27203, XC27502, YC27503, XC27602, YC27603
                XC26900, YC26900 
                These correctors were previously defined with the
                LCLS Type-4 corrector magnet polynomial 

Magnet-R5-0-16-BRANCH-P22
06-Sep-2012     K. Luchini
                Deprecated Perturb Slide control function. Removed
                from pull down menus and from sequence.

Magnet-R5-0-16-BRANCH-P21
06-Sep-2012     K. Luchini
                Add Dayle's mgntCtrl_calb to sequence mgntCtrl.st  
                but don't execute
                Deprecate mgnt_smps_fbck.db by adding macro to mgnt_smps.db           
                Add Dayle's pvs to mgnt_calb.template
                Chg IRIPL, IGND, RAMPSTATE, R pvs from inputs to outputs to
                get rid of INVALID alarm on boot if INP field, now OUT field
                is null. 
                Remove IRIPL from mgnt_plc_analog_kick.template and 
                mgnt_plc_analog.template, Remove IRIPL from mgnt_mcor.template

Magnet-R5-0-16-BRANCH-P20
14-Aug-2012     K. Luchini
                Build for linuxRT
                Update Q5 and QA0 as per R. Iverson
                Add virtual iocs for linuxRT
                Update XCVM2 and XCVM3 polynomials and current limits
                to match that of XCDL1 as per R.Iverson. Type 4 magnets
                were replaced for XCVM2 and XCVM3.

Magnet-R5-0-16-BRANCH-P19
06-Jun-2012     K. Luchini
                Update mgntApp/Db/dev and test-stand iocBoot
                files.

Magnet-R5-0-16-BRANCH-P18
04-Apr-2012     K. Luchini
                A-line pulser plc tag changes as per Sandeep.

Magnet-R5-0-16-BRANCH-P17
01-Mar-2012     K. Luchini
                Update XTA boot files add soft ioc for XTA
                Replace EPICS_SITE_TOP with BASE_SITE_TOP in
                configure/RELEASE 
                Chg pv name in mgnt_epsc.template as per Steph.

Magnet-R5-0-16-BRANCH-P16
07-Feb-2012     K. Luchini
                Update A-Line Kicker tags to correspond plc changes

Magnet-R5-0-16-BRANCH-P15
18-Jan-2012     K. Luchini
                Upgrade from epics R3.14.8.2 to R3.14.12
                Add alarm limits for model pv <dev>:EERR as per Henrik.
                Add A-Line pvs

Magnet-R5-0-16-BRANCH-P14
13-Jan-2012     K. Luchini
                Update A-line kicker controls 
                Fix debug flag format in init_plc.cmd at startup.

Magnet-R5-0-16-BRANCH-P13
05-Dec-2011     K. Luchini
                Add A-line pulser controls

Magnet-R5-0-16-BRANCH-P12
28-Nov-2011     K. Luchini
                Fix cater #97238 - chg LINAC QE BMAX in li21-li30
                Add ground current warnings
                Add resistance alarms
                Add model pv <device>:EERR as per Henrik
                and "Gnd I Warning"

Magnet-R5-0-16-BRANCH-P11
06-Nov-2011     K. Luchini
                Modify mgntCtrl.st, use <dev>:TRIMRAMPRATE
                as default rather than  <dev>:IRAMPRATE.
                Also, used <dev>:TRIMSETL as stdz and trim
                settle time.

Magnet-R5-0-16-BRANCH-P10
02-Nov-2011     K. Luchini
                Modify mgntCtrl_softramp in mgntCtrl.st, needed
                for degauss procedure. 

Magnet-R5-0-16-BRANCH-P9
15-Oct-2011     K. Luchini
                Add BXHS Degaussing algorithm
                Add Q50Q1 and Q50Q3 in BSY

Magnet-R5-0-16-BRANCH-P8
15-Oct-2011     K. Luchini
                Align {} in src/mgntCtrl.st, no code changes.

Magnet-R5-0-16-BRANCH-P7
15-Oct-2011     K. Luchini
                Add STDZITOLR in srcRestore/mgnt_common.template
                Add /LOG to STATE in srcRestore/mgnt_commont.template

Magnet-R5-0-16-BRANCH-P6
10-Oct-2011     K. Luchini
                Add fast feedback pau to undulator/dump correctors
                for Franz-Joseph test.

Magnet-R5-0-16-BRANCH-P5
10-Sep-2011     K. Luchini
                Add X-Band Test Area database and restore files.
                Add asyn and modbus modules, which required an upgrade of
                the following modules: pau,fcom,fcomUtil,udpcom,event
                generaltime,ipac,ip231,hytec8413,plcAdmin,epsc,genSub, seq

Magnet-R5-0-16-BRANCH-P4
17-Aug-2011     K. Luchini
                Fixed cater #96135 where magnet is set to maximum current
                when standardize failed. The magnet is now trimmed to bdes
                upon failure or success of standardize function.

Magnet-R5-0-16-BRANCH-P3
01-Aug-2011     K. Luchini
                Change standardize tolerance calculation
                Add resistance pv <device>:R
                add BXSS2 in undulator, set offline
                add dbs for A-line kicker but don't load

Magnet-R5-0-16-BRANCH-P2
29-Jun-2011     D. Rogind and K. Luchini 
                Add Undulator bend chicane BXSS1-4 (section 16)
                Add LEM pvs <dev>:BMAGX, <dev>:BMAGY, <dev>:BLEM
                Upgrade PLCADMIN from plcAdmin-R2-2-0 to plcAdmin-R2-2-1
                Load und1 and dmp1 all-star function dbs from hard iocs
                to soft ioc, sioc-sys0-mg01.

Magnet-R5-0-16-BRANCH-P1
01-Jun-2011:    K. Luchini
                Fix bug introduced in patch 0 where stdzok
                was cleared when TRIMming and standardize was
                enabled and moving in direction opposite to standardization,
                when mini-standardize is to be performed. Chg in mgntCtrl.st  
                Changed LI30 Quads maximm current from 250 to 220
                Changed <device>:STDZDISABLE text from enable/disable to no/yes

Magnet-R5-0-16-BRANCH-P0
23-May-2011:    D. Rogind and K. Luchini
                Create Branch 
                Fix cater 91319 to check if a device is out-of-service
                before allowing a turn on request for a power supply
                Fix cater 93821, where MCOR Bulks (LGPS) BDES value
                was not restored properly on reboot. Remove check for perturb 
                disable check. The bulks do not have analog control (no perturb)
                because these supplies are ramped up to the voltage set on the
                front of the supply when turned on.

Magnet-R5-0-16
23-May-2011     D. Rogind
                Clear STDZOK during perturb when moving opposite
                to the direction of standardization. 
                Decommission use of mini-standarize enable, and
                automatically mini-standardize whenstandardize
                is enabled, and on the first trim after a perturb.
                (THIS IS NOT A STABLE RELEASE IN PRODUCTION).
 
Magnet-R5-0-12: 
05-Jan-2011    D. Rogind          (DROGIND)
               Rebuilt to use latest pau and fcomUtil 
               releases and changed SNL

Magnet-R5-0-11:
05-Jan-2011     D. Rogind          (DROGIND)
                Chg CQ31 and CQ32 DL2 tweeker quads field limit
                from +/-20 to +/-5k and current limit from +/-12
                to +/-2.9. Note that these quads are limited at
                the breaker to +/-3A.
                Changed ioc-ltu1-mg01_lgps.template to add
                CQ31 and CQ32.

Magnet-R5-0-10:
31-Aug-2010     D.Rogind           (DROGIND)
                Upgrad Feedback PAU module from pau-R0-1-9 to pau-R1-1-1
                Change arguments to sncPau sequence loaded at startup.

Magnet-R5-0-9:  
24-Aug-2010     K. Luchini         (LUCHINI)
                Upgraded Feedback FCOM, mgntPauUsr.c pull routine.
                Moved ltu allstar ctrl func from ltu hard iocs to soft ioc.
                Restore static pvs in st.cmd files
                Update B-field limits and poly b-to-i slope coef for bsy 
                corrector units 60,62 and 65.

Magnet-R5-0-8:  
30-Jun-2010     K. Luchini         (LUCHINI)
                Add Z-positions to CQ31 and CQ32 and change
                the the units from A to kG.
                
Magnet-R5-0-7: 
23-Jun-2010     K. Luchini  
                In the injector, the controller for BXG was changed
                from an MCOR30 (bipolar) to an EPSC (unipolar) ro provide
                on/off control of ps. BXG is set OFF and offline for
                normal running. BXG psc node is psc-in20-mg06
                Removed Q21201 Reversing switch and disconnected LI21
                QE-Bulk (LGPS 1). Q21301 was also locked of at the breaker
                and set offline in the db but left on the display as this
                magnet is still on the beamline.
                All QE-bulks from 21-29 were locked
                off at the breaker and set offlinein the db. The lgps
                units were removed from the display, but remain on the
                EPSC diagnostic panels as per R.Iverson.

Magnet-R5-0-6:
09-Jun-2010     K. Luchini         (LUCHINI):
                Build with a tagged verions etherPSC-R2-0-1-lcls4
                which has been built with RTEMS-4.9.3 and
                updates for reversing switch ps on/off

Magnet-R5-0-5: 
09-Jun-2010     K. Luchini         (LUCHINI):
                Chg sequence to add wait on mini-stdz after moving
                beyond bdes and before setting to bdes. Also change
                reset function to abort if ps is powered on.
                Cleanup st.cmd files for feedback ioc by load fbck init
                in separte cmd files.
                Add DL2 tweeker quads CQ31 and CQ32 in ioc-ltu1-mg01
                but set offline until magnets are installed Sept 2010.
                
Magnet-R5-0-4:  
                Build with event-R3-2-1 instead of event-R3-2-0
                Build with udpComm-R1-3-1 insteadl of udpComm-R1-1-0
                Build with fcomUtil-R0-4-3 instaed of fcomUtil-R0-4-0
                Build with fcom-R1-3-2 instead of fcom-R1-2-0 
                Build with pdu-R0-1-5 instead of pdu-R0-1-5
                This changes BYKIK event code from 140 to 162
                as per S.Norum by a request from the photon group.

Magnet-R5-0-3:  Change LTU corrector current limits due to
                breaker installation for BCS. The current limits
                were changed for XCDL1,XCDL2,XCQT12,XCQT22,XCVM2,XCVM3

Magnet-R5-0-2:  Changed mgntCtrl.st to not ignore trims, perturbs
                commands when PAU=1; wrong logic for request_wait_state
Magnet-R5-0-1:  Update RELEASE_NOTES file and retag

Magnet-R5-0-0 : Build with pau-R0-1-4, Tag all fast feedback changes, test

Magnet-R4-0-10: Fix degauss.
                Change IMIN of XCQT10 from -6A to -1.5 as per R. Iverson
                Automatically trim BYKIK after reboot, modify init_seq.cmd
                 
Magnet-R4-0-9:  Set BYKIK to 60Hz startup and chg I-to-V poly
                coefficients as per Juhao Wu. 
                Chg B-field and current ranges for some LTU
                XCORs as per Rick Iverson. 
                Chg fast feedback correctors in LTU from MCOR 6 to MCOR6
                AIP Upgrade of 50B1,52AGF, Q50Q2 EPSC's, moving MCOR crate
                AIP Upgrade of 50B1 and LI21 201 reversing switch controls
                AIP Upgrade of Linac QE's and QE bulk, plus LI30,29,26,21
                alcove correctors.
                Upgrated of etherPSC driver with rev switch controls.
                Obosolete files no longer used.
                Add soft iocs for each sectors, in preparation to move
                EPSC to soft iocs at a later date.
                Move linac and bsy wildcard functions to soft ioc sioc-sys0-mg01
                Generate Archive PV list Bob Hall, add channels
                Selectively restore PV <dev>:STATSUB.INPL, used to propgate
                BCON warnings to LCLSHOME. This was done due to but with restoring
                strings on boot..issues with dbrestore.
                Remove SLC stat and HSTA pvs no longer used.
                
Magnet-R4-0-8:  Use new BYKIK and BXKIK event triggers 
                Chg db ioc-ltu0-mg01_trig and ioc-ltu0-mg01_evr
                Chg db ioc-li24-mg01_trig and ioc-li24-mg01_evr
                Upgrade to event-R3-0-4

Magnet-R4-0-7:  Load a amdeth.obj to iocBoot/common/init_gdb.cmd
                set GDB_IP environment var in iocBoot/ioc-dmp1-mg01/st.cmd
                and start gdb by loading init_gdb.cmd

Magnet-R4-0-6:  Chg BMIN and IMIN for BX31-36 trims to 0
                as per Rick Iverson.

Magnet-R4-0-5:  Heinz-Dieter Nuhn corrections to all undulator
                magnet polynomial coefficients by factor 0.8642

Magnet-R4-0-4:  Prepare orLI27/LI28 dipole correctors upgrade
                to EPICS Control.
                Build with iocAdmin-R3-1-1
                Build with event-R3-0-2   
                In iocBoot startup files for hard iocs 
                replace iocAdmin.db with iocAdminRTEMS.db
                for soft iocs replace with iocAdminSoft.db
                and for all iocs add iocRelease.db.
                Add iocBoot directories for hard iocs in linac to prepare
                AIP where all soft iocs will be used for epsc controlled
                magnets and hard iocs will be used for MCOR controlled
                magnets.       

Magnet-R4-0-3:  Upgrade LI24/LI25 dipole correctors to EPICS Control
                Build with iocAdmin-R3-0-0
                Build with event-R3-0-0

Magnet-R4-0-2:  Fix cater #8715 Add Undulator Z-positions.

Magnet-R4-0-1:  Update mgntApp/srcRestore files to move the pv 
                <device>:STATSUB.INPL from individual file for 
                sectors in20,li21,li24,ltu1 and und to the file
                mgnt_common.cwConfig
                Comment out rtems_gdb_start () in init_gdb.cmd

Magnet-R4-0-0:  Build with rtems-4.9.1 and base-r3-14-8-2-lcls3
                Fix channel watcher files IOC-LTU0-MG01.cwsubstittuions,
                IOC-LTU1-MG01.cwsubstitutions, and IOC-LTU1-MG02.cwsubstitutions
                to fix tyoo of xcors that should be ycors.

Magnet-R3-2-5:  Fix cater 84582 - if select btn set, ctrl func does now work
                Fix cater 86055 - ioc automatically stdz on reboot. All star problem
                Fix cater 96073 - same as 86055
                Fix cater 86345 - problem with allstar function
                Fix cater 86348 - faulse alarm on plc PS:LI29:1:INTLKSUMYCALC

Magnet-R3-2-4:  Fix cater 86121 but changing plc-dmp1-mg01.substitutions 
                Fix cater 86155, 
                Add Db/common/mgnt_epsc_qe_linac.substitutions (not used yet)
                Upgrade from iocAdmin-R2-1-3 to iocAdmin-R2-1-4
                Change mcor bulk ps lables to bld-ps
                Add MPS pvs <device>:INTOL and associated pvs
             

Magnet-R3-2-3:  BYKIK hardware was modifed by Tony Beukers
                and PLC ladder logic modified by Marc Larrus
                so that BXKIK operation looked like BYKIK.
                BYKIK and BXKIK now uses a common database.
 
Magnet-R3-2-2:  Add event trigger, pattern and special evr db for
                undulator beam loss monitors for mps, in b913
                ioc-dmp1-mg01 and b921 ioc-und1-mg01
                Remove slc-aware lib and db from build

Magnet-R3-2-1:  Changed Q50Q1-3 BMAX from 309.226 to 41 kG.
                The power supply change for this magnet is much
                smaller than the previous unit. 
                Change location of IOC-BSY0-MG02.sav to $IOC_DATA/ioc-ltu0-mg01/restore
                Change location of IOC-UND1-MG02.sav to $IOC_DATA/ioc-dmp1-mg01/restore 
 
Magnet-R3-2-0:  Build with iocAdmin-R2-1-3, w/ FBCK pv
                Change startup.cmd files for vme  iocs
                  remove change SNAME of SYSRESEt pv from st.cmd
                  remove slc-aware db and associated env variables
                  provide absolute path when laoding gdb objects
                  remove dbpf to all  allstar pvs
                Move allstar pvs from vme iocs to sioc-sys0-mg01
                Change calc for mcor IRIPL at zero volt.
                Process mcor RAMPSTATE pv on boot
                Chg BCON from sub to ao, must coordinate chg w/SCORE
              
Magnet-R3-1-7:  Build with micro-1-13
                Add rtems soft reboot function
                Change $(IOC):SYSRESET.SNAM to lcl_bus_rst in st.cmd

Magnet-R3-1-6:  Build with event-R2-8-1 from event-R2-7-0
                Build with iocAdmin-R2-1-1 from iocAdmin-R2-1-0
                Temp restore BXKIK trig in IOC-LI24-MG01.cwsubstitutions 
                Chage BXKIK trig width from 1000 to 100000ns
                Restore QEM3V and remove QEM4 from BCON warn to lclshome

Magnet-R3-1-5:  Add Q50Q1-3 hardware epics control, psc-bsy0-mg01
                changes in ioc-bsy0-mg01. The epsc is located in
                b136. Commite change to Q5,Q6,QA0 made by Arturo
                on Jan 23rd as per PE, which are currently booted
                into ioc-bsy0-mg02 in b5

Magnet-R3-1-4:  Add IMIN,IMAX and calculate BDES for slaves
                without trims, using IDES from master.
                Add 2nd argument to dbRestore "iocname" for soft iocs.
                Changes for phase iv before commissioning begins, 
                which include fixing broken links slaves bykik, qe32-36,
                bmax for qvb1-3, add missing units to all* selection

Magnet-R3-1-3:  Add ECON,EDES,EACT for slc controlled devices.
                Process <DEVICE>:SELECT on reboot and a few other pvs
                in mgnt_ctrl.template and mgnt_mcor.template
                

Magnet-R3-1-2:  Add ECON,EDES,EACT for model use
                Process <DEVICE>:RAMPSTATE for all mcor's on boot.
                Set alarm on <DEVICE>:SELECT so this can be
                propogated up to lclshome

Magnet-R3-1-1:  Add IVB waveform pv for model use
                Correct tolernace calculation bug 
                which showed up only for some with a negative
                range where BMAX was not zero.
                <DEVICE>:CHCKBTOL.CALC

Magnet-R3-1-0:  Build with event-R2-7-0
                Build with plcAdmin-R1-0-2
                Build with iocAdmin-R2-1-0
                Added phase iv ioc databases for iocs
                in the bsy, ltu, undulator and dump.

Magnet-R3-0-10: Tag latest release for li25, fix for bxkik
                changing rate errorback to minor alarm there
                is a hardware problem that cause a constant
                alarm. Also, do not propagate this alarm up
                to lclshome.

Magnet-R3-0-9:  fix bug to trim related trim coils after 
                standardize of main. Build with newest
                Event release event-R2-6-3 rather than 
                event-R2-6-0.
                
Magnet-R3-0-8:  fix bug in the sequence mgntCtrl.st such that
                related trim coils are dac zero'ed before
                the main magnet is standardized and then
                trimmed after the main magnet is trimmed.
                Increase the BMAX for BX22 magnet string in
                li24 to from 5.0 to 8.5

Magnet-R3-0-7:  Fix bug in lgps all* function that hand
                the functions turn_on and turn_off reversed.
                Added standardize function to correctors.

Magnet-R3-0-5:  Add new feedback correctors xc21302 and yc21303

Magnet-R3-0-5:  Modify in20 st.cmd and init_ipac.cmd
                to backout ip-adc-8413 use.
                Chg Db/common/mgnt_plc_ps.substitutions
                pv STATE desc,severity and state name

Magnet-R3-0-4:  Build with etherPSC-R2-0-2
                Change iocBoot/ioc-in20-mg01/st.cmd and
                init_ipac.cmd to load ip-adc-814 instead
                of vsam db.

Magnet-R3-0-3:  Modify Db/in20/plc_in20_mg02.substitution to
                fix ps2 so that it controls correct ps.
                Backout change to mgntCtrl.st in last release

Magnet-R3-0-2:  Modify mgntCtrl.st such that the current
                is set to the ides value if stdzok is no. 

Magnet-R3-0-1:  Add mini-standardize to perturb, but not perturb-slider.
                Perform mini-standardize on <device>:stdzminienable check only.

Magnet-R3-0-0:  Combine MagnetCommon-R1-0-5 w/chg to iocBoot/common
                ioc-in20-mg01-R1-0-4 w/chgs to iocBoot/ioc-in20-mg01 files
                ioc-li21-mg01-R1-0-5 w/chgs to iocBoot/ioc-li21-mg01 files
                ioc-li24-mg01-R1-0-6 w/chgs to iocBoot files and bc2 mgnt_li21.db
                sioc-li22-mg01-R1-0-1
                sioc-li23-mg01-R1-0-1
                sioc-li25-mg01-R1-0-3
                sioc-li26-mg01-R1-0-1
                sioc-li27-mg01-R1-0-1
                sioc-li28-mg01-R1-0-1
                sioc-li29-mg01-R1-0-1
                sioc-li30-mg01-R1-0-1

MagnetCommon-R1-0-5:
                Step dac when soft ramping.
                Check for an invalid or udf alarm in stat adc/dac error

MagnetCommon-R1-0-4:
                Remove BCON warning from propagating up
                to the lclshome display.

MagnetCommon-R1-0-3:
                Build with micro-R1-1-11
                Filter up epsc and plc intlksumy to device
                Add fbckenable and remove check for fbck
                control when setting unavail pv. The fbckenable
                bit will not prevent users from entering a bdes
                value or hitting trim. When fbckenable is set
                the statsumy message will indicate feedback ctrl
                as no alarm.

MagnetCommon-R1-0-2:
                Build with event-R2-5-1
                Build with micro-R1-1-10

MagnetCommon-R1-0-1:
                Ensure that Out-of-Service devices are first
                dac zeroed and then powered off if on/off is available
                Modify standardize function in sequence to 
                peform trim after success standardize function.
                Depricate src/mgntSoftInclude.dbd and 
                src/mgntInclude.dbd and modify src/Makefile accordingly.

MagnetCommon-R1-0-0: 
                Backout build to base-R3-14-8-2-lcls2
                Separate in cvs from mgntApp to MagnetCommon
                Modify plc database to use new tags
                Add macros to mgnt_poly.template, allow for 9th degree poly
                Build with micro-R1-1-9
                Build with event-R2-5-0

Magnet-R2-0-14: Add subSys.c and subSys.dbd locally,
                removing dependency on modules library.

Magnet-R2-0-13: Build with base-R3-14-9-lcls1
                libcmlog.a removed from build. This library is now
                included in the modules/micro release.

Magnet-R2-0-12: Build with base-R3-14-8-2-lcls2

Magnet-R2-0-11: Build with base-R3-14-8-2-lcls1

Magnet-R2-0-10: Build with ipac-R1-0-1 instead of ipac-R1-0-0
                Build with ip231-R1-0-1 instead of acromagIpac-R1-0-1 
                Build with hytec8413-R1-1-2 instead of hytec8413-R1-1-1
                Build with seq-R1-0-0 instead of seq/Devl
                Build with etherPSC-R1-0-1 instead of etherPSC-R1-0-0
                Include genSub-R1-0-1            

Magnet-R2-0-9:  Build with event-R2-4-5 instead of event-R2-4-0
                Build with generalTime-R1-2-0 instead of generalTime/Devl
                remove init of HSTA from db
                add BNOM pv for nominal field
                add INOM pv for nominal current
                zero INPI-INPL in mgnt_poly.template
                remove check for ONOFFCTRL when RESET function selected
                fix problem with BX01/02 PPS 480 contactor opening on reboot.
                poll ISSTDZLOST pv at 10 second interval and set PRIO field to low
                Use RIPLOK.D to specify multiplier of CHCK_TOL add add to restore file

Magnet-R2-0-8:  Fixed macro typo in mgnt_in20_mcor2.substitutions.

Magnet-R2-0-7:  Build with restore-R1-0-1 instead of restore-R1-0-0.
                (error loading mcor2 db, fixed in R2-0-8)

Magnet-R2-0-6:  Chg SQ01 and CQ01 from mcor6's to mcor12's. Clip at 10A.
                Chg SOL1BK from mcor12 to mcor6 and leave b-limits as is.
                (error loading mcor2 db, fixed in R2-0-8)

Magnet-R2-0-5:  Add function BCON-to-BDES
                Change BDES.DESC to madname
                Fix menu button so that it displays the processing 
                function until the functio is complete.

Magnet-R2-0-4:  Hardwire upper and lower limit of MCOR input/output
                in mgnt_mcor.template pv's V2ISLOPE,I2VSLOPE to 
                +/-10V instead of linking to upper and lower limit
                of adc and dac modules.

Magnet-R2-0-3:  Trim optimization.
                Change VSAM range from +/-10V to +/-10.24V snf
                change the convesion from volts to current and 
                visa-versa accordingly.
                Remove the link from <DEV>:STATE to <DEV>:ISSTDZLOST
                Add standardize lost check in snl for TURN ON and TURN OFF
                Add a check to verify ps is off in snl for TURN OFF and log message.
                Remove settle time delay from 3-linear trim at steps 1 and 2.

Magnet-R2-0-2:  Integrate trim, check and standardize tolerances
                in mgnt_tol.template with IDELTA and BDELTA pv's

Magnet-R2-0-1:  Release with new tagged releases of the following
                software. The tagged releases include no software changes
                build with restore-R1-0-0 instead of restore/Devl
                replaced iocMon/Devl with iocAdmin-R1-0-0
                build with ether_ip-R-1-0-1 instead of ether_ip/Devl
                build with micro-R1-1-6 instead of micro/micro-R1-1-1
                build with generalTime-R1-2-0 instead of generaltime/Devl
                build with event-R2-4 instead of event-R2-3-8
                build with miscUtils-R1-0-0 instead of miscUtils/Devl
                build with sSubRecord-R1-0-0 instead of sSubRecord/ Devl
                build with std-R1-0-0 instead of std/Devl
                build with sub-R1-0-0 instead of sub/Devl
                build with ipac-R1-0-0 instead of ipac/Devl
                build with acromagIpac-R1-0-0 instead of acromagIpac/Devl
                build with xycomIpac-R1-0-0 instead of xycomIpac/R1-0-0
                build with hytec8413-R1-1-0 instead of hytec8413-R1-1
                add mini standardize

Magnet-R2-0-0:  Release with new builds from R1-2-11
	        plus now using micro-R1-1-6 which should
	        fix the IPLing problem for magnet iocs
	        This version has soft ramping, and fixes hsta happy bit.

Magnet-R1-2-11: Release with new builds below, no software changes
                in package included in configure/RELEASE below.
                build with restore-R1-0-0 instead of Devl
                build with sub-R1-0-0 instead of Devl
                build with sSubRecord-R1-0-0 instead of Devl
                build with iocAdmin-R1-0-0 instead of iocMon/Devl
                build with restore-R1-0-0 instead of restore/Devl
                build with micro-R1-1-3 instead of micro-R1-1-1 
                build with event-R2-4 instead of event-R2-3-8
                build with genSub-R1-0-1
                build with miscUtils-R1-0-0
                build with ipac-R1-0-0 instead of ipac/Devl
                build with acromagIpac-R1-0-0 instead of acromagIpac/Devl
                build with xycomIpac-R1-0-0 instead of xycomIpac/R1-0-0
                build wiht hytec8413-R1-1-0 instead of hytec8413-R1-1
                build with ether_ip-R-1-0-1 instead of ether_ip/Devl
                Remove timestamp records and std/Devl from configure/RELEASE

Magnet-R1-2-10:Add improved status/alarm handling for STATMSG, BCON,
               BACT
Magnet-R1-2-9: Fix typo in mgnt_mcor.template IRAMPRATE macro for HIGH
               shoul be EGUF instead of EGU

Magnet-R1-2-8: Cleanup database calcout to calc and remove PP in FLNK

Magnet-R1-2-7: Build with micro-R1-1-1 instead of micro-R1-1-0
               add timestampRecord.dbd to mgntApp/src/mgntSoftInclude.dbd

Magnet-R1-2-6: Build with event-R2-3-8
               build with micro-R1-1-0 instead of micro-R1-0-5
               change QM2 polynomial with Zack's latest and greatest

Magnet-R1-2-5: Build with vsam-R1-0-0 instead of Devl
               build with vmeCardRecord-R1-0-1 instead of Devl
               build with etherPSC-R1-0-0 instead of Devl
               change QM02 polynomial.
               remove devBusMapped and drvUniverseDma
               remove pulse length from in20 pps contactor pv

Magnet-R1-2-4: Build with micro-R1-0-5 which fixes endless loop upon
               socket disconnect; re-synchs with DBEX acks when out of synch.
Magnet-R1-2-3: Change QB BMAX to zero
Magnet-R1-2-2: Rebuild with the slc-aware version micr-R1-0-4 which 
               fixes mgntAsyc and mgntCtrl dblist memory leak and removes
               continuous logging of epicsShowTime on an error condition in tcpUtils.c            
               mgntCtrl.st changes to fix TRIM to look at IACT before stepping towards IDES

Magnet-R1-2-1: Rebuild with the slc-aware version micr-R1-0-1
               Incorporate mgntCtrl.st with on/off/reset menu functionality

Magnet-R1-2:   Rebuild with the slc-aware version micr-R1-0
               Change save-restore filename

Magnet-R1-1:   Fix bulk ps on/off cycle on reboot.
               Fix alarming of bact by adding pp to IACT FLNK
               Sequence changes to reset IRAMRATE to initial value 
               after TRIM. Include new micro release to make function
               timeouts variable (using globals). Initial micro function
               timout is currently set to 30minutes so globals MUST be
               adjusted in st.cmd. However, these change in this release
               are done manually from iocConsole.

Magnet-R1-0:   This is the first tagged release currently 
               running in the injector and bc1. This does not 
               include the slc-aware ioc bug fixes.




			
