Skip to content

Commit

Permalink
Add el 5131 test
Browse files Browse the repository at this point in the history
  • Loading branch information
anderssandstrom committed Feb 21, 2024
1 parent aed9017 commit 5244e1a
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions examples/test/el5131/el5131.script
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
##############################################################################
## Example config for el5131

##############################################################################
## Initiation:
epicsEnvSet("IOC" ,"$(c6025a")")

require ecmccfg sandst_a "ECMC_VER=v9.0.1_RC4"

##############################################################################
## Config hardware:


#${SCRIPTEXEC} ${ecmccfg_DIR}addSlave.cmd, "SLAVE_ID=16, HW_DESC=EL5131"

${SCRIPTEXEC} ${ecmccfg_DIR}addSlave.cmd, "SLAVE_ID=16, HW_DESC=EL5131_DC"

#Apply hardware configuration
ecmcConfigOrDie "Cfg.EcApplyConfig(1)"

##############################################################################
############# Configure diagnostics:

ecmcConfigOrDie "Cfg.EcSetDiagnostics(1)"
ecmcConfigOrDie "Cfg.EcEnablePrintouts(0)"
ecmcConfigOrDie "Cfg.EcSetDomainFailedCyclesLimit(100)"

# go active
$(SCRIPTEXEC) ($(ecmccfg_DIR)setAppMode.cmd)

0 comments on commit 5244e1a

Please sign in to comment.