Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <2017 Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <2017
<== Date ==> <== Thread ==>

Subject: Re: Limit flags not set on motor IOC restart
From: Torsten Bögershausen <torsten.bogershausen@esss.se>
To: <adrian.potter@stfc.ac.uk>
Cc: tech-talk@aps.anl.gov
Date: Wed, 12 Apr 2017 21:32:48 +0200
Adrian.
I think a patch is here:
https://github.com/epics-modules/motor/pull/36
You can try to cherry-pick the commit.



> On 12 apr. 2017, at 15:00, <adrian.potter@stfc.ac.uk> <adrian.potter@stfc.ac.uk> wrote:
> 
> Hi,
>  
> I’m a developer working on the Ibex project at the ISIS neutron source. When setting up some new Galil motors on an instrument, one of our team was surprised when restarting the IOC cleared the high limit flag.
>  
> On inspection of the motor record, this seems to be because the limit flag is only set when the limit switch is hit and the motor is moving out of range (correct CDIR field). As the CDIR field is read-only, it can’t be autosaved so we don’t see a way of preserving state of the limit flag when the IOC is restarted.
>  
> Can anyone suggest a way of preserving the state of the limits short of modifying motorRecord.cc?
>  
> Many thanks,
> Adrian


References:
Limit flags not set on motor IOC restart adrian.potter

Navigate by Date:
Prev: Limit flags not set on motor IOC restart adrian.potter
Next: 3.16.1: asynSetTraceMask and asynSetTraceIOMask Pierrick Hanlet
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <2017
Navigate by Thread:
Prev: Limit flags not set on motor IOC restart adrian.potter
Next: 3.16.1: asynSetTraceMask and asynSetTraceIOMask Pierrick Hanlet
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <2017
ANJ, 13 Apr 2017 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·