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  <20082009  2010  2011  2012  2013  2014  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  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Motor record direction sense inverted after IOC reboot & autosave
From: Ian Gillingham <[email protected]>
To: [email protected]
Date: Wed, 10 Sep 2008 13:24:35 +0100
Using the EPICS motor record (for OMS MaxV) under R3.14.8.2, I am
experiencing some odd behaviour on IOC reboot and autosave.

I have some systems driving XY stages. The X axis behaves perfectly on
reboot (and restore), but the Y axis does not.
The observation is that, on IOC reboot, all Y axis motor record fields
'appear' to have restored correctly, but on driving the axis (in either
direction) the direction sense is inverted. The Y axis differs from the
X axis, in that the direction is inverted (due to gearing), so the motor
record is initialised with positive MRES, positive DIR, but negative ERES.

On setting UEIP to 'No', 'home' the axis, then set UEIP to 'Yes', the
direction sense is corrected an the axis behaves as expected.


My autosave files refer to the following motor record fields:
0.req:
DVAL OFF

1.req:
DIR DHLM DLLM TWV SREV MRES ERES RRES VBAS VELO ACCL BDST BVEL BACC RDBD
EGU RTRY UEIP URIP DLY PREC DISA DISP FOFF OFF FRAC OMSL JVEL JAR


The startup script makes the following calls before iocInit():
set_pass0_restoreFile("0.sav")
set_pass0_restoreFile("1.sav")
set_pass1_restoreFile("1.sav")

Motor parameters:
MRES: 0.00005
UREV: 0.01
ERES: -0.00002
DIR:  'Pos'

I have tried issuing the DBI command (to invert the output direction at
the MaxV card), whilst setting DIR to 'Neg', but this swaps the
associated limit switches! So, not a solution.

Is anyone aware of known issues in this area? I seem to recall something
about negative ERES values being mentioned in the past, but unable to
find any references.

Ian Gillingham
Diamond Light Source


<DIV><FONT size="1" color="gray">This e-mail and any attachments may contain confidential, copyright and or privileged material, and are for the use of the intended addressee only. If you are not the intended addressee or an authorised recipient of the addressee please notify us of receipt by returning the e-mail and do not use, copy, retain, distribute or disclose the information in or attached to the e-mail.
Any opinions expressed within this e-mail are those of the individual and not necessarily of Diamond Light Source Ltd. 
Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments are free from viruses and we cannot accept liability for any damage which you may sustain as a result of software viruses which may be transmitted in or with the message.
Diamond Light Source Limited (company no. 4375679). Registered in England and Wales with its registered office at Diamond House, Harwell Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom
</FONT></DIV> 

Replies:
Re: Motor record direction sense inverted after IOC reboot & autosave Ron Sluiter

Navigate by Date:
Prev: RE:- Epics Developer Chris Joseph
Next: Re: Motor record direction sense inverted after IOC reboot & autosave Ron Sluiter
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE:- Epics Developer Chris Joseph
Next: Re: Motor record direction sense inverted after IOC reboot & autosave Ron Sluiter
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·