-
Notifications
You must be signed in to change notification settings - Fork 21
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
1 parent
aed9017
commit 5244e1a
Showing
1 changed file
with
29 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,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) |