forked from paulscherrerinstitute/ecmccfg
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Carlos Doro Neto
committed
Sep 22, 2023
1 parent
357e464
commit 33facc2
Showing
4 changed files
with
49 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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)" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
ecmcEL7041-Motor-Phytron-VSS-52.200.5.cmd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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)" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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)" |