Corrected State machine with Temperatures

This commit is contained in:
codac-dev
2019-12-20 14:11:35 +00:00
parent fc3aeb562d
commit be2c948ef6
3 changed files with 28 additions and 10 deletions

View File

@@ -25,6 +25,16 @@ Usage:
<channel><name>ISTTOK:central:PULSE-NUMBER</name> <channel><name>ISTTOK:central:PULSE-NUMBER</name>
<period>00:10:00</period><monitor/> <period>00:10:00</period><monitor/>
</channel> </channel>
<channel><name>ISTTOK:central:LogMessage</name>
<period>00:10:00</period><monitor/>
</channel>
<channel><name>ISTTOK:central:TraceMessage</name>
<period>00:10:00</period><monitor/>
</channel>
<channel><name>ISTTOK:temperature:VVessel-Temperature</name>
<period>00:02:00</period>
<monitor>1.0</monitor>
</channel>
<channel><name>ISTTOK:central:OPSTATE</name> <channel><name>ISTTOK:central:OPSTATE</name>
<period>00:10:00</period><monitor/> <period>00:10:00</period><monitor/>
<enable/> <enable/>

View File

@@ -34,7 +34,7 @@ record(calc, "$(P)$(R)Last_Uptime") {
################################################################### ###################################################################
# These records read Temperatures # # These records read Temperatures #
################################################################### ###################################################################
record(ai, "$(P)$(R)Temperature_0") record(ai, "$(P)$(R)VVessel-Temperature")
{ {
field(DESC, "Reads TE01 Temperature") field(DESC, "Reads TE01 Temperature")
field(DTYP, "stream") field(DTYP, "stream")
@@ -44,20 +44,22 @@ record(ai, "$(P)$(R)Temperature_0")
field(PREC, "4") field(PREC, "4")
field(LINR, "LINEAR") field(LINR, "LINEAR")
# field(ESLO, "0.00001163358") # field(ESLO, "0.00001163358")
# See https://paulscherrerinstitute.github.io/StreamDevice/ai.html
# field(EGUL, "-1.02376") # field(EGUL, "-1.02376")
# x 30 # x 30
field(ESLO, "0.000349007") field(ESLO, "0.000349007")
field(EGUL, "-10.0") #field(EGUL, "-30.71")
field(HOPR, "120.0") field(EOFF, "-30.71")
field(LOPR, "10.0") field(HOPR, "140.0")
field(HIHI,"90.0") field(LOPR, "0.0")
field(HIGH,"80.0") field(HIHI,"130.0")
field(LOW, "20.0") field(HIGH,"120.0")
field(LOLO,"0.0") field(LOW, "0.0")
field(LOLO,"-10.0")
field(HHSV,"MAJOR") field(HHSV,"MAJOR")
field(HSV, "MINOR") field(HSV, "MINOR")
field(LSV, "MINOR") # field(LSV, "MINOR")
field(LLSV,"MAJOR") # field(LLSV,"MAJOR")
field(ADEL, "1.0") # Archive Deadband field(ADEL, "1.0") # Archive Deadband
} }
# Precision # Precision

View File

@@ -0,0 +1,6 @@
epicsEnvSet("IOC","iocISTTOKdsPIC")
epicsEnvSet("TOP","/opt/epics/apps/ISTTOK")
epicsEnvSet("MODULES","/opt/epics/modules")
epicsEnvSet("ASYN","/opt/epics/modules/asyn")
epicsEnvSet("STREAM","/opt/epics/modules/stream")
epicsEnvSet("EPICS_BASE","/opt/epics/base-3.15.7")