#!../../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() # drvEtherIP_define_PLC , , # The driver/device uses the to indentify the PLC. # # can be an IP address in dot-notation # or a name about which the IOC knows. # The IP address gets us to the ENET interface. # To get to the PLC itself, we need the slot that # it resides in. The first, left-most slot in the # ControlLogix crate is slot 0. #drvEtherIP_define_PLC("plc1", "129.57.36.111", 0) drvEtherIP_define_PLC("hallden2t1", "129.57.36.111", 0) # Load record instances dbLoadRecords ( "db/caSecurity.db" ) dbLoadRecords ( "db/iocStatus.db", "IOC=${IOC}" ) dbLoadRecords ( "db/pagerRecordsGS.db", "IOC=${IOC}" ) #dbLoadRecords ( "db/plc2epics.db", "IOC=${IOC},PLC=hallden2t1" ) dbLoadRecords ( "db/plc2epics_auto.db", "IOC=${IOC},PLC=hallden2t1" ) dbLoadRecords ( "db/calcs4cryo.db", "IOC=${IOC},PLC=hallden2t1" ) dbLoadRecords ( "db/cryo2plc.db", "IOC=${IOC},PLC=hallden2t1" ) dbLoadRecords ( "db/autoreset.db", "IOC=${IOC}" ) dbLoadTemplate "db/plcAlarm.substitutions" asSetFilename("ca_security.txt") ## Set this to see messages from mySub #var mySubDebug 1 ## Run this to trace the stages of iocInit #traceIocInit cd ${TOP}/iocBoot/ioc${IOC} iocInit ## Start any sequence programs #seq sncExample, "user=hovanes"