EPICS Controls 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  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: Motor record -- URIP with soft limits
From: <[email protected]>
To: <[email protected]>, <[email protected]>
Cc: [email protected]
Date: Wed, 26 Sep 2012 10:21:17 +0000
Hi,

The pmacAsynMotor driver doesn't know about the motor record UEIP or URIP fields, as these are just internal to the motor record. But the driver does set the 'encoder present' bit in the MSTA field, allowing the use of UEIP to switch between REP and RMP for the position readback. 

We have the same problem with soft limits. We get around it in the same way (widening the limits, or setting them both to zero - which disables the soft limits). 

Cheers,
Matt

> -----Original Message-----
> From: [email protected] [mailto:tech-talk-
> [email protected]] On Behalf Of J. Lewis Muir
> Sent: 25 September 2012 21:57
> To: Ernest L. Williams Jr.
> Cc: EPICS Techtalk
> Subject: Re: Motor record -- URIP with soft limits
> 
> On 9/25/12 3:31 PM, Ernest L. Williams Jr. wrote:
> > On 09/25/2012 01:01 PM, J. Lewis Muir wrote:
> >> I've run into the same problem, but not using URIP.
> > Are you using "Use Encoder" ?
> > Seems to me that any of the "USE xxx" modes exhibit this problem.
> 
> Both UEIP and URIP are set to No.  My DTYP is asynMotor.  And
> the driver implementing the asynMotor interface is pmacAsynMotor
> from tpmac 3-10 <http://www.gmca.anl.gov/TPMAC2/index.html>.
> So, yes an encoder is actually being used, but my guess is that
> the motor record UEIP and ERIP fields are ignored by the
> pmacAsynMotor driver.  (I haven't checked this.)
> 
> >> My scenario
> >> is like yours: I can't move the motor because it is beyond one
> >> of the soft limits.  My workaround is to temporarily extend or
> >> disable the soft limits, move the motor back to a position
> >> within the original soft limits, and then restore the soft
> >> limits.
> > This is a manual operation that we don't operators to have to
> > deal with.
> > Of course, some sequencer could be written for automation.
> 
> Right; in fact that's what I've done to automate the recovery.
> 
> Lewis

-- 
This e-mail and any attachments may contain confidential, copyright and or privileged material, and are for the use of the intended addressee only. If you are not the intended addressee or an authorised recipient of the addressee please notify us of receipt by returning the e-mail and do not use, copy, retain, distribute or disclose the information in or attached to the e-mail.
Any opinions expressed within this e-mail are those of the individual and not necessarily of Diamond Light Source Ltd. 
Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments are free from viruses and we cannot accept liability for any damage which you may sustain as a result of software viruses which may be transmitted in or with the message.
Diamond Light Source Limited (company no. 4375679). Registered in England and Wales with its registered office at Diamond House, Harwell Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom
 





Replies:
Re: Motor record -- URIP with soft limits J. Lewis Muir
References:
Motor record -- URIP with soft limits Fong, Nia W.
Re: Motor record -- URIP with soft limits J. Lewis Muir
Re: Motor record -- URIP with soft limits Ernest L. Williams Jr.
Re: Motor record -- URIP with soft limits J. Lewis Muir

Navigate by Date:
Prev: RE: CAC problem between RTEMS and vxWorks Hill, Jeff
Next: Re: Motor record -- URIP with soft limits J. Lewis Muir
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Motor record -- URIP with soft limits J. Lewis Muir
Next: Re: Motor record -- URIP with soft limits J. Lewis Muir
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·