]> jspc29.x-matter.uni-frankfurt.de Git - mvd_epics.git/commitdiff
MKS_910_DualTrans TransducerStatus added
authorPhilipp Klaus <philipp.l.klaus@web.de>
Mon, 28 Oct 2019 13:06:34 +0000 (14:06 +0100)
committerPhilipp Klaus <philipp.l.klaus@web.de>
Mon, 28 Oct 2019 13:06:34 +0000 (14:06 +0100)
MKS_910_DualTrans/MKS_910_DualTransApp/Db/MKS_910_DualTrans.db
MKS_910_DualTrans/protocols/MKS_910_DualTrans.proto

index c93211839851834cf67e0e5a6a5d06b3b2cd8642..30e44e364de50b0e5f797eb5597b61eda12c6acd 100644 (file)
@@ -25,3 +25,26 @@ record (ai, "$(sys):$(sub):VACUUM:$(vsys):PressureCombined") {
   field (EGU, "mbar")
   field (PREC, "3")
 }
+
+record (mbbi, "$(sys):$(sub):VACUUM:$(vsys):TransducerStatus") {
+  field (DTYP, "stream")
+  field (DESC, "Transducer Status")
+  field (INP,  "@MKS_910_DualTrans.proto getTransducerStatus $(PORT)")
+  field (SCAN, "10 second")
+  field (PINI, "YES")
+
+  # Unknown State Severity:
+  #field (UNSV, "")
+  # Change of State Severity:
+  #field (COSV, "")
+
+  # 0 State:
+  field (ZRST, "OK")
+  field (ZRSV, "NO_ALARM")
+
+  field (ONST, "PIRANI_FAIL")
+  field (ONSV, "MAJOR")
+
+  field (TWST, "PIEZO_FAIL")
+  field (TWSV, "MAJOR")
+}
index 7dcd9022217727196c1382aba330e62159faa44e..68cda9136bebe60ff4baaf6f32e9256566054abb 100644 (file)
@@ -27,3 +27,8 @@ getPressure {
   out "@253PR\$1?";
   in  "@253ACK%e";
 }
+
+getTransducerStatus {
+  out "@253T?";
+  in "@253ACK%{O|M|Z}";
+}