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

Nanotec, Phytron and Leadshine motors review #184

Merged
merged 33 commits into from
Aug 25, 2023
Merged
Show file tree
Hide file tree
Changes from 31 commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
e171e8c
Motor review: Nanotec AS4118L1804
Jul 24, 2023
910f12c
Motor review: Nanotec ST2818M1006 (unipolar wiring)
Jul 24, 2023
6e447ca
Motor review: Nanotec ST2818M1006 (bipolar wiring)
Jul 24, 2023
272f344
Motor review: Nanotec ST2818S1006 (unipolar wiring)
Jul 24, 2023
392fc1a
Motor review: Nanotec ST2818S1006 (bipolar wiring)
Jul 24, 2023
a4c0d71
Motor review: Nanotec ST4118M1804
Jul 24, 2023
aa67c0d
Motor review: Nanotec ST4118L1804
Jul 24, 2023
659642a
Fix typo
Jul 26, 2023
e627d3f
Motor review: Nanotec SCA2018M0804
Jul 26, 2023
ff3e67d
Motor review: Nanotec ST5918L1008 (unipolar)
Jul 26, 2023
f40c2a2
Motor review: Nanotec ST5918L1008 (series)
Jul 26, 2023
2255c12
Motor review: Nanotec ST5918L1008 (parallel)
Jul 26, 2023
5e35922
Remove Carlos (myself) from author comments
Jul 26, 2023
7a5aac3
Motor review: Nanotec SCA5618X2804
Jul 26, 2023
3a5a970
Motor review: Phytron VSS 32.200.1.2
Jul 26, 2023
d02ff75
Motor review: Phytron VSS 52.200.2.5
Jul 26, 2023
c3321c0
Motor review: Phytron VSS 57.200.2.5
Jul 28, 2023
71850a9
Motor review: Phytron VSS 25.200.1.2
Jul 28, 2023
0237cef
Motor review: Phytron VSS 57.200.1.2
Jul 28, 2023
1934688
Motor review: Phytron VSS 42.200.2.5
Jul 28, 2023
122d23d
Add chkValidVoltageSetOrDie.cmd
Jul 28, 2023
4272faf
Fix voltage for Oriental PK296DB
Jul 28, 2023
f99c2d6
Motor review: Leadshine 57HS09 (series)
Jul 28, 2023
ee55c66
Motor review: Leadshine 57HS09 (parallel)
Jul 28, 2023
a05e187
Motor review: Leadshine 57HS09 (unipolar)
Jul 28, 2023
c9c3b69
Add Leadshine 57HS04 (not tested)
Jul 28, 2023
c7c0f68
Add Leadshine 57HS13 (not tested)
Jul 28, 2023
7e52991
Add Leadshine 57HS22 (not tested)
Jul 28, 2023
ee00a49
Remove execute permission from ecmcEL7211-0010-Motor-Beckhoff-AM8122-…
Jul 28, 2023
dea7172
Limit Leadshine motors voltage to 48V (limited by EL7041 and EL7047)
Jul 28, 2023
0b3fee1
Fix header and author for several motor files
Jul 28, 2023
71b1e55
Fix typo
Aug 9, 2023
358952d
Fix more typos
Aug 9, 2023
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
6 changes: 3 additions & 3 deletions general/chkValidCurrentSetOrDie.cmd
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#==============================================================================
# chkValidCurrentSetOrDie.cmd
#-d /**
#-d \brief Checks if requested run current and stanby current is less than max current and larget than 0
#-d \brief Checks if requested run current and stanby current is less than max current and larger than 0
#-d need to use ecmcExit since iocsh command "exit" just stops reading current file.
#-d
#-d \author Anders Sandstroem
Expand All @@ -15,13 +15,13 @@
#-d*/

# Ensure running current is below max current otherwise exit
ecmcEpicsEnvSetCalcTernary(ECMC_EXE_CMD, "${I_RUN_MA=-1}>${I_MAX_MA=0} or ${I_RUN_MA=-1}<=0", "ecmcExit Error: Run current setpoint to high or negative...","# Run current setting OK (${I_RUN_MA_LOCAL=-1})...")
ecmcEpicsEnvSetCalcTernary(ECMC_EXE_CMD, "${I_RUN_MA=-1}>${I_MAX_MA=0} or ${I_RUN_MA=-1}<=0", "ecmcExit Error: Run current setpoint too high or negative...","# Run current setting OK (${I_RUN_MA_LOCAL=-1})...")
# Result:
${ECMC_EXE_CMD}
epicsEnvUnset(ECMC_EXE_CMD)

# Ensure standby current is below max current otherwise exit
ecmcEpicsEnvSetCalcTernary(ECMC_EXE_CMD, "${I_STDBY_MA=-1}>${I_MAX_MA=0} or ${I_STDBY_MA=-1}<0", "ecmcExit Error: Standby current setpoint to high or negative...","# Standby current setting OK (${I_STDBY_MA=-1})...")
ecmcEpicsEnvSetCalcTernary(ECMC_EXE_CMD, "${I_STDBY_MA=-1}>${I_MAX_MA=0} or ${I_STDBY_MA=-1}<0", "ecmcExit Error: Standby current setpoint too high or negative...","# Standby current setting OK (${I_STDBY_MA=-1})...")
# Result:
${ECMC_EXE_CMD}
epicsEnvUnset(ECMC_EXE_CMD)
Expand Down
16 changes: 16 additions & 0 deletions general/chkValidVoltageSetOrDie.cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#==============================================================================
# chkValidVoltageSetOrDie.cmd
#-d /**
#-d \brief Ensure requested nominal voltage is less than max voltage and larger than 0
#-d need to use ecmcExit since iocsh command "exit" just stops reading current file.
#-d
#-d Arguments:
#-d V_MAX_MV : Max voltage in mV
#-d V_NOM_MV : Nominal voltage in mV
#-d
#-d \file
#-d*/

ecmcEpicsEnvSetCalcTernary(ECMC_EXE_CMD, "${V_NOM_MV=-1}<0 or ${V_NOM_MV=-1}>${I_MAX_MA=0}", "ecmcExit Error: Voltage setpoint too high, negative or zero...","# Voltage setting OK (${V_NOM_MV=-1})...")
${ECMC_EXE_CMD}
epicsEnvUnset(ECMC_EXE_CMD)
2 changes: 1 addition & 1 deletion hardware/Beckhoff_3XXX/EL/ecmcEL3311.cmd
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#-d /**
#-d \brief hardware script for EL3311
#-d \details EL3311 | 1-channel thermocouple input terminal with open-circuit recognition
#-d \author Markus Kristensson, Carlos Doro Neto
#-d \author Markus Kristensson
#-d \file
#-d \note SDOS
#-d \param [out] SDO 0x1011:01 --> 1684107116 \b reset
Expand Down
2 changes: 1 addition & 1 deletion hardware/Beckhoff_3XXX/EL/ecmcEL3312.cmd
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#-d /**
#-d \brief hardware script for EL3312
#-d \details EL3312 | 2-channel thermocouple input terminal with open-circuit recognition
#-d \author Anders Sandstroem, Javier Cereijo Garcia, Carlos Doro Neto
#-d \author Anders Sandstroem, Javier Cereijo Garcia
#-d \file
#-d \note SDOS
#-d \param [out] SDO 0x1011:01 --> 1684107116 \b reset
Expand Down
2 changes: 1 addition & 1 deletion hardware/Beckhoff_3XXX/EL/ecmcEL3314-0002.cmd
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#-d /**
#-d \brief hardware script for EL3314-0002
#-d \details EL3314-0002 | 4-channel (24 bits) thermocouple input terminal with open-circuit recognition
#-d \author Anders Sandstroem, Markus Kristensson, Carlos Doro Neto
#-d \author Anders Sandstroem, Markus Kristensson
#-d \file
#-d \note SDOS
#-d \param [out] SDO 0x1011:01 --> 1684107116 \b reset
Expand Down
2 changes: 1 addition & 1 deletion hardware/Beckhoff_3XXX/EL/ecmcEL3314-0010.cmd
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#-d /**
#-d \brief hardware script for EL3314-0010
#-d \details EL3314-0010 | 4-channel (24 bits) thermocouple, high precision, input terminal with open-circuit recognition
#-d \author Markus Kristensson, Carlos Doro Neto
#-d \author Markus Kristensson
#-d \file
#-d \note SDOS
#-d \param [out] SDO 0x1011:01 --> 1684107116 \b reset
Expand Down
2 changes: 1 addition & 1 deletion hardware/Beckhoff_3XXX/EL/ecmcEL3314-0020.cmd
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#-d /**
#-d \brief hardware script for EL3314-0020
#-d \details EL3314-0020 | 4-channel (24 bits) thermocouple, high precision, factory calibrated, input terminal with open-circuit recognition
#-d \author Markus Kristensson, Carlos Doro Neto
#-d \author Markus Kristensson
#-d \file
#-d \note SDOS
#-d \param [out] SDO 0x1011:01 --> 1684107116 \b reset
Expand Down
2 changes: 1 addition & 1 deletion hardware/Beckhoff_3XXX/EL/ecmcEL3314-0030.cmd
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#-d /**
#-d \brief hardware script for EL3314-0030
#-d \details EL3314-0030 | 4-channel (24 bits) thermocouple, high precision, externally calibrated, input terminal with open-circuit recognition
#-d \author Markus Kristensson, Carlos Doro Neto
#-d \author Markus Kristensson
#-d \file
#-d \note SDOS
#-d \param [out] SDO 0x1011:01 --> 1684107116 \b reset
Expand Down
2 changes: 1 addition & 1 deletion hardware/Beckhoff_3XXX/EL/ecmcEL3314-XXXX_generic.cmd
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#-d /**
#-d \brief hardware script for EL3314-XXXX
#-d \details EL3314-XXXX | Generic script for EL3314-XXXX modules.
#-d \author Markus Kristensson, Carlos Doro Netos
#-d \author Markus Kristensson
#-d \file
#-d \note SDOS
#-d \param [out] SDO 0x1011:01 --> 1684107116 \b reset
Expand Down
2 changes: 1 addition & 1 deletion hardware/Beckhoff_3XXX/EL/ecmcEL3318.cmd
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#-d /**
#-d \brief hardware script for EL3318
#-d \details EL3318 | 8-channel (16 bits) thermocouple input terminal with open-circuit recognition
#-d \author Markus Kristensson, Carlos Doro Neto
#-d \author Markus Kristensson
#-d \file
#-d \note SDOS
#-d \param [out] SDO 0x1011:01 --> 1684107116 \b reset
Expand Down
14 changes: 14 additions & 0 deletions hardware/Motors/ecmcEL7037-Motor-Leadshine-57HS04-series.cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#-d /**
#-d \brief hardware script for EL7037-Motor-Leadshine-57HS04 (series wiring)
#-d \details Parmetrization of EL7037 for motor Nanotec Leadshine Tecnology mod. 57HS04 (series wiring)
#-d \file
#-d */

#- Load common config from EL7047
${SCRIPTEXEC} ${ECMC_CONFIG_ROOT}ecmcEL7047-Motor-Leadshine-57HS04-series.cmd

#- Set max current to 1.5A (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)"
14 changes: 14 additions & 0 deletions hardware/Motors/ecmcEL7037-Motor-Leadshine-57HS04-unipolar.cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#-d /**
#-d \brief hardware script for EL7037-Motor-Leadshine-57HS04 (unipolar wiring)
#-d \details Parmetrization of EL7037 for motor Nanotec Leadshine Tecnology mod. 57HS04 (unipolar wiring)
#-d \file
#-d */

#- Load common config from EL7047
${SCRIPTEXEC} ${ECMC_CONFIG_ROOT}ecmcEL7047-Motor-Leadshine-57HS04-unipolar.cmd

#- Set max current to 1.5A (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)"
14 changes: 14 additions & 0 deletions hardware/Motors/ecmcEL7037-Motor-Leadshine-57HS09-parallel.cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#-d /**
#-d \brief hardware script for EL7037-Motor-Leadshine-57HS09 (parallel wiring)
#-d \details Parmetrization of EL7037 for motor Nanotec Leadshine Tecnology mod. 57HS09 (parallel wiring)
#-d \file
#-d */

#- Load common config from EL7047
${SCRIPTEXEC} ${ECMC_CONFIG_ROOT}ecmcEL7047-Motor-Leadshine-57HS09-parallel.cmd

#- Set max current to 1.5A (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)"
14 changes: 14 additions & 0 deletions hardware/Motors/ecmcEL7037-Motor-Leadshine-57HS09-series.cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#-d /**
#-d \brief hardware script for EL7037-Motor-Leadshine-57HS09 (series wiring)
#-d \details Parmetrization of EL7037 for motor Nanotec Leadshine Tecnology mod. 57HS09 (series wiring)
#-d \file
#-d */

#- Load common config from EL7047
${SCRIPTEXEC} ${ECMC_CONFIG_ROOT}ecmcEL7047-Motor-Leadshine-57HS09-series.cmd

#- Set max current to 1.5A (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)"
14 changes: 14 additions & 0 deletions hardware/Motors/ecmcEL7037-Motor-Leadshine-57HS09-unipolar.cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#-d /**
#-d \brief hardware script for EL7037-Motor-Leadshine-57HS09 (unipolar wiring)
#-d \details Parmetrization of EL7037 for motor Nanotec Leadshine Tecnology mod. 57HS09 (unipolar wiring)
#-d \file
#-d */

#- Load common config from EL7047
${SCRIPTEXEC} ${ECMC_CONFIG_ROOT}ecmcEL7047-Motor-Leadshine-57HS09-unipolar.cmd

#- Set max current to 1.5A (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)"
14 changes: 14 additions & 0 deletions hardware/Motors/ecmcEL7037-Motor-Leadshine-57HS13-parallel.cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#-d /**
#-d \brief hardware script for EL7037-Motor-Leadshine-57HS13 (parallel wiring)
#-d \details Parmetrization of EL7037 for motor Nanotec Leadshine Tecnology mod. 57HS13 (parallel wiring)
#-d \file
#-d */

#- Load common config from EL7047
${SCRIPTEXEC} ${ECMC_CONFIG_ROOT}ecmcEL7047-Motor-Leadshine-57HS13-parallel.cmd

#- Set max current to 1.5A (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)"
14 changes: 14 additions & 0 deletions hardware/Motors/ecmcEL7037-Motor-Leadshine-57HS13-series.cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#-d /**
#-d \brief hardware script for EL7037-Motor-Leadshine-57HS13 (series wiring)
#-d \details Parmetrization of EL7037 for motor Nanotec Leadshine Tecnology mod. 57HS13 (series wiring)
#-d \file
#-d */

#- Load common config from EL7047
${SCRIPTEXEC} ${ECMC_CONFIG_ROOT}ecmcEL7047-Motor-Leadshine-57HS13-series.cmd

#- Set max current to 1.5A (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)"
14 changes: 14 additions & 0 deletions hardware/Motors/ecmcEL7037-Motor-Leadshine-57HS13-unipolar.cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#-d /**
#-d \brief hardware script for EL7037-Motor-Leadshine-57HS13 (unipolar wiring)
#-d \details Parmetrization of EL7037 for motor Nanotec Leadshine Tecnology mod. 57HS13 (unipolar wiring)
#-d \file
#-d */

#- Load common config from EL7047
${SCRIPTEXEC} ${ECMC_CONFIG_ROOT}ecmcEL7047-Motor-Leadshine-57HS13-unipolar.cmd

#- Set max current to 1.5A (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)"
14 changes: 14 additions & 0 deletions hardware/Motors/ecmcEL7037-Motor-Leadshine-57HS22-parallel.cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#-d /**
#-d \brief hardware script for EL7037-Motor-Leadshine-57HS22 (parallel wiring)
#-d \details Parmetrization of EL7037 for motor Nanotec Leadshine Tecnology mod. 57HS22 (parallel wiring)
#-d \file
#-d */

#- Load common config from EL7047
${SCRIPTEXEC} ${ECMC_CONFIG_ROOT}ecmcEL7047-Motor-Leadshine-57HS22-parallel.cmd

#- Set max current to 1.5A (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)"
14 changes: 14 additions & 0 deletions hardware/Motors/ecmcEL7037-Motor-Leadshine-57HS22-series.cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#-d /**
#-d \brief hardware script for EL7037-Motor-Leadshine-57HS22 (series wiring)
#-d \details Parmetrization of EL7037 for motor Nanotec Leadshine Tecnology mod. 57HS22 (series wiring)
#-d \file
#-d */

#- Load common config from EL7047
${SCRIPTEXEC} ${ECMC_CONFIG_ROOT}ecmcEL7047-Motor-Leadshine-57HS22-series.cmd

#- Set max current to 1.5A (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)"
14 changes: 14 additions & 0 deletions hardware/Motors/ecmcEL7037-Motor-Leadshine-57HS22-unipolar.cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#-d /**
#-d \brief hardware script for EL7037-Motor-Leadshine-57HS22 (unipolar wiring)
#-d \details Parmetrization of EL7037 for motor Nanotec Leadshine Tecnology mod. 57HS22 (unipolar wiring)
#-d \file
#-d */

#- Load common config from EL7047
${SCRIPTEXEC} ${ECMC_CONFIG_ROOT}ecmcEL7047-Motor-Leadshine-57HS22-unipolar.cmd

#- Set max current to 1.5A (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)"
25 changes: 0 additions & 25 deletions hardware/Motors/ecmcEL7037-Motor-Nanotec-AS4118L1804-ENM24.cmd

This file was deleted.

15 changes: 15 additions & 0 deletions hardware/Motors/ecmcEL7037-Motor-Nanotec-AS4118L1804.cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#-d /**
#-d \brief hardware script for EL7037-Motor-Nanotec-AS4118L1804
#-d \details Parmetrization of EL7037 for motor Nanotec AS4118L1804
#-d \author Julen Etxeberria (ported to ecmccfg by Javier Cereijo Garcia)
#-d \file
#-d */

#- Load common config from EL7047
${SCRIPTEXEC} ${ECMC_CONFIG_ROOT}ecmcEL7047-Motor-Nanotec-AS4118L1804.cmd

#- Set max current to 1.5A (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)"
14 changes: 14 additions & 0 deletions hardware/Motors/ecmcEL7037-Motor-Nanotec-SCA2018M0804.cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#-d /**
#-d \brief hardware script for EL7037-Motor-Nanotec-SCA2018M0804
#-d \details Parmetrization of EL7037 for motor Nanotec SCA2018M0804
#-d \file
#-d */

epicsEnvSet(V_MAX_MV_LOCAL,${V_MAX_MV=2400})
epicsEnvSet(V_NOM_MV_LOCAL,${V_NOM_MV=${V_MAX_MV_LOCAL}})

#- Load common config from EL7047
${SCRIPTEXEC} ${ECMC_CONFIG_ROOT}ecmcEL7047-Motor-Nanotec-SCA2018M0804.cmd "V_MAX_MV=${V_MAX_MV_LOCAL},V_NOM_MV=${V_NOM_MV_LOCAL}"

epicsEnvUnset("V_MAX_MV_LOCAL")
epicsEnvUnset("V_NOM_MV_LOCAL")
14 changes: 14 additions & 0 deletions hardware/Motors/ecmcEL7037-Motor-Nanotec-SCA5618X2804.cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#-d /**
#-d \brief hardware script for EL7037-Motor-Nanotec-SCA5618X2804
#-d \details Parmetrization of EL7037 for motor Nanotec SCA5618X2804
#-d \file
#-d */

#- Load common config from EL7047
${SCRIPTEXEC} ${ECMC_CONFIG_ROOT}ecmcEL7047-Motor-Nanotec-SCA5618X2804.cmd

#- Set max current to 1.5A (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)"
21 changes: 4 additions & 17 deletions hardware/Motors/ecmcEL7037-Motor-Nanotec-ST2818M1006-bipolar.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,8 @@
#-d \file
#-d */

#- Set max current to 670mA
ecmcConfigOrDie "Cfg.EcAddSdo(${ECMC_EC_SLAVE_NUM},0x8010,0x1,670,2)"
#- Load common config from EL7047
${SCRIPTEXEC} ${ECMC_CONFIG_ROOT}ecmcEL7047-Motor-Nanotec-ST2818M1006-bipolar.cmd

#- Reduced current 200mA
ecmcConfigOrDie "Cfg.EcAddSdo(${ECMC_EC_SLAVE_NUM},0x8010,0x2,200,2)"

#- Nominal voltage up to 48V (unit 10mV)
#- Torque curve varies with voltage, check manufacture website
ecmcConfigOrDie "Cfg.EcAddSdo(${ECMC_EC_SLAVE_NUM},0x8010,0x3,4800,2)"

#- Coil resistance 6.8 Ohm (unit 10mOhm)
ecmcConfigOrDie "Cfg.EcAddSdo(${ECMC_EC_SLAVE_NUM},0x8010,0x4,680,2)"

#- Motor full steps count 200
ecmcConfigOrDie "Cfg.EcAddSdo(${ECMC_EC_SLAVE_NUM},0x8010,0x6,200,2)"

#- Coil inductance 4.8mH (unit 0.01mH)
ecmcConfigOrDie "Cfg.EcAddSdo(${ECMC_EC_SLAVE_NUM},0x8010,0xA,480,2)"
#- Nominal voltage 24V (unit 10mV)
ecmcConfigOrDie "Cfg.EcAddSdo(${ECMC_EC_SLAVE_NUM},0x8010,0x3,2400,2)"
Loading
Loading