with a motor axis. To this purpose a new derived class SINQAxis and SINQController were added which other drivers using this feature can derive from. The proof of concept and test platform is the EL734 driver.
44 lines
1.1 KiB
Batchfile
Executable File
44 lines
1.1 KiB
Batchfile
Executable File
#!../../bin/linux-x86-debug/sinqEPICS
|
|
|
|
## You may have to change sinqEPICS to something else
|
|
## everywhere it appears in this file
|
|
|
|
< envPaths
|
|
|
|
cd ${TOP}
|
|
|
|
## Register all support components
|
|
dbLoadDatabase "dbd/sinqEPICS.dbd"
|
|
dbLoadDatabase "dbd/sinq.dbd"
|
|
sinqEPICS_registerRecordDeviceDriver pdbbase
|
|
|
|
## Load record instances
|
|
#dbLoadRecords("db/xxx.db","user=koenneckeHost")
|
|
|
|
|
|
#---------- load EL734 motor controller
|
|
drvAsynIPPortConfigure("serial1", "narziss-ts:3002",0,0,0)
|
|
#drvAsynIPPortConfigure("serial1", "localhost:8080",0,0,0)
|
|
EL734CreateController("mota","serial1",6);
|
|
|
|
### Motors
|
|
|
|
dbLoadRecords("$(ASYN)/db/asynRecord.db","P=NZ:,R=serial1,PORT=serial1,ADDR=0,OMAX=80,IMAX=80")
|
|
|
|
|
|
cd ${TOP}/iocBoot/${IOC}
|
|
dbLoadTemplate "motor.substitutions.el734"
|
|
|
|
|
|
#--------- load EL737 counter box
|
|
drvAsynIPPortConfigure("cter1","narziss-ts:3003",0,0,0)
|
|
dbLoadRecords("$(ASYN)/db/asynRecord.db","P=NZ:,R=cter1,PORT=cter1,ADDR=0,OMAX=80,IMAX=80")
|
|
dbLoadRecords("${TOP}/db/el737Record.db")
|
|
|
|
asynSetTraceIOMask("cter1",0,2)
|
|
|
|
iocInit
|
|
|
|
## Start any sequence programs
|
|
#seq sncxxx,"user=koenneckeHost"
|