[Dsg-hallc_controls] Dipole Field Regulation PLC code completed
Brian Eng
beng at jlab.org
Wed Sep 26 11:07:12 EDT 2018
Since the HMS Dipole is ramped again the NMR is currently locked and sending field values to the DSG development PLC tags.
We'll see what happens this time if/when it loses the lock, but I've added code to set the tag to 0 when that happens (and hopefully to try and handle that case better than before).
I still need to add more code to better handle resetting the NMR (seems like it always needs to be done everytime we try to communicate with the unit), but that will have to wait until the next time the magnet is powered down or the code gets an exception and stops.
----- Original Message -----
> From: "Pablo Campero" <campero at jlab.org>
> To: "dsg-hallc controls" <dsg-hallc_controls at jlab.org>
> Sent: Wednesday, September 26, 2018 10:24:34 AM
> Subject: Re: [Dsg-hallc_controls] Dipole Field Regulation PLC code completed
> Hi Mike,
>
> Find my answers to you comments in font blue below:
>
>
> NMR, Function Block :
>
> SEL_08.In1 has no input
> Having no input in the "In1" at "SEL_08" instruction is the same as having an
> input of zero value; RS-Logix5000 interprets PLC code in this way when there is
> no input wired to the instructions. Regardless, I added a zero as a constant
> input when NMR-PT2026 is not locked.
> At this time, the value for the field readout from the NMR-PT2026 unit when this
> is not locked is undetermined, since we did not have the chance to test it.
More information about the Dsg-hallc_controls
mailing list