From 69cb68c5211ffc255afe848909754f9737891d84 Mon Sep 17 00:00:00 2001 From: Carlos Doro Neto Date: Fri, 28 Jul 2023 14:44:03 +0200 Subject: [PATCH] Limit Leadshine motors voltage to 48V (limited by EL7041 and EL7047) --- .../Motors/ecmcEL7041-Motor-Leadshine-57HS13-parallel.cmd | 4 ++-- hardware/Motors/ecmcEL7041-Motor-Leadshine-57HS13-series.cmd | 4 ++-- .../Motors/ecmcEL7041-Motor-Leadshine-57HS13-unipolar.cmd | 4 ++-- .../Motors/ecmcEL7041-Motor-Leadshine-57HS22-parallel.cmd | 4 ++-- hardware/Motors/ecmcEL7041-Motor-Leadshine-57HS22-series.cmd | 4 ++-- .../Motors/ecmcEL7041-Motor-Leadshine-57HS22-unipolar.cmd | 4 ++-- .../Motors/ecmcEL7047-Motor-Leadshine-57HS13-parallel.cmd | 4 ++-- hardware/Motors/ecmcEL7047-Motor-Leadshine-57HS13-series.cmd | 4 ++-- .../Motors/ecmcEL7047-Motor-Leadshine-57HS13-unipolar.cmd | 4 ++-- .../Motors/ecmcEL7047-Motor-Leadshine-57HS22-parallel.cmd | 4 ++-- hardware/Motors/ecmcEL7047-Motor-Leadshine-57HS22-series.cmd | 4 ++-- .../Motors/ecmcEL7047-Motor-Leadshine-57HS22-unipolar.cmd | 4 ++-- 12 files changed, 24 insertions(+), 24 deletions(-) diff --git a/hardware/Motors/ecmcEL7041-Motor-Leadshine-57HS13-parallel.cmd b/hardware/Motors/ecmcEL7041-Motor-Leadshine-57HS13-parallel.cmd index 108e40891..7d2d381e7 100644 --- a/hardware/Motors/ecmcEL7041-Motor-Leadshine-57HS13-parallel.cmd +++ b/hardware/Motors/ecmcEL7041-Motor-Leadshine-57HS13-parallel.cmd @@ -10,8 +10,8 @@ ecmcConfigOrDie "Cfg.EcAddSdo(${ECMC_EC_SLAVE_NUM},0x8010,0x1,4000,2)" #- Reduced current 500mA (unit 1mA) ecmcConfigOrDie "Cfg.EcAddSdo(${ECMC_EC_SLAVE_NUM},0x8010,0x2,500,2)" -#- Nominal voltage 68V (unit 1mV) -ecmcConfigOrDie "Cfg.EcAddSdo(${ECMC_EC_SLAVE_NUM},0x8010,0x3,68000,2)" +#- Nominal voltage 48V (unit 1mV) +ecmcConfigOrDie "Cfg.EcAddSdo(${ECMC_EC_SLAVE_NUM},0x8010,0x3,48000,2)" #- Coil resistance 0.5 Ohm (unit 10mOhm) ecmcConfigOrDie "Cfg.EcAddSdo(${ECMC_EC_SLAVE_NUM},0x8010,0x4,50,2)" diff --git a/hardware/Motors/ecmcEL7041-Motor-Leadshine-57HS13-series.cmd b/hardware/Motors/ecmcEL7041-Motor-Leadshine-57HS13-series.cmd index f56c9cdef..2bed6ee5f 100644 --- a/hardware/Motors/ecmcEL7041-Motor-Leadshine-57HS13-series.cmd +++ b/hardware/Motors/ecmcEL7041-Motor-Leadshine-57HS13-series.cmd @@ -10,8 +10,8 @@ ecmcConfigOrDie "Cfg.EcAddSdo(${ECMC_EC_SLAVE_NUM},0x8010,0x1,2000,2)" #- Reduced current 500mA (unit 1mA) ecmcConfigOrDie "Cfg.EcAddSdo(${ECMC_EC_SLAVE_NUM},0x8010,0x2,500,2)" -#- Nominal voltage 68V (unit 1mV) -ecmcConfigOrDie "Cfg.EcAddSdo(${ECMC_EC_SLAVE_NUM},0x8010,0x3,68000,2)" +#- Nominal voltage 48V (unit 1mV) +ecmcConfigOrDie "Cfg.EcAddSdo(${ECMC_EC_SLAVE_NUM},0x8010,0x3,48000,2)" #- Coil resistance 2 Ohm (unit 10mOhm) ecmcConfigOrDie "Cfg.EcAddSdo(${ECMC_EC_SLAVE_NUM},0x8010,0x4,200,2)" diff --git a/hardware/Motors/ecmcEL7041-Motor-Leadshine-57HS13-unipolar.cmd b/hardware/Motors/ecmcEL7041-Motor-Leadshine-57HS13-unipolar.cmd index 1ec60a242..90231c188 100644 --- a/hardware/Motors/ecmcEL7041-Motor-Leadshine-57HS13-unipolar.cmd +++ b/hardware/Motors/ecmcEL7041-Motor-Leadshine-57HS13-unipolar.cmd @@ -10,8 +10,8 @@ ecmcConfigOrDie "Cfg.EcAddSdo(${ECMC_EC_SLAVE_NUM},0x8010,0x1,2800,2)" #- Reduced current 500mA (unit 1mA) ecmcConfigOrDie "Cfg.EcAddSdo(${ECMC_EC_SLAVE_NUM},0x8010,0x2,500,2)" -#- Nominal voltage 68V (unit 1mV) -ecmcConfigOrDie "Cfg.EcAddSdo(${ECMC_EC_SLAVE_NUM},0x8010,0x3,68000,2)" +#- Nominal voltage 48V (unit 1mV) +ecmcConfigOrDie "Cfg.EcAddSdo(${ECMC_EC_SLAVE_NUM},0x8010,0x3,48000,2)" #- Coil resistance 1 Ohm (unit 10mOhm) ecmcConfigOrDie "Cfg.EcAddSdo(${ECMC_EC_SLAVE_NUM},0x8010,0x4,100,2)" diff --git a/hardware/Motors/ecmcEL7041-Motor-Leadshine-57HS22-parallel.cmd b/hardware/Motors/ecmcEL7041-Motor-Leadshine-57HS22-parallel.cmd index d0513d014..e70d50ebb 100644 --- a/hardware/Motors/ecmcEL7041-Motor-Leadshine-57HS22-parallel.cmd +++ b/hardware/Motors/ecmcEL7041-Motor-Leadshine-57HS22-parallel.cmd @@ -10,8 +10,8 @@ ecmcConfigOrDie "Cfg.EcAddSdo(${ECMC_EC_SLAVE_NUM},0x8010,0x1,5000,2)" #- Reduced current 500mA (unit 1mA) ecmcConfigOrDie "Cfg.EcAddSdo(${ECMC_EC_SLAVE_NUM},0x8010,0x2,500,2)" -#- Nominal voltage 68V (unit 1mV) -ecmcConfigOrDie "Cfg.EcAddSdo(${ECMC_EC_SLAVE_NUM},0x8010,0x3,68000,2)" +#- Nominal voltage 48V (unit 1mV) +ecmcConfigOrDie "Cfg.EcAddSdo(${ECMC_EC_SLAVE_NUM},0x8010,0x3,48000,2)" #- Coil resistance 0.4 Ohm (unit 10mOhm) ecmcConfigOrDie "Cfg.EcAddSdo(${ECMC_EC_SLAVE_NUM},0x8010,0x4,40,2)" diff --git a/hardware/Motors/ecmcEL7041-Motor-Leadshine-57HS22-series.cmd b/hardware/Motors/ecmcEL7041-Motor-Leadshine-57HS22-series.cmd index 709f77dee..212ad3e09 100644 --- a/hardware/Motors/ecmcEL7041-Motor-Leadshine-57HS22-series.cmd +++ b/hardware/Motors/ecmcEL7041-Motor-Leadshine-57HS22-series.cmd @@ -10,8 +10,8 @@ ecmcConfigOrDie "Cfg.EcAddSdo(${ECMC_EC_SLAVE_NUM},0x8010,0x1,2800,2)" #- Reduced current 500mA (unit 1mA) ecmcConfigOrDie "Cfg.EcAddSdo(${ECMC_EC_SLAVE_NUM},0x8010,0x2,500,2)" -#- Nominal voltage 68V (unit 1mV) -ecmcConfigOrDie "Cfg.EcAddSdo(${ECMC_EC_SLAVE_NUM},0x8010,0x3,68000,2)" +#- Nominal voltage 48V (unit 1mV) +ecmcConfigOrDie "Cfg.EcAddSdo(${ECMC_EC_SLAVE_NUM},0x8010,0x3,48000,2)" #- Coil resistance 1.6 Ohm (unit 10mOhm) ecmcConfigOrDie "Cfg.EcAddSdo(${ECMC_EC_SLAVE_NUM},0x8010,0x4,160,2)" diff --git a/hardware/Motors/ecmcEL7041-Motor-Leadshine-57HS22-unipolar.cmd b/hardware/Motors/ecmcEL7041-Motor-Leadshine-57HS22-unipolar.cmd index 92f1fa1c7..3191a8710 100644 --- a/hardware/Motors/ecmcEL7041-Motor-Leadshine-57HS22-unipolar.cmd +++ b/hardware/Motors/ecmcEL7041-Motor-Leadshine-57HS22-unipolar.cmd @@ -10,8 +10,8 @@ ecmcConfigOrDie "Cfg.EcAddSdo(${ECMC_EC_SLAVE_NUM},0x8010,0x1,4000,2)" #- Reduced current 500mA (unit 1mA) ecmcConfigOrDie "Cfg.EcAddSdo(${ECMC_EC_SLAVE_NUM},0x8010,0x2,500,2)" -#- Nominal voltage 68V (unit 1mV) -ecmcConfigOrDie "Cfg.EcAddSdo(${ECMC_EC_SLAVE_NUM},0x8010,0x3,68000,2)" +#- Nominal voltage 48V (unit 1mV) +ecmcConfigOrDie "Cfg.EcAddSdo(${ECMC_EC_SLAVE_NUM},0x8010,0x3,48000,2)" #- Coil resistance 0.8 Ohm (unit 10mOhm) ecmcConfigOrDie "Cfg.EcAddSdo(${ECMC_EC_SLAVE_NUM},0x8010,0x4,80,2)" diff --git a/hardware/Motors/ecmcEL7047-Motor-Leadshine-57HS13-parallel.cmd b/hardware/Motors/ecmcEL7047-Motor-Leadshine-57HS13-parallel.cmd index fb8b56655..e2ab0c1fd 100644 --- a/hardware/Motors/ecmcEL7047-Motor-Leadshine-57HS13-parallel.cmd +++ b/hardware/Motors/ecmcEL7047-Motor-Leadshine-57HS13-parallel.cmd @@ -7,8 +7,8 @@ #- Load common config from EL7041 ${SCRIPTEXEC} ${ECMC_CONFIG_ROOT}ecmcEL7041-Motor-Leadshine-57HS13-parallel.cmd -#- Nominal voltage 68V (unit 10mV) -ecmcConfigOrDie "Cfg.EcAddSdo(${ECMC_EC_SLAVE_NUM},0x8010,0x3,6800,2)" +#- Nominal voltage 48V (unit 10mV) +ecmcConfigOrDie "Cfg.EcAddSdo(${ECMC_EC_SLAVE_NUM},0x8010,0x3,4800,2)" #- Coil inductance 2.1mH (unit 0.01mH) ecmcConfigOrDie "Cfg.EcAddSdo(${ECMC_EC_SLAVE_NUM},0x8010,0xA,210,2)" diff --git a/hardware/Motors/ecmcEL7047-Motor-Leadshine-57HS13-series.cmd b/hardware/Motors/ecmcEL7047-Motor-Leadshine-57HS13-series.cmd index acf7eabf3..82e8afb22 100644 --- a/hardware/Motors/ecmcEL7047-Motor-Leadshine-57HS13-series.cmd +++ b/hardware/Motors/ecmcEL7047-Motor-Leadshine-57HS13-series.cmd @@ -7,8 +7,8 @@ #- Load common config from EL7041 ${SCRIPTEXEC} ${ECMC_CONFIG_ROOT}ecmcEL7041-Motor-Leadshine-57HS13-series.cmd -#- Nominal voltage 68V (unit 10mV) -ecmcConfigOrDie "Cfg.EcAddSdo(${ECMC_EC_SLAVE_NUM},0x8010,0x3,6800,2)" +#- Nominal voltage 48V (unit 10mV) +ecmcConfigOrDie "Cfg.EcAddSdo(${ECMC_EC_SLAVE_NUM},0x8010,0x3,4800,2)" #- Coil inductance 8.4mH (unit 0.01mH) ecmcConfigOrDie "Cfg.EcAddSdo(${ECMC_EC_SLAVE_NUM},0x8010,0xA,840,2)" diff --git a/hardware/Motors/ecmcEL7047-Motor-Leadshine-57HS13-unipolar.cmd b/hardware/Motors/ecmcEL7047-Motor-Leadshine-57HS13-unipolar.cmd index 7ee274868..5fb8f9076 100644 --- a/hardware/Motors/ecmcEL7047-Motor-Leadshine-57HS13-unipolar.cmd +++ b/hardware/Motors/ecmcEL7047-Motor-Leadshine-57HS13-unipolar.cmd @@ -7,8 +7,8 @@ #- Load common config from EL7041 ${SCRIPTEXEC} ${ECMC_CONFIG_ROOT}ecmcEL7041-Motor-Leadshine-57HS13-unipolar.cmd -#- Nominal voltage 68V (unit 10mV) -ecmcConfigOrDie "Cfg.EcAddSdo(${ECMC_EC_SLAVE_NUM},0x8010,0x3,6800,2)" +#- Nominal voltage 48V (unit 10mV) +ecmcConfigOrDie "Cfg.EcAddSdo(${ECMC_EC_SLAVE_NUM},0x8010,0x3,4800,2)" #- Coil inductance 2.1mH (unit 0.01mH) ecmcConfigOrDie "Cfg.EcAddSdo(${ECMC_EC_SLAVE_NUM},0x8010,0xA,210,2)" diff --git a/hardware/Motors/ecmcEL7047-Motor-Leadshine-57HS22-parallel.cmd b/hardware/Motors/ecmcEL7047-Motor-Leadshine-57HS22-parallel.cmd index 1686627e8..f3b40d1f8 100644 --- a/hardware/Motors/ecmcEL7047-Motor-Leadshine-57HS22-parallel.cmd +++ b/hardware/Motors/ecmcEL7047-Motor-Leadshine-57HS22-parallel.cmd @@ -7,8 +7,8 @@ #- Load common config from EL7041 ${SCRIPTEXEC} ${ECMC_CONFIG_ROOT}ecmcEL7041-Motor-Leadshine-57HS22-parallel.cmd -#- Nominal voltage 68V (unit 10mV) -ecmcConfigOrDie "Cfg.EcAddSdo(${ECMC_EC_SLAVE_NUM},0x8010,0x3,6800,2)" +#- Nominal voltage 48V (unit 10mV) +ecmcConfigOrDie "Cfg.EcAddSdo(${ECMC_EC_SLAVE_NUM},0x8010,0x3,4800,2)" #- Coil inductance 1.8mH (unit 0.01mH) ecmcConfigOrDie "Cfg.EcAddSdo(${ECMC_EC_SLAVE_NUM},0x8010,0xA,180,2)" diff --git a/hardware/Motors/ecmcEL7047-Motor-Leadshine-57HS22-series.cmd b/hardware/Motors/ecmcEL7047-Motor-Leadshine-57HS22-series.cmd index 35449b7e9..b6953c1f3 100644 --- a/hardware/Motors/ecmcEL7047-Motor-Leadshine-57HS22-series.cmd +++ b/hardware/Motors/ecmcEL7047-Motor-Leadshine-57HS22-series.cmd @@ -7,8 +7,8 @@ #- Load common config from EL7041 ${SCRIPTEXEC} ${ECMC_CONFIG_ROOT}ecmcEL7041-Motor-Leadshine-57HS22-series.cmd -#- Nominal voltage 68V (unit 10mV) -ecmcConfigOrDie "Cfg.EcAddSdo(${ECMC_EC_SLAVE_NUM},0x8010,0x3,6800,2)" +#- Nominal voltage 48V (unit 10mV) +ecmcConfigOrDie "Cfg.EcAddSdo(${ECMC_EC_SLAVE_NUM},0x8010,0x3,4800,2)" #- Coil inductance 7.2mH (unit 0.01mH) ecmcConfigOrDie "Cfg.EcAddSdo(${ECMC_EC_SLAVE_NUM},0x8010,0xA,720,2)" diff --git a/hardware/Motors/ecmcEL7047-Motor-Leadshine-57HS22-unipolar.cmd b/hardware/Motors/ecmcEL7047-Motor-Leadshine-57HS22-unipolar.cmd index 9e91a5ceb..80148ab4d 100644 --- a/hardware/Motors/ecmcEL7047-Motor-Leadshine-57HS22-unipolar.cmd +++ b/hardware/Motors/ecmcEL7047-Motor-Leadshine-57HS22-unipolar.cmd @@ -7,8 +7,8 @@ #- Load common config from EL7041 ${SCRIPTEXEC} ${ECMC_CONFIG_ROOT}ecmcEL7041-Motor-Leadshine-57HS22-unipolar.cmd -#- Nominal voltage 68V (unit 10mV) -ecmcConfigOrDie "Cfg.EcAddSdo(${ECMC_EC_SLAVE_NUM},0x8010,0x3,6800,2)" +#- Nominal voltage 48V (unit 10mV) +ecmcConfigOrDie "Cfg.EcAddSdo(${ECMC_EC_SLAVE_NUM},0x8010,0x3,4800,2)" #- Coil inductance 1.8mH (unit 0.01mH) ecmcConfigOrDie "Cfg.EcAddSdo(${ECMC_EC_SLAVE_NUM},0x8010,0xA,180,2)"