Many improvements to the MasterMACS motor driver. It is working but the hardware is shaky.
Added support for dose rate controlled Phytron motors. Not tested! Small bug fixes
This commit is contained in:
@ -1,19 +1,33 @@
|
||||
#!/usr/local/bin/iocsh
|
||||
|
||||
require sinq,koennecke
|
||||
require autosave,koennecke
|
||||
|
||||
epicsEnvSet("TOP","/afs/psi.ch/project/sinqdev/sinqepicsapp/testmmac")
|
||||
|
||||
set_requestfile_path("$(TOP)", "")
|
||||
set_savefile_path("$(TOP)/autosave")
|
||||
save_restoreSet_Debug(0)
|
||||
#--------------------------------- restore autosave
|
||||
set_pass0_restoreFile("$(TOP)/autosave/test.sav","")
|
||||
set_pass1_restoreFile("$(TOP)/autosave/test.sav","")
|
||||
|
||||
|
||||
#drvAsynMMACSPortConfigure("macs1", "localhost:8080",0,0,0)
|
||||
#asynInterposeEosConfig("macs1", 0, 0, 0)
|
||||
#dbLoadRecords("$(TOP)/db/asynRecord.db","P=KM36:,R=macs1,PORT=macs1,ADDR=0,OMAX=80,IMAX=80")
|
||||
#asynSetTraceMask("macs1", 0, 255)
|
||||
|
||||
drvAsynIPPortConfigure("macs1", "localhost:8080",0,0,0)
|
||||
#asynSetTraceMask("macs1", 0, 255)
|
||||
#drvAsynIPPortConfigure("macs1", "localhost:8080",0,0,0)
|
||||
drvAsynIPPortConfigure("macs1", "Marcel1--MACS:1917")
|
||||
MasterMACSCreateController("mota","macs1",7)
|
||||
MasterMACSCreateAxis("mota",5)
|
||||
MasterMACSCreateAxis("mota",6)
|
||||
|
||||
dbLoadTemplate "mmacs2.sub"
|
||||
|
||||
iocInit()
|
||||
|
||||
create_monitor_set("test.req", 10, "")
|
||||
|
||||
|
Reference in New Issue
Block a user