From a35554506c4436106ad24efec22cce9852d117c4 Mon Sep 17 00:00:00 2001 From: MarkRivers <rivers@cars.uchicago.edu> Date: Mon, 28 Mar 2005 04:43:39 +0000 Subject: [PATCH] New file for pseudo-motors --- iocBoot/iocvxWorks/pseudoMotor.substitutions | 26 ++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 iocBoot/iocvxWorks/pseudoMotor.substitutions diff --git a/iocBoot/iocvxWorks/pseudoMotor.substitutions b/iocBoot/iocvxWorks/pseudoMotor.substitutions new file mode 100644 index 0000000..ff04dae --- /dev/null +++ b/iocBoot/iocvxWorks/pseudoMotor.substitutions @@ -0,0 +1,26 @@ +# Pseudo-motors +# Note: This databases will be in the next release of motor, not in xxxApp + +# This is a simple example using the sumDiff2D database. This takes 2 real motors and makes 2 soft motors, +# SUM which moves both motors together, and DIFF which moves them in opposite directions. +# It can be used for slits, for K/B mirror benders, etc. + +file "$(TOP)/xxxApp/Db/pseudoMotor.db" +{ +pattern +{P, M, DINP, OUT, RDBL, STOO, DESC, EGU, DIR, VELO, VBAS, ACCL, BDST, BVEL, BACC, MRES, RRES, PREC, DHLM, DLLM} +{xxx:, pm1, "xxx:KBV:Done NPP NMS", "xxx:pm1DVAL.VAL PP MS", "xxx:KBV:Readback.G NPP NMS", "xxx:KBV:Stop PP MS", "Vert. curvature", mm, Pos, 1, .1, .1, 0, 1, .1, .1, 1.0, 3, 10000, -10000} +{xxx:, pm2, "xxx:KBV:Done NPP NMS", "xxx:pm2DVAL.VAL PP MS", "xxx:KBV:Readback.H NPP NMS", "xxx:KBV:Stop PP MS", "Vert. Ellipticity", mm, Pos, 1, .1, .1, 0, 1, .1, .1, 1.0, 3, 10000, -10000} +} +{xxx:, pm3, "xxx:KBH:Done NPP NMS", "xxx:pm3DVAL.VAL PP MS", "xxx:KBH:Readback.G NPP NMS", "xxx:KBH:Stop PP MS", "Hor. curvature", mm, Pos, 1, .1, .1, 0, 1, .1, .1, 1.0, 3, 10000, -10000} +{xxx:, pm4, "xxx:KBH:Done NPP NMS", "xxx:pm4DVAL.VAL PP MS", "xxx:KBH:Readback.H NPP NMS", "xxx:KBH:Stop PP MS", "Hor. ellipticity", mm, Pos, 1, .1, .1, 0, 1, .1, .1, 1.0, 3, 10000, -10000} + + +file "$(TOP)/xxxApp/Db/sumDiff2D.db" +{ +pattern +{P, T, SUM, DIFF, M1DRV, M1RBV, M2DRV, M2RBV, M1STOP, M1DONE, M2STOP, M2DONE, PREC} +{xxx:, KBV:, pm1, pm2, m17.VAL, m17.RBV, m18.VAL, m18.RBV, m17.STOP, m17.DMOV, m18.STOP, m18.DMOV, 1} +{xxx:, KBH:, pm3, pm4, m19.VAL, m19.RBV, m20.VAL, m20.RBV, m19.STOP, m19.DMOV, m20.STOP, m20.DMOV, 1} +} + -- GitLab