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  <20132014  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  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: Status update during no motor in motion
From: Mark Rivers <[email protected]>
To: Mi Qingru <[email protected]>, tech-talk epics <[email protected]>
Date: Wed, 29 May 2013 12:39:41 +0000
Hi Mi Qingru,

The motor record has a field called .STUP, If you write a 1 to that field it will update the motor status.  This works with any motor driver.  So you could configure a bo record with SCAN=1 second that writes to the .STUP field for example.

For the older "Model 1" motor drivers, which have separate device and driver files for each controller type, this is the only way to do it.

For the newer "Model 2" and "Model 3" drivers you can also configure the driver to periodically do callbacks to the motor record.  There are two configurable callback rates: a fast one when any axis on the controller is moving, and a slow one when all axes are idle.  For these drivers you do not need to write to the .STUP field.

The MAXv has both an old Model 1 driver and a new Model 3 driver.  You can chose which you want to use.  I think the PI C863 only has a Model 1 driver, but I'm not sure.

Mark
________________________________________
From: Mi Qingru [[email protected]]
Sent: Wednesday, May 29, 2013 1:27 AM
To: Mark Rivers; tech-talk epics
Subject: Re: Status update during no motor in motion

MAXv and PI C863 all need this function. Now we apply motor R6-7.

Mi Qingru


-----原始邮件-----
From: Mark Rivers
Sent: Wednesday, May 29, 2013 11:22 AM
To: Mi Qingru ; tech-talk epics
Subject: RE: Status update during no motor in motion

You need to tell us what motor driver you are using.  OMS58, MAXv, Newport
XPS, etc.  And what version of the motor module?

Mark

________________________________
From: [email protected] [[email protected]] on
behalf of Mi Qingru [[email protected]]
Sent: Tuesday, May 28, 2013 10:18 PM
To: tech-talk epics
Subject: Status update during no motor in motion

Hi all,
    I need to update motor status and position periodically as it has no
motion. If can I only change the wait_time from 1000s to other period such
as 5s in motor_task ?

Mi Qingru
SSRF



Replies:
Re: Status update during no motor in motion Mi Qingru
References:
Status update during no motor in motion Mi Qingru
RE: Status update during no motor in motion Mark Rivers
Re: Status update during no motor in motion Mi Qingru

Navigate by Date:
Prev: Re: Status update during no motor in motion Mi Qingru
Next: Re: Motor record .RDBD field Ron Sluiter
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Status update during no motor in motion Mi Qingru
Next: Re: Status update during no motor in motion Mi Qingru
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 20 Apr 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·