changeg pfiffer interface
This commit is contained in:
@@ -3,7 +3,7 @@ record (longin, "$(P)$(R)P001:M")
|
|||||||
field (DESC, "getPressure001 $(bus)")
|
field (DESC, "getPressure001 $(bus)")
|
||||||
field (DTYP, "stream")
|
field (DTYP, "stream")
|
||||||
field (INP, "@pfeiffer.proto getPressure001($(P)$(R)P001:E) $(bus)")
|
field (INP, "@pfeiffer.proto getPressure001($(P)$(R)P001:E) $(bus)")
|
||||||
field (SCAN, "1 second")
|
# field (SCAN, "1 second")
|
||||||
field (FLNK, "$(P)$(R)VVessel-Pressure")
|
field (FLNK, "$(P)$(R)VVessel-Pressure")
|
||||||
}
|
}
|
||||||
record (longin, "$(P)$(R)P001:E")
|
record (longin, "$(P)$(R)P001:E")
|
||||||
@@ -18,14 +18,19 @@ record (calc, "$(P)$(R)VVessel-Pressure")
|
|||||||
field(CALC, "(A*0.001)*10.0**(B-20)")
|
field(CALC, "(A*0.001)*10.0**(B-20)")
|
||||||
field(PREC, "3")
|
field(PREC, "3")
|
||||||
field(EGU, "mBar")
|
field(EGU, "mBar")
|
||||||
|
field(HIHI,"1.0e-1")
|
||||||
|
field(HIGH,"1.0e-2")
|
||||||
|
field(HHSV,"MAJOR")
|
||||||
|
field(HSV, "MINOR")
|
||||||
}
|
}
|
||||||
|
# 8/5/2021 Only sensor 2 is working. Running with dspIC
|
||||||
record (longin, "$(P)$(R)P002:M")
|
record (longin, "$(P)$(R)P002:M")
|
||||||
{
|
{
|
||||||
field (DESC, "getPressure002 $(bus)")
|
field (DESC, "getPressure002 $(bus)")
|
||||||
field (DTYP, "stream")
|
field (DTYP, "stream")
|
||||||
field (INP, "@pfeiffer.proto getPressure002($(P)$(R)P002:E) $(bus)")
|
field (INP, "@pfeiffer.proto getPressure002($(P)$(R)P002:E) $(bus)")
|
||||||
field (SCAN, "2 second")
|
field (SCAN, "I/O Intr")
|
||||||
|
# field (SCAN, "2 second")
|
||||||
field (FLNK, "$(P)$(R)RPump1-Pressure")
|
field (FLNK, "$(P)$(R)RPump1-Pressure")
|
||||||
}
|
}
|
||||||
record (longin, "$(P)$(R)P002:E")
|
record (longin, "$(P)$(R)P002:E")
|
||||||
@@ -40,8 +45,8 @@ record (calc, "$(P)$(R)RPump1-Pressure")
|
|||||||
field(CALC, "(A*0.001)*10.0**(B-20)")
|
field(CALC, "(A*0.001)*10.0**(B-20)")
|
||||||
field(PREC, "3")
|
field(PREC, "3")
|
||||||
field(EGU, "mBar")
|
field(EGU, "mBar")
|
||||||
# field(HIHI,"1.0e-1")
|
field(HIHI,"1.0e-1")
|
||||||
# field(HIGH,"5.0e-3")
|
field(HIGH,"5.0e-2")
|
||||||
# field(LOW, "20.0")
|
# field(LOW, "20.0")
|
||||||
# field(LOLO,"0.0")
|
# field(LOLO,"0.0")
|
||||||
field(HHSV,"MAJOR")
|
field(HHSV,"MAJOR")
|
||||||
@@ -55,7 +60,7 @@ record (longin, "$(P)$(R)P003:M")
|
|||||||
field (DESC, "getPressure003 Mantissa $(bus)")
|
field (DESC, "getPressure003 Mantissa $(bus)")
|
||||||
field (DTYP, "stream")
|
field (DTYP, "stream")
|
||||||
field (INP, "@pfeiffer.proto getPressure003($(P)$(R)P003:E) $(bus)")
|
field (INP, "@pfeiffer.proto getPressure003($(P)$(R)P003:E) $(bus)")
|
||||||
field (SCAN, "1 second")
|
# field (SCAN, "1 second")
|
||||||
# field (SCAN, "I/O Intr")
|
# field (SCAN, "I/O Intr")
|
||||||
field (FLNK, "$(P)$(R)TMPump1-PressureAdmission")
|
field (FLNK, "$(P)$(R)TMPump1-PressureAdmission")
|
||||||
}
|
}
|
||||||
@@ -72,6 +77,14 @@ record (calc, "$(P)$(R)TMPump1-PressureAdmission")
|
|||||||
field(CALC, "(A*0.001)* 10.0**(B-20)")
|
field(CALC, "(A*0.001)* 10.0**(B-20)")
|
||||||
field(PREC, "3")
|
field(PREC, "3")
|
||||||
field(EGU, "mBar")
|
field(EGU, "mBar")
|
||||||
|
field(HIHI,"1.0e-2")
|
||||||
|
field(HIGH,"1.0e-3")
|
||||||
|
# field(LOW, "20.0")
|
||||||
|
# field(LOLO,"0.0")
|
||||||
|
field(HHSV,"MAJOR")
|
||||||
|
field(HSV, "MINOR")
|
||||||
|
# field(LSV, "MINOR")
|
||||||
|
# field(LLSV,"MAJOR")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -80,7 +93,7 @@ record (longin, "$(P)$(R)P004:M")
|
|||||||
field (DESC, "getPressure004 Mantissa $(bus)")
|
field (DESC, "getPressure004 Mantissa $(bus)")
|
||||||
field (DTYP, "stream")
|
field (DTYP, "stream")
|
||||||
field (INP, "@pfeiffer.proto getPressure004($(P)$(R)P004:E) $(bus)")
|
field (INP, "@pfeiffer.proto getPressure004($(P)$(R)P004:E) $(bus)")
|
||||||
field (SCAN, "1 second")
|
# field (SCAN, "1 second")
|
||||||
field (FLNK, "$(P)$(R)RPump2-Pressure")
|
field (FLNK, "$(P)$(R)RPump2-Pressure")
|
||||||
}
|
}
|
||||||
record (longin, "$(P)$(R)P004:E")
|
record (longin, "$(P)$(R)P004:E")
|
||||||
@@ -100,8 +113,8 @@ record (calc, "$(P)$(R)RPump2-Pressure")
|
|||||||
# field(HIGH,"5.0e-3")
|
# field(HIGH,"5.0e-3")
|
||||||
# field(LOW, "20.0")
|
# field(LOW, "20.0")
|
||||||
# field(LOLO,"0.0")
|
# field(LOLO,"0.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")
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,17 +1,17 @@
|
|||||||
Terminator=CR;
|
Terminator=CR;
|
||||||
MaxInput = 20;
|
#MaxInput = 20;
|
||||||
|
|
||||||
# in millisecond
|
# in millisecond
|
||||||
#ReadTimeout = 2000;
|
ReadTimeout = 1500;
|
||||||
ReplyTimeout = 250;
|
#ReplyTimeout = 250;
|
||||||
|
|
||||||
# Using redirection to read 2 records, mantissa and exponent
|
# Using redirection to read 2 records, mantissa and exponent
|
||||||
getPressure001 {
|
getPressure001 {
|
||||||
out "0010074002=?106";
|
out "0010074002=?106";
|
||||||
in "0011074006%4u%(\$1)2u%+<sum8>";
|
in "0011074006%4u%(\$1)2u%+<sum8>";
|
||||||
}
|
}
|
||||||
|
# out "0020074002=?107";
|
||||||
getPressure002 {
|
getPressure002 {
|
||||||
out "0020074002=?107";
|
|
||||||
in "0021074006%4u%(\$1)2u%+<sum8>";
|
in "0021074006%4u%(\$1)2u%+<sum8>";
|
||||||
}
|
}
|
||||||
getPressure003 {
|
getPressure003 {
|
||||||
|
|||||||
@@ -26,6 +26,10 @@ asynSetOption("RS0", 0, "clocal", "Y")
|
|||||||
asynSetOption("RS0", 0, "crtscts", "N")
|
asynSetOption("RS0", 0, "crtscts", "N")
|
||||||
|
|
||||||
dbLoadRecords("db/ISTTOKpfeiffer.db","P=ISTTOK:,R=vacuum:,bus=RS0")
|
dbLoadRecords("db/ISTTOKpfeiffer.db","P=ISTTOK:,R=vacuum:,bus=RS0")
|
||||||
|
# Uncomment to Debug STREAM serial activity
|
||||||
|
var streamError 1
|
||||||
|
var streamDebug 1
|
||||||
|
streamSetLogfile("stream_logfile.txt")
|
||||||
|
|
||||||
cd "${TOP}/iocBoot/${IOC}"
|
cd "${TOP}/iocBoot/${IOC}"
|
||||||
iocInit
|
iocInit
|
||||||
|
|||||||
Reference in New Issue
Block a user