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

Subject: RE: Behavior of the soft motor's DINP field
From: "Pearson, Matthew via Tech-talk" <tech-talk at aps.anl.gov>
To: Torsten Bögershausen <Torsten.Bogershausen at ess.eu>, Abdalla Ahmad <Abdalla.Ahmad at sesame.org.jo>, "tech-talk at aps.anl.gov" <Tech-talk at aps.anl.gov>
Date: Fri, 5 Jan 2024 14:52:53 +0000

Hi,

 

Back to your problem:
There may be a timing problem of some kind,

between the poller towards the Galil and the soft “motor poller”.

 

It’s event driven, a CA monitor on the links defined by DINP, RDBL and RINP.

 

starts calculating and updates the soft motor RBV accordingly, but the soft motor stops before reaching the actual calculated position due to the fact that the DINP field receives 1 if both motors are done moving (DMOV = 1). For example it is supposed to reach 5 mm but it reaches to 4.97 for example.

 

I think the soft motor position will still update even though DINP=1. For example, if the encoder on an underlying real motor changes by itself (without a commanded move happening, with DMOV staying at 1) the soft motor position will still change.

·         I remembered that we are configuring our Galil controllers on a 8 ms update rate. I set the update rate to slower values and the issue can be resolved.

 

8ms update rate is fast. That’s polling the Galil controller at 125Hz. It may work, and I’ve tested close to 100Hz myself, but is it necessary for the application?

 

It also means both real motor records are being processed by the Galil driver at 125Hz, which means the transform and the soft motor record is being updated 2x that rate (250Hz).

 

Are you using UDP via the Galil driver? Perhaps the controller isn’t responding to every network request made by the Galil driver poller. Although, I’m not sure if that’s an issue here.

 

Cheers,

Matt

 

 


Replies:
Re: Behavior of the soft motor's DINP field Abdalla Ahmad via Tech-talk
References:
Behavior of the soft motor's DINP field Abdalla Ahmad via Tech-talk
Re: Behavior of the soft motor's DINP field Torsten Bögershausen via Tech-talk

Navigate by Date:
Prev: MVME6100 Fernando Ortiz via Tech-talk
Next: Re: LabCA for MATLAB Installation error boj via Tech-talk
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: Behavior of the soft motor's DINP field Torsten Bögershausen via Tech-talk
Next: Re: Behavior of the soft motor's DINP field Abdalla Ahmad via Tech-talk
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
ANJ, 07 Jan 2024 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·