diff --git a/hardware/Motors/ecmcEL7037-Motor-Leadshine-57HS22-parallel.cmd b/hardware/Motors/ecmcEL7037-Motor-Leadshine-57HS22-parallel.cmd new file mode 100644 index 000000000..327207bf1 --- /dev/null +++ b/hardware/Motors/ecmcEL7037-Motor-Leadshine-57HS22-parallel.cmd @@ -0,0 +1,11 @@ +#-d /** +#-d \brief hardware script for EL7037-Motor-Leadshine-57HS22 (parallel wiring) +#-d \details Parmetrization of EL7037 for motor Nanotec Leadshine Tecnology mod. 57HS22 (parallel wiring) +#-d \file +#-d */ + +#- Load common config from EL7047 +${SCRIPTEXEC} ${ECMC_CONFIG_ROOT}ecmcEL7047-Motor-Leadshine-57HS22-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-57HS22-series.cmd b/hardware/Motors/ecmcEL7037-Motor-Leadshine-57HS22-series.cmd new file mode 100644 index 000000000..6b3a25fd6 --- /dev/null +++ b/hardware/Motors/ecmcEL7037-Motor-Leadshine-57HS22-series.cmd @@ -0,0 +1,11 @@ +#-d /** +#-d \brief hardware script for EL7037-Motor-Leadshine-57HS22 (series wiring) +#-d \details Parmetrization of EL7037 for motor Nanotec Leadshine Tecnology mod. 57HS22 (series wiring) +#-d \file +#-d */ + +#- Load common config from EL7047 +${SCRIPTEXEC} ${ECMC_CONFIG_ROOT}ecmcEL7047-Motor-Leadshine-57HS22-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-57HS22-unipolar.cmd b/hardware/Motors/ecmcEL7037-Motor-Leadshine-57HS22-unipolar.cmd new file mode 100644 index 000000000..75ac6e87a --- /dev/null +++ b/hardware/Motors/ecmcEL7037-Motor-Leadshine-57HS22-unipolar.cmd @@ -0,0 +1,11 @@ +#-d /** +#-d \brief hardware script for EL7037-Motor-Leadshine-57HS22 (unipolar wiring) +#-d \details Parmetrization of EL7037 for motor Nanotec Leadshine Tecnology mod. 57HS22 (unipolar wiring) +#-d \file +#-d */ + +#- Load common config from EL7047 +${SCRIPTEXEC} ${ECMC_CONFIG_ROOT}ecmcEL7047-Motor-Leadshine-57HS22-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-57HS22-parallel.cmd b/hardware/Motors/ecmcEL7041-0052-Motor-Leadshine-57HS22-parallel.cmd new file mode 120000 index 000000000..850c53cec --- /dev/null +++ b/hardware/Motors/ecmcEL7041-0052-Motor-Leadshine-57HS22-parallel.cmd @@ -0,0 +1 @@ +ecmcEL7041-Motor-Leadshine-57HS22-parallel.cmd \ No newline at end of file diff --git a/hardware/Motors/ecmcEL7041-0052-Motor-Leadshine-57HS22-series.cmd b/hardware/Motors/ecmcEL7041-0052-Motor-Leadshine-57HS22-series.cmd new file mode 120000 index 000000000..f14d6ad43 --- /dev/null +++ b/hardware/Motors/ecmcEL7041-0052-Motor-Leadshine-57HS22-series.cmd @@ -0,0 +1 @@ +ecmcEL7041-Motor-Leadshine-57HS22-series.cmd \ No newline at end of file diff --git a/hardware/Motors/ecmcEL7041-0052-Motor-Leadshine-57HS22-unipolar.cmd b/hardware/Motors/ecmcEL7041-0052-Motor-Leadshine-57HS22-unipolar.cmd new file mode 120000 index 000000000..d07886b7a --- /dev/null +++ b/hardware/Motors/ecmcEL7041-0052-Motor-Leadshine-57HS22-unipolar.cmd @@ -0,0 +1 @@ +ecmcEL7041-Motor-Leadshine-57HS22-unipolar.cmd \ No newline at end of file diff --git a/hardware/Motors/ecmcEL7041-Motor-Leadshine-57HS22-parallel.cmd b/hardware/Motors/ecmcEL7041-Motor-Leadshine-57HS22-parallel.cmd new file mode 100644 index 000000000..d0513d014 --- /dev/null +++ b/hardware/Motors/ecmcEL7041-Motor-Leadshine-57HS22-parallel.cmd @@ -0,0 +1,20 @@ +#-d /** +#-d \brief hardware script for EL7041-Motor-Leadshine-57HS22 (parallel wiring) +#-d \details Parmetrization of EL7041 for motor Nanotec Leadshine Tecnology mod. 57HS22 (parallel wiring) +#-d \file +#-d */ + +#- Set max current to 5A (unit 1mA) (max current is 5.7A) +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)" + +#- Coil resistance 0.4 Ohm (unit 10mOhm) +ecmcConfigOrDie "Cfg.EcAddSdo(${ECMC_EC_SLAVE_NUM},0x8010,0x4,40,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-57HS22-series.cmd b/hardware/Motors/ecmcEL7041-Motor-Leadshine-57HS22-series.cmd new file mode 100644 index 000000000..709f77dee --- /dev/null +++ b/hardware/Motors/ecmcEL7041-Motor-Leadshine-57HS22-series.cmd @@ -0,0 +1,20 @@ +#-d /** +#-d \brief hardware script for EL7041-Motor-Leadshine-57HS22 (series wiring) +#-d \details Parmetrization of EL7041 for motor Nanotec Leadshine Tecnology mod. 57HS22 (series 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.6 Ohm (unit 10mOhm) +ecmcConfigOrDie "Cfg.EcAddSdo(${ECMC_EC_SLAVE_NUM},0x8010,0x4,160,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-57HS22-unipolar.cmd b/hardware/Motors/ecmcEL7041-Motor-Leadshine-57HS22-unipolar.cmd new file mode 100644 index 000000000..92f1fa1c7 --- /dev/null +++ b/hardware/Motors/ecmcEL7041-Motor-Leadshine-57HS22-unipolar.cmd @@ -0,0 +1,20 @@ +#-d /** +#-d \brief hardware script for EL7041-Motor-Leadshine-57HS22 (unipolar wiring) +#-d \details Parmetrization of EL7041 for motor Nanotec Leadshine Tecnology mod. 57HS22 (unipolar 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.8 Ohm (unit 10mOhm) +ecmcConfigOrDie "Cfg.EcAddSdo(${ECMC_EC_SLAVE_NUM},0x8010,0x4,80,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-57HS22-parallel.cmd b/hardware/Motors/ecmcEL7047-Motor-Leadshine-57HS22-parallel.cmd new file mode 100644 index 000000000..1686627e8 --- /dev/null +++ b/hardware/Motors/ecmcEL7047-Motor-Leadshine-57HS22-parallel.cmd @@ -0,0 +1,14 @@ +#-d /** +#-d \brief hardware script for EL7047-Motor-Leadshine-57HS22 (parallel wiring) +#-d \details Parmetrization of EL7047 for motor Nanotec Leadshine Tecnology mod. 57HS22 (parallel wiring) +#-d \file +#-d */ + +#- 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)" + +#- 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 new file mode 100644 index 000000000..35449b7e9 --- /dev/null +++ b/hardware/Motors/ecmcEL7047-Motor-Leadshine-57HS22-series.cmd @@ -0,0 +1,14 @@ +#-d /** +#-d \brief hardware script for EL7047-Motor-Leadshine-57HS22 (series wiring) +#-d \details Parmetrization of EL7047 for motor Nanotec Leadshine Tecnology mod. 57HS22 (series wiring) +#-d \file +#-d */ + +#- 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)" + +#- 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 new file mode 100644 index 000000000..9e91a5ceb --- /dev/null +++ b/hardware/Motors/ecmcEL7047-Motor-Leadshine-57HS22-unipolar.cmd @@ -0,0 +1,14 @@ +#-d /** +#-d \brief hardware script for EL7047-Motor-Leadshine-57HS22 (unipolar wiring) +#-d \details Parmetrization of EL7047 for motor Nanotec Leadshine Tecnology mod. 57HS22 (unipolar wiring) +#-d \file +#-d */ + +#- 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)" + +#- Coil inductance 1.8mH (unit 0.01mH) +ecmcConfigOrDie "Cfg.EcAddSdo(${ECMC_EC_SLAVE_NUM},0x8010,0xA,180,2)"