#!../../bin/linux-x86/plc2epics ## You may have to change plc2epics to something else ## everywhere it appears in this file < envPaths cd ${TOP} ## Register all support components dbLoadDatabase "dbd/plc2epics.dbd" plc2epics_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_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} iocInit ## Start any sequence programs #seq sncxxx,"user=hovanesHost"