<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Thanks Tyler. <br>
</p>
<p>Do you know if Brian is going to do the summed voltages for the
Voltage Taps screen for solenoid? <br>
</p>
<p>Hovanes. <br>
</p>
<p><br>
</p>
<div class="moz-cite-prefix">On 7/30/19 3:37 PM, Tyler Lemon wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CH2PR09MB39763A9D86B75478620D0A41BADC0@CH2PR09MB3976.namprd09.prod.outlook.com">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
Hi Hovanes and Nick,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
Using the changes you all made to the PLC and IOC, I was able to
get the status bits in EDM.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
The Solenoid power supply screen and FDC chiller screen have
been added to the epicsweb menu. With that, we have converted
all 18 of the screens requested by Tim to WEDM.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
If Hall D wants any other CSS screens converted to WEDM, let us
know and we can make them.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
Best regards,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif;
font-size: 12pt; color: rgb(0, 0, 0);">
Tyler<br>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt"
face="Calibri, sans-serif" color="#000000"><b>From:</b>
Hovanes Egiyan <a class="moz-txt-link-rfc2396E" href="mailto:hovanes@jlab.org"><hovanes@jlab.org></a><br>
<b>Sent:</b> Tuesday, July 30, 2019 10:16 AM<br>
<b>To:</b> <a class="moz-txt-link-abbreviated" href="mailto:dsg-halld_plc@jlab.org">dsg-halld_plc@jlab.org</a>
<a class="moz-txt-link-rfc2396E" href="mailto:dsg-halld_plc@jlab.org"><dsg-halld_plc@jlab.org></a>; Tyler Lemon
<a class="moz-txt-link-rfc2396E" href="mailto:tlemon@jlab.org"><tlemon@jlab.org></a>; Hall D Controls
<a class="moz-txt-link-rfc2396E" href="mailto:halld-controls@jlab.org"><halld-controls@jlab.org></a><br>
<b>Subject:</b> Re: [Dsg-halld_plc] PVs to be added to IOC for
display in WEDM</font>
<div> </div>
</div>
<div style="background-color:#FFFFFF">
<p>Tyler, <br>
</p>
<p><br>
</p>
<p>Nick added an array of booleans for the status of solenoid
MPS. It translates into two
<br>
</p>
<p>mbbiDirect EPICS records . <br>
</p>
<p><br>
</p>
<pre>HDOPS gluon02:~> caget -0b 'SOL:i:MPS_Status_Read_BOOL;0'
SOL:i:MPS_Status_Read_BOOL;0 1111000001
HDOPS gluon02:~> caget -0b 'SOL:i:MPS_Status_Read_BOOL;1'
SOL:i:MPS_Status_Read_BOOL;1 10101000
HDOPS gluon02:~>
</pre>
<p>The first one (";0") keep the lower 16 bits, the second one
(";1") keep the higher bits.
<br>
</p>
<p>EDM should be able to display these with byte monitor widget.</p>
<p><br>
</p>
<p>Hovanes <br>
</p>
<p><br>
</p>
<p><br>
</p>
<div class="x_moz-cite-prefix">On 7/25/19 11:47 AM, Tyler Lemon
wrote:<br>
</div>
<blockquote type="cite">
<style type="text/css" style="display:none">
<!--
p
{margin-top:0;
margin-bottom:0}
-->
</style>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;
font-size:12pt; color:rgb(0,0,0)">
Hello Hovanes,</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;
font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;
font-size:12pt; color:rgb(0,0,0)">
For the Solenoid Power supply screen, the PV "<span>SOL:a:MPS_Status_Read_DINT</span>"
is the one being parsed in CSS for the status bits.<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;
font-size:12pt"><span><br>
</span></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;
font-size:12pt"><span
style="font-family:calibri,arial,helvetica,sans-serif;
font-size:12pt; line-height:normal; color:rgb(0,0,0);
background-color:rgba(0,0,0,0)">When caget is used you
get:</span><span
style="font-family:calibri,arial,helvetica,sans-serif;
font-size:12pt; line-height:normal; color:rgb(0,0,0);
background-color:rgba(0,0,0,0)">
"SOL:a:MPS_Status_Read_DINT 24 1 0 0 0 0 0 1 1 1 1 0 0 0 0
0 0 0 0 0 1 0 1 0 1"</span><span><br>
</span><span></span></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;
font-size:12pt"><br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;
font-size:12pt"><span
style="font-family:calibri,arial,helvetica,sans-serif;
font-size:12pt; line-height:normal; color:rgb(0,0,0);
background-color:rgba(0,0,0,0)">EDM has a byte monitor
that can handle up to 16 bits. The array parsed in CSS is
24 elements, it would need to be split up into multiple
PVs. On the Solenoid interlocks screen, the "MPS Interlock
Sum" status is also pulled out of this array using a
script. Since CSS is using scripts to get individual
status bits on multiple screens, it may be best to make 24
new, individual Boolean PVs for each status bit.</span></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;
font-size:12pt"><br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;
font-size:12pt"><span
style="font-family:calibri,arial,helvetica,sans-serif;
font-size:12pt; line-height:normal; color:rgb(0,0,0);
background-color:rgba(0,0,0,0)">Also, on the Solenoid
Voltages screen, the summed coil voltages below each coil
graphic are obtained from a rule in CSS and cannot be
displayed in EDM either. Four PVs will also need to be
added to an IOC for the voltage sums.</span></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;
font-size:12pt"><br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;
font-size:12pt"><span
style="font-family:calibri,arial,helvetica,sans-serif;
font-size:12pt; line-height:normal; color:rgb(0,0,0);
background-color:rgba(0,0,0,0)">For the FDC chiller
screen, the EDM byte monitor may be able to use the
existing PVs. I'll look at this this afternoon and let you
know if anything needs to be added to an IOC.</span><br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;
font-size:12pt"><br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;
font-size:12pt"><span
style="font-family:calibri,arial,helvetica,sans-serif;
font-size:12pt; line-height:normal; color:rgb(0,0,0);
background-color:rgba(0,0,0,0)">Best regards,</span></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;
font-size:12pt"><span
style="font-family:calibri,arial,helvetica,sans-serif;
font-size:12pt; line-height:normal; color:rgb(0,0,0);
background-color:rgba(0,0,0,0)">Tyler</span><br>
</div>
<br>
<fieldset class="x_mimeAttachmentHeader"></fieldset>
<pre class="x_moz-quote-pre">_______________________________________________
Dsg-halld_plc mailing list
<a class="x_moz-txt-link-abbreviated" href="mailto:Dsg-halld_plc@jlab.org" moz-do-not-send="true">Dsg-halld_plc@jlab.org</a>
<a class="x_moz-txt-link-freetext" href="https://mailman.jlab.org/mailman/listinfo/dsg-halld_plc" moz-do-not-send="true">https://mailman.jlab.org/mailman/listinfo/dsg-halld_plc</a>
</pre>
</blockquote>
</div>
</blockquote>
</body>
</html>