#!../../bin/linux-x86/solenoid ## You may have to change solenoid to something else ## everywhere it appears in this file < envPaths cd ${TOP} ## Register all support components dbLoadDatabase "dbd/solenoid.dbd" solenoid_registerRecordDeviceDriver pdbbase # Initialize EtherIP driver, define PLCs EIP_buffer_limit(450) drvEtherIP_init() ## Load record instances drvEtherIP_define_PLC("sol_plc", "hallden2t1", 0) # Load IOC status records dbLoadRecords("db/iocAdminSoft.db", "IOC=SOL") dbLoadRecords("db/Solenoid_Ramp.db", "IOC=SOL:s") dbLoadRecords("db/Solenoid_PLCin.db" ,"IOC=SOL:i,PLCID=sol_plc") dbLoadRecords("db/Solenoid_PLCout.db","IOC=SOL:o,PLCID=sol_plc") dbLoadRecords("db/Solenoid_PLCarr.db","IOC=SOL:a,PLCID=sol_plc") dbLoadRecords("db/Solenoid_Alarm.db", "") cd ${TOP}/iocBoot/${IOC} asSetFilename("${TOP}/iocBoot/common/ca_security.acf") iocInit ## Start any sequence programs seq solenoid_ramp