Some nanotec testing at BOA and Oxford temperature controllers
I tested the nanotec a little at BOA. Not finished yet, especially the homing bit. I also added support for an Oxfolrd Mercury temperature controller. But this is not working because my simulation for the Mercury is a different version then the one the EPICS driver is for.
This commit is contained in:
46
iocBoot/iocsinqEPICS/nanotestboa.cmd
Executable file
46
iocBoot/iocsinqEPICS/nanotestboa.cmd
Executable file
@ -0,0 +1,46 @@
|
||||
#!../../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", "boa-ts:3013",0,0,0)
|
||||
NanotecCreateController("nano","serial1","1","4");
|
||||
|
||||
### Motors
|
||||
|
||||
dbLoadRecords("$(ASYN)/db/asynRecord.db","P=KM36:,R=serial1,PORT=serial1,ADDR=0,OMAX=80,IMAX=80")
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# DANGER DANGER DANGER
|
||||
#
|
||||
#If the gearing factor in the substitutions file is wrong, then the nanotec
|
||||
# drives badly. Not really a surprise. Thus the following procedure is required:
|
||||
#
|
||||
# - After editing the gearing ratios in the substitutions file, drive each motor
|
||||
# carefully for a small amount and check if it is driving the correct amount by
|
||||
# eye.
|
||||
#------------------------------------------------------------------------------
|
||||
cd ${TOP}/iocBoot/${IOC}
|
||||
dbLoadTemplate "motor.substitutions.nanoboa"
|
||||
|
||||
|
||||
iocInit
|
||||
|
||||
## Start any sequence programs
|
||||
#seq sncxxx,"user=koenneckeHost"
|
Reference in New Issue
Block a user