# Only CM01 has this BCS connection and # its record's value will be updated by # statCm01BcsFlt.template # All other CMs have just this record, whose # value will always be 0 and thus always in # the no-alarm state record(calc, "$(PREF)BCSDRVSUM") { field(DESC, "BCS interrupts LLRF drive") field(CALC, "A") field(HIHI, "2") field(HHSV, "MAJOR") field(PINI, "YES") } # Any cavities in CM need phasing # Value of 2 = MAJOR, to match other # CUD alarm summary records record(calc, "$(CM)00:CKPSUM") { field(SCAN, "1 second") field(CALC, "(A+B+C+D+E+F+G+H)>0?2:0") field(INPA, "$(CM)10:CKPSUM") field(INPB, "$(CM)20:CKPSUM") field(INPC, "$(CM)30:CKPSUM") field(INPD, "$(CM)40:CKPSUM") field(INPE, "$(CM)50:CKPSUM") field(INPF, "$(CM)60:CKPSUM") field(INPG, "$(CM)70:CKPSUM") field(INPH, "$(CM)80:CKPSUM") field(HIHI, "2") field(HHSV, "MAJOR") }