Skip to content

Commit

Permalink
El7411: Tune drive current and velo controller
Browse files Browse the repository at this point in the history
  • Loading branch information
anderssandstrom committed Nov 25, 2024
1 parent 11f04e4 commit ffedee9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/test/el7411/cfg/axis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ epics:
name: ${AX_NAME=M1} # Axis anme
precision: 3 # Decimal count
description: Test cfg # Axis description
unit: mm # Unit
unit: deg # Unit
motorRecord:
fieldInit: 'RTRY=0,FOFF=Frozen' # Extra config for Motor record

Expand Down
2 changes: 1 addition & 1 deletion examples/test/el7411/el7411_qmot.script
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ require ecmccomp
#-#############################################################################
## Configure hardware
${SCRIPTEXEC} ${ecmccfg_DIR}addSlave.cmd, "SLAVE_ID=16, HW_DESC=EL7411"
${SCRIPTEXEC} ${ecmccomp_DIR}applyComponent.cmd "COMP=Motor-QMot-4208-61-04-013-DS, MACROS='I_MAX_MA=2000'"
${SCRIPTEXEC} ${ecmccomp_DIR}applyComponent.cmd "COMP=Motor-QMot-4208-61-04-013-DS, MACROS='I_MAX_MA=2000,VELO_KP=1000,VELO_TI=100,CURR_KP=100,CURR_TI=50'"
${SCRIPTEXEC} ${ecmccomp_DIR}applyComponent.cmd "COMP=Encoder-Generic-INC, MACROS='ST_ENC_RES=4096, INV_DIR=1'"
${SCRIPTEXEC} ${ecmccfg_DIR}loadYamlAxis.cmd, "FILE=./cfg/axis.yaml, DEV=${IOC}, AX_NAME=M1, AXIS_ID=1, DRV_SID=${ECMC_EC_SLAVE_NUM}"

0 comments on commit ffedee9

Please sign in to comment.