<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" dir="ltr" style="">
<div id="divtagdefaultwrapper" dir="ltr" style="color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols; font-size: 12pt;">
<p style="margin-top:0; margin-bottom:0"><br>
</p>
<span style="font-family:Calibri,Helvetica,sans-serif"></span></div>
<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal;background:white">
<span style="font-size:12.0pt;mso-ascii-font-family:
Calibri;mso-fareast-font-family:"Times New Roman";mso-hansi-font-family:Calibri;
mso-bidi-font-family:"Times New Roman";color:black">Hi Mike,<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal;background:white">
<span style="font-size:12.0pt;mso-ascii-font-family:
Calibri;mso-fareast-font-family:"Times New Roman";mso-hansi-font-family:Calibri;
mso-bidi-font-family:"Times New Roman";color:black"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal;background:white">
<span style="font-size:12.0pt;mso-ascii-font-family:
Calibri;mso-fareast-font-family:"Times New Roman";mso-hansi-font-family:Calibri;
mso-bidi-font-family:"Times New Roman";color:black">The OpcIocShell application running on skylla7 is a EPICS OPC Device Support
 module, which provides Device Support for the Windows platform to access variables located on an OPC server.  The OpcIocShell application is compatible with EPICS release 3.14.12, so then all records in this EPICS release 3.14.12 should work including the Calculation
 and Output (calout) record.<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal;background:white">
<span style="font-size:12.0pt;mso-ascii-font-family:
Calibri;mso-fareast-font-family:"Times New Roman";mso-hansi-font-family:Calibri;
mso-bidi-font-family:"Times New Roman";color:black"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal;background:white">
<span style="font-size:12.0pt;mso-ascii-font-family:
Calibri;mso-fareast-font-family:"Times New Roman";mso-hansi-font-family:Calibri;
mso-bidi-font-family:"Times New Roman";color:black">In this particular case ("calout") is a record used to generate a continuous counter
 and pulse binary signal that represents the SoftIOC heartbeat counter and the heartbeat pulse respectively; these calculated record values are transferred to a  regular analog output (ao) and  binary output (bo) records, which are then passed to the OPC Server.<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal;background:white">
<span style="font-size:12.0pt;mso-ascii-font-family:
Calibri;mso-fareast-font-family:"Times New Roman";mso-hansi-font-family:Calibri;
mso-bidi-font-family:"Times New Roman";color:black">I tested these database files (HMS/SHMS) on the DSG test station setup
 running with the same HMS/SHMS PLC software version, OPC server, and the same OpcIOCShell application versions. This is the same test stand setup that I show you running with no issues during our last meeting held on April 5th, 2019. See attached screen shoot
 of the CSS screen running the results of the simulation setup.<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal;background:white">
<span style="font-size:12.0pt;mso-ascii-font-family:
Calibri;mso-fareast-font-family:"Times New Roman";mso-hansi-font-family:Calibri;
mso-bidi-font-family:"Times New Roman";color:black"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal;background:white">
<span style="font-size:12.0pt;mso-ascii-font-family:
Calibri;mso-fareast-font-family:"Times New Roman";mso-hansi-font-family:Calibri;
mso-bidi-font-family:"Times New Roman";color:black">Best Regards,<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal;background:white">
<span style="font-size:12.0pt;mso-ascii-font-family:
Calibri;mso-fareast-font-family:"Times New Roman";mso-hansi-font-family:Calibri;
mso-bidi-font-family:"Times New Roman";color:black">Pablo<o:p></o:p></span></p>
<div id="divtagdefaultwrapper" dir="ltr" style="color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols; font-size: 12pt;">
<font style=""><font face="Calibri, Helvetica, sans-serif"></font></font><br>
<div style="color:rgb(0,0,0); font-size:12pt; font-family:Calibri,Helvetica,sans-serif,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols">
<hr style="display:inline-block; width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Mike Fowler<br>
<b>Sent:</b> Wednesday, April 17, 2019 10:18 AM<br>
<b>To:</b> Pablo Campero Rojas; dsg-hallc controls<br>
<b>Subject:</b> Re: [Dsg-hallc_controls] SHMS/HMS Heartbeat database files</font>
<div> </div>
</div>
<div dir="ltr">
<div id="x_divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:rgb(0,0,0); font-family:Calibri,Helvetica,sans-serif,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols">
<p style="margin-top:0; margin-bottom:0">Hello,</p>
<p style="margin-top:0; margin-bottom:0"><br>
</p>
<p style="margin-top:0; margin-bottom:0">The OPC soft IOC does not support record type "calcout"</p>
<p style="margin-top:0; margin-bottom:0"><br>
</p>
<p style="margin-top:0; margin-bottom:0">Regards,</p>
<p style="margin-top:0; margin-bottom:0">Mike<br>
</p>
<br>
<br>
<div style="color:rgb(0,0,0)">
<hr style="display:inline-block; width:98%" tabindex="-1">
<div id="x_divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Dsg-hallc_controls <dsg-hallc_controls-bounces@jlab.org> on behalf of Pablo Campero Rojas <campero@jlab.org><br>
<b>Sent:</b> Monday, April 15, 2019 4:18 PM<br>
<b>To:</b> dsg-hallc controls<br>
<b>Subject:</b> [Dsg-hallc_controls] SHMS/HMS Heartbeat database files</font>
<div> </div>
</div>
<div dir="ltr">
<div id="x_x_divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:rgb(0,0,0); font-family:Calibri,Helvetica,sans-serif,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols">
<p style="margin-top:0; margin-bottom:0">Hello Stephen,</p>
<p style="margin-top:0; margin-bottom:0"><br>
</p>
<p style="margin-top:0; margin-bottom:0">I have attached HMS and SHMS DB Files with the fields required to implement PLC heartbeat status  and EPICS-IOC heartbeat status.</p>
<p style="margin-top:0; margin-bottom:0">As you'll notice, the attached DB Files contains already the suggested EPICS PV name and OPC tag address for each variable (See attached spreadsheet).</p>
<p style="margin-top:0; margin-bottom:0">Also, the DB files contains the code/fields needed for the generation of a continues IOC_heartbeat and IOC_counter signal.</p>
<p style="margin-top:0; margin-bottom:0"><br>
</p>
<p style="margin-top:0; margin-bottom:0"><br>
</p>
<p style="margin-top:0; margin-bottom:0">Best Regards,</p>
<p style="margin-top:0; margin-bottom:0">Pablo</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>