From dab2e2926307ef0d01eef64f1294548ee4681acf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anders=20Sandstr=C3=B6m?= Date: Mon, 25 Nov 2024 14:35:03 +0100 Subject: [PATCH] Use new macro names --- ipos4808/ipos4808.script | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ipos4808/ipos4808.script b/ipos4808/ipos4808.script index 34f67e4..b3cc854 100644 --- a/ipos4808/ipos4808.script +++ b/ipos4808/ipos4808.script @@ -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