diff --git a/hardware/Motors/ecmcEL7037-Motor-Phytron-VSS-52.200.5.cmd b/hardware/Motors/ecmcEL7037-Motor-Phytron-VSS-52.200.5.cmd new file mode 100644 index 000000000..55d0e8152 --- /dev/null +++ b/hardware/Motors/ecmcEL7037-Motor-Phytron-VSS-52.200.5.cmd @@ -0,0 +1,14 @@ +#-d /** +#-d \brief hardware script for EL7037-Motor-Phytron-VSS-52.200.5 +#-d \details Parametrization of EL7037 for motor Phytron VSS 52.200.5 +#-d \file +#-d */ + +#- Load common config from EL7047 +${SCRIPTEXEC} ${ECMC_CONFIG_ROOT}ecmcEL7047-Motor-Phytron-VSS-52.200.5.cmd + +#- Set max current to 1500mA (unit 1mA) +ecmcConfigOrDie "Cfg.EcAddSdo(${ECMC_EC_SLAVE_NUM},0x8010,0x1,1500,2)" + +#- Nominal voltage 24V (unit 10mV) +ecmcConfigOrDie "Cfg.EcAddSdo(${ECMC_EC_SLAVE_NUM},0x8010,0x3,2400,2)" diff --git a/hardware/Motors/ecmcEL7041-0052-Motor-Phytron-VSS-52.200.5.cmd b/hardware/Motors/ecmcEL7041-0052-Motor-Phytron-VSS-52.200.5.cmd new file mode 120000 index 000000000..cc3f30d1e --- /dev/null +++ b/hardware/Motors/ecmcEL7041-0052-Motor-Phytron-VSS-52.200.5.cmd @@ -0,0 +1 @@ +ecmcEL7041-Motor-Phytron-VSS-52.200.5.cmd \ No newline at end of file diff --git a/hardware/Motors/ecmcEL7041-Motor-Phytron-VSS-52.200.5.cmd b/hardware/Motors/ecmcEL7041-Motor-Phytron-VSS-52.200.5.cmd new file mode 100644 index 000000000..682806b17 --- /dev/null +++ b/hardware/Motors/ecmcEL7041-Motor-Phytron-VSS-52.200.5.cmd @@ -0,0 +1,20 @@ +#-d /** +#-d \brief hardware script for EL7041-Motor-Phytron-VSS-52.200.5 +#-d \details Parametrization of EL7041 for motor Phytron VSS 52.200.5 +#-d \file +#-d */ + +#- Set max current to 5A (unit 1mA) +ecmcConfigOrDie "Cfg.EcAddSdo(${ECMC_EC_SLAVE_NUM},0x8010,0x1,5000,2)" + +#- Reduced current 200mA (unit 1mA) +ecmcConfigOrDie "Cfg.EcAddSdo(${ECMC_EC_SLAVE_NUM},0x8010,0x2,200,2)" + +#- Nominal voltage 48V (unit 1mV) +ecmcConfigOrDie "Cfg.EcAddSdo(${ECMC_EC_SLAVE_NUM},0x8010,0x3,48000,2)" + +#- Coil resistance 0.165 Ohm (unit 10mOhm) (rounded to 0.17 Ohm) +ecmcConfigOrDie "Cfg.EcAddSdo(${ECMC_EC_SLAVE_NUM},0x8010,0x4,17,2)" + +#- Motor full steps count 200 +ecmcConfigOrDie "Cfg.EcAddSdo(${ECMC_EC_SLAVE_NUM},0x8010,0x6,200,2)" diff --git a/hardware/Motors/ecmcEL7047-Motor-Phytron-VSS-52.200.5.cmd b/hardware/Motors/ecmcEL7047-Motor-Phytron-VSS-52.200.5.cmd new file mode 100644 index 000000000..8fe3ec541 --- /dev/null +++ b/hardware/Motors/ecmcEL7047-Motor-Phytron-VSS-52.200.5.cmd @@ -0,0 +1,14 @@ +#-d /** +#-d \brief hardware script for EL7047-Motor-Phytron-VSS-52.200.5 +#-d \details Parametrization of EL7047 for motor Phytron VSS 52.200.5 +#-d \file +#-d */ + +#- Load common config from EL7041 +${SCRIPTEXEC} ${ECMC_CONFIG_ROOT}ecmcEL7041-Motor-Phytron-VSS-52.200.5.cmd + +#- Nominal voltage 48V (unit 10mV) +ecmcConfigOrDie "Cfg.EcAddSdo(${ECMC_EC_SLAVE_NUM},0x8010,0x3,4800,2)" + +#- Coil inductance 0.4mH (unit 0.01mH) +ecmcConfigOrDie "Cfg.EcAddSdo(${ECMC_EC_SLAVE_NUM},0x8010,0xA,40,2)"