diff --git a/iocBoot/iocWithAsyn/motor.substitutions.xps3 b/iocBoot/iocWithAsyn/motor.substitutions.xps3 index 0d57393c..1fe22c7d 100644 --- a/iocBoot/iocWithAsyn/motor.substitutions.xps3 +++ b/iocBoot/iocWithAsyn/motor.substitutions.xps3 @@ -21,3 +21,41 @@ pattern {IOC:, m5, XPS1 4} {IOC:, m6, XPS1 5} } + +file "$(TOP)/db/profileMoveController.template" +{ +pattern +{P, R, PORT, NAXES, NPOINTS, NPULSES, TIMEOUT} +{IOC:, Prof1, XPS1, 6, 2000, 2000, 1} +} + +file "$(TOP)/db/profileMoveControllerXPS.template" +{ +pattern +{P, R, PORT, NAXES, NPOINTS, NPULSES, TIMEOUT} +{IOC:, Prof1, XPS1, 6, 2000, 2000, 1} +} + +file "$(TOP)/db/profileMoveAxis.template" +{ +pattern +{P, R, PORT, AXIS,NPOINTS, NREADBACK, PREC, TIMEOUT} +{IOC:, Prof1, XPS1, 0, 2000, 2000, 5, 1} +{IOC:, Prof1, XPS1, 1, 2000, 2000, 5, 1} +{IOC:, Prof1, XPS1, 2, 2000, 2000, 4, 1} +{IOC:, Prof1, XPS1, 3, 2000, 2000, 4, 1} +{IOC:, Prof1, XPS1, 4, 2000, 2000, 4, 1} +{IOC:, Prof1, XPS1, 5, 2000, 2000, 4, 1} +} + +file "$(TOP)/db/profileMoveAxisXPS.template" +{ +pattern +{P, R, PORT, AXIS,NPOINTS, NREADBACK, PREC, TIMEOUT} +{IOC:, Prof1, XPS1, 0, 2000, 2000, 5, 1} +{IOC:, Prof1, XPS1, 1, 2000, 2000, 5, 1} +{IOC:, Prof1, XPS1, 2, 2000, 2000, 4, 1} +{IOC:, Prof1, XPS1, 3, 2000, 2000, 4, 1} +{IOC:, Prof1, XPS1, 4, 2000, 2000, 4, 1} +{IOC:, Prof1, XPS1, 5, 2000, 2000, 4, 1} +} diff --git a/iocBoot/iocWithAsyn/st.cmd.xps3 b/iocBoot/iocWithAsyn/st.cmd.xps3 index 31b3e59a..7a98f572 100644 --- a/iocBoot/iocWithAsyn/st.cmd.xps3 +++ b/iocBoot/iocWithAsyn/st.cmd.xps3 @@ -33,3 +33,16 @@ iocInit #seq(XPS_trajectoryScan,"P=13xps8:,R=traj1,M1=m1,IPADDR=164.54.160.83,PORT=5001,GROUP=GROUP1,P1=POSITIONER1") +# This IOC does not use save/restore, so set values of some PVs +dbpf("IOC:m1.RTRY", "0") +dbpf("IOC:m1.TWV", "0.1") +dbpf("IOC:m2.RTRY", "0") +dbpf("IOC:m2.TWV", "0.1") +dbpf("IOC:m3.RTRY", "0") +dbpf("IOC:m3.TWV", "0.1") +dbpf("IOC:m4.RTRY", "0") +dbpf("IOC:m4.TWV", "0.1") +dbpf("IOC:m5.RTRY", "0") +dbpf("IOC:m5.TWV", "0.1") +dbpf("IOC:m6.RTRY", "0") +dbpf("IOC:m6.TWV", "0.1")