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  <20102011  2012  2013  2014  2015  2016  2017  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017 
<== Date ==> <== Thread ==>

Subject: RE: AutoSaveRestore of the motor position
From: "Mark Rivers" <rivers@cars.uchicago.edu>
To: "???" <zhangzhaohong@sinap.ac.cn>, <tech-talk@aps.anl.gov>
Date: Mon, 10 May 2010 07:58:06 -0500
I think the first thing you need to do is to figure out what is wrong with the MAXv.  There has been a recent discovery of problems with MAXv modules occasionally not being available when the system boots, but I believe that will hang the boot process, so should not lead to the problem you are seeing.  What do you mean by "crashes"?  Was it working at all during that boot of the IOC?
 
The problem with save/restore is harder to solve.  One way to do it is to note when the MAXv crashes, and just manually edit the auto_positions.sav file before rebooting again to put in the last known good values from a periodic backup or the last good boot.  But if the MAXv worked for a while before crashing during the current boot, that may not be possible.
 
Mark
 

________________________________

From: tech-talk-bounces@aps.anl.gov on behalf of ???
Sent: Sun 5/9/2010 11:12 PM
To: tech-talk@aps.anl.gov
Subject: AutoSaveRestore of the motor position



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: AutoSaveRestore of the motor position 张招红
Next: Re: AutoSaveRestore of the motor position Ron Sluiter
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017 
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  <20102011  2012  2013  2014  2015  2016  2017 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·