towards recabeling and reconfiguring all Powerbricks and Smaracts devices
Here all IOCs were started without any hardware. So in the next steps the hardware must be tested.
This commit is contained in:
25
SAR-EXPMX1.subs
Normal file
25
SAR-EXPMX1.subs
Normal file
@@ -0,0 +1,25 @@
|
||||
################################################################################
|
||||
#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 asyn.template {{P="$(P_M)1", PORT=$(PORT_M)}}
|
||||
|
||||
file PPMACMotor.template {
|
||||
pattern{ DESC , P , M , PORT , ADDR, DIR, VELO, HVEL, ACCL, JAR, MRES , PREC, EGU , DHLM, DLLM}
|
||||
{ "Sample F-Trans Y", "$(P_M)", "MOT_FY" , "$(PORT_M)", 1 , 1 , 2 , 2 , 0.1 , 20 , -0.001, 3 , "mm" , 0 , 0 }
|
||||
{ "Sample F-Trans X", "$(P_M)", "MOT_FX" , "$(PORT_M)", 2 , 1 , 2 , 2 , 0.1 , 20 , -0.001, 3 , "mm" , 0 , 0 }
|
||||
{ "Rotation Y" , "$(P_M)", "MOT_ROT_Y", "$(PORT_M)", 3 , 1 , 50 , 50 , 0.1 , 20 , -0.001, 3 , "deg", 0 , 0 }
|
||||
{ "Sample C-Trans X", "$(P_M)", "MOT_CX" , "$(PORT_M)", 4 , 1 , 2 , 2 , 0.1 , 20 , -0.001, 3 , "mm" , 0 , 0 }
|
||||
{ "Sample C-Trans Z", "$(P_M)", "MOT_CZ" , "$(PORT_M)", 5 , 1 , 2 , 2 , 0.1 , 20 , -0.001, 3 , "mm" , 0 , 0 }
|
||||
}
|
||||
Reference in New Issue
Block a user