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

Subject: Re: motor record: soft motor & DMOV
From: "Konrad, Martin" <[email protected]>
To: "[email protected]" <[email protected]>
Date: Thu, 29 Aug 2013 17:57:42 +0000
Hi Tim,
> Can you make that PV cycle again to 0 and then back to 1, and see if
> the 0-1 transition is noticed by soft device support?  One
> possibility is that the transition that should have sent DMOV to 1
> occurred too quickly, so that soft device support never noticed the
> PV being in the 0 state.
You're right: If I do a

caput test:doneMoving_ 0; caput test:doneMoving_ 1

the soft motors go back to DMOV=1. So it probably doesn't get the short 0.

I ran some tests and can confirm that the soft motors get stuck with 
DMOV=0 if there is no need for the hard motors to move the motors (at 
least with a much higher probability). I tried setting DLY to 10 hoping 
that this would increase the pulse length to 10 seconds but it didn't 
help: The soft motors still got stuck :-(

> This is particularly likely to happen on Linux, which has a
> relatively sluggish task switch compared to vxWorks.  (Soft device
> support just puts a CA monitor on the PV to which DINP links.)
I'm not aware of the details of the CA implementation but I thought the 
idea of a subscription is that you don't miss any changes while you're 
subscribed... So is this a Channel Access limitation or can this happen 
inside the motor record? Is there some other way to get DMOV into DINP? 
I'm pretty much following the example from the Motor Record 
documentation here.

Thanks for your help,

Martin




References:
motor record: soft motor & DMOV Konrad, Martin

Navigate by Date:
Prev: Re: Build problem of EPICS R3.14.12.3 for ARM processor in Linux Konrad, Martin
Next: Benchmarking the performance of an embedded IOC Emmanuel Mayssat
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  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: motor record: soft motor & DMOV Konrad, Martin
Next: Re: motor record: soft motor & DMOV Konrad, Martin
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  2020  2021  2022  2023  2024 
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 ·