Skip to content
Snippets Groups Projects
Commit 9bd81e53 authored by ce-template.esss.lu.se20241's avatar ce-template.esss.lu.se20241
Browse files

Generated by CE template

parent 20fe1c43
No related branches found
No related tags found
No related merge requests found
......@@ -6,6 +6,21 @@
"ip_address" : "172.16.116.28",
"fbis_module_git_hash": "0x1b0059ae",
"firmware_build_time" : "1670002697"
"firmware_build_time" : "1670002697",
"slinks": [
{ "id": "0" , "label" : "LABEL 1" },
{ "id": "1" , "label" : "LABEL 2" },
{ "id": "2" , "label" : "LABEL 3" }
],
"spus": [
{ "id": "0" , "label" : "LABEL 1", "prp" : "PRP1"},
{ "id": "1" , "label" : "LABEL 2", "prp" : "PRP2"},
{ "id": "2" , "label" : "LABEL 3", "prp" : "PRP3"}
],
"sis" : [
{}
]
}
}
{"configuration_revision":"9c6d56d4","template_revision":"021aaa2e1c064c70a934337690ee0f0fb1ab9f47"}
\ No newline at end of file
......@@ -13,9 +13,48 @@ epicsEnvSet("IP_ADDR", "{{ip_address}}")
epicsEnvSet("HASH", "{{fbis_module_git_hash}}")
epicsEnvSet("BUILDT", "{{firmware_build_time}}")
iocshLoad("$(dln_DIR)$(DLN).iocsh", "P=FBIS-$(DLN), R=Ctrl-AMC-$(AMC), R1=Ctrl-EVR-01, BRD=$(CHAN), PORT=FBIS-$(DLN)-$(CHAN), IP_ADDR=$(IP_ADDR):42000")
epicsEnvSet("P", "FBIS-$(DLN)")
epicsEnvSet("R", "Ctrl-AMC-$(AMC)")
epicsEnvSet("R1", "Ctrl-EVR-01")
epicsEnvSet("BRD", "$(CHAN)")
epicsEnvSet("PORT", "FBIS-$(DLN)-$(CHAN)")
epicsEnvSet("IP_ADDR", "$(IP_ADDR):42000")
iocshLoad("$(essioc_DIR)/common_config.iocsh", "ASG_FILENAME=fbis_security.acf")
drvAsynIPPortConfigure("$(PORT)", "$(IP_ADDR)", 0,0,1)
dbLoadRecords("DLN_PVs.db", "PORT=$(PORT), P=$(P):, R=$(R):, BRD=$(BRD)")
dbLoadRecords("cfg.db", "PORT=$(PORT), P=$(P):, R=$(R):, R1=$(R1):, BRD=$(BRD), CFG_HASH=$(HASH), BUILDT=$(BUILDT)")
dbLoadRecords("hw.db", "PORT=$(PORT), P=$(P):, R=$(R):, BRD=$(BRD)")
dbLoadRecords("bso_cc.db", "PORT=$(PORT), P=$(P):, R=$(R):, BRD=$(BRD)")
dbLoadRecords("opl.db", "PORT=$(PORT), P=$(P):, R=$(R):, BRD=$(BRD)")
dbLoadRecords("pos.db", "PORT=$(PORT), P=$(P):, R=$(R):, BRD=$(BRD)")
{{#slinks}}
dbLoadRecords("slink.db", "PORT=$(PORT), P=$(P):, R=$(R):, BRD=$(BRD), ID={{id}}, LABEL={{label}}")
{{/slinks}}
{{#spus}}
dbLoadRecords("spu.db", "PORT=$(PORT), P=$(P):, R=$(R):, BRD=$(BRD), ID={{id}}, LABEL={{label}}, PRP={{prp}}")
{{/spus}}
{{#pbdspus}}
dbLoadRecords("pbdspu.db", "PORT=$(PORT), P=$(P):, R=$(R):, BRD=$(BRD), ID={{id}}, LABEL={{label}}, PRP={{prp}}")
{{/pbdspus}}
{{#pbmspus}}
dbLoadRecords("pbmspu.db", "PORT=$(PORT), P=$(P):, R=$(R):, BRD=$(BRD), ID={{id}}, LABEL={{label}}, PRP={{prp}}")
{{/pbmspus}}
{{#sspus}}
dbLoadRecords("sspu.db", "PORT=$(PORT), P=$(P):, R=$(R):, BRD=$(BRD), ID={{id}}, LABEL={{label}}, PRP={{prp}}")
{{/sspus}}
{{#sis}}
dbLoadRecords("sis.db", "PORT=$(PORT), P=$(P):, R=$(R):, BRD=$(BRD)")
{{/sis}}
iocshLoad("$(essioc_DIR)/common_config.iocsh")
iocInit
{{/st.cmd}}
# e3-ioc-dln-01-a
This IOC is managed by the templating service. You can find the entry [here](https://ce-template.esss.lu.se/log/442).
......@@ -12,8 +12,36 @@ epicsEnvSet("IP_ADDR", "172.16.116.28")
epicsEnvSet("HASH", "0x1b0059ae")
epicsEnvSet("BUILDT", "1670002697")
iocshLoad("$(dln_DIR)$(DLN).iocsh", "P=FBIS-$(DLN), R=Ctrl-AMC-$(AMC), R1=Ctrl-EVR-01, BRD=$(CHAN), PORT=FBIS-$(DLN)-$(CHAN), IP_ADDR=$(IP_ADDR):42000")
epicsEnvSet("P", "FBIS-$(DLN)")
epicsEnvSet("R", "Ctrl-AMC-$(AMC)")
epicsEnvSet("R1", "Ctrl-EVR-01")
epicsEnvSet("BRD", "$(CHAN)")
epicsEnvSet("PORT", "FBIS-$(DLN)-$(CHAN)")
epicsEnvSet("IP_ADDR", "$(IP_ADDR):42000")
iocshLoad("$(essioc_DIR)/common_config.iocsh", "ASG_FILENAME=fbis_security.acf")
drvAsynIPPortConfigure("$(PORT)", "$(IP_ADDR)", 0,0,1)
dbLoadRecords("DLN_PVs.db", "PORT=$(PORT), P=$(P):, R=$(R):, BRD=$(BRD)")
dbLoadRecords("cfg.db", "PORT=$(PORT), P=$(P):, R=$(R):, R1=$(R1):, BRD=$(BRD), CFG_HASH=$(HASH), BUILDT=$(BUILDT)")
dbLoadRecords("hw.db", "PORT=$(PORT), P=$(P):, R=$(R):, BRD=$(BRD)")
dbLoadRecords("bso_cc.db", "PORT=$(PORT), P=$(P):, R=$(R):, BRD=$(BRD)")
dbLoadRecords("opl.db", "PORT=$(PORT), P=$(P):, R=$(R):, BRD=$(BRD)")
dbLoadRecords("pos.db", "PORT=$(PORT), P=$(P):, R=$(R):, BRD=$(BRD)")
dbLoadRecords("slink.db", "PORT=$(PORT), P=$(P):, R=$(R):, BRD=$(BRD), ID=0, LABEL=LABEL 1")
dbLoadRecords("slink.db", "PORT=$(PORT), P=$(P):, R=$(R):, BRD=$(BRD), ID=1, LABEL=LABEL 2")
dbLoadRecords("slink.db", "PORT=$(PORT), P=$(P):, R=$(R):, BRD=$(BRD), ID=2, LABEL=LABEL 3")
dbLoadRecords("spu.db", "PORT=$(PORT), P=$(P):, R=$(R):, BRD=$(BRD), ID=0, LABEL=LABEL 1, PRP=PRP1")
dbLoadRecords("spu.db", "PORT=$(PORT), P=$(P):, R=$(R):, BRD=$(BRD), ID=1, LABEL=LABEL 2, PRP=PRP2")
dbLoadRecords("spu.db", "PORT=$(PORT), P=$(P):, R=$(R):, BRD=$(BRD), ID=2, LABEL=LABEL 3, PRP=PRP3")
dbLoadRecords("sis.db", "PORT=$(PORT), P=$(P):, R=$(R):, BRD=$(BRD)")
iocshLoad("$(essioc_DIR)/common_config.iocsh")
iocInit
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment