Fixed bugs in EL734
Phytron motor driver is now working May be fixed inverted limits on pmac
This commit is contained in:
25
iocBoot/iocsinqEPICS/phytest.cmd
Executable file
25
iocBoot/iocsinqEPICS/phytest.cmd
Executable file
@ -0,0 +1,25 @@
|
||||
#!/usr/local/bin/iocsh
|
||||
|
||||
require sinq,koennecke
|
||||
|
||||
epicsEnvSet("TOP","/afs/psi.ch/project/sinqdev/sinqepicsapp/iocBoot/iocsinqEPICS")
|
||||
epicsEnvSet("BASE","/afs/psi.ch/project/sinqdev/sinqepicsapp")
|
||||
epicsEnvSet("dbPATH","${EPICS_BASE}/dbd:${ASYN}/dbd:${MOTOR}/dbd")
|
||||
|
||||
cd ${TOP}
|
||||
|
||||
## Register all support components
|
||||
dbLoadDatabase "../../dbd/sinqEPICS.dbd"
|
||||
|
||||
|
||||
#drvAsynIPPortConfigure("serial1", "129.129.195.58:22222",0,0,0)
|
||||
drvAsynIPPortConfigure("serial1", "localhost:9090",0,0,0)
|
||||
PhytronCreateController("phy","serial1","0",1,0);
|
||||
|
||||
### Motors
|
||||
|
||||
dbLoadRecords("$(BASE)/sinqEPICSApp/Db/asynRecord.db","P=KM36:,R=serial1,PORT=serial1,ADDR=0,OMAX=80,IMAX=80")
|
||||
dbLoadTemplate "motor.substitutions.phytron"
|
||||
|
||||
|
||||
iocInit
|
Reference in New Issue
Block a user