Experimental Physics and Industrial Control System
|
You may be able to just load another record that periodically writes to the STUP field? What are your requirements?
What driver are you using?
If you want to switch to Model 3 then yes you need to rewrite the driver. Model 3 is quite a simple model. You just need to implement some C++ methods like asynMotorAxis::
move(), asynMotorAxis::stop(), asynMotorAxis::poll(), etc.
Mark
From: Henrique Almeida [mailto:[email protected]]
Sent: Thursday, February 18, 2016 1:05 PM
To: Mark Rivers
Cc: [email protected] Talk
Subject: Re: Motor record with encoders
I believe the motor driver is using model 1 (motor*Com.cc) API. Is it necessary to rewrite the driver to support model 3 ?
2016-02-18 16:59 GMT-02:00 Mark Rivers <[email protected]>:
Yes the motor record can update REP when all motors are stopped. If you are using a “Model 2” or “Model 3” driver
that does callbacks when the motor is idle then the record will automatically process and update. If you are using a “Model 1” driver then you need to write to the STUP field to force the record to read the status.
Mark
From:
[email protected] [mailto:[email protected]]
On Behalf Of Henrique Almeida
Sent: Thursday, February 18, 2016 12:50 PM
To: [email protected] Talk
Subject: Motor record with encoders
Hello, is the motor record currently able to update the encoder position ("REP" PV) while all motors are stopped ?
|
- Replies:
- Re: Motor record with encoders Henrique Almeida
- References:
- Motor record with encoders Henrique Almeida
- RE: Motor record with encoders Mark Rivers
- Re: Motor record with encoders Henrique Almeida
- Navigate by Date:
- Prev:
Re: Motor record with encoders Henrique Almeida
- Next:
Re: Motor record with encoders Henrique Almeida
- 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: Motor record with encoders Henrique Almeida
- Next:
Re: Motor record with encoders Henrique Almeida
- 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
|
ANJ, 15 Jul 2016 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
·
Search
·
EPICS V4
·
IRMIS
·
Talk
·
Bugs
·
Documents
·
Links
·
Licensing
·
|