<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
When last local saved copy was done? Is there timestamp on that?
<div class=""><br class="">
</div>
<div class="">Stepan<br class="">
<div><br class="">
<blockquote type="cite" class="">
<div class="">On Feb 10, 2023, at 1:19 PM, Brian Eng <<a href="mailto:beng@jlab.org" class="">beng@jlab.org</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div class="elementToProof" style="font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; background-color: rgb(255, 255, 255);">
The MPS firmware is completely independent of the PLC.</div>
<div class="elementToProof" style="font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; background-color: rgb(255, 255, 255);">
<br class="">
</div>
<div class="elementToProof" style="font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; background-color: rgb(255, 255, 255);">
Since the failure happened at ~10 PM its extremely unlikely someone would have reset it.</div>
<div id="appendonsend" style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
</div>
<hr tabindex="-1" style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; display: inline-block; width: 967.25px;" class="">
<span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;" class=""></span>
<div id="divRplyFwdMsg" dir="ltr" style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class="">
<font face="Calibri, sans-serif" style="font-size: 11pt;" class=""><b class="">From:</b><span class="Apple-converted-space"> </span>Stepan Stepanyan <<a href="mailto:stepanya@jlab.org" class="">stepanya@jlab.org</a>><br class="">
<b class="">Sent:</b><span class="Apple-converted-space"> </span>Friday, February 10, 2023 1:05 PM<br class="">
<b class="">To:</b><span class="Apple-converted-space"> </span>Brian Eng <<a href="mailto:beng@jlab.org" class="">beng@jlab.org</a>><br class="">
<b class="">Cc:</b><span class="Apple-converted-space"> </span>Amrit Yegneswaran <<a href="mailto:yeg@jlab.org" class="">yeg@jlab.org</a>>;
<a href="mailto:dsg-hallb_magnets@jlab.org" class="">dsg-hallb_magnets@jlab.org</a> <<a href="mailto:dsg-hallb_magnets@jlab.org" class="">dsg-hallb_magnets@jlab.org</a>><br class="">
<b class="">Subject:</b><span class="Apple-converted-space"> </span>Re: [Dsg-hallb_magnets] Torus PLC Code</font>
<div class=""> </div>
</div>
<div class="" style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; line-break: after-white-space;">
Brian,
<div class=""><br class="">
</div>
<div class="">Did we had firmware on the torus power supply changed recently? Could it be that after the change someone restarted/rebooted the whole system with a different PLC code?</div>
<div class=""><br class="">
</div>
<div class="">Thanks, Stepan<br class="">
<div class=""><br class="">
<blockquote type="cite" class="">
<div class="">On Feb 10, 2023, at 12:59 PM, Brian Eng via Dsg-hallb_magnets <<a href="mailto:dsg-hallb_magnets@jlab.org" class="">dsg-hallb_magnets@jlab.org</a>> wrote:</div>
<br class="x_Apple-interchange-newline">
<div class="">
<div class="x_elementToProof" style="font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; text-decoration: none; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; background-color: rgb(255, 255, 255);">
No clue, but the timestamps of 2020 and 1969! for the faults don't make any sense either.</div>
<div class="x_elementToProof" style="font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; text-decoration: none; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; background-color: rgb(255, 255, 255);">
<br class="">
</div>
<div class="x_elementToProof" style="font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; text-decoration: none; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; background-color: rgb(255, 255, 255);">
So far I've only found 3 actual code differences (one is a missing tag, the other a disabled interlock [both already changed online], the other is a tag to potentially bypass the hardware timer [set to 0 in the old code so leaving it out for now]).</div>
<div id="x_appendonsend" class="" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; text-decoration: none;">
</div>
<hr tabindex="-1" class="" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; text-decoration: none; display: inline-block; width: 967.25px;">
<span class="" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; text-decoration: none; float: none; display: inline !important;"></span>
<div id="x_divRplyFwdMsg" dir="ltr" class="" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; text-decoration: none;">
<font face="Calibri, sans-serif" class="" style="font-size: 11pt;"><b class="">From:</b><span class="x_Apple-converted-space"> </span>Amrit Yegneswaran <<a href="mailto:yeg@jlab.org" class="">yeg@jlab.org</a>><br class="">
<b class="">Sent:</b><span class="x_Apple-converted-space"> </span>Friday, February 10, 2023 12:08 PM<br class="">
<b class="">To:</b><span class="x_Apple-converted-space"> </span><a href="mailto:dsg-hallb_magnets@jlab.org" class="">dsg-hallb_magnets@jlab.org</a><span class="Apple-converted-space"> </span><<a href="mailto:dsg-hallb_magnets@jlab.org" class="">dsg-hallb_magnets@jlab.org</a>>;
 Brian Eng <<a href="mailto:beng@jlab.org" class="">beng@jlab.org</a>><br class="">
<b class="">Subject:</b><span class="x_Apple-converted-space"> </span>Re: Torus PLC Code</font>
<div class=""> </div>
</div>
<div dir="ltr" class="" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; text-decoration: none;">
<div class="x_x_elementToProof" style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; background-color: rgb(255, 255, 255);">
how did you guy's manage this?</div>
<div class="x_x_elementToProof" style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; background-color: rgb(255, 255, 255);">
was it maxwell's demon?</div>
<div class="x_x_elementToProof" style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; background-color: rgb(255, 255, 255);">
or a case of downloading without checking the version?</div>
<div class="x_x_elementToProof" style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; background-color: rgb(255, 255, 255);">
as always<span class="x_Apple-converted-space"> </span><br class="">
</div>
<div class="x_x_elementToProof" style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; background-color: rgb(255, 255, 255);">
baffled and lost at the frontier of science.<br class="">
</div>
<div id="x_x_appendonsend" class=""></div>
<hr tabindex="-1" class="" style="display: inline-block; width: 967.25px;">
<div id="x_x_divRplyFwdMsg" dir="ltr" class=""><font face="Calibri, sans-serif" class="" style="font-size: 11pt;"><b class="">From:</b><span class="x_Apple-converted-space"> </span>Dsg-hallb_magnets <<a href="mailto:dsg-hallb_magnets-bounces@jlab.org" class="">dsg-hallb_magnets-bounces@jlab.org</a>>
 on behalf of Brian Eng via Dsg-hallb_magnets <<a href="mailto:dsg-hallb_magnets@jlab.org" class="">dsg-hallb_magnets@jlab.org</a>><br class="">
<b class="">Sent:</b><span class="x_Apple-converted-space"> </span>Friday, February 10, 2023 11:58 AM<br class="">
<b class="">To:</b><span class="x_Apple-converted-space"> </span><a href="mailto:dsg-hallb_magnets@jlab.org" class="">dsg-hallb_magnets@jlab.org</a><span class="Apple-converted-space"> </span><<a href="mailto:dsg-hallb_magnets@jlab.org" class="">dsg-hallb_magnets@jlab.org</a>><br class="">
<b class="">Subject:</b><span class="x_Apple-converted-space"> </span>[Dsg-hallb_magnets] Torus PLC Code</font>
<div class=""> </div>
</div>
<div dir="ltr" class="">
<div class="x_x_x_elementToProof" style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; background-color: rgb(255, 255, 255);">
After the major fault last night it appears that the code running on the PLC and the last local saved copy don't match up.</div>
<div class="x_x_x_elementToProof" style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; background-color: rgb(255, 255, 255);">
<br class="">
</div>
<div class="x_x_x_elementToProof" style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; background-color: rgb(255, 255, 255);">
Normally we only upload from the PLC to the local computer, but the code that is/was on the PLC seems out of date.</div>
<div class="x_x_x_elementToProof" style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; background-color: rgb(255, 255, 255);">
<br class="">
</div>
<div class="x_x_x_elementToProof" style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; background-color: rgb(255, 255, 255);">
I'm attaching a .zip file of the XML output from RSLogix so that the code can be compared.</div>
<div class="x_x_x_elementToProof" style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; background-color: rgb(255, 255, 255);">
<br class="">
</div>
<div class="x_x_x_elementToProof" style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; background-color: rgb(255, 255, 255);">
Torus-current.L5X = what is running now.</div>
<div class="x_x_x_elementToProof" style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; background-color: rgb(255, 255, 255);">
Torus-previous.L5X = last local copy.</div>
<div class="x_x_x_elementToProof" style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; background-color: rgb(255, 255, 255);">
<br class="">
</div>
<div class="x_x_x_elementToProof" style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; background-color: rgb(255, 255, 255);">
Could some others compare the files and see if there's any non-tag differences? Me manually looking through the ~9k differences in ~56k lines isn't optimal. I've attached a screenshot showing there are code differences and not just tag values.</div>
<div class="x_x_x_elementToProof" style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; background-color: rgb(255, 255, 255);">
<br class="">
</div>
<div class="x_x_x_elementToProof" style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; background-color: rgb(255, 255, 255);">
Trying to avoid having to download the code to the PLC to prevent all the PIDs being reset.</div>
</div>
</div>
<span class="" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; text-decoration: none; float: none; display: inline !important;">_______________________________________________</span><br class="" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; text-decoration: none;">
<span class="" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; text-decoration: none; float: none; display: inline !important;">Dsg-hallb_magnets
 mailing list</span><br class="" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; text-decoration: none;">
<span class="" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; text-decoration: none; float: none; display: inline !important;"><a href="mailto:Dsg-hallb_magnets@jlab.org" class="">Dsg-hallb_magnets@jlab.org</a></span><br class="" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; text-decoration: none;">
<span class="" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; text-decoration: none; float: none; display: inline !important;"><a href="https://mailman.jlab.org/mailman/listinfo/dsg-hallb_magnets" class="">https://mailman.jlab.org/mailman/listinfo/dsg-hallb_magnets</a></span></div>
</blockquote>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
</body>
</html>