#!../../bin/linux-x86/interlock ## You may have to change interlock to something else ## everywhere it appears in this file < envPaths cd ${TOP} ## Register all support components dbLoadDatabase "dbd/interlock.dbd" interlock_registerRecordDeviceDriver pdbbase epicsEnvSet("PREFIX","") epicsEnvSet("P_FDC","$(PREFIX)fdc_intrlk:") epicsEnvSet("P_FDC_CHIL","$(PREFIX)fdc_chil_intrlk:") epicsEnvSet("P_FSD","$(PREFIX)fsd_intrlk:") epicsEnvSet("P_TAC","$(PREFIX)TAC:") ## Load record instances # Interlock for the FDC power supply/chiller dbLoadRecords("db/fdcInterlockLV.db","P=${P_FDC},T_VAL=FDC:CHILL:TEMP,Q_VAL=FDC:CHILL:FLOW, PV_2_ZERO=${P_FDC}lv:switch4all,SHUT_VAL=0,OPEN_VAL=1") dbLoadRecords("db/fdcInterlockLVsuppl.db", "P=${P_FDC},PV_2_ZERO=${P_FDC}lv:switch4all,OPEN_VAL=1,MPOD1=u2-1-bot,MPOD2=u2-2-bot") dbLoadRecords("db/fdcInterlockLV.db","P=${P_FDC_CHIL},T_VAL=FDC:CHILL:TEMP,Q_VAL=FDC:CHILL:FLOW,PV_2_ZERO=RESET:o::MainProgram-FDC_Chiller_Overtemp,SHUT_VAL=1,OPEN_VAL=0" ) # Interlock for amorphous radiator dbLoadRecords("db/beamInterlock.db", "P=${P_FSD}") # Load IOC status records dbLoadRecords("db/iocAdminSoft.db","IOC=${PREFIX}INTRLCK") #Interlock for TAC motor dbLoadTemplate("db/tacMotorInterlock.substitutions") cd ${TOP}/iocBoot/${IOC} asSetFilename("${TOP}/iocBoot/common/ca_security.acf") # autosave setup < softInterlock_save_restore.cmd iocInit # autosave startup create_monitor_set("fdcInterlock.req", 30, "PREF=$(PREFIX)") create_monitor_set("tacInterlock.req", 30, "P=$(P_TAC)") # Handle autosave 'commands' contained in loaded databases. makeAutosaveFiles() #create_monitor_set("info_positions.req", 5, "P=xxx:") #create_monitor_set("info_settings.req", 30, "P=xxx:")