A first sort of working version of a asyn driver for the Nanotoec SMCI

motors. Homing still needs more testing
This commit is contained in:
2015-07-30 14:12:45 +02:00
parent fd4b41d131
commit cdf309114a
10 changed files with 631 additions and 2 deletions

View File

@ -0,0 +1,37 @@
#!../../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 Nanotec motor controller
#drvAsynIPPortConfigure("serial1", "narziss-ts:3002",0,0,0)
drvAsynIPPortConfigure("serial1", "localhost:2020",0,0,0)
NanotecCreateController("nano","serial1",3,"1,10,9");
### Motors
dbLoadRecords("$(ASYN)/db/asynRecord.db","P=KM36:,R=serial1,PORT=serial1,ADDR=0,OMAX=80,IMAX=80")
cd ${TOP}/iocBoot/${IOC}
dbLoadTemplate "motor.substitutions.nanotec"
iocInit
## Start any sequence programs
#seq sncxxx,"user=koenneckeHost"