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 <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 2020 2021 2022 <2023> 2024 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: second relative motion stuck in a do loop |
From: | "Tran, Phi Dung via Tech-talk" <tech-talk at aps.anl.gov> |
To: | Kevin Peterson <kmpeters at anl.gov>, "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov> |
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:ptran1 at xf19id2-ws3.nsls2.bnl.local: dbProcess of 'XF:19IDC-ES-G0{Ymove}Mtr'
ca:ptran1 at xf19id2-ws3.nsls2.bnl.local: 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:ptran1 at xf19id2-ws3.nsls2.bnl.local: 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:ptran1 at xf19id2-ws3.nsls2.bnl.local: 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:ptran1 at xf19id2-ws3.nsls2.bnl.local: dbProcess of 'XF:19IDC-ES-G0{Ymove}Mtr'
ca:ptran1 at xf19id2-ws3.nsls2.bnl.local: 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'
Phi
From: Kevin Peterson <kmpeters at anl.gov>
Sent: Thursday, November 9, 2023 11:04 AM To: Tran, Phi Dung <ptran1 at bnl.gov>; tech-talk at aps.anl.gov <tech-talk at aps.anl.gov> 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 > |