#!../../bin/linux-x86/xpsMotor < envPaths cd ${TOP} dbLoadDatabase("dbd/xpsMotor.dbd") xpsMotor_registerRecordDeviceDriver(pdbbase) # Load IOC status records #dbLoadRecords("db/iocAdminSoft.db","IOC=MTRHLD") epicsEnvSet("PREFIX","") ### Motors dbLoadTemplate "db/xpsComCal.substitutions" # Load aliases for the motors controlled by the controllers in the main Hall D dbLoadRecords "db/mainHallMotorAliases.db", "pref=${PREFIX}" # asyn port, IP address, IP port, number of axes, # active poll period (ms), idle poll period (ms), # enable set position, set position settling time (ms) XPSCreateController("HALLDXPS4", "halldxps4", 5001, 8, 10, 500, 0, 500) # XPS asyn port, axis, groupName.positionerName, stepSize(1/0.00215 mm) # for MRES=0.0127mm stepSize=1/0.0127 # for integer number for stepSize , MRES = 0.012658228, stepSize = 79, in reality MRES = 0.0127 XPSCreateAxis("HALLDXPS4",0,"ComCalHorizontal.X", "40") XPSCreateAxis("HALLDXPS4",1,"ComCalVertical.Y", "200") cd ${TOP}/iocBoot/${IOC} asSetFilename("${TOP}/iocBoot/common/ca_security.acf") # iocInit