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  <20182019  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  <20182019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: problem using motor record and SNL
From: Hovanes Egiyan <[email protected]>
To: Mark Rivers <[email protected]>, "[email protected]" <[email protected]>
Cc: Vanik Kakoyan <[email protected]>
Date: Fri, 9 Mar 2018 13:42:21 -0500
Hi Mark,

we were using pvPut with SYNC as second argument, but we tried with ASYNC also.
Removing the second argument from pvPut call altogether fixed the problem .

Thanks,
    Hovanes.



On 03/09/2018 12:23 PM, Mark Rivers wrote:
The problem must be that your SNL code is effectively doing a ca_put_callback when it writes to the VAL field.  That will wait for the motor to complete the move.  Are you using the "SYNC" option on pvPut()?  If so you should remove it.

Mark


-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf
Of Hovanes Egiyan
Sent: Friday, March 09, 2018 10:36 AM
To: [email protected]
Cc: Vanik Kakoyan <[email protected]>
Subject: problem using motor record and SNL

Hi,

we are trying to move a motor and then stop it using EPICS sequencer
code and motor record.
The state code dials the desired location into the VAL field via pvPut()
and makes
the motor move. If the user requests the motion to be aborted during the
motion, the
state code attempts to stop the motor either using STOP field or SPMG
fields. And for some reason this does not work. Actual change of the
SPMG field to
"Stop" only happens when the motor motion is complete, and setting
STOP field to 1 from the state code does not have any effect.

But if either moving the motor is done using caput to the VAL field or
the stopping the motor is done via caput to the STOP or SPMG fields, it
works. What is
the reason for such a behavior? Is this expected? Any advice would be
appreciated.

We are using motorR6-8 and seq-2.1.12 for this with R3-14-12-3 on RHEL6.

Thanks,
      Hovanes Egiyan.


References:
problem using motor record and SNL Hovanes Egiyan
RE: problem using motor record and SNL Mark Rivers

Navigate by Date:
Prev: RE: Mako G-234B (6408) - Prosilica Area Detector question Mark Rivers
Next: StreamDevice with Telnet port Abdalla Ahmad
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  <20182019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: problem using motor record and SNL Mark Rivers
Next: StreamDevice with Telnet port Abdalla Ahmad
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  <20182019  2020  2021  2022  2023  2024 
ANJ, 11 Mar 2018 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·