diff --git a/hardware/Motors/ecmcEL7037-Motor-Leadshine-57HS13-parallel.cmd b/hardware/Motors/ecmcEL7037-Motor-Leadshine-57HS13-parallel.cmd new file mode 100644 index 000000000..b446cb3c2 --- /dev/null +++ b/hardware/Motors/ecmcEL7037-Motor-Leadshine-57HS13-parallel.cmd @@ -0,0 +1,11 @@ +#-d /** +#-d \brief hardware script for EL7037-Motor-Leadshine-57HS13 (parallel wiring) +#-d \details Parmetrization of EL7037 for motor Nanotec Leadshine Tecnology mod. 57HS13 (parallel wiring) +#-d \file +#-d */ + +#- Load common config from EL7047 +${SCRIPTEXEC} ${ECMC_CONFIG_ROOT}ecmcEL7047-Motor-Leadshine-57HS13-parallel.cmd + +#- Set max current to 1.5A (unit 1mA) +ecmcConfigOrDie "Cfg.EcAddSdo(${ECMC_EC_SLAVE_NUM},0x8010,0x1,1500,2)" diff --git a/hardware/Motors/ecmcEL7037-Motor-Leadshine-57HS13-series.cmd b/hardware/Motors/ecmcEL7037-Motor-Leadshine-57HS13-series.cmd new file mode 100644 index 000000000..b8c1ef8a2 --- /dev/null +++ b/hardware/Motors/ecmcEL7037-Motor-Leadshine-57HS13-series.cmd @@ -0,0 +1,11 @@ +#-d /** +#-d \brief hardware script for EL7037-Motor-Leadshine-57HS13 (series wiring) +#-d \details Parmetrization of EL7037 for motor Nanotec Leadshine Tecnology mod. 57HS13 (series wiring) +#-d \file +#-d */ + +#- Load common config from EL7047 +${SCRIPTEXEC} ${ECMC_CONFIG_ROOT}ecmcEL7047-Motor-Leadshine-57HS13-series.cmd + +#- Set max current to 1.5A (unit 1mA) +ecmcConfigOrDie "Cfg.EcAddSdo(${ECMC_EC_SLAVE_NUM},0x8010,0x1,1500,2)" diff --git a/hardware/Motors/ecmcEL7037-Motor-Leadshine-57HS13-unipolar.cmd b/hardware/Motors/ecmcEL7037-Motor-Leadshine-57HS13-unipolar.cmd new file mode 100644 index 000000000..81d3a6501 --- /dev/null +++ b/hardware/Motors/ecmcEL7037-Motor-Leadshine-57HS13-unipolar.cmd @@ -0,0 +1,11 @@ +#-d /** +#-d \brief hardware script for EL7037-Motor-Leadshine-57HS13 (unipolar wiring) +#-d \details Parmetrization of EL7037 for motor Nanotec Leadshine Tecnology mod. 57HS13 (unipolar wiring) +#-d \file +#-d */ + +#- Load common config from EL7047 +${SCRIPTEXEC} ${ECMC_CONFIG_ROOT}ecmcEL7047-Motor-Leadshine-57HS13-unipolar.cmd + +#- Set max current to 1.5A (unit 1mA) +ecmcConfigOrDie "Cfg.EcAddSdo(${ECMC_EC_SLAVE_NUM},0x8010,0x1,1500,2)" diff --git a/hardware/Motors/ecmcEL7041-0052-Motor-Leadshine-57HS13-parallel.cmd b/hardware/Motors/ecmcEL7041-0052-Motor-Leadshine-57HS13-parallel.cmd new file mode 120000 index 000000000..c4873a37a --- /dev/null +++ b/hardware/Motors/ecmcEL7041-0052-Motor-Leadshine-57HS13-parallel.cmd @@ -0,0 +1 @@ +ecmcEL7041-Motor-Leadshine-57HS13-parallel.cmd \ No newline at end of file diff --git a/hardware/Motors/ecmcEL7041-0052-Motor-Leadshine-57HS13-series.cmd b/hardware/Motors/ecmcEL7041-0052-Motor-Leadshine-57HS13-series.cmd new file mode 120000 index 000000000..800dfc7bd --- /dev/null +++ b/hardware/Motors/ecmcEL7041-0052-Motor-Leadshine-57HS13-series.cmd @@ -0,0 +1 @@ +ecmcEL7041-Motor-Leadshine-57HS13-series.cmd \ No newline at end of file diff --git a/hardware/Motors/ecmcEL7041-0052-Motor-Leadshine-57HS13-unipolar.cmd b/hardware/Motors/ecmcEL7041-0052-Motor-Leadshine-57HS13-unipolar.cmd new file mode 120000 index 000000000..ccd9d0db2 --- /dev/null +++ b/hardware/Motors/ecmcEL7041-0052-Motor-Leadshine-57HS13-unipolar.cmd @@ -0,0 +1 @@ +ecmcEL7041-Motor-Leadshine-57HS13-unipolar.cmd \ No newline at end of file diff --git a/hardware/Motors/ecmcEL7041-Motor-Leadshine-57HS13-parallel.cmd b/hardware/Motors/ecmcEL7041-Motor-Leadshine-57HS13-parallel.cmd new file mode 100644 index 000000000..108e40891 --- /dev/null +++ b/hardware/Motors/ecmcEL7041-Motor-Leadshine-57HS13-parallel.cmd @@ -0,0 +1,20 @@ +#-d /** +#-d \brief hardware script for EL7041-Motor-Leadshine-57HS13 (parallel wiring) +#-d \details Parmetrization of EL7041 for motor Nanotec Leadshine Tecnology mod. 57HS13 (parallel wiring) +#-d \file +#-d */ + +#- Set max current to 4A (unit 1mA) +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)" + +#- Coil resistance 0.5 Ohm (unit 10mOhm) +ecmcConfigOrDie "Cfg.EcAddSdo(${ECMC_EC_SLAVE_NUM},0x8010,0x4,50,2)" + +#- Motor full steps count 200 +ecmcConfigOrDie "Cfg.EcAddSdo(${ECMC_EC_SLAVE_NUM},0x8010,0x6,200,2)" diff --git a/hardware/Motors/ecmcEL7041-Motor-Leadshine-57HS13-series.cmd b/hardware/Motors/ecmcEL7041-Motor-Leadshine-57HS13-series.cmd new file mode 100644 index 000000000..f56c9cdef --- /dev/null +++ b/hardware/Motors/ecmcEL7041-Motor-Leadshine-57HS13-series.cmd @@ -0,0 +1,20 @@ +#-d /** +#-d \brief hardware script for EL7041-Motor-Leadshine-57HS13 (series wiring) +#-d \details Parmetrization of EL7041 for motor Nanotec Leadshine Tecnology mod. 57HS13 (series wiring) +#-d \file +#-d */ + +#- Set max current to 2A (unit 1mA) +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)" + +#- Coil resistance 2 Ohm (unit 10mOhm) +ecmcConfigOrDie "Cfg.EcAddSdo(${ECMC_EC_SLAVE_NUM},0x8010,0x4,200,2)" + +#- Motor full steps count 200 +ecmcConfigOrDie "Cfg.EcAddSdo(${ECMC_EC_SLAVE_NUM},0x8010,0x6,200,2)" diff --git a/hardware/Motors/ecmcEL7041-Motor-Leadshine-57HS13-unipolar.cmd b/hardware/Motors/ecmcEL7041-Motor-Leadshine-57HS13-unipolar.cmd new file mode 100644 index 000000000..1ec60a242 --- /dev/null +++ b/hardware/Motors/ecmcEL7041-Motor-Leadshine-57HS13-unipolar.cmd @@ -0,0 +1,20 @@ +#-d /** +#-d \brief hardware script for EL7041-Motor-Leadshine-57HS13 (unipolar wiring) +#-d \details Parmetrization of EL7041 for motor Nanotec Leadshine Tecnology mod. 57HS13 (unipolar wiring) +#-d \file +#-d */ + +#- Set max current to 2.8A (unit 1mA) +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)" + +#- Coil resistance 1 Ohm (unit 10mOhm) +ecmcConfigOrDie "Cfg.EcAddSdo(${ECMC_EC_SLAVE_NUM},0x8010,0x4,100,2)" + +#- Motor full steps count 200 +ecmcConfigOrDie "Cfg.EcAddSdo(${ECMC_EC_SLAVE_NUM},0x8010,0x6,200,2)" diff --git a/hardware/Motors/ecmcEL7047-Motor-Leadshine-57HS13-parallel.cmd b/hardware/Motors/ecmcEL7047-Motor-Leadshine-57HS13-parallel.cmd new file mode 100644 index 000000000..fb8b56655 --- /dev/null +++ b/hardware/Motors/ecmcEL7047-Motor-Leadshine-57HS13-parallel.cmd @@ -0,0 +1,14 @@ +#-d /** +#-d \brief hardware script for EL7047-Motor-Leadshine-57HS13 (parallel wiring) +#-d \details Parmetrization of EL7047 for motor Nanotec Leadshine Tecnology mod. 57HS13 (parallel wiring) +#-d \file +#-d */ + +#- 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)" + +#- 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 new file mode 100644 index 000000000..acf7eabf3 --- /dev/null +++ b/hardware/Motors/ecmcEL7047-Motor-Leadshine-57HS13-series.cmd @@ -0,0 +1,14 @@ +#-d /** +#-d \brief hardware script for EL7047-Motor-Leadshine-57HS13 (series wiring) +#-d \details Parmetrization of EL7047 for motor Nanotec Leadshine Tecnology mod. 57HS13 (series wiring) +#-d \file +#-d */ + +#- 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)" + +#- 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 new file mode 100644 index 000000000..7ee274868 --- /dev/null +++ b/hardware/Motors/ecmcEL7047-Motor-Leadshine-57HS13-unipolar.cmd @@ -0,0 +1,14 @@ +#-d /** +#-d \brief hardware script for EL7047-Motor-Leadshine-57HS13 (unipolar wiring) +#-d \details Parmetrization of EL7047 for motor Nanotec Leadshine Tecnology mod. 57HS13 (unipolar wiring) +#-d \file +#-d */ + +#- 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)" + +#- Coil inductance 2.1mH (unit 0.01mH) +ecmcConfigOrDie "Cfg.EcAddSdo(${ECMC_EC_SLAVE_NUM},0x8010,0xA,210,2)"