#!../../bin/linux-x86/chiller ## You may have to change chiller to something else ## everywhere it appears in this file < envPaths cd ${TOP} ## Register all support components dbLoadDatabase "dbd/chiller.dbd" chiller_registerRecordDeviceDriver pdbbase #drvAsynIPPortConfigure("SER1","halld-s1-6-ts:4001",0,0,0) drvAsynIPPortConfigure("SER1","halld-s1-6-ts:2101",0,0,0) asynOctetSetOutputEos("SER1",0,"\r\n") asynOctetSetInputEos("SER1",0,"\r\n") modbusInterposeConfig("SER1",2,1000,0) # Debugging... #asynSetTraceMask("SER1",0,9) #asynSetTraceIOMask("SER1",0,2) drvModbusAsynConfigure("SMC_In_Word", "SER1", 1, 123, 0x00, 0x0c, 0, 1500, "SMC") drvModbusAsynConfigure("SMC_Out_Word","SER1", 1, 223, 0x0b, 0x03, 0, 1500, "SMC") # Load IOC status records dbLoadRecords("db/iocAdminSoft.db","IOC=FDCCHIL") # Load record instances #dbLoadRecords("db/save_restoreStatus.db", "P=iocchiller:") dbLoadRecords("db/smc_hrz.db","P=FDC:,R=CHILL:,PORT=SER1,ADDR=1") cd ${TOP}/iocBoot/${IOC} asSetFilename("${TOP}/iocBoot/common/ca_security.acf") # autosave setup #< save_restore.cmd #dbl > fdc_pv.list iocInit # autosave startup #create_monitor_set("smc_hrz_settings.req", 30, "P=FDC:,R=CHILL:") # 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:")