Skip to content

Commit

Permalink
Add Phytron VSS 52.200.5
Browse files Browse the repository at this point in the history
  • Loading branch information
Carlos Doro Neto committed Sep 22, 2023
1 parent 357e464 commit 33facc2
Show file tree
Hide file tree
Showing 4 changed files with 49 additions and 0 deletions.
14 changes: 14 additions & 0 deletions hardware/Motors/ecmcEL7037-Motor-Phytron-VSS-52.200.5.cmd
Original file line number Diff line number Diff line change
@@ -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)"
20 changes: 20 additions & 0 deletions hardware/Motors/ecmcEL7041-Motor-Phytron-VSS-52.200.5.cmd
Original file line number Diff line number Diff line change
@@ -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)"
14 changes: 14 additions & 0 deletions hardware/Motors/ecmcEL7047-Motor-Phytron-VSS-52.200.5.cmd
Original file line number Diff line number Diff line change
@@ -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)"

0 comments on commit 33facc2

Please sign in to comment.