#================================================================= # # Auth: 01-Feb-2011, Sonya Hoobler (sonya) # # Rem: Peforms restore functions when hardware restore button # is pressed. Only used by new knob boxes (knob box pro). # #----------------------------------------------------------------- # # Mod: # #================================================================= # Overload STATUS6 PV fields to trigger restore when status bit is active record(calcout, "KNOB:$(LOCA):$(B):K$(K)_STATUS6") { field(DESC, "Restore bit") field(OUT, "KNOB:$(LOCA):$(B):K$(K)_HWRESTORE PP") field(OOPT, "When Non-zero") } record(seq, "KNOB:$(LOCA):$(B):K$(K)_HWRESTORE") { field(DESC, "HW restore steps") field(SELM, "All") field(DO1, "1") field(LNK1, "KNOB:$(LOCA):$(B):K$(K)_HWRESTOREMSG.PROC") field(DO2, "1") field(LNK2, "KNOB:$(LOCA):$(B):K$(K)_GORESTORE.PROC") field(DLY3, "3") field(DO3, "1") field(LNK3, "KNOB:$(LOCA):$(B):K$(K)_CLEARMSG.PROC") } record(stringout, "KNOB:$(LOCA):$(B):K$(K)_HWRESTOREMSG") { field(DESC, "Set HW restore msg") field(VAL, "HW restore button pressed") field(OUT, "KNOB:$(LOCA):$(B):K$(K)_MSG PP") } record(stringout, "KNOB:$(LOCA):$(B):K$(K)_CLEARMSG") { field(DESC, "Clear msg str") field(VAL, " ") field(OUT, "KNOB:$(LOCA):$(B):K$(K)_MSG PP") } record(mbbo, "KNOB:$(LOCA):$(B):K$(K)_TYPE") { field(VAL, "1") }