Newer
Older
# 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.
{
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}
{
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}
}