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: Guilherme Jovanini Montagner via Tech-talk <tech-talk at aps.anl.gov>
To: "Kevin M. Peterson" <kmpeters at anl.gov>
Cc: tech-talk <tech-talk at aps.anl.gov>
Date: Wed, 30 Sep 2020 15:14:09 -0300 (BRT)
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

----- Mensagem original -----
De: "guilherme" <guilherme at setup.com.br>
Para: "Kevin M. Peterson" <kmpeters at anl.gov>
Cc: "tech-talk" <tech-talk at aps.anl.gov>
Enviadas: Quarta-feira, 30 de setembro de 2020 13:13:54
Assunto: Re: Implementing closed loop on EPICS level

Hello Kevin!
Thanks a lot!! It worked!
Now I only have a problem that is the virtual encoder channel that I have setup on m11. Apparently EPICS is trying to control this motor, because I got following errors on the PMAC controller on axis 11, and also a DACLimit warning.
Is it possible to disable m11 actuation?
Also, is there a lower limit to my RDBD value? I wanted to get it as low as 600nm
Thanks!

Guilherme Jovanini Montagner 
+55 19 99806.9117 
+55 19 2517.8911 
guilherme at setup.com.br 
	
Labview Certified Developer

----- Mensagem original -----
De: "Kevin M. Peterson" <kmpeters at anl.gov>
Para: "guilherme" <guilherme at setup.com.br>
Cc: "tech-talk" <tech-talk at aps.anl.gov>
Enviadas: Terça-feira, 29 de setembro de 2020 11:36:19
Assunto: Re: Implementing closed loop on EPICS level

You might be able to make it work by doing the following:

1. Set m1's RDBL field to m11.REP
2. Set m1's RRES field to whatever is required to convert between 
m11.REP and m1's EGU.
3. Set m1's URIP = Yes and UEIP = No

Kevin

On 9/29/20 8:55 AM, Guilherme Jovanini Montagner wrote:
> Hi Kevin
> Thank you for your response.
> I tried with UEIP = 1, but then it seems to use the motor 1 encoder (which is just the phase value, or open loop value), and not the m11 encoder that I have setup.
> Then it disregards the m11 encoder reading
> 
> Guilherme Jovanini Montagner
> +55 19 99806.9117
> +55 19 2517.8911
> guilherme at setup.com.br
> 	
> Labview Certified Developer
>

Replies:
Re: Implementing closed loop on EPICS level Peterson, Kevin M. via Tech-talk
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

Navigate by Date:
Prev: Re: Implementing closed loop on EPICS level Guilherme Jovanini Montagner via Tech-talk
Next: Re: Multiple Archiver Appliances on same host, different NICs Phillip A. Sorensen 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 ·