diff --git a/motion/ecmc_axis-records.cmd b/motion/ecmc_axis-records.cmd index 48e0fc200..fadcc25dc 100644 --- a/motion/ecmc_axis-records.cmd +++ b/motion/ecmc_axis-records.cmd @@ -14,7 +14,7 @@ ecmcFileExist("${ECMC_CONFIG_ROOT}ecmc_axis.cmd",1) ${SCRIPTEXEC} ${ECMC_CONFIG_ROOT}ecmc_axis.cmd ecmcFileExist("ecmcAxis.db",1,1) -dbLoadRecords("ecmcAxis.db","P=${ECMC_PREFIX},AXIS_NAME=${ECMC_MOTOR_NAME},AXIS_NO=${ECMC_AXIS_NO},HOMEPROC=${ECMC_HOME_PROC=0},PORT=${ECMC_ASYN_PORT},ADDR=0,TIMEOUT=1,T_SMP_MS=${ECMC_SAMPLE_RATE_MS},TSE=${ECMC_TSE}") +dbLoadRecords("ecmcAxis.db","P=${ECMC_PREFIX},AXIS_NAME=${ECMC_MOTOR_NAME},AXIS_NO=${ECMC_AXIS_NO},HOMEPROC=${ECMC_HOME_PROC=0},PORT=${ECMC_ASYN_PORT},ADDR=0,TIMEOUT=1,T_SMP_MS=${ECMC_SAMPLE_RATE_MS},TSE=${ECMC_TSE},EGU=${ECMC_EGU},PREC=${ECMC_PREC}") #- This is an REAL axis == type 1 ecmcFileExist("ecmcAxisType.db",1,1) dbLoadRecords("ecmcAxisType.db","P=${ECMC_PREFIX},AXIS_NAME=${ECMC_MOTOR_NAME},AXIS_TYPE=1,DRV_TYPE=$(ECMC_DRV_TYPE=0),TRAJ_TYPE=$(ECMC_TRAJ_TYPE=0)") diff --git a/motion/ecmc_virt_axis-records.cmd b/motion/ecmc_virt_axis-records.cmd index 9c7c74ea8..aa87b9e55 100644 --- a/motion/ecmc_virt_axis-records.cmd +++ b/motion/ecmc_virt_axis-records.cmd @@ -14,7 +14,8 @@ ecmcFileExist("${ecmccfg_DIR}ecmc_virt_axis.cmd",1) ${SCRIPTEXEC}( ${ecmccfg_DIR}ecmc_virt_axis.cmd ) ecmcFileExist("ecmcAxis.db",1,1) -dbLoadRecords("ecmcAxis.db","P=${ECMC_PREFIX},AXIS_NAME=${ECMC_MOTOR_NAME},AXIS_NO=${ECMC_AXIS_NO},PORT=${ECMC_ASYN_PORT},ADDR=0,TIMEOUT=1,T_SMP_MS=${ECMC_SAMPLE_RATE_MS},TSE=${ECMC_TSE}") +dbLoadRecords("ecmcAxis.db","P=${ECMC_PREFIX},AXIS_NAME=${ECMC_MOTOR_NAME},AXIS_NO=${ECMC_AXIS_NO},HOMEPROC=${ECMC_HOME_PROC=0},PORT=${ECMC_ASYN_PORT},ADDR=0,TIMEOUT=1,T_SMP_MS=${ECMC_SAMPLE_RATE_MS},TSE=${ECMC_TSE},EGU=${ECMC_EGU},PREC=${ECMC_PREC}") + #- This is an VIRT axis == type 2 ecmcFileExist("ecmcAxisType.db",1,1) dbLoadRecords("ecmcAxisType.db","P=${ECMC_PREFIX},AXIS_NAME=${ECMC_MOTOR_NAME},AXIS_TYPE=2,DRV_TYPE=2,TRAJ_TYPE=$(ECMC_TRAJ_TYPE=0)")