diff --git a/hardware/Motors/ecmcEL7037-Motor-Phytron-VSS-80.200.5.cmd b/hardware/Motors/ecmcEL7037-Motor-Phytron-VSS-80.200.5.cmd new file mode 100644 index 000000000..9cb895e55 --- /dev/null +++ b/hardware/Motors/ecmcEL7037-Motor-Phytron-VSS-80.200.5.cmd @@ -0,0 +1,14 @@ +#-d /** +#-d \brief hardware script for EL7037-Motor-Phytron-VSS-52.200.2.5 +#-d \details Parametrization of EL7037 for motor Phytron VSS 52.200.2.5 +#-d \file +#-d */ + +#- Load common config from EL7047 +${SCRIPTEXEC} ${ECMC_CONFIG_ROOT}ecmcEL7047-Motor-Phytron-VSS-52.200.2.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-80.200.5.cmd b/hardware/Motors/ecmcEL7041-0052-Motor-Phytron-VSS-80.200.5.cmd new file mode 120000 index 000000000..958370f30 --- /dev/null +++ b/hardware/Motors/ecmcEL7041-0052-Motor-Phytron-VSS-80.200.5.cmd @@ -0,0 +1 @@ +ecmcEL7041-Motor-Phytron-VSS-80.200.5.cmd \ No newline at end of file diff --git a/hardware/Motors/ecmcEL7041-Motor-Phytron-VSS-80.200.5.cmd b/hardware/Motors/ecmcEL7041-Motor-Phytron-VSS-80.200.5.cmd new file mode 100644 index 000000000..3ef19ca49 --- /dev/null +++ b/hardware/Motors/ecmcEL7041-Motor-Phytron-VSS-80.200.5.cmd @@ -0,0 +1,20 @@ +#-d /** +#-d \brief hardware script for EL7041-Motor-Phytron-VSS-52.200.2.5 +#-d \details Parametrization of EL7041 for motor Phytron VSS 52.200.2.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.4 Ohm (unit 10mOhm) +ecmcConfigOrDie "Cfg.EcAddSdo(${ECMC_EC_SLAVE_NUM},0x8010,0x4,60,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-80.200.5.cmd b/hardware/Motors/ecmcEL7047-Motor-Phytron-VSS-80.200.5.cmd new file mode 100644 index 000000000..b39b9c658 --- /dev/null +++ b/hardware/Motors/ecmcEL7047-Motor-Phytron-VSS-80.200.5.cmd @@ -0,0 +1,14 @@ +#-d /** +#-d \brief hardware script for EL7047-Motor-Phytron-VSS-52.200.2.5 +#-d \details Parametrization of EL7047 for motor Phytron VSS 52.200.2.5 +#-d \file +#-d */ + +#- Load common config from EL7041 +${SCRIPTEXEC} ${ECMC_CONFIG_ROOT}ecmcEL7041-Motor-Phytron-VSS-52.200.2.5.cmd + +#- Nominal voltage 48V (unit 10mV) +ecmcConfigOrDie "Cfg.EcAddSdo(${ECMC_EC_SLAVE_NUM},0x8010,0x3,4800,2)" + +#- Coil inductance 3.9mH (unit 0.01mH) +ecmcConfigOrDie "Cfg.EcAddSdo(${ECMC_EC_SLAVE_NUM},0x8010,0xA,390,2)"