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: Re: Motor home status
From: Kurt Goetze <[email protected]>
To: "Gillingham, IJ (Ian)" <[email protected]>
Cc: [email protected]
Date: Thu, 14 Aug 2008 11:10:50 -0500
Hi Ian, a couple of thoughts on this:

I think that knowing a stage has been homed sometime in the past
might be useful, if other information was saved as well like "time
since last home operation" or "number of steps since last home
operation"....  If you had that information, you could then automatically
raise a flag or alert to re-home the stage after some interval.  This
could easily be done outside the record too.

It would be dangerous to automatically override soft limits for a homing
operation, in my opinion. If soft limits had been set within the home position,
and a decision was made to home the positioner, then some human intervention
would be needed to decide whether the situation that the soft limits were set
to protect against is still valid. If a positioner is to be expected to
*always* be ready for a homing operation, then the soft limits should
be set and left outside of the home position. Also, if a positioner is homed accidentally, before any obstructions were
cleared out of the way, it would be good to know that the soft limits will do
their job.


Take care,
Kurt

Gillingham, IJ (Ian) wrote:
As most of my EPICS experience is with the OMS VME58 and MaxV
controllers, I am familiar with the concept of the 'Home' signal meaning
that the axis is 'At Home'. These controllers are level triggered. The
concept of a persistent 'Homed' state seems a bit arbitrary, as my
understanding (and please correct me if I'm off track) is it simply
states that at some time in the past, the controller detected the 'Home'
signal and reset the raw motor and encoder steps to zero. In the ideal
world and with the implementation of autosave/restore, the controller
would then never need to consider itself as 'not homed'. Are there any
events which would cause a state transition to 'not homed'?  Of course,
we do not have an ideal world and even autosave/restore sometimes
appears to get it wrong (albeit very rarely) - but even this would not
cause a transition to a 'not homed' state.
It maybe that my understanding is a bit simplistic, as the OMS and Delta
Tau controllers are quite different animals.

With regard to Nick's suggestion to disable soft limit checks whilst
homing, I agree completely. I know of several users have been caught out
on this one. I always manually widen the soft limits prior to homing and
it would be good to remove the need to do this.


Ian Gillingham


Senior Electronic Systems Engineer
Diamond Light Source


-----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Rees, NP (Nick) Sent: 14 August 2008 09:16 To: [email protected] Subject: RE: Motor home status


All,


I agree with Jim, which is why I coded the Delta Tau that way. The way I
see it, most home indicators are edge triggered, not level triggered and
so an "At home" signal makes no sense. However, an indicator that the
system has been homed - which is recovered even after the IOC is
rebooted, makes a lot of sense since it is basically telling you "you
can probably trust the position I'm reporting".

As usual, however, the reason why things are the way they are is
historical, and we need to respect that, and since there is still
clearly a need for an at home signal, I think it is best if Matt adds a
separate, optional, "Homed" flag that will gradually get implemented by
all the drivers.

On a separate note, for some time I have been thinking whether the motor
record should disable soft limit checks whilst homing. The argument
being that soft limits are meaningless when you don't know your absolute
position, and usually the reason you home is that you don't know your
absolute position. This has the added advantage that when you home
against a limit switch, you don't have the motor record interfering with
the home procedure. How do people handle this and what do other users
think of the suggestion?

Cheers,

Nick Rees
Principal Software Engineer Phone: +44 (0)1235-778430
Diamond Light Source Fax: +44 (0)1235-446713 <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>


<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 home status Benjamin Franksen
References:
RE: Motor home status Gillingham, IJ (Ian)

Navigate by Date:
Prev: Is there anyone using EPICS for a FDA approved device? GW Lamb
Next: Moxa UC-7408 EPICS support Steve Shoaf
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: Motor home status Gillingham, IJ (Ian)
Next: Re: Motor home status Benjamin Franksen
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 ·