Files
PBSwissMX/ESB_MX.subs
2017-11-08 14:48:02 +01:00

31 lines
1.9 KiB
Plaintext

################################################################################
#P, M - Define motor record name
#PORT - Name of the ppmac controller port created by powerPmacCreateController
#ADDR - Axis index - second parameter of powerPmacCreateAxis and powerPmacCreateVirtualAxis
#
#The rest are standard motor record fields
################################################################################
#!motor(mot=1,current=600,JogSpeed=102.4*5/25.6/10,servoSf=25.6*10,invDir=True)
# 102.4*7/ 71.67/20 um/ms =0.500 mm/s -> use 0.40 mm/s
#Speed: 102.4*5/25.6/10 um/ms =2 mm/s
#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)
#global {M1="TX", M2="TZ", M3="RX", M4="RZ"}
file PPMACMotor.template {
pattern{ DESC , P , M , PORT , ADDR , DIR, VELO, ACCL, JAR, MRES , PREC, EGU , DHLM, DLLM}
{ "Rotation Y" , "$(P_M)", "MOTOR_ROT_Y", "$(PORT_M)", "$(M1)", 1 , 50 , 0.1 , 20 , -0.001, 3 , "deg", 0 , 0 }
{ "Sample F-Trans X", "$(P_M)", "MOTOR_FX" , "$(PORT_M)", "$(M2)", 1 , 2 , 0.1 , 20 , -0.001, 3 , "mm" , 0 , 0 }
{ "Sample F-Trans Y", "$(P_M)", "MOTOR_FY" , "$(PORT_M)", "$(M3)", 1 , 2 , 0.1 , 20 , -0.001, 3 , "mm" , 0 , 0 }
{ "CamBase X" , "$(P_M)", "MOTOR_CAMX" , "$(PORT_M)", "$(M4)", 1 , .3 , 0.1 , 20 , -0.001, 3 , "mm" , 0 , 0 }
{ "CamBase Y" , "$(P_M)", "MOTOR_CAMY" , "$(PORT_M)", "$(M5)", 0 , .3 , 0.1 , 20 , -0.001, 3 , "mm" , 0 , 0 }
{ "Sample C-Trans X", "$(P_M)", "MOTOR_CX" , "$(PORT_M)", "$(M7)", 1 , 2 , 0.1 , 20 , -0.001, 3 , "mm" , 0 , 0 }
{ "Sample C-Trans Z", "$(P_M)", "MOTOR_CZ" , "$(PORT_M)", "$(M8)", 1 , 2 , 0.1 , 20 , -0.001, 3 , "mm" , 0 , 0 }
}