Hi Mark,
We did use the .STUP field on the MAXv with "Model 1" two years ago. I
will test the newer drivers you mentioned.
Thank you!
Mi Qingru
-----原始邮件-----
From: Mark Rivers
Sent: Wednesday, May 29, 2013 8:39 PM
To: Mi Qingru ; tech-talk epics
Subject: RE: Status update during no motor in motion
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
- 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
- RE: Status update during no motor in motion Mark Rivers
- Navigate by Date:
- Prev:
Re: Gauge controller with R232 serial port Vahe Sahakyan
- Next:
PI C863's direction status can't change in time as leaving the limit switch Mi Qingru
- 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
- Navigate by Thread:
- Prev:
RE: Status update during no motor in motion Mark Rivers
- Next:
autosave failure S_rpcLib_RPC_CANTSEND J. Lewis Muir
- 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
|