diff --git a/ioc/MTRCS-CPCL-SIM/CoolerSimulation.subs b/ioc/MTRCS-CPCL-SIM/CoolerSimulation.subs new file mode 100644 index 0000000..5734a9f --- /dev/null +++ b/ioc/MTRCS-CPCL-SIM/CoolerSimulation.subs @@ -0,0 +1,13 @@ +############################################################## +# +# EPICS Training at PSI +# Cooler Simulation +# substitution file for the IOC +# +############################################################## + +file CoolerSimulation_Temperatur.template { + { + DEVICE = MTRCS-SIM1 + } +} diff --git a/ioc/MTRCS-CPCL-SIM/CoolerSimulation_Temperatur.template b/ioc/MTRCS-CPCL-SIM/CoolerSimulation_Temperatur.template new file mode 100644 index 0000000..8e93d87 --- /dev/null +++ b/ioc/MTRCS-CPCL-SIM/CoolerSimulation_Temperatur.template @@ -0,0 +1,22 @@ +############################################################## +# +# EPICS Training at PSI +# Cooler Simulation +# template for the temperature simulation +# +############################################################## + +record (ai, "$(DEVICE)-TEMP1:ReadBack") +{ + field (DESC, "Sensor T1") + field (EGU, "Grad C") + field (PREC, "1") + field (LINR, "LINEAR") + field (EGUF, "100") + field (EGUL, "-100") + field (HOPR, "100") + field (LOPR, "0") + field (HIGH, "51") + field (HIHI, "52") + field (SCAN, ".1 second") +} diff --git a/ioc/MTRCS-CPCL-SIM/MTRCS-CPCL-SIM_startup.script b/ioc/MTRCS-CPCL-SIM/MTRCS-CPCL-SIM_startup.script new file mode 100644 index 0000000..f9929fb --- /dev/null +++ b/ioc/MTRCS-CPCL-SIM/MTRCS-CPCL-SIM_startup.script @@ -0,0 +1,11 @@ +############################################################## +# +# EPICS Training at PSI +# Cooler Simulation +# startup.script for the IOC +# +############################################################## + +dbLoadTemplate("CoolerSimulation.subs") + +iocInit