Skip to content
Snippets Groups Projects
Commit cecd16da authored by Gabriel Fedel's avatar Gabriel Fedel :speech_balloon:
Browse files

First commit. First version

parents
No related branches found
No related tags found
No related merge requests found
This diff is collapsed.
# e3-ioc-LLRF
ESS LLRF ioc for TS2 - system 1
---
## IOC template
This project was generated with the [E3 cookiecutter IOC template](https://gitlab.esss.lu.se/ics-cookiecutter/cookiecutter-e3-ioc).
This README.md should be updated as part of creation and should add complementary information about the IOC in question (hardware controlled, addresses, etc.).
env.sh 0 → 100644
export IOCNAME="TS2-010:Ctrl-IOC-005"
export AS_TOP=/opt/nonvolatile
export EPICS_CA_MAX_ARRAY_BYTES=16777300
export LLRF_PREFIX="TS2-LLRF1"
export LLRF_DIGRTM_PREFIX="TS2-010"
export LLRF_DIG_R_1="RFS-DIG-101"
export LLRF_DIG_R_2="RFS-DIG-102"
export LLRF_RFM_R_1="RFS-RFM-101"
export LLRF_RFM_R_2="RFS-RFM-102"
export F_SAMPLING=117.403333333
export F_SYSTEM=704.42
export NEARIQN=14
export NEARIQM=3
export LLRF_SLOT_1=4
export LLRF_SLOT_2=6
# Move this to llrfsystem with different substitutions?
export CAVITYCH=0
export CAVFWDCH=2
export CAVITYCH1=0
export CAVFWDCH1=2
export CAVITYCH2=0
export CAVFWDCH2=2
export PWRFWDCH=3
export TABLE_SMNM_MAX=1000 # Double check this
st.cmd 0 → 100644
require common
epicsEnvSet("ENGINEER", "Gabriel Fedel <gabriel.fedel@ess.eu>")
## Add extra environment variables here
epicsEnvSet("TOP", "$(E3_CMD_TOP)")
epicsEnvSet("F-SAMPLING" "$(F_SAMPLING)")
epicsEnvSet("F-SYSTEM" "$(F_SYSTEM)")
# Load standard module startup scripts
iocshLoad("$(common_DIR)/e3-common.iocsh")
# Load LLRF
require llrfsystem
iocshLoad("$(llrfsystem_DIR)/ts2.iocsh", "P=$(LLRF_PREFIX)::, R=, PD=$(LLRF_DIGRTM_PREFIX):, RD=$(LLRF_DIG_R_1):, PD1=$(LLRF_DIGRTM_PREFIX):, RD1=$(LLRF_DIG_R_1):, PD2=$(LLRF_DIGRTM_PREFIX):, RD2=$(LLRF_DIG_R_2):")
dbl > PVs.list
## For commands to be run after iocInit, use the function afterInit()
# Call iocInit to start the IOC
iocInit()
date
dbgrep REQMOD* > '/iocs/sis8300llrf/REQMODs.list'
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