Skip to content

Commit

Permalink
Remove ECMC_MRES from ecmc_virt_axis_unset.cmd + fix minor typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Carlos Doro Neto committed Sep 27, 2023
1 parent e744e29 commit c40bbfc
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion motion/ecmc_axis.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ ${SCRIPTEXEC} ${ECMC_CONFIG_ROOT}verifyOrDie.cmd "EXPR_STR='abs(${ECMC_DRV_SCALE
#- ECMC_DRV_SCALE_DENOM
${SCRIPTEXEC} ${ECMC_CONFIG_ROOT}verifyOrDie.cmd "EXPR_STR='abs(${ECMC_DRV_SCALE_DENOM})<>0',SUCCESS_STR='ECMC_DRV_SCALE_DENOM value OK == ${ECMC_DRV_SCALE_DENOM}...',ERROR_STR='ECMC_DRV_SCALE_DENOM == 0...'"

#- Issue Warning if ECMC_MRES is set. MRES calculated bu SREV and UREV instead
#- Issue Warning if ECMC_MRES is set. MRES calculated by SREV and UREV instead
ecmcFileExist("${ECMC_CONFIG_ROOT}issueWarning.cmd",1)
${SCRIPTEXEC} ${ECMC_CONFIG_ROOT}issueWarning.cmd "EXPR_STR='${ECMC_MRES=-1}>0',WARNING_STR='WARNING: ECMC_MRES setting is deprecated and will not be used. (MRES will be calulated instead: ECMC_ENC_SCALE_NUM/ECMC_ENC_SCALE_DENOM).. '"

Expand Down
2 changes: 1 addition & 1 deletion motion/ecmc_virt_axis.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ ${SCRIPTEXEC} ${ECMC_CONFIG_ROOT}verifyOrDie.cmd "EXPR_STR='abs(${ECMC_ENC_SCALE
#- ECMC_ENC_SCALE_DENOM
${SCRIPTEXEC} ${ECMC_CONFIG_ROOT}verifyOrDie.cmd "EXPR_STR='abs(${ECMC_ENC_SCALE_DENOM})<>0',SUCCESS_STR='ECMC_ENC_SCALE_DENOM value OK == ${ECMC_ENC_SCALE_DENOM}...',ERROR_STR='ECMC_ENC_SCALE_DENOM == 0...'"

#- Issue Warning if ECMC_MRES is set. MRES calculated bu SREV and UREV instead
#- Issue Warning if ECMC_MRES is set. MRES calculated by SREV and UREV instead
ecmcFileExist("${ECMC_CONFIG_ROOT}issueWarning.cmd",1)
${SCRIPTEXEC} ${ECMC_CONFIG_ROOT}issueWarning.cmd "EXPR_STR='${ECMC_MRES=-1}>0',WARNING_STR='WARNING: ECMC_MRES setting is deprecated and will not be used. (MRES will be calulated instead: ECMC_ENC_SCALE_NUM/ECMC_ENC_SCALE_DENOM).. '"

Expand Down
1 change: 0 additions & 1 deletion motion/ecmc_virt_axis_unset.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ epicsEnvUnset(ECMC_MON_VELO_MAX)
epicsEnvUnset(ECMC_MON_VELO_MAX_ENA)
epicsEnvUnset(ECMC_MON_VELO_MAX_DRV_TIME)
epicsEnvUnset(ECMC_MON_VELO_MAX_TRAJ_TIME)
epicsEnvUnset(ECMC_MRES)
epicsEnvUnset(ECMC_JOG_VEL)
epicsEnvUnset(ECMC_JAR)
epicsEnvUnset(ECMC_HOME_PROC)
Expand Down

0 comments on commit c40bbfc

Please sign in to comment.