Hi,
One caveat.. Make sure the ERES field is set correctly before switching UEIP (normally it would be the same as MRES). Otherwise you can get into a mess because the motor record attempts to do a 'set position' each time UEIP is switched. So if ERES is wrong it would set an incorrect number of counts on the controller.
I think the logic there is something to do with wanting to keep RBV the same number if you switch UEIP.
Cheers,
Matt
> -----Original Message-----
> From: Mark Rivers [mailto:[email protected]]
> Sent: 26 September 2012 15:28
> To: J. Lewis Muir; Pearson, Matthew (DLSLtd,RAL,DIA)
> Cc: [email protected]
> Subject: RE: Motor record -- URIP with soft limits
>
> On the Newport XPS we switch UEIP back and forth, depending on whether
> we want the RBV field to hold the theoretical position or encoder
> position. Sometimes one does not want to see the encoder jitter,
> sometimes one does. This can be changed at run-time with medm, etc.
>
> Mark
>
>
> ________________________________________
> From: [email protected] [[email protected]] on
> behalf of J. Lewis Muir [[email protected]]
> Sent: Wednesday, September 26, 2012 9:25 AM
> To: [email protected]
> Cc: [email protected]
> Subject: Re: Motor record -- URIP with soft limits
>
> On 9/26/12 5:21 AM, [email protected] wrote:
> > 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.
>
> Hi, Matt.
>
> Thanks for the info. I guess that means my motor records that
> use the pmacAsynMotor driver are configured incorrectly for what
> I want (i.e. having the RBV field reflect the position reported
> by the encoder). :-( I'll try changing them to have UEIP set to
> Yes.
>
> Thanks!
>
> 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 Ron Sluiter
- 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
- RE: Motor record -- URIP with soft limits matthew.pearson
- Re: Motor record -- URIP with soft limits J. Lewis Muir
- RE: Motor record -- URIP with soft limits Mark Rivers
- Navigate by Date:
- Prev:
RE: Motor record -- URIP with soft limits Mark Rivers
- Next:
Re: Motor record -- URIP with soft limits Ron Sluiter
- 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
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
RE: Motor record -- URIP with soft limits Mark Rivers
- Next:
Re: Motor record -- URIP with soft limits Ron Sluiter
- 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
2019
2020
2021
2022
2023
2024
|