Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Phytron 52.200.5 #194

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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)"
Loading