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  2022  <20232024  2025  2026  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  2022  <20232024  2025  2026 
<== Date ==> <== Thread ==>

Subject: Re: second relative motion stuck in a do loop
From: "Tran, Phi Dung via Tech-talk" <[email protected]>
To: Kevin Peterson <[email protected]>, "[email protected]" <[email protected]>
Date: Thu, 9 Nov 2023 18:58:55 +0000
Hi Kevin,

Here is the result.
If I caput my virtual motor $(P) by 1 then $(P)-F will fanout to my three real motors.  The three motors move by 1 and their X.Mtr.VAL is at 1.  If I repeat caput by 1 many times to my virtual motor, the three real motor VAL remains at 1.

However when I caput 2 to my virtual motor, the three motors moved to 20.1 mm.

Here is the output, 

[ptran1@xf19id2-ws3 ~]$ caput XF:19IDC-ES-G0{Ymove}Mtr.TPRO 1 

Old : XF:19IDC-ES-G0{Ymove}Mtr.TPRO  0 

New : XF:19IDC-ES-G0{Ymove}Mtr.TPRO  1 

[ptran1@xf19id2-ws3 ~]$ caput XF:19IDC-ES-G0{Ymove}Mtr-F.TPRO 1 

Old : XF:19IDC-ES-G0{Ymove}Mtr-F.TPRO 0 

New : XF:19IDC-ES-G0{Ymove}Mtr-F.TPRO 1 

 

Input 1, caput XF:19IDC-ES-G0{Ymove}Mtr 1, all three real motors moved to 1 

ca:[email protected]: dbProcess of 'XF:19IDC-ES-G0{Ymove}Mtr' 

ca:[email protected]: dbProcess of 'XF:19IDC-ES-G0{Ymove}Mtr-F' 

CAC-event: dbProcess of 'XF:19IDC-ES-G0{Ymove}Mtr' 

…. Multiple repeat of CAC-event: dbProcess of 'XF:19IDC-ES-G0{Ymove}Mtr' 

…. 

scanOnce: dbProcess of 'XF:19IDC-ES-G0{Ymove}Mtr-DMOV' 

CAC-event: dbProcess of 'XF:19IDC-ES-G0{Ymove}Mtr' 

scanOnce: dbProcess of 'XF:19IDC-ES-G0{Ymove}Mtr-DMOV' 

CAC-event: dbProcess of 'XF:19IDC-ES-G0{Ymove}Mtr' 

scanOnce: dbProcess of 'XF:19IDC-ES-G0{Ymove}Mtr-DMOV' 

CAC-event: dbProcess of 'XF:19IDC-ES-G0{Ymove}Mtr' 

CAC-event: dbProcess of 'XF:19IDC-ES-G0{Ymove}Mtr' 

 

Input2, caput XF:19IDC-ES-G0{Ymove}Mtr 1, all 3 real motors previously at 1, they remained at 1 and all 

Subsequent input of 1 will not move the 3 real motors and only dbProcess is shown. 

ca:[email protected]: dbProcess of 'XF:19IDC-ES-G0{Ymove}Mtr' 

 

Input3, caput XF:19IDC-ES-G0{Ymove}Mtr 1, all 3  real motors previously at 1, they remained at 1 and all 

Subsequent input of 1 will not move the 3 real motors and only dbProcess is shown. 

ca:[email protected]: dbProcess of 'XF:19IDC-ES-G0{Ymove}Mtr' 

 

Input4, caput XF:19IDC-ES-G0{Ymove}Mtr 2, all 3 real motors previously at 1, they moved to 20.1 

ca:[email protected]: dbProcess of 'XF:19IDC-ES-G0{Ymove}Mtr' 

ca:[email protected]: dbProcess of 'XF:19IDC-ES-G0{Ymove}Mtr-F' 

scanOnce: dbProcess of 'XF:19IDC-ES-G0{Ymove}Mtr-DMOV' 

scanOnce: dbProcess of 'XF:19IDC-ES-G0{Ymove}Mtr-DMOV' 

scanOnce: dbProcess of 'XF:19IDC-ES-G0{Ymove}Mtr-DMOV' 

CAC-event: dbProcess of 'XF:19IDC-ES-G0{Ymove}Mtr' 

…. 

CAC-event: dbProcess of 'XF:19IDC-ES-G0{Ymove}Mtr' 

scanOnce: dbProcess of 'XF:19IDC-ES-G0{Ymove}Mtr-DMOV' 

CAC-event: dbProcess of 'XF:19IDC-ES-G0{Ymove}Mtr' 

scanOnce: dbProcess of 'XF:19IDC-ES-G0{Ymove}Mtr-DMOV' 

CAC-event: dbProcess of 'XF:19IDC-ES-G0{Ymove}Mtr' 

scanOnce: dbProcess of 'XF:19IDC-ES-G0{Ymove}Mtr-DMOV' 

CAC-event: dbProcess of 'XF:19IDC-ES-G0{Ymove}Mtr' 

 

Thanks,
Phi

From: Kevin Peterson <[email protected]>
Sent: Thursday, November 9, 2023 11:04 AM
To: Tran, Phi Dung <[email protected]>; [email protected] <[email protected]>
Subject: Re: second relative motion stuck in a do loop
 
Phi,

Are any of the motors (real or soft) doing retries?

How does the $(P)-DMOV record's behavior differ between the 1st relative
move, which succeeds, and the 2nd relative move, which misbehaves?

Kevin

On 11/7/23 22:23, Tran, Phi Dung via Tech-talk wrote:
> Hi,
>
> I am using RLV for relative motion with a soft channel. When I issue a
> caput command with a value of 2 to my soft channel, $(P), to move the
> other real motors, they move by 2 mm. However, when I repeat the caput
> command with the value 2 to my soft channel for the second time, the
> motors move by 7*2=14 mm instead of 2 mm. Please advise.
>
> Thank you,
> Phi
>

Replies:
Re: second relative motion stuck in a do loop Kevin Peterson via Tech-talk
References:
second relative motion stuck in a do loop Tran, Phi Dung via Tech-talk
Re: second relative motion stuck in a do loop Kevin Peterson via Tech-talk

Navigate by Date:
Prev: Re: caget -d DBR_...INT doesn't work Ralph Lange via Tech-talk
Next: Re: second relative motion stuck in a do loop 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  2022  <20232024  2025  2026 
Navigate by Thread:
Prev: Re: second relative motion stuck in a do loop Kevin Peterson via Tech-talk
Next: Re: second relative motion stuck in a do loop 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  2022  <20232024  2025  2026 
ANJ, 19 Mar 2026 · Home · News · About · Talk · Base · Modules · Extensions ·
· Distributions · Download · Documents · Links · Licensing ·