Use new macro names

This commit is contained in:
2024-11-25 14:35:03 +01:00
parent abf71cd331
commit dab2e29263

View File

@@ -2,7 +2,7 @@
#- Example config for iPOS4808
require ecmccfg "ENG_MODE=1"
require ecmccomp
require ecmccomp sandst_a
#- #############################################################################
#- Configure hardware
@@ -21,7 +21,7 @@ ${SCRIPTEXEC} ${ecmccfg_DIR}addSlave.cmd, "SLAVE_ID=$(ECMC_EC_SLAVE_NUM), HW_DES
#- * I_STDBY_MA : Mandatory if Motor-Generic-2Phase-Stepper is used
#- The values can be taken from EasyMotionStudio or by trial and error (BTW, coil resistance and inductance are not used in the iPOS cfgs)
#- After running a tuning test in EasyMotionStudio, a reset is needed (from easymotion studio or over SDO (see motor cfg scripts).)
${SCRIPTEXEC} ${ecmccomp_DIR}applyComponent.cmd "COMP=Motor-Generic-2Phase-Stepper, MACROS='I_MAX_MA=1000,I_STDBY_MA=200,I_CTRL_GAIN=1.0,I_CTRL_INT=0.26'"
${SCRIPTEXEC} ${ecmccomp_DIR}applyComponent.cmd "COMP=Motor-Generic-2Phase-Stepper, MACROS='I_MAX_MA=1000,I_STDBY_MA=200,CURR_KP=1.0,CURR_TI=0.26'"
#- #############################################################################
#- AXIS 1