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  2013  2014  <20152016  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  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: setpoint deadband on motor record
From: "Pearson, Matthew R." <[email protected]>
To: "[email protected] list" <[email protected]>
Date: Wed, 16 Sep 2015 18:51:39 +0000
Hi,

I've had a number of requests recently for a setpoint deadband on the motor record. This seems to be an issue where we use encoder readback, and so the readback is almost never equal to the last demand position. So if there is backlash correction setup, the motor performs a move when it doesn't really need to. At the very least there is a amplifier enable/disable cycle even with no backlash correction.

Do other people have this issue?

It seems to be general enough that it should be a feature of the motor record, or at least the Asyn driver base classes.

I initially thought about re-using the retry deadband field for this, but that may break too many existing systems. So a new field sounds appropriate (say .SPDB).

So the logic would be something like:

If abs(pmr->dval - pmr->drbv) < pmr->spdb:
	return
else:
	continue

with SPDB defaulting to 0.


Cheers,
Matt





Data Acquisition and Control Engineer
Spallation Neutron Source
Oak Ridge National Lab







Navigate by Date:
Prev: RE: Unable to build support modules on Windows, with base 3.15.2 Mark Rivers
Next: RE: Unable to build support modules on Windows, with base 3.15.2 Mark S. Engbretson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Olog client login 吴煊
Next: Agilent DSO-X 2014A Lionberger, Carl A.
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 16 Dec 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·