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  <20182019  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  <20182019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Problems with soft motors
From: Kevin Peterson <[email protected]>
To: Mark Rivers <[email protected]>, "[email protected]" <[email protected]>, 'Andrew Johnson' <[email protected]>
Cc: EPICS tech talk <[email protected]>
Date: Fri, 7 Sep 2018 17:16:07 -0500
Mark,

I've successfully reproduced part of your problem.

My vxWorks 6.9.4.1 IOC is using a recent version of motor (https://github.com/epics-modules/motor/commit/8b5d5f92bd1e91fe750401f921bea71cb0d815db) and calc-3-7-1.

The problem doesn't occur when I use base-3.15.5. When I switch to base-7.0.1.1, I see the following behavior:

* The DMOV of the "difference" soft motor is immediately reset to 1 when that soft motor is moved * The DMOV of the "difference" soft motor is fixed at 1 when a real motor is moved * The VAL of the "difference" motor fails to synchronize with the RBV when a real motor is moved

The readback of the "difference" soft motor seems to always be correct. The "average" soft motor behaves correctly.

I see the same behavior with MAXv, OMS and simulated motors. I've loaded one instance of the pseudoMotor support for each pair of motors on each of those controllers and I don't have any "difference" soft motors that behave correctly. I also haven't yet found a case where the RBV field of a soft motor fails to update.

I'll hopefully have more time to debug this next week.

Kevin


On 09/06/2018 06:23 PM, Mark Rivers wrote:
- I reverted the entire IOC application to the version I was running in the last run (3.15.5, master branch of synApps from January 2018) and all of the soft motors work fine.  This seems to prove it is some software change in base 7.0.1 vs 3.15.5, or a change in synApps since January.  But it is NOT the motor record itself.


References:
Problems with soft motors Mark Rivers

Navigate by Date:
Prev: Re: Problems with soft motors Andrew Johnson
Next: RE: Problems with soft motors Mark Rivers
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  <20182019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Problems with soft motors Mooney, Tim M.
Next: Keithley 2001 Digital multimeter IOC [email protected]
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  <20182019  2020  2021  2022  2023  2024 
ANJ, 07 Sep 2018 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·