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

Subject: RE: Proper initialisation of Motor Record .RMP value
From: Mark Rivers <rivers@cars.uchicago.edu>
To: Peter Linardakis <peter.linardakis@anu.edu.au>, "tech-talk@aps.anl.gov" <tech-talk@aps.anl.gov>
Date: Tue, 22 Oct 2013 03:39:01 +0000
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: tech-talk-bounces@aps.anl.gov [tech-talk-bounces@aps.anl.gov] on behalf of Peter Linardakis [peter.linardakis@anu.edu.au]
Sent: Monday, October 21, 2013 9:55 PM
To: tech-talk@aps.anl.gov
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: peter.linardakis@anu.edu.au<mailto:peter.linardakis@anu.edu.au>
p: (02) 6125 2862 f: (02) 6215 0748


Replies:
Re: Proper initialisation of Motor Record .RMP value Peter Linardakis
References:
Proper initialisation of Motor Record .RMP value Peter Linardakis

Navigate by Date:
Prev: Proper initialisation of Motor Record .RMP value Peter Linardakis
Next: Re: how to put value to other record in subroutine record Martin L. Smith
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 
Navigate by Thread:
Prev: Proper initialisation of Motor Record .RMP value Peter Linardakis
Next: Re: Proper initialisation of Motor Record .RMP value Peter Linardakis
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 
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 ·