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 2025 | 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 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: DeferredMoves without setting moving flag |
From: | Torsten Bögershausen via Tech-talk <tech-talk at aps.anl.gov> |
To: | Laurenz Rettig <rettig at fhi-berlin.mpg.de>, "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov> |
Date: | Fri, 10 Mar 2023 17:00:55 +0000 |
Hej Lorenz, >I've been working on an asyn motor controller with DeferredMoves.
good to hear. >This in principle works, however I noticed that when DeferedMoves is enabled, the motorRecord (as a record, doing its statemachine business) >I would like to get rid of this behavior. how big is the pain-level at your side? Greetings to Berlin From: Tech-talk <tech-talk-bounces at aps.anl.gov> on behalf of Laurenz Rettig via Tech-talk <tech-talk at aps.anl.gov> Hi, I've been working on an asyn motor controller with DeferredMoves. This in principle works, however I noticed that when DeferedMoves is enabled, and I change the setpoint of an axis, the moving flag is raised for a short time (i.e. DMOV=0), even though the
axis is not moving yet. I would like to get rid of this behavior. As far as I understand it, this is probably induced by the calls to "pAxis->setIntegerParam(motorStatusDone_,
0);" here: and the flag is reset by the next call of the axis poll() function. Is there a simple way to avoid this, or do I have to rewrite the whole
writeFloat64 function in my controller driver, and remove these lines? Thanks, Laurenz -- Dr. Laurenz Rettig rettig at fhi-berlin.mpg.de Emmy Noether Research Group Dynamics of Correlated Materials Fritz Haber Institute of the Max Planck Society Department of Physical Chemistry Faradayweg 4-6 Tel: +49 30 8413 5225 14195 Berlin, Germany Fax: +49 30 8413-5387 |