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  <20222023  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  <20222023  2024 
<== Date ==> <== Thread ==>

Subject: RE: Motor record: motion relative to .RBV
From: "Pearson, Matthew via Tech-talk" <tech-talk at aps.anl.gov>
To: Torsten Bögershausen <Torsten.Bogershausen at ess.eu>, "Marco A. Barra Montevechi Filho" <marco.filho at lnls.br>, "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Mon, 31 Oct 2022 14:02:52 +0000

Hi,

 

Also, the offset field in combination with SYNC should provide a way to do your particular example, something like:

 

# Existing positions:

motor.RBV 0.5

motor.VAL 2.0

 

# set the offset:

caput -c motor.OFF 0.5

 

# New offset positions:

motor.RBV 1.0

motor.VAL 2.5

 

# Sync VAL to RBV

caput -c motor.SYNC 1

 

# Final positions

motor.RBV 1.0

motor.VAL 1.0

 

Cheers,

Matt

 

 

From: Tech-talk <tech-talk-bounces at aps.anl.gov> On Behalf Of Torsten Bögershausen via Tech-talk
Sent: Saturday, October 29, 2022 6:16 PM
To: Marco A. Barra Montevechi Filho <marco.filho at lnls.br>; tech-talk at aps.anl.gov
Subject: [EXTERNAL] Re: Motor record: motion relative to .RBV

 

Do you look for the .SYNC field ?

 

From: Tech-talk <tech-talk-bounces at aps.anl.gov> on behalf of "Marco A. Barra Montevechi Filho via Tech-talk" <tech-talk at aps.anl.gov>
Reply-To: "Marco A. Barra Montevechi Filho" <marco.filho at lnls.br>
Date: Friday, 28 October 2022 at 21:40
To: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Subject: Motor record: motion relative to .RBV

 

Hello all!

Im reading through the EPICS motor record to search for a field similar to .RLV. If i understand correctly, the .RLV will do something similar to summing the caputted value to .VAL instead of directly putting it into .VAL.

Is there a field that sums itself with .RBV instead and then puts this value into .VAL?
Example of expected behavior:

caget MOTOR.RBV
MOTOR.RBV         0.5
caget MOTOR.VAL
MOTOR.VAL         2  #Lets say that for some reason .VAL and .RBV are not in sync.

caput MOTOR.MISTERIOUS_FIELD 0.5

#wait for some time...

caget MOTOR.RBV
MOTOR.RBV            1
caget MOTOR.VAL
MOTOR.VAL             1

Sorry if the question is trivial but i couldnt find anything in the documentation. Thanks!

Marco

 

Aviso Legal: Esta mensagem e seus anexos podem conter informações confidenciais e/ou de uso restrito. Observe atentamente seu conteúdo e considere eventual consulta ao remetente antes de copiá-la, divulgá-la ou distribuí-la. Se você recebeu esta mensagem por engano, por favor avise o remetente e apague-a imediatamente.

Disclaimer: This email and its attachments may contain confidential and/or privileged information. Observe its content carefully and consider possible querying to the sender before copying, disclosing or distributing it. If you have received this email by mistake, please notify the sender and delete it immediately.


References:
Motor record: motion relative to .RBV Marco A. Barra Montevechi Filho via Tech-talk
Re: Motor record: motion relative to .RBV Torsten Bögershausen via Tech-talk

Navigate by Date:
Prev: phoebus display runtime chenhuiting--- via Tech-talk
Next: RE: phoebus display runtime Engbretson, Mark S. 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  <20222023  2024 
Navigate by Thread:
Prev: Re: Motor record: motion relative to .RBV Torsten Bögershausen via Tech-talk
Next: Re: Motor record: motion relative to .RBV Kevin Peterson 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  <20222023  2024 
ANJ, 01 Nov 2022 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·