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

Subject: problem using motor record and SNL
From: Hovanes Egiyan <hovanes.egiyan@gmail.com>
To: tech-talk@aps.anl.gov
Cc: Vanik Kakoyan <kakoyan@jlab.org>
Date: Fri, 9 Mar 2018 11:35:50 -0500
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.


Replies:
RE: problem using motor record and SNL Mark Rivers

Navigate by Date:
Prev: Mako G-234B (6408) - Prosilica Area Detector question Mark Engbretson
Next: RE: problem using motor record and SNL Mark Rivers
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 
Navigate by Thread:
Prev: RE: Mako G-234B (6408) - Prosilica Area Detector question tom.cobb
Next: RE: problem using motor record and SNL Mark Rivers
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 
ANJ, 12 Mar 2018 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·