The scenario you describe is the same as if you commanded the motor to
make a long move and lost IOC power during the move. At IOC boot-up,
autosave would restore the motor's position to the last commanded value,
not the actual position.
Ideally, you would have autosave record the actual position (DRBV) and
use it to restore both the actual and the commanded positions (DVAL) at
boot-up. Autosave is not currently capable of doing that and I question if
it needs to. Recording actual, as opposed to commanded positions,
would incur data acquisition like levels of overhead for something that
rarely happens.
Ron
张招红 wrote:
>
> Hi,everybody,
>
> In SSRF beamline control we use the autosave module to save the 'DVAL'
> field and restore the value of a motor position when rebooting.
>
> Recently we encountered a problem.
>
> Sometimes one of the controllers(MAXv-8000) in a VME crate crashes
> while the IOC(mvme5500) still runs. Because the motor channel is still
> connected, the system looks OK. In this case if changing the ‘DVAL’
> field to drive the motor, the controller doesn’t response and the
> ‘DRBV’ of the motor keeps unchanged. So the saved value 'DVAL' isn't
> no long the motor real position.
>
> When hard rebooting the VME crate, the 'DRBV' set by the recovered
> 'DVAL' doesn't match the motor real position.
>
> Are there some problems in our saving and restoring method? How to
> deal with this kind of problem?
>
> Any suggestion will be greatly appreciated!
>
> ===================================================
> Zhang Zhaohong(张招红)
> No.239 Zhangheng Road
> PuDong District
> Shanghai Institute of Applied Physics CAS
> Shanghai, China
> Tel: +86-21-33933238
>
- Replies:
- 答复: AutoSaveRestore of the motor position 张招红
- References:
- AutoSaveRestore of the motor position 张招红
- Navigate by Date:
- Prev:
RE: AutoSaveRestore of the motor position Mark Rivers
- Next:
Re: [Request of tech-support] Error in compiling EPICS 3.14.8.2 base with dbCommon.h 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
- Navigate by Thread:
- Prev:
答复: AutoSaveRestore of the motor position 张招红
- Next:
答复: AutoSaveRestore of the motor position 张招红
- 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
|