diff --git a/epics/css/sys-mng-opi/CSS/PressureArchiveDataBrowser.plt b/epics/css/sys-mng-opi/CSS/PressureArchiveDataBrowser.plt index 0263e0e..6a19d6a 100644 --- a/epics/css/sys-mng-opi/CSS/PressureArchiveDataBrowser.plt +++ b/epics/css/sys-mng-opi/CSS/PressureArchiveDataBrowser.plt @@ -55,6 +55,23 @@ false true + + true + Value 3 + false + true + false + + 0 + 0 + 0 + + 0.0 + 10.0 + false + false + false + @@ -84,14 +101,14 @@ - ISTTOK:vacuum:Pressure_Primary1 + ISTTOK:central:RPump1-Pressure true - ISTTOK:vacuum:Pressure_Primary1 - 1 + ISTTOK:central:RPump1-Pressure + 2 - 242 - 26 - 26 + 255 + 0 + 0 AREA 2 @@ -102,7 +119,7 @@ 5000 OPTIMIZED - rdb + RDB jdbc:mysql://192.168.1.152/archive 1 diff --git a/epics/css/sys-mng-opi/CSS/SystemManagerIsttok.opi b/epics/css/sys-mng-opi/CSS/SystemManagerIsttok.opi index 1748fe1..cdffdeb 100644 --- a/epics/css/sys-mng-opi/CSS/SystemManagerIsttok.opi +++ b/epics/css/sys-mng-opi/CSS/SystemManagerIsttok.opi @@ -16368,12 +16368,12 @@ PUMP2 - + - + @@ -16696,12 +16696,12 @@ $(pv_value) - + - + @@ -17585,11 +17585,11 @@ $(pv_value) 12 LED - + OFF - + ON ISTTOK:central:RPump1-Motor @@ -17643,11 +17643,11 @@ $(pv_value) 12 LED - + OFF - + ON ISTTOK:central:RPump2-Motor @@ -17826,11 +17826,11 @@ $(pv_value) - OPEN + CLOSED - CLOSED + OPEN ISTTOK:central:RPump2-Motor @@ -17884,11 +17884,11 @@ $(pv_value) - ON + OFF - OFF + ON ISTTOK:central:RPump2-Motor @@ -17942,11 +17942,11 @@ $(pv_value) - OPEN + CLOSED - CLOSED + OPEN ISTTOK:central:RPump1-Valve @@ -18058,11 +18058,11 @@ $(pv_value) - ON + OFF - OFF + ON ISTTOK:central:RPump1-Motor @@ -23906,7 +23906,7 @@ $(pv_value) true -51aa2981:16539547a44:-74b2 588 - 93 + 84 @@ -27614,7 +27614,7 @@ $(pv_value) - 7 + 2 24 1 false @@ -27671,7 +27671,7 @@ $(pv_value) - 7 + 2 24 1 Text Update Template @@ -27765,7 +27765,7 @@ $(pv_value) - 7 + 2 24 1 false @@ -27822,7 +27822,7 @@ $(pv_value) - 7 + 2 24 1 Text Update Template @@ -30516,8 +30516,8 @@ $(pv_value) 1 Label_48 - - + + true ISTTOK:central:STOPPINGSTATE @@ -30550,7 +30550,7 @@ THEN PRESS THIS BUTTON false false - + true @@ -30593,8 +30593,8 @@ $(pv_value) 100 false -296e3b63:16ef48a8d9e:-64ca - 624 - 60 + 594 + 108 @@ -30725,8 +30725,8 @@ THEN PRESS THIS BUTTON 25 0 false - Infinity - -Infinity + 1.7976931348623157E308 + -1.7976931348623157E308 false Text Input_PNUM 0 @@ -30777,12 +30777,12 @@ $(pv_value) - 7 + 2 20 0 Text Update TMP1 - 0 - true + 2 + false ISTTOK:central:TMPump1-PressureAdmission 0.0 @@ -30804,8 +30804,8 @@ $(pv_value) 127 false -296e3b63:16ef48a8d9e:407b - 324 - 336 + 318 + 324 @@ -30844,8 +30844,215 @@ $(pv_value) 80 false -296e3b63:16ef48a8d9e:407f - 324 - 318 + 318 + 306 + + + + false + false + false + + + + true + + + + 0 + 1 + true + + Default + + false + + + + 2 + 20 + 0 + Text Update TMP1 + 2 + false + ISTTOK:central:VVessel-Pressure + + 0.0 + + + true + true + false + + + true + ###### + $(pv_name) +$(pv_value) + false + 1 + true + Text Update + 127 + false + -296e3b63:16ef64bcd07:-6288 + 318 + 366 + + + + false + + + + + + + 0 + 1 + true + + Fine Print + + + + + 20 + 1 + Label_78 + + + true + true + false + + + V VESSEL + + true + 1 + true + Label + 80 + false + -296e3b63:16ef64bcd07:-6287 + 318 + 348 + + + + false + false + + + + -1 + true + + + + 0 + 1 + 3 + + + + 0 + true + true + + Default + + false + + + + 20 + LED_28 + + + + OFF + + + + ON + ISTTOK:central:TMPump2-Motor + + + + true + true + true + + + false + false + $(pv_name) +$(pv_value) + true + LED + 20 + -296e3b63:16ef64bcd07:-54c4 + 276 + 588 + + + + false + false + false + + + + false + + + + 3 + 1 + + true + + Default + + false + + + + 0 + 25 + 0 + false + Infinity + -Infinity + false + Text Input_Log + 0 + true + ISTTOK:central:LogMessage + + 0.0 + + + true + true + false + + + 0 + true + + + $(pv_name) +$(pv_value) + false + true + Text Input + 223 + -296e3b63:16ef64bcd07:f70 + 696 + 24 @@ -101147,49 +101354,24 @@ $(pv_value) 0 true - + 0 10 0 0 1 - connection + Connection Template 0 - -4df363ec:160e5506f6c:-78f5_-4df363ec:160e5506f6c:-78f4 - LEFT - -560b1e59:16bfb21a009:be6 - -4df363ec:160e5506f6c:-78f5_-4df363ec:160e5506f6c:-78f4 + -4df363ec:160e5506f6c:-78f5_-3c8730b6:160ff075e8c:-7822_2fb1628f:160ff2978a5:-7007_2fb1628f:160ff2978a5:-7006 + TOP + 2fb1628f:160ff2978a5:-6ffe + -4df363ec:160e5506f6c:-78f5_-3c8730b6:160ff075e8c:-7822_2fb1628f:160ff2978a5:-7007_2fb1628f:160ff2978a5:-7006 BOTTOM - 35dc2f0:16c52a69ce2:-23b6 + 2fb1628f:160ff2978a5:-7002 connection - 35dc2f0:16c52a69ce2:-2027 - - - true - 15 - 0 - true - - - - 0 - 10 - 0 - 0 - 1 - connection - - 0 - -4df363ec:160e5506f6c:-78f5_-4df363ec:160e5506f6c:-6ebc - BOTTOM - -51aa2981:16539547a44:-74bf - -4df363ec:160e5506f6c:-78f5_-4df363ec:160e5506f6c:-6ebc - TOP - -4dd23f55:16c43fd8d60:42 - connection - -1c6fc4ad:16d724bf28a:-4c10 + -19d36239:134b27295e1:-7d63 true @@ -101216,131 +101398,6 @@ $(pv_value) connection 42bd92cc:16bbe20d3a4:-3da6 - - true - 15 - 0 - true - - - - 0 - 10 - 0 - 0 - 1 - connection - - 0 - -4df363ec:160e5506f6c:-78f5_-5e07feb3:1655c8ffe9e:2e7b - RIGHT - 459cc8ce:16c01713dbe:7a18 - -4df363ec:160e5506f6c:-78f5_-5e07feb3:1655c8ffe9e:2e7b - RIGHT - 459cc8ce:16c01713dbe:7a17 - connection - 459cc8ce:16c01713dbe:7dd1 - - - true - 15 - 0 - true - - - - 0 - 10 - 0 - 0 - 1 - connection - - 0 - -4df363ec:160e5506f6c:-78f5_-4df363ec:160e5506f6c:-78f4 - BOTTOM - -560b1e59:16bfb21a009:bee - -4df363ec:160e5506f6c:-78f5_-4df363ec:160e5506f6c:-78f4 - TOP - -560b1e59:16bfb21a009:c04 - connection - -560b1e59:16bfb21a009:d67 - - - true - 15 - 0 - true - - - - 1 - 10 - 1 - 0 - 1 - Connection Template - - 0 - -4df363ec:160e5506f6c:-78f5_-4df363ec:160e5506f6c:-6ebc - BOTTOM - -51aa2981:16539547a44:-74be - -4df363ec:160e5506f6c:-78f5_-4df363ec:160e5506f6c:-6ebc - TOP - -51aa2981:16539547a44:-747f - connection - -19d36239:134b27295e1:-7d63 - - - true - 15 - 0 - true - - - - 0 - 10 - 0 - 0 - 1 - connection - - 0 - -4df363ec:160e5506f6c:-78f5_-4df363ec:160e5506f6c:-78f4 - RIGHT - -560b1e59:16bfb21a009:be6 - -4df363ec:160e5506f6c:-78f5_-4df363ec:160e5506f6c:-78f4 - BOTTOM - -560b1e59:16bfb21a009:c03 - connection - -560b1e59:16bfb21a009:d5c - - - true - 15 - 0 - true - - - - 0 - 10 - 0 - 0 - 1 - connection - - 0 - -4df363ec:160e5506f6c:-78f5_-5e07feb3:1655c8ffe9e:2e7b - LEFT - -5e07feb3:1655c8ffe9e:447b - -4df363ec:160e5506f6c:-78f5_-5e07feb3:1655c8ffe9e:2e7b - RIGHT - -7ebbe117:16c24c8d688:-a16 - connection - -560b1e59:16bfb21a009:1ae7 - true 15 @@ -101382,14 +101439,89 @@ $(pv_value) connection 0 - -4df363ec:160e5506f6c:-78f5_-5e07feb3:1655c8ffe9e:2e7b - TOP - -560b1e59:16bfb21a009:1aca - -4df363ec:160e5506f6c:-78f5_-5e07feb3:1655c8ffe9e:2e7b - BOTTOM - -4dd23f55:16c43fd8d60:dcd + -4df363ec:160e5506f6c:-78f5_-4df363ec:160e5506f6c:-78f4 + LEFT + 44d82f0f:16c2906fb0c:-4b2c + -4df363ec:160e5506f6c:-78f5_-4df363ec:160e5506f6c:-78f4 + RIGHT + -268abf41:16c28fc21cf:-1fd1 connection - -4dd23f55:16c43fd8d60:dd3 + 44d82f0f:16c2906fb0c:44 + + + true + 15 + 0 + true + + + + 0 + 10 + 0 + 0 + 1 + connection + + 0 + -4df363ec:160e5506f6c:-78f5_-4df363ec:160e5506f6c:-78f4 + BOTTOM + -560b1e59:16bfb21a009:bec + -4df363ec:160e5506f6c:-78f5_-4df363ec:160e5506f6c:-78f4 + TOP + -560b1e59:16bfb21a009:c06 + connection + -560b1e59:16bfb21a009:d75 + + + true + 15 + 0 + true + + + + 0 + 10 + 0 + 0 + 1 + connection + + 0 + -4df363ec:160e5506f6c:-78f5_-5e07feb3:1655c8ffe9e:2e7b + BOTTOM + -fe9b677:16bfc10f406:-207b + -4df363ec:160e5506f6c:-78f5_-5e07feb3:1655c8ffe9e:2e7b + TOP + -7ebbe117:16c24c8d688:-a16 + connection + -fe9b677:16bfc10f406:-2077 + + + true + 15 + 0 + true + + + + 0 + 10 + 0 + 0 + 1 + connection + + 0 + -4df363ec:160e5506f6c:-78f5_-4df363ec:160e5506f6c:-78f4 + BOTTOM + -560b1e59:16bfb21a009:be7 + -4df363ec:160e5506f6c:-78f5_-4df363ec:160e5506f6c:-78f4 + TOP + -560b1e59:16bfb21a009:c07 + connection + -560b1e59:16bfb21a009:d71 true @@ -101422,24 +101554,49 @@ $(pv_value) 0 true - + 0 10 0 0 1 - Connection Template + connection 0 - -4df363ec:160e5506f6c:-78f5_-3c8730b6:160ff075e8c:-7822_2fb1628f:160ff2978a5:-7007_2fb1628f:160ff2978a5:-7006 - TOP - 2fb1628f:160ff2978a5:-6ffe - -4df363ec:160e5506f6c:-78f5_-3c8730b6:160ff075e8c:-7822_2fb1628f:160ff2978a5:-7007_2fb1628f:160ff2978a5:-7006 - BOTTOM - 2fb1628f:160ff2978a5:-7002 + -4df363ec:160e5506f6c:-78f5_-4df363ec:160e5506f6c:-78f4 + BOTTOM + -560b1e59:16bfb21a009:bee + -4df363ec:160e5506f6c:-78f5_-4df363ec:160e5506f6c:-78f4 + LEFT + -560b1e59:16bfb21a009:bec connection - -19d36239:134b27295e1:-7d63 + -560b1e59:16bfb21a009:d65 + + + true + 15 + 0 + true + + + + 0 + 10 + 0 + 0 + 1 + connection + + 0 + -4df363ec:160e5506f6c:-78f5_-4df363ec:160e5506f6c:-78f4 + RIGHT + 35dc2f0:16c52a69ce2:-23b7 + -4df363ec:160e5506f6c:-78f5_-4df363ec:160e5506f6c:-78f4 + BOTTOM + -560b1e59:16bfb21a009:c01 + connection + -560b1e59:16bfb21a009:d52 true @@ -101449,23 +101606,48 @@ $(pv_value) - 0 + 1 10 - 0 + 1 0 1 Connection Template 0 - -4df363ec:160e5506f6c:-78f5_-3c8730b6:160ff075e8c:-7822_2fb1628f:160ff2978a5:-7007_2fb1628f:160ff2978a5:-7006 - TOP - 2fb1628f:160ff2978a5:-6ffb - -4df363ec:160e5506f6c:-78f5_-3c8730b6:160ff075e8c:-7822_2fb1628f:160ff2978a5:-7007_2fb1628f:160ff2978a5:-7006 - BOTTOM - 2fb1628f:160ff2978a5:-7001 + -4df363ec:160e5506f6c:-78f5_-4df363ec:160e5506f6c:-6ebc + BOTTOM + -51aa2981:16539547a44:-74be + -4df363ec:160e5506f6c:-78f5_-4df363ec:160e5506f6c:-6ebc + TOP + -51aa2981:16539547a44:-747f connection -19d36239:134b27295e1:-7d63 + + true + 15 + 0 + true + + + + 0 + 10 + 0 + 0 + 1 + connection + + 0 + -4df363ec:160e5506f6c:-78f5_-5e07feb3:1655c8ffe9e:2e7b + BOTTOM + -560b1e59:16bfb21a009:1aca + -4df363ec:160e5506f6c:-78f5_-5e07feb3:1655c8ffe9e:2e7b + LEFT + -5e07feb3:1655c8ffe9e:4484 + connection + -560b1e59:16bfb21a009:1aeb + true 15 @@ -101509,10 +101691,10 @@ $(pv_value) 0 -4df363ec:160e5506f6c:-78f5_-3c8730b6:160ff075e8c:-7822_2fb1628f:160ff2978a5:-7007_2fb1628f:160ff2978a5:-7006 TOP - 2fb1628f:160ff2978a5:-6fff + 2fb1628f:160ff2978a5:-6ffd -4df363ec:160e5506f6c:-78f5_-3c8730b6:160ff075e8c:-7822_2fb1628f:160ff2978a5:-7007_2fb1628f:160ff2978a5:-7006 BOTTOM - 2fb1628f:160ff2978a5:-7004 + 2fb1628f:160ff2978a5:-7002 connection -19d36239:134b27295e1:-7d63 @@ -101522,49 +101704,24 @@ $(pv_value) 0 true - + 0 10 0 0 1 - connection + Connection Template 0 - -4df363ec:160e5506f6c:-78f5_-4df363ec:160e5506f6c:-78f4 + -4df363ec:160e5506f6c:-78f5_-3c8730b6:160ff075e8c:-7822_2fb1628f:160ff2978a5:-7007_2fb1628f:160ff2978a5:-7006 RIGHT - -560b1e59:16bfb21a009:c07 - -4df363ec:160e5506f6c:-78f5_-4df363ec:160e5506f6c:-78f4 + 2fb1628f:160ff2978a5:-6fee + -4df363ec:160e5506f6c:-78f5_-3c8730b6:160ff075e8c:-7822_2fb1628f:160ff2978a5:-7007_2fb1628f:160ff2978a5:-7006 LEFT - -560b1e59:16bfb21a009:c0e + 2fb1628f:160ff2978a5:-7005 connection - -560b1e59:16bfb21a009:d73 - - - true - 15 - 0 - true - - - - 0 - 10 - 0 - 0 - 1 - connection - - 0 - -4df363ec:160e5506f6c:-78f5_-4df363ec:160e5506f6c:-78f4 - BOTTOM - -560b1e59:16bfb21a009:bee - -4df363ec:160e5506f6c:-78f5_-4df363ec:160e5506f6c:-78f4 - LEFT - -560b1e59:16bfb21a009:bec - connection - -560b1e59:16bfb21a009:d65 + -19d36239:134b27295e1:-7d63 true @@ -101608,13 +101765,113 @@ $(pv_value) 0 -4df363ec:160e5506f6c:-78f5_-4df363ec:160e5506f6c:-78f4 - RIGHT - -560b1e59:16bfb21a009:c06 + BOTTOM + -560b1e59:16bfb21a009:c05 -4df363ec:160e5506f6c:-78f5_-4df363ec:160e5506f6c:-78f4 - LEFT - -560b1e59:16bfb21a009:c11 + TOP + -560b1e59:16bfb21a009:c0d connection - -560b1e59:16bfb21a009:d77 + -560b1e59:16bfb21a009:d6f + + + true + 15 + 0 + true + + + + 0 + 10 + 0 + 0 + 1 + connection + + 0 + -4df363ec:160e5506f6c:-78f5_-5e07feb3:1655c8ffe9e:2e7b + BOTTOM + -7ebbe117:16c24c8d688:-a16 + -4df363ec:160e5506f6c:-78f5_-5e07feb3:1655c8ffe9e:2e7b + TOP + -4dd23f55:16c43fd8d60:dcd + connection + -4dd23f55:16c43fd8d60:dd7 + + + true + 15 + 0 + true + + + + 0 + 10 + 0 + 0 + 1 + Connection Template + + 0 + -4df363ec:160e5506f6c:-78f5_-3c8730b6:160ff075e8c:-7822_2fb1628f:160ff2978a5:-7007_2fb1628f:160ff2978a5:-7006 + TOP + 2fb1628f:160ff2978a5:-6fff + -4df363ec:160e5506f6c:-78f5_-3c8730b6:160ff075e8c:-7822_2fb1628f:160ff2978a5:-7007_2fb1628f:160ff2978a5:-7006 + BOTTOM + 2fb1628f:160ff2978a5:-7004 + connection + -19d36239:134b27295e1:-7d63 + + + true + 15 + 0 + true + + + + 0 + 10 + 0 + 0 + 1 + Connection Template + + 0 + -4df363ec:160e5506f6c:-78f5_-3c8730b6:160ff075e8c:-7822_2fb1628f:160ff2978a5:-7007_2fb1628f:160ff2978a5:-7006 + TOP + 2fb1628f:160ff2978a5:-6ffc + -4df363ec:160e5506f6c:-78f5_-3c8730b6:160ff075e8c:-7822_2fb1628f:160ff2978a5:-7007_2fb1628f:160ff2978a5:-7006 + BOTTOM + 2fb1628f:160ff2978a5:-7003 + connection + -19d36239:134b27295e1:-7d63 + + + true + 15 + 0 + true + + + + 0 + 10 + 0 + 0 + 1 + Connection Template + + 0 + -4df363ec:160e5506f6c:-78f5_-3c8730b6:160ff075e8c:-7822_2fb1628f:160ff2978a5:-7007_2fb1628f:160ff2978a5:-7006 + TOP + 2fb1628f:160ff2978a5:-7002 + -4df363ec:160e5506f6c:-78f5_-3c8730b6:160ff075e8c:-7822_2fb1628f:160ff2978a5:-7007_2fb1628f:160ff2978a5:-7006 + BOTTOM + 2fb1628f:160ff2978a5:-7005 + connection + -19d36239:134b27295e1:-7d63 true @@ -101633,13 +101890,13 @@ $(pv_value) 0 -4df363ec:160e5506f6c:-78f5_-4df363ec:160e5506f6c:-78f4 - RIGHT - 35dc2f0:16c52a69ce2:-23b7 + LEFT + 6836dc1c:16dba903855:-23dc -4df363ec:160e5506f6c:-78f5_-4df363ec:160e5506f6c:-78f4 - BOTTOM - -560b1e59:16bfb21a009:c01 + RIGHT + -4a1d1a50:16b911cfb49:-6303 connection - -560b1e59:16bfb21a009:d52 + 6836dc1c:16dba903855:-2149 true @@ -101661,10 +101918,185 @@ $(pv_value) BOTTOM -560b1e59:16bfb21a009:bed -4df363ec:160e5506f6c:-78f5_-4df363ec:160e5506f6c:-78f4 - LEFT - -560b1e59:16bfb21a009:bec + TOP + -560b1e59:16bfb21a009:c10 connection - -560b1e59:16bfb21a009:d58 + -560b1e59:16bfb21a009:d6b + + + true + 15 + 0 + true + + + + 0 + 10 + 0 + 0 + 1 + connection + + 0 + -4df363ec:160e5506f6c:-78f5_-4df363ec:160e5506f6c:-78f4 + RIGHT + -560b1e59:16bfb21a009:be6 + -4df363ec:160e5506f6c:-78f5_-4df363ec:160e5506f6c:-78f4 + BOTTOM + -560b1e59:16bfb21a009:c03 + connection + -560b1e59:16bfb21a009:d5c + + + true + 15 + 0 + true + + + + 0 + 10 + 0 + 0 + 1 + connection + + 0 + -4df363ec:160e5506f6c:-78f5_-4df363ec:160e5506f6c:-78f4 + BOTTOM + -560b1e59:16bfb21a009:be8 + -4df363ec:160e5506f6c:-78f5_-4df363ec:160e5506f6c:-78f4 + TOP + -560b1e59:16bfb21a009:c05 + connection + -560b1e59:16bfb21a009:d6d + + + true + 15 + 0 + true + + + + 0 + 10 + 0 + 0 + 1 + connection + + 0 + -4df363ec:160e5506f6c:-78f5_-5e07feb3:1655c8ffe9e:2e7b + LEFT + 78ee5b6f:16bbaaa7e58:468f + -4df363ec:160e5506f6c:-78f5_-5e07feb3:1655c8ffe9e:2e7b + TOP + -fe9b677:16bfc10f406:-207b + connection + -fe9b677:16bfc10f406:-2079 + + + true + 15 + 0 + true + + + + 0 + 10 + 0 + 0 + 1 + connection + + 0 + -4df363ec:160e5506f6c:-78f5_-3c8730b6:160ff075e8c:-7822_2fb1628f:160ff2978a5:-7007_2fb1628f:160ff2978a5:-7006 + TOP + 2fb1628f:160ff2978a5:-7005 + -4df363ec:160e5506f6c:-78f5_-3c8730b6:160ff075e8c:-7822_2fb1628f:160ff2978a5:-7007_2fb1628f:160ff2978a5:-7006 + RIGHT + -34ffc32:165b336dfa1:e07 + connection + 64a597d:16bfb7ff2d1:-4ee5 + + + true + 15 + 0 + true + + + + 0 + 10 + 0 + 0 + 1 + connection + + 0 + -4df363ec:160e5506f6c:-78f5_-5e07feb3:1655c8ffe9e:2e7b + RIGHT + 459cc8ce:16c01713dbe:7a18 + -4df363ec:160e5506f6c:-78f5_-5e07feb3:1655c8ffe9e:2e7b + RIGHT + 459cc8ce:16c01713dbe:7a17 + connection + 459cc8ce:16c01713dbe:7dd1 + + + true + 15 + 0 + true + + + + 0 + 10 + 0 + 0 + 1 + connection + + 0 + -4df363ec:160e5506f6c:-78f5_-3c8730b6:160ff075e8c:-7822_2fb1628f:160ff2978a5:-7007_2fb1628f:160ff2978a5:-7006 + RIGHT + 4083daf9:1610e09aa8f:-6d15 + -4df363ec:160e5506f6c:-78f5_-3c8730b6:160ff075e8c:-7822_2fb1628f:160ff2978a5:-7007_2fb1628f:160ff2978a5:-7006 + LEFT + 2fb1628f:160ff2978a5:-7005 + connection + 4083daf9:1610e09aa8f:-6cfd + + + true + 15 + 0 + true + + + + 0 + 10 + 0 + 0 + 1 + connection + + 0 + -4df363ec:160e5506f6c:-78f5_-5e07feb3:1655c8ffe9e:2e7b + RIGHT + 459cc8ce:16c01713dbe:7a19 + -4df363ec:160e5506f6c:-78f5_-5e07feb3:1655c8ffe9e:2e7b + RIGHT + 459cc8ce:16c01713dbe:7a18 + connection + -484dac80:16c02399163:-6a61 true @@ -101716,131 +102148,6 @@ $(pv_value) connection -560b1e59:16bfb21a009:d5e - - true - 15 - 0 - true - - - - 0 - 10 - 0 - 0 - 1 - connection - - 0 - -4df363ec:160e5506f6c:-78f5_-4df363ec:160e5506f6c:-6ebc - BOTTOM - -51aa2981:16539547a44:-74c1 - -4df363ec:160e5506f6c:-78f5_-4df363ec:160e5506f6c:-6ebc - TOP - -2ee315f9:165614c82d7:1b0f - connection - -4dfa1d3e:165c32cc0ab:7780 - - - true - 15 - 0 - true - - - - 0 - 10 - 0 - 0 - 1 - connection - - 0 - -4df363ec:160e5506f6c:-78f5_-4df363ec:160e5506f6c:-6ebc - BOTTOM - -2ee315f9:165614c82d7:1b0f - -4df363ec:160e5506f6c:-78f5_-4df363ec:160e5506f6c:-6ebc - TOP - -51aa2981:16539547a44:-7484 - connection - -4dfa1d3e:165c32cc0ab:7782 - - - true - 15 - 0 - true - - - - 0 - 10 - 0 - 0 - 1 - Connection Template - - 0 - -4df363ec:160e5506f6c:-78f5_-3c8730b6:160ff075e8c:-7822_2fb1628f:160ff2978a5:-7007_2fb1628f:160ff2978a5:-7006 - TOP - 2fb1628f:160ff2978a5:-6ffd - -4df363ec:160e5506f6c:-78f5_-3c8730b6:160ff075e8c:-7822_2fb1628f:160ff2978a5:-7007_2fb1628f:160ff2978a5:-7006 - BOTTOM - 2fb1628f:160ff2978a5:-7002 - connection - -19d36239:134b27295e1:-7d63 - - - true - 15 - 0 - true - - - - 0 - 10 - 0 - 0 - 1 - connection - - 0 - -4df363ec:160e5506f6c:-78f5_-4df363ec:160e5506f6c:-78f4 - BOTTOM - -560b1e59:16bfb21a009:bed - -4df363ec:160e5506f6c:-78f5_-4df363ec:160e5506f6c:-78f4 - TOP - -560b1e59:16bfb21a009:c10 - connection - -560b1e59:16bfb21a009:d6b - - - true - 15 - 0 - true - - - - 0 - 10 - 0 - 0 - 1 - connection - - 0 - -4df363ec:160e5506f6c:-78f5_-4df363ec:160e5506f6c:-78f4 - BOTTOM - -560b1e59:16bfb21a009:be8 - -4df363ec:160e5506f6c:-78f5_-4df363ec:160e5506f6c:-78f4 - TOP - -560b1e59:16bfb21a009:c05 - connection - -560b1e59:16bfb21a009:d6d - true 15 @@ -101859,112 +102166,12 @@ $(pv_value) 0 -4df363ec:160e5506f6c:-78f5_-4df363ec:160e5506f6c:-78f4 LEFT - 6836dc1c:16dba903855:-23dc - -4df363ec:160e5506f6c:-78f5_-4df363ec:160e5506f6c:-78f4 - RIGHT - -4a1d1a50:16b911cfb49:-6303 - connection - 6836dc1c:16dba903855:-2149 - - - true - 15 - 0 - true - - - - 0 - 10 - 0 - 0 - 1 - connection - - 0 - -4df363ec:160e5506f6c:-78f5_-4df363ec:160e5506f6c:-78f4 - BOTTOM - -560b1e59:16bfb21a009:bec - -4df363ec:160e5506f6c:-78f5_-4df363ec:160e5506f6c:-78f4 - TOP - -560b1e59:16bfb21a009:c06 - connection - -560b1e59:16bfb21a009:d75 - - - true - 15 - 0 - true - - - - 0 - 10 - 0 - 0 - 1 - Connection Template - - 0 - -4df363ec:160e5506f6c:-78f5_-3c8730b6:160ff075e8c:-7822_2fb1628f:160ff2978a5:-7007_2fb1628f:160ff2978a5:-7006 - TOP - 2fb1628f:160ff2978a5:-6ffc - -4df363ec:160e5506f6c:-78f5_-3c8730b6:160ff075e8c:-7822_2fb1628f:160ff2978a5:-7007_2fb1628f:160ff2978a5:-7006 - BOTTOM - 2fb1628f:160ff2978a5:-7003 - connection - -19d36239:134b27295e1:-7d63 - - - true - 15 - 0 - true - - - - 0 - 10 - 0 - 0 - 1 - Connection Template - - 0 - -4df363ec:160e5506f6c:-78f5_-3c8730b6:160ff075e8c:-7822_2fb1628f:160ff2978a5:-7007_2fb1628f:160ff2978a5:-7006 - RIGHT - 2fb1628f:160ff2978a5:-6fee - -4df363ec:160e5506f6c:-78f5_-3c8730b6:160ff075e8c:-7822_2fb1628f:160ff2978a5:-7007_2fb1628f:160ff2978a5:-7006 - LEFT - 2fb1628f:160ff2978a5:-7005 - connection - -19d36239:134b27295e1:-7d63 - - - true - 15 - 0 - true - - - - 0 - 10 - 0 - 0 - 1 - connection - - 0 - -4df363ec:160e5506f6c:-78f5_-4df363ec:160e5506f6c:-78f4 - RIGHT - -560b1e59:16bfb21a009:beb + -560b1e59:16bfb21a009:be6 -4df363ec:160e5506f6c:-78f5_-4df363ec:160e5506f6c:-78f4 BOTTOM - -560b1e59:16bfb21a009:bed + 35dc2f0:16c52a69ce2:-23b6 connection - -560b1e59:16bfb21a009:d56 + 35dc2f0:16c52a69ce2:-2027 true @@ -101982,14 +102189,14 @@ $(pv_value) connection 0 - -4df363ec:160e5506f6c:-78f5_-4df363ec:160e5506f6c:-78f4 + -4df363ec:160e5506f6c:-78f5_-4df363ec:160e5506f6c:-6ebc BOTTOM - -560b1e59:16bfb21a009:be7 - -4df363ec:160e5506f6c:-78f5_-4df363ec:160e5506f6c:-78f4 + -51aa2981:16539547a44:-74bf + -4df363ec:160e5506f6c:-78f5_-4df363ec:160e5506f6c:-6ebc TOP - -560b1e59:16bfb21a009:c07 + -4dd23f55:16c43fd8d60:42 connection - -560b1e59:16bfb21a009:d71 + -1c6fc4ad:16d724bf28a:-4c10 true @@ -102033,63 +102240,13 @@ $(pv_value) 0 -4df363ec:160e5506f6c:-78f5_-4df363ec:160e5506f6c:-78f4 - LEFT - 44d82f0f:16c2906fb0c:-4e62 + BOTTOM + -560b1e59:16bfb21a009:c01 -4df363ec:160e5506f6c:-78f5_-4df363ec:160e5506f6c:-78f4 - RIGHT - -268abf41:16c28fc21cf:-1fd2 - connection - 44d82f0f:16c2906fb0c:-221e - - - true - 15 - 0 - true - - - - 0 - 10 - 0 - 0 - 1 - connection - - 0 - -4df363ec:160e5506f6c:-78f5_-5e07feb3:1655c8ffe9e:2e7b - BOTTOM - -7ebbe117:16c24c8d688:-a16 - -4df363ec:160e5506f6c:-78f5_-5e07feb3:1655c8ffe9e:2e7b - TOP - -4dd23f55:16c43fd8d60:dcd - connection - -4dd23f55:16c43fd8d60:dd7 - - - true - 15 - 0 - true - - - - 0 - 10 - 0 - 0 - 1 - connection - - 0 - -4df363ec:160e5506f6c:-78f5_-5e07feb3:1655c8ffe9e:2e7b - BOTTOM - -560b1e59:16bfb21a009:1aca - -4df363ec:160e5506f6c:-78f5_-5e07feb3:1655c8ffe9e:2e7b LEFT - -5e07feb3:1655c8ffe9e:4484 + -560b1e59:16bfb21a009:beb connection - -560b1e59:16bfb21a009:1aeb + -560b1e59:16bfb21a009:d54 true @@ -102107,64 +102264,14 @@ $(pv_value) connection 0 - -4df363ec:160e5506f6c:-78f5_-5e07feb3:1655c8ffe9e:2e7b + -4df363ec:160e5506f6c:-78f5_-4df363ec:160e5506f6c:-78f4 BOTTOM - -fe9b677:16bfc10f406:-207b - -4df363ec:160e5506f6c:-78f5_-5e07feb3:1655c8ffe9e:2e7b - TOP - -7ebbe117:16c24c8d688:-a16 + -560b1e59:16bfb21a009:bed + -4df363ec:160e5506f6c:-78f5_-4df363ec:160e5506f6c:-78f4 + LEFT + -560b1e59:16bfb21a009:bec connection - -fe9b677:16bfc10f406:-2077 - - - true - 15 - 0 - true - - - - 0 - 10 - 0 - 0 - 1 - Connection Template - - 0 - -4df363ec:160e5506f6c:-78f5_-3c8730b6:160ff075e8c:-7822_2fb1628f:160ff2978a5:-7007_2fb1628f:160ff2978a5:-7006 - TOP - 2fb1628f:160ff2978a5:-7004 - -4df363ec:160e5506f6c:-78f5_-3c8730b6:160ff075e8c:-7822_2fb1628f:160ff2978a5:-7007_2fb1628f:160ff2978a5:-7006 - BOTTOM - 2fb1628f:160ff2978a5:-7005 - connection - -19d36239:134b27295e1:-7d63 - - - true - 15 - 0 - true - - - - 0 - 10 - 0 - 0 - 1 - connection - - 0 - -4df363ec:160e5506f6c:-78f5_-4df363ec:160e5506f6c:-6ebc - RIGHT - -3a255c36:16c1a95af10:-2a8d - -4df363ec:160e5506f6c:-78f5_-4df363ec:160e5506f6c:-6ebc - BOTTOM - -4dd23f55:16c43fd8d60:58 - connection - -4dd23f55:16c43fd8d60:5c + -560b1e59:16bfb21a009:d58 true @@ -102207,14 +102314,189 @@ $(pv_value) connection 0 + -4df363ec:160e5506f6c:-78f5_-4df363ec:160e5506f6c:-78f4 + BOTTOM + -560b1e59:16bfb21a009:bee + -4df363ec:160e5506f6c:-78f5_-4df363ec:160e5506f6c:-78f4 + TOP + -560b1e59:16bfb21a009:c04 + connection + -560b1e59:16bfb21a009:d67 + + + true + 15 + 0 + true + + + + 0 + 10 + 0 + 0 + 1 + connection + + 0 + -4df363ec:160e5506f6c:-78f5_-5e07feb3:1655c8ffe9e:2e7b + TOP + -560b1e59:16bfb21a009:1aca + -4df363ec:160e5506f6c:-78f5_-5e07feb3:1655c8ffe9e:2e7b + BOTTOM + -4dd23f55:16c43fd8d60:dcd + connection + -4dd23f55:16c43fd8d60:dd3 + + + true + 15 + 0 + true + + + + 0 + 10 + 0 + 0 + 1 + Connection Template + + 0 -4df363ec:160e5506f6c:-78f5_-3c8730b6:160ff075e8c:-7822_2fb1628f:160ff2978a5:-7007_2fb1628f:160ff2978a5:-7006 TOP - 2fb1628f:160ff2978a5:-7005 + 2fb1628f:160ff2978a5:-7004 -4df363ec:160e5506f6c:-78f5_-3c8730b6:160ff075e8c:-7822_2fb1628f:160ff2978a5:-7007_2fb1628f:160ff2978a5:-7006 - RIGHT - -34ffc32:165b336dfa1:e07 + BOTTOM + 2fb1628f:160ff2978a5:-7005 connection - 64a597d:16bfb7ff2d1:-4ee5 + -19d36239:134b27295e1:-7d63 + + + true + 15 + 0 + true + + + + 0 + 10 + 0 + 0 + 1 + Connection Template + + 0 + -4df363ec:160e5506f6c:-78f5_-3c8730b6:160ff075e8c:-7822_2fb1628f:160ff2978a5:-7007_2fb1628f:160ff2978a5:-7006 + TOP + 2fb1628f:160ff2978a5:-6ffb + -4df363ec:160e5506f6c:-78f5_-3c8730b6:160ff075e8c:-7822_2fb1628f:160ff2978a5:-7007_2fb1628f:160ff2978a5:-7006 + BOTTOM + 2fb1628f:160ff2978a5:-7001 + connection + -19d36239:134b27295e1:-7d63 + + + true + 15 + 0 + true + + + + 0 + 10 + 0 + 0 + 1 + connection + + 0 + -4df363ec:160e5506f6c:-78f5_-4df363ec:160e5506f6c:-78f4 + RIGHT + -560b1e59:16bfb21a009:c07 + -4df363ec:160e5506f6c:-78f5_-4df363ec:160e5506f6c:-78f4 + LEFT + -560b1e59:16bfb21a009:c0e + connection + -560b1e59:16bfb21a009:d73 + + + true + 15 + 0 + true + + + + 0 + 10 + 0 + 0 + 1 + connection + + 0 + -4df363ec:160e5506f6c:-78f5_-5e07feb3:1655c8ffe9e:2e7b + LEFT + 459cc8ce:16c01713dbe:7a19 + -4df363ec:160e5506f6c:-78f5_-5e07feb3:1655c8ffe9e:2e7b + LEFT + 459cc8ce:16c01713dbe:7a17 + connection + 459cc8ce:16c01713dbe:7dcf + + + true + 15 + 0 + true + + + + 0 + 10 + 0 + 0 + 1 + connection + + 0 + -4df363ec:160e5506f6c:-78f5_-4df363ec:160e5506f6c:-6ebc + BOTTOM + -51aa2981:16539547a44:-74c1 + -4df363ec:160e5506f6c:-78f5_-4df363ec:160e5506f6c:-6ebc + TOP + -2ee315f9:165614c82d7:1b0f + connection + -4dfa1d3e:165c32cc0ab:7780 + + + true + 15 + 0 + true + + + + 0 + 10 + 0 + 0 + 1 + connection + + 0 + -4df363ec:160e5506f6c:-78f5_-4df363ec:160e5506f6c:-78f4 + RIGHT + -560b1e59:16bfb21a009:c06 + -4df363ec:160e5506f6c:-78f5_-4df363ec:160e5506f6c:-78f4 + LEFT + -560b1e59:16bfb21a009:c11 + connection + -560b1e59:16bfb21a009:d77 true @@ -102241,6 +102523,56 @@ $(pv_value) connection -560b1e59:16bfb21a009:d69 + + true + 15 + 0 + true + + + + 0 + 10 + 0 + 0 + 1 + connection + + 0 + -4df363ec:160e5506f6c:-78f5_-4df363ec:160e5506f6c:-78f4 + LEFT + 44d82f0f:16c2906fb0c:-4e62 + -4df363ec:160e5506f6c:-78f5_-4df363ec:160e5506f6c:-78f4 + RIGHT + -268abf41:16c28fc21cf:-1fd2 + connection + 44d82f0f:16c2906fb0c:-221e + + + true + 15 + 0 + true + + + + 0 + 10 + 0 + 0 + 1 + connection + + 0 + -4df363ec:160e5506f6c:-78f5_-5e07feb3:1655c8ffe9e:2e7b + LEFT + -5e07feb3:1655c8ffe9e:447b + -4df363ec:160e5506f6c:-78f5_-5e07feb3:1655c8ffe9e:2e7b + RIGHT + -7ebbe117:16c24c8d688:-a16 + connection + -560b1e59:16bfb21a009:1ae7 + true 15 @@ -102282,164 +102614,14 @@ $(pv_value) connection 0 - -4df363ec:160e5506f6c:-78f5_-5e07feb3:1655c8ffe9e:2e7b - LEFT - 459cc8ce:16c01713dbe:7a19 - -4df363ec:160e5506f6c:-78f5_-5e07feb3:1655c8ffe9e:2e7b - LEFT - 459cc8ce:16c01713dbe:7a17 - connection - 459cc8ce:16c01713dbe:7dcf - - - true - 15 - 0 - true - - - - 0 - 10 - 0 - 0 - 1 - connection - - 0 - -4df363ec:160e5506f6c:-78f5_-4df363ec:160e5506f6c:-78f4 - BOTTOM - -560b1e59:16bfb21a009:c05 - -4df363ec:160e5506f6c:-78f5_-4df363ec:160e5506f6c:-78f4 - TOP - -560b1e59:16bfb21a009:c0d - connection - -560b1e59:16bfb21a009:d6f - - - true - 15 - 0 - true - - - - 0 - 10 - 0 - 0 - 1 - connection - - 0 - -4df363ec:160e5506f6c:-78f5_-5e07feb3:1655c8ffe9e:2e7b + -4df363ec:160e5506f6c:-78f5_-4df363ec:160e5506f6c:-6ebc RIGHT - 459cc8ce:16c01713dbe:7a19 - -4df363ec:160e5506f6c:-78f5_-5e07feb3:1655c8ffe9e:2e7b - RIGHT - 459cc8ce:16c01713dbe:7a18 - connection - -484dac80:16c02399163:-6a61 - - - true - 15 - 0 - true - - - - 0 - 10 - 0 - 0 - 1 - connection - - 0 - -4df363ec:160e5506f6c:-78f5_-3c8730b6:160ff075e8c:-7822_2fb1628f:160ff2978a5:-7007_2fb1628f:160ff2978a5:-7006 - RIGHT - 4083daf9:1610e09aa8f:-6d15 - -4df363ec:160e5506f6c:-78f5_-3c8730b6:160ff075e8c:-7822_2fb1628f:160ff2978a5:-7007_2fb1628f:160ff2978a5:-7006 - LEFT - 2fb1628f:160ff2978a5:-7005 - connection - 4083daf9:1610e09aa8f:-6cfd - - - true - 15 - 0 - true - - - - 0 - 10 - 0 - 0 - 1 - connection - - 0 - -4df363ec:160e5506f6c:-78f5_-4df363ec:160e5506f6c:-78f4 - LEFT - 44d82f0f:16c2906fb0c:-4b2c - -4df363ec:160e5506f6c:-78f5_-4df363ec:160e5506f6c:-78f4 - RIGHT - -268abf41:16c28fc21cf:-1fd1 - connection - 44d82f0f:16c2906fb0c:44 - - - true - 15 - 0 - true - - - - 0 - 10 - 0 - 0 - 1 - connection - - 0 - -4df363ec:160e5506f6c:-78f5_-5e07feb3:1655c8ffe9e:2e7b - LEFT - 78ee5b6f:16bbaaa7e58:468f - -4df363ec:160e5506f6c:-78f5_-5e07feb3:1655c8ffe9e:2e7b - TOP - -fe9b677:16bfc10f406:-207b - connection - -fe9b677:16bfc10f406:-2079 - - - true - 15 - 0 - true - - - - 0 - 10 - 0 - 0 - 1 - Connection Template - - 0 - -4df363ec:160e5506f6c:-78f5_-3c8730b6:160ff075e8c:-7822_2fb1628f:160ff2978a5:-7007_2fb1628f:160ff2978a5:-7006 - TOP - 2fb1628f:160ff2978a5:-7002 - -4df363ec:160e5506f6c:-78f5_-3c8730b6:160ff075e8c:-7822_2fb1628f:160ff2978a5:-7007_2fb1628f:160ff2978a5:-7006 + -3a255c36:16c1a95af10:-2a8d + -4df363ec:160e5506f6c:-78f5_-4df363ec:160e5506f6c:-6ebc BOTTOM - 2fb1628f:160ff2978a5:-7005 + -4dd23f55:16c43fd8d60:58 connection - -19d36239:134b27295e1:-7d63 + -4dd23f55:16c43fd8d60:5c true @@ -102458,12 +102640,37 @@ $(pv_value) 0 -4df363ec:160e5506f6c:-78f5_-4df363ec:160e5506f6c:-78f4 - BOTTOM - -560b1e59:16bfb21a009:c01 + RIGHT + -560b1e59:16bfb21a009:beb -4df363ec:160e5506f6c:-78f5_-4df363ec:160e5506f6c:-78f4 - LEFT - -560b1e59:16bfb21a009:beb + BOTTOM + -560b1e59:16bfb21a009:bed connection - -560b1e59:16bfb21a009:d54 + -560b1e59:16bfb21a009:d56 + + + true + 15 + 0 + true + + + + 0 + 10 + 0 + 0 + 1 + connection + + 0 + -4df363ec:160e5506f6c:-78f5_-4df363ec:160e5506f6c:-6ebc + BOTTOM + -2ee315f9:165614c82d7:1b0f + -4df363ec:160e5506f6c:-78f5_-4df363ec:160e5506f6c:-6ebc + TOP + -51aa2981:16539547a44:-7484 + connection + -4dfa1d3e:165c32cc0ab:7782 \ No newline at end of file diff --git a/epics/iocs/ISTTOKdsPIC/ISTTOKdsPICApp/Db/ISTTOKtemperature.db b/epics/iocs/ISTTOKdsPIC/ISTTOKdsPICApp/Db/ISTTOKtemperature.db new file mode 100644 index 0000000..a07531f --- /dev/null +++ b/epics/iocs/ISTTOKdsPIC/ISTTOKdsPICApp/Db/ISTTOKtemperature.db @@ -0,0 +1,139 @@ +################################################################### +# This records is the dspPIC uptime in seconds from last reset # +################################################################### +record(longin, "$(P)$(R)Uptime") +{ + field(DESC, "Reads dsPIC Uptime") + field(DTYP, "stream") + field(INP, "@dspic.proto getUP $(PORT)") + field(SCAN, "I/O Intr") + field(FLNK,"$(P)$(R)Diff_Uptime") #Link to update Diff_Uptime + field(ADEL,100) + field(MDEL,0) +} + +record(calc, "$(P)$(R)Diff_Uptime") { + field(DESC, "Uptime diff. between I/O Intr scans") + field(CALC,"B-A") + field(SCAN,"Passive") + field(INPA,"$(P)$(R)Last_Uptime.VAL NPP") + field(INPB,"$(P)$(R)Uptime") + field(FLNK,"$(P)$(R)Last_Uptime") + field(HIHI,"100.0") + field(HIGH,"2.0") + field(LOW, "0.0") + field(LOLO,"-10.0") +} + +record(calc, "$(P)$(R)Last_Uptime") { + field(DESC, "Last Uptime for diff. calc") + field(CALC,"A") + field(SCAN,"Passive") + field(INPA,"$(P)$(R)Uptime") +} +################################################################### +# These records read Temperatures # +################################################################### +record(ai, "$(P)$(R)Temperature_0") +{ + field(DESC, "Reads TE01 Temperature") + field(DTYP, "stream") + field(INP, "@dspic.proto getTE01 $(PORT) $(A)") + field(SCAN, "I/O Intr") + field(EGU, "C") + field(PREC, "4") + field(LINR, "LINEAR") + field(ESLO, "0.00001163358") + field(EGUL, "-1.02376") + field(HIHI,"90.0") + field(HIGH,"80.0") + field(LOW, "20.0") + field(LOLO,"0.0") + field(HHSV,"MAJOR") + field(HSV, "MINOR") + field(LSV, "MINOR") + field(LLSV,"MAJOR") +} +# Precision +# Engineering Units +# field(EGU, "Raw") +# Convertion +# val = val * ESLO + EGUL +# field(ESLO, "0.000011633582866550557") +# field(DESC,"Thermocouple 0") +# field(HIHI,"90.0") +# field(HIGH,"50.0") +# field(LOW, "20.0") +# field(LOLO,"0.0") +# field(HHSV,"MAJOR") +# field(HSV, "MINOR") +# field(LSV, "MINOR") +# field(LLSV,"MAJOR") +# field(ADEL, "10000.0") # Archive Deadband +# field(MDEL, "0.0") # Monitor Deadband + +record(ai, "$(P)$(R)Temperature_1") +{ + field(DESC, "Reads TE02 Temperature") + field(DTYP, "stream") + field(INP, "@dspic.proto getTE02 $(PORT) $(A)") + field(SCAN, "I/O Intr") + field(EGU, "C") + field(PREC, "4") + field(LINR, "LINEAR") +# field(CALC,"A*0.000011633582866550557-1.02376") + field(ESLO, "0.00001163358") + field(EGUL, "-1.02376") +} +record(ai, "$(P)$(R)Temperature_2") +{ + field(DESC, "Reads TE03 Temperature") + field(DTYP, "stream") + field(INP, "@dspic.proto getTE03 $(PORT)") + field(SCAN, "I/O Intr") + field(EGU, "C") + field(PREC, "4") + field(LINR, "LINEAR") + field(ESLO, "0.00001163358") + field(EGUL, "-1.02376") +} +record(ai, "$(P)$(R)Temperature_3") { + field(DESC, "Reads TE04 Temperature") + field(DTYP, "stream") + field(INP, "@dspic.proto getTE04 $(PORT)") + field(SCAN, "I/O Intr") + field(EGU, "C") + field(PREC, "4") + field(LINR, "LINEAR") + field(ESLO, "0.00001163358") + field(EGUL, "-1.02376") +} +record(ai, "$(P)$(R)Capbank_Voltage") { + field(DESC, "Reads PRD01, Capitor bank Voltage PWM") + field(DTYP, "stream") + field(INP, "@dspic.proto getPRD01 $(PORT)") + field(SCAN, "I/O Intr") + field(LINR, "LINEAR") +# # val = val * ESLO + EGUL + field(ESLO, "1.0") + field(EGUL, "0.0") +# Precision + field(PREC, "1") + # Units + field(EGU, "V") +# # Alarms +} +record(stringin, $(P)$(R)idn) { + field(DESC, "Debug info blabla") + field(DTYP, "stream") + field(INP, "@dspic.proto getStr $(PORT) $(A)") + field(SCAN, "I/O Intr") +} + +record(stringin, "$(P)$(R)CurrentTime") { + field(DESC, "Current Date and Time of the IOC") + field(SCAN, "1 second") + field(DTYP, "Soft Timestamp") + field(PINI, "YES") + field(INP, "@%d/%m/%Y %H:%M:%S") +} diff --git a/epics/iocs/ISTTOKdsPIC/ISTTOKdsPICApp/Db/Makefile b/epics/iocs/ISTTOKdsPIC/ISTTOKdsPICApp/Db/Makefile new file mode 100644 index 0000000..b172a9e --- /dev/null +++ b/epics/iocs/ISTTOKdsPIC/ISTTOKdsPICApp/Db/Makefile @@ -0,0 +1,23 @@ +TOP=../.. +include $(TOP)/configure/CONFIG +#---------------------------------------- +# ADD MACRO DEFINITIONS AFTER THIS LINE + +#---------------------------------------------------- +# Optimization of db files using dbst (DEFAULT: NO) +#DB_OPT = YES + +#---------------------------------------------------- +# Create and install (or just install) into /db +# databases, templates, substitutions like this +DB += ISTTOKtemperature.db +DB += dspic.proto + +#---------------------------------------------------- +# If .db template is not named *.template add +# _template = + +include $(TOP)/configure/RULES +#---------------------------------------- +# ADD RULES AFTER THIS LINE + diff --git a/epics/iocs/ISTTOKdsPIC/ISTTOKdsPICApp/Db/dspic.proto b/epics/iocs/ISTTOKdsPIC/ISTTOKdsPICApp/Db/dspic.proto new file mode 100644 index 0000000..fabce4c --- /dev/null +++ b/epics/iocs/ISTTOKdsPIC/ISTTOKdsPICApp/Db/dspic.proto @@ -0,0 +1,37 @@ +# https://epics.anl.gov/tech-talk/2013/msg02051.php +Terminator = CR LF; +MaxInput = 125; +ReadTimeout = 500; +#ExtraInput = Ignore; + +getTE01 { + in "TE01_%10u TE02_%*10u %*80c"; +} + +getTE02 { +# in "TE01_%*s TE02_%10u TE03_%*10u %*70c"; + in "TE01_%*u TE02_%10u TE03_%*10u TE04_%*10u PRD01_%*10u UP_%*10u %*u %+"; +} + +getTE03 { +# in "TE01_%*s TE02_%*10u TE03_%10u %*80c"; + in "TE01_%*u TE02_%*10u TE03_%10u TE04_%*10u PRD01_%*10u UP_%*10u %*u %+"; +} + +getTE04 { +# in "TE01_%*s TE02_%*10u TE03_%*10u TE04_%10u %*40c"; + in "TE01_%*u TE02_%*10u TE03_%*10u TE04_%10u PRD01_%*10u UP_%*10u %*u %+"; +} + +getPRD01 { +# in "TE01_%*s TE02_%*10u TE03_%*10u TE04_%*10u PRD01_%10u %*30c"; + in "TE01_%*s TE02_%*10u TE03_%*10u TE04_%*10u PRD01_%10u UP_%*10u %*u %+"; +} + +getUP { + in "TE01_%*s TE02_%*10u TE03_%*10u TE04_%*10u PRD01_%*10u UP_%10u %*u %+"; +} + +getStr{ + in "TE01_%10s%*93c"; +} diff --git a/epics/iocs/ISTTOKdsPIC/configure/CONFIG_SITE b/epics/iocs/ISTTOKdsPIC/configure/CONFIG_SITE new file mode 100644 index 0000000..f1df266 --- /dev/null +++ b/epics/iocs/ISTTOKdsPIC/configure/CONFIG_SITE @@ -0,0 +1,43 @@ +# CONFIG_SITE + +# Make any application-specific changes to the EPICS build +# configuration variables in this file. +# +# Host/target specific settings can be specified in files named +# CONFIG_SITE.$(EPICS_HOST_ARCH).Common +# CONFIG_SITE.Common.$(T_A) +# CONFIG_SITE.$(EPICS_HOST_ARCH).$(T_A) + +# CHECK_RELEASE controls the consistency checking of the support +# applications pointed to by the RELEASE* files. +# Normally CHECK_RELEASE should be set to YES. +# Set CHECK_RELEASE to NO to disable checking completely. +# Set CHECK_RELEASE to WARN to perform consistency checking but +# continue building even if conflicts are found. +CHECK_RELEASE = YES + +# Set this when you only want to compile this application +# for a subset of the cross-compiled target architectures +# that Base is built for. +#CROSS_COMPILER_TARGET_ARCHS = vxWorks-ppc32 + +# To install files into a location other than $(TOP) define +# INSTALL_LOCATION here. +INSTALL_LOCATION=/opt/epics/apps/ISTTOK + +# Set this when the IOC and build host use different paths +# to the install location. This may be needed to boot from +# a Microsoft FTP server say, or on some NFS configurations. +#IOCS_APPL_TOP = + +# For application debugging purposes, override the HOST_OPT and/ +# or CROSS_OPT settings from base/configure/CONFIG_SITE +#HOST_OPT = NO +#CROSS_OPT = NO + +# These allow developers to override the CONFIG_SITE variable +# settings without having to modify the configure/CONFIG_SITE +# file itself. +-include $(TOP)/../CONFIG_SITE.local +-include $(TOP)/configure/CONFIG_SITE.local + diff --git a/epics/iocs/ISTTOKdsPIC/configure/RELEASE b/epics/iocs/ISTTOKdsPIC/configure/RELEASE new file mode 100644 index 0000000..a51ecec --- /dev/null +++ b/epics/iocs/ISTTOKdsPIC/configure/RELEASE @@ -0,0 +1,45 @@ +# RELEASE - Location of external support modules +# +# IF YOU MAKE ANY CHANGES to this file you must subsequently +# do a "gnumake rebuild" in this application's top level +# directory. +# +# The build process does not check dependencies against files +# that are outside this application, thus you should do a +# "gnumake rebuild" in the top level directory after EPICS_BASE +# or any other external module pointed to below is rebuilt. +# +# Host- or target-specific settings can be given in files named +# RELEASE.$(EPICS_HOST_ARCH).Common +# RELEASE.Common.$(T_A) +# RELEASE.$(EPICS_HOST_ARCH).$(T_A) +# +# This file is parsed by both GNUmake and an EPICS Perl script, +# so it can ONLY contain definititions of paths to other support +# modules, variable definitions that are used in module paths, +# and include statements that pull in other RELEASE files. +# Variables may be used before their values have been set. +# Build variables that are NOT used in paths should be set in +# the CONFIG_SITE file. + +# Variables and paths to dependent modules: +MODULES = /opt/epics/modules +#MYMODULE = $(MODULES)/my-module +ASYN=$(MODULES)/asyn +STREAM=$(MODULES)/stream + +# If using the sequencer, point SNCSEQ at its top directory: +#SNCSEQ = $(MODULES)/seq-ver + +# EPICS_BASE should appear last so earlier modules can override stuff: +EPICS_BASE = /opt/epics/base-3.15.7 + +# Set RULES here if you want to use build rules from somewhere +# other than EPICS_BASE: +#RULES = $(MODULES)/build-rules + +# These allow developers to override the RELEASE variable settings +# without having to modify the configure/RELEASE file itself. +-include $(TOP)/../RELEASE.local +-include $(TOP)/configure/RELEASE.local + diff --git a/epics/iocs/ISTTOKdsPIC/iocBoot/iocISTTOKdsPIC/st.cmd b/epics/iocs/ISTTOKdsPIC/iocBoot/iocISTTOKdsPIC/st.cmd new file mode 100755 index 0000000..2b4dc8b --- /dev/null +++ b/epics/iocs/ISTTOKdsPIC/iocBoot/iocISTTOKdsPIC/st.cmd @@ -0,0 +1,37 @@ +#!../../bin/linux-x86_64/ISTTOKdsPIC + +## You may have to change ISTTOKdsPIC to something else +## everywhere it appears in this file + +< envPaths + +epicsEnvSet ("STREAM_PROTOCOL_PATH","$(TOP)/db") + +cd "${TOP}" + +## Register all support components +dbLoadDatabase "dbd/ISTTOKdsPIC.dbd" +ISTTOKdsPIC_registerRecordDeviceDriver pdbbase + +## Load record instances +#dbLoadRecords("db/xxx.db","user=codac-dev") +# Setup serial port 2 +drvAsynSerialPortConfigure("COM2","/dev/ttyS2",0,0,0) +asynSetOption("COM2", -1, "baud", "115200") +asynSetOption("COM2", -1, "bits", "8") +asynSetOption("COM2", -1, "parity", "none") +asynSetOption("COM2", -1, "stop", "1") +asynSetOption("COM2", -1, "clocal", "Y") +asynSetOption("COM2", -1, "crtscts", "N") +#### Uncomment for ASYNS debuging #### +#asynSetTraceMask("COM2", 0, 9) +#asynSetTraceIOMask("COM2",0, 0x2) + +## Setup support for dsPIC interface 2 +dbLoadRecords("db/ISTTOKtemperature.db","P=ISTTOK:,R=temperature:,PORT=COM2,A=0") + +cd "${TOP}/iocBoot/${IOC}" +iocInit + +## Start any sequence programs +#seq sncxxx,"user=codac-dev"