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  2018  <20192020  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  2018  <20192020 
<== Date ==> <== Thread ==>

Subject: RE: limit switch fields in the motor record
From: Mark Rivers via Tech-talk <tech-talk@aps.anl.gov>
To: "'Peterson, Kevin M.'" <kmpeters@anl.gov>, "'Davis, Mark'" <davism50@msu.edu>
Cc: "tech-talk@aps.anl.gov" <tech-talk@aps.anl.gov>
Date: Tue, 9 Apr 2019 18:10:19 +0000
> The limit status is updated regardless of the direction starting in  R6-11 of the motor module:

OK, that's great, I was not aware of that.

Mark


-----Original Message-----
From: Peterson, Kevin M. <kmpeters@anl.gov> 
Sent: Tuesday, April 9, 2019 1:08 PM
To: Mark Rivers <rivers@cars.uchicago.edu>; 'Davis, Mark' <davism50@msu.edu>
Cc: tech-talk@aps.anl.gov
Subject: Re: limit switch fields in the motor record

The limit status is updated regardless of the direction starting in 
R6-11 of the motor module:

   https://github.com/epics-modules/motor/releases/tag/R6-11

The pull request that changed this limit behavior was merged on June 26, 
2018:

   https://github.com/epics-modules/motor/pull/36

Kevin

On 4/9/19 12:59 PM, Mark Rivers via Tech-talk wrote:
> I agree that this is a bad behavior and I have complained about it for years.  I think it's origin was in an old motor controller that could only tell you that it was at a limit, but not which one.  So it needed to use the direction to figure that out.
> 
> I would like to be able to unplug my motor cable with the limit connections and immediately see both limit lights on the OPI screen.
> 
> Mark
> 
> 
> -----Original Message-----
> From:tech-talk-bounces@aps.anl.gov  <tech-talk-bounces@aps.anl.gov>  On Behalf Of Davis, Mark via Tech-talk
> Sent: Tuesday, April 9, 2019 12:57 PM
> To:tech-talk@aps.anl.gov
> Subject: limit switch fields in the motor record
> 
> Is there a reason that the xLS/RxLS limit switch fields in the motor record only work when the TDIR field's value indicates that the motor is or was last moving in the direction that would normally trigger the corresponding limit switch?
> 
> This means that that only way to know if a limit switch has REALLY been triggered is to monitor the bits in the MSTA field.
> 
> I am using version 6-9 of the motor record if that makes any difference.
> 
> Mark Davis, NSCL/FRIB
> Control Systems Software Engineer
> davism50@msu.edu
> 


References:
limit switch fields in the motor record Davis, Mark via Tech-talk
RE: limit switch fields in the motor record Mark Rivers via Tech-talk
Re: limit switch fields in the motor record Peterson, Kevin M. via Tech-talk

Navigate by Date:
Prev: Re: limit switch fields in the motor record Peterson, Kevin M. via Tech-talk
Next: Re: limit switch fields in the motor record Peterson, Kevin M. via Tech-talk
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  2018  <20192020 
Navigate by Thread:
Prev: Re: limit switch fields in the motor record Peterson, Kevin M. via Tech-talk
Next: Re: limit switch fields in the motor record Davis, Mark via Tech-talk
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  2018  <20192020 
ANJ, 10 Apr 2019 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·