31 lines
1.8 KiB
Plaintext
31 lines
1.8 KiB
Plaintext
################################################################################
|
|
#P - prefix of the PV
|
|
#PORT - Name of the ppmac controller port created by powerPmacCreateController
|
|
#ADDR - Axis index - second parameter of powerPmacCreateAxis and powerPmacCreateVirtualAxis
|
|
################################################################################
|
|
|
|
#Position Units are in um
|
|
|
|
#ms to achive speed VELO -> same as Motor[1].JogTa (if positive). Motor[1].JogTa will be set to a caculated negative number
|
|
# JAR = EGU/s^2 -> JAR = VELO/ACCL (Jog acceleration)
|
|
|
|
#caput SAROP21-OAPU092:ASYN.AOUT '&1;#1..2p'
|
|
#caget SAROP21-OAPU092:ASYN.TINP
|
|
#caput SAROP21-OAPU092:ASYN.AOUT '&1;cpx abs;X(-900)Y(10)A(5200)B(5100)'
|
|
|
|
file PPMACMotor.template {
|
|
pattern
|
|
{ DESC , P , M , PORT , ADDR, DIR, VELO, MRES , PREC, EGU }
|
|
{ "Girder 1", "$(P_M)", "MOT_GIR_1", "$(PORT_M)", 1 , 0 , 40 , 0.001, 3 , "deg" }
|
|
{ "Girder 2", "$(P_M)", "MOT_GIR_2", "$(PORT_M)", 2 , 0 , 40 , 0.001, 3 , "deg" }
|
|
{ "Girder 3", "$(P_M)", "MOT_GIR_3", "$(PORT_M)", 3 , 0 , 40 , 0.001, 3 , "deg" }
|
|
{ "Girder 4", "$(P_M)", "MOT_GIR_4", "$(PORT_M)", 4 , 0 , 40 , 0.001, 3 , "deg" }
|
|
{ "Girder 5", "$(P_M)", "MOT_GIR_5", "$(PORT_M)", 5 , 0 , 40 , 0.001, 3 , "deg" }
|
|
{ "Girder X", "$(P_M)", "MOT_GIR_X", "$(PORT_M)", 9 , 0 , 40 , 0.001, 3 , "mm" }
|
|
{ "Girder Y", "$(P_M)", "MOT_GIR_Y", "$(PORT_M)", 10 , 0 , 40 , 0.001, 3 , "mm" }
|
|
{ "Girder U", "$(P_M)", "MOT_GIR_U", "$(PORT_M)", 11 , 0 , 40 , 0.001, 3 , "mrad"}
|
|
{ "Girder V", "$(P_M)", "MOT_GIR_V", "$(PORT_M)", 12 , 0 , 40 , 0.001, 3 , "mrad"}
|
|
{ "Girder W", "$(P_M)", "MOT_GIR_W", "$(PORT_M)", 13 , 0 , 40 , 0.001, 3 , "mrad"}
|
|
{ "Detector Z", "$(P_M)", "MOT_DET_Z", "$(PORT_M)", 6 , 1 , 4 , 0.001, 3 , "mm" }
|
|
}
|