#!../../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() #epicsEnvSet(drvetheripverbosity, 10) ## Load record instances drvEtherIP_define_PLC("dev_plc", "hallden2t5", 0) # Load IOC status records #dbLoadRecords("db/iocAdminSoft.db","IOC=DEV") dbLoadRecords("db/Development_PLCin.db" ,"IOC=DEV:i,PLCID=dev_plc") dbLoadRecords("db/Development_PLCout.db","IOC=DEV:o,PLCID=dev_plc") #dbLoadRecords("db/Development_PLCarr.db","IOC=DEV:a,PLCID=dev_plc") #dbior "drvEtherIP", 10 #drvEtherIP_report 10 #EIP_verbosity 10 #drvetheripverbosity 10 cd ${TOP}/iocBoot/${IOC} iocInit