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  2012  <20132014  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  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: Proper initialisation of Motor Record .RMP value
From: Mark Rivers <[email protected]>
To: "'Peter Linardakis'" <[email protected]>
Cc: "[email protected]" <[email protected]>
Date: Tue, 22 Oct 2013 23:28:02 +0000

If .RMP changes spontaneously without moving the motor then there is either a hardware problem or a driver problem.  Or someone is setting the motor position behind your back with some channel access client?

 

From: Peter Linardakis [mailto:[email protected]]
Sent: Tuesday, October 22, 2013 6:21 PM
To: Mark Rivers
Cc: [email protected]
Subject: Re: Proper initialisation of Motor Record .RMP value

 

Hi Mark

We're using a Group3 Type G board as a motor controller with, I think, a home grown asyn driver (written by someone no longer in our employ).  We'll investigate whether the .RMP values change in between boot, but we've also noticed the .RMP value spontaneously change during operation, without moving the motor.  Does this point to a driver issue?

Cheers
Peter

On 22/10/2013 2:39 PM, Mark Rivers wrote:

What motor controller and driver software are you using?
 
The motor record attempts to read the hardware position at reboot.  If the controller value is non-zero then it assumes the position is valid, and it will use it.  That value will take precedence even over an autosaved value.
 
When you reboot should your controller still have a valid readback reading, or does it become undefined?
 
Mark
 
________________________________
From: [email protected] [[email protected]] on behalf of Peter Linardakis [[email protected]]
Sent: Monday, October 21, 2013 9:55 PM
To: [email protected]
Subject: Proper initialisation of Motor Record .RMP value
 
 
We're pretty new at controlling motors using EPICS and we've run into a few small issues.  After a crate reboot, some of a bank of 28 motors end up with a motor.RMP value that is quite close to the signed 32-bit integer limit (both at max and min ends).  If we then try move the motor more than the difference, the motor just stops.  We're not running a complicated setup, we just home the motors using limit switches.  We do not use encoders at this time.
 
My question is, how do we properly initialise the .RMP value to some known value, probably zero?  At this stage of the game, we're not looking to use an autosave module or similar.
 
Regards
Peter
 
Dr Peter Linardakis
Accelerator Research and Development Engineer
Nuclear Physics | Research School of Physics and Engineering
Australian National University
e: [email protected]<mailto:[email protected]>
p: (02) 6125 2862 f: (02) 6215 0748
 

 


References:
Proper initialisation of Motor Record .RMP value Peter Linardakis
RE: Proper initialisation of Motor Record .RMP value Mark Rivers
Re: Proper initialisation of Motor Record .RMP value Peter Linardakis

Navigate by Date:
Prev: Re: Proper initialisation of Motor Record .RMP value Peter Linardakis
Next: RE: time drift in camonitor timestamps tom.cobb
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Proper initialisation of Motor Record .RMP value Peter Linardakis
Next: Re: Proper initialisation of Motor Record .RMP value Ron Sluiter
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 20 Apr 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·