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  <20202021  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  <20202021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Implementing closed loop on EPICS level
From: "Peterson, Kevin M. via Tech-talk" <tech-talk at aps.anl.gov>
To: Guilherme Jovanini Montagner <guilherme at setup.com.br>
Cc: tech-talk <tech-talk at aps.anl.gov>
Date: Fri, 2 Oct 2020 21:45:49 +0000
Guilherme,

It isn't possible to implement the closed loop control the way you 
describe with just the motor record, but you can do it if you add other 
EPICS records.

The epid record, which is in the std module, could be used for this purpose:

   https://cars.uchicago.edu/software/epics/epidRecord.html

The fb_epid support in the optics module could also be used for this 
purpose:

   https://epics.anl.gov/bcda/synApps/optics/fb_epid/index.html

The motor being controlled in this way should have RTRY=0 and BDST=0, 
since the both would interfere with the records closing the loop.

Kevin

On 9/30/20 1:14 PM, Guilherme Jovanini Montagner wrote:
> Hi Kevin and all.
> Is it possible to implement this closed loop in such a way that, whenever the motor is taken out of its initial position, EPICS commands it to move back to the original position? This is not happening in the current setup.
> Also, when I try to move, the RCNT increases up to ~50, and it takes a long time for the motor to reach the position RDBD deadband. Does arithmetic mode help here?
> Thanks again.
> 
> Guilherme Jovanini Montagner
> +55 19 99806.9117
> +55 19 2517.8911
> guilherme at setup.com.br
> 	
> Labview Certified Developer
> 

References:
Implementing closed loop on EPICS level Guilherme Jovanini Montagner via Tech-talk
Re: Implementing closed loop on EPICS level Peterson, Kevin M. via Tech-talk
Re: Implementing closed loop on EPICS level Guilherme Jovanini Montagner via Tech-talk
Re: Implementing closed loop on EPICS level Peterson, Kevin M. via Tech-talk
Re: Implementing closed loop on EPICS level Guilherme Jovanini Montagner via Tech-talk
Re: Implementing closed loop on EPICS level Guilherme Jovanini Montagner via Tech-talk

Navigate by Date:
Prev: Re: Implementing closed loop on EPICS level Peterson, Kevin M. via Tech-talk
Next: New releases of ADGenICam, ADAravis, ADSpinnaker, and ADVimba Mark Rivers 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  <20202021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Implementing closed loop on EPICS level Guilherme Jovanini Montagner via Tech-talk
Next: Re: Implementing closed loop on EPICS level Peterson, Kevin M. 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  <20202021  2022  2023  2024 
ANJ, 02 Oct 2020 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·