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: Problem with soft motor record
From: "Rarback, Harvey" <[email protected]>
To: <[email protected]>
Date: Thu, 21 Feb 2008 16:53:57 -0800
	Motor record gurus,

I have encountered a number of problems with my use of the soft motor record.  I am using motor driver version 6.22 (with SLAC modifications for RTEMS) on EPICS base 3.14.8.2.  The hardware is an OMS MAXv-8000 motor controller along with Kramert 505F SSI encoder readout.

First the part that works pretty well:

  One soft motor "RowPhaseMotor" (see attached epu_softmotor.db) that moves four real EPU girder motors (see epu_realmotors.db).  We have no encoders for these temporary motors and so use motor pulses as our position readback.  The soft motor links RDBL, DINP, and STOO seem to behave as documented with the exception that "the value specified by DINP is used to set the DONE bit in the MSTA field; which in turn sets the DMOV field".  The DONE bit appears to always be set correctly, but the DMOV field sometimes remains at zero after the move.

Now the problematic part:

  One soft motor "GapMotor" (see gap_softmotor.db) that moves two real undulator jaws (see gap_realmotors.db).  There are absolute linear encoders on the two jaws and I have set a retry count of two for both motors because of mechanical imperfections and magnetic deflection forces that don't allow reproducible motions.  Each jaw motor/encoder combination seems to work ok.  When I try to control these jaws with the soft motor, weird non-reproducible things happen:

  - the DONE bit often stays true throughout the soft motor move
  - the DMOV field stays false during and after the move
  - the soft motor will process and move again after both real motor moves are finished
  - sometimes one of the two jaws will start moving without any command.

I've tried various ways to get the done condition to work, but without success.  I would appreciate any suggestions.

                                   --Harvey
----
Harvey Rarback                        phone:      (650)926-3963
Stanford Linear Accelerator Center    fax:        (650)926-4100
2575 Sand Hill Road                   home phone: (650)560-9111
Menlo Park, CA 94025
[email protected]             http://ssrl.slac.stanford.edu/~rarback

       "Always tell the truth, that way you don't have to keep track."
                                     Pogo

Attachment: epu_softmotor.db
Description: epu_softmotor.db

Attachment: epu_realmotors.db
Description: epu_realmotors.db

Attachment: gap_softmotor.db
Description: gap_softmotor.db

Attachment: gap_realmotors.db
Description: gap_realmotors.db


Replies:
Re: Problem with soft motor record Ron Sluiter
RE: Problem with soft motor record Shepherd, EL (Emma)

Navigate by Date:
Prev: EPICS using XDCMP Adams, Billy R. (LARC-D401B)[RAYTHEON TECHNICAL SERVICES CO]
Next: calc record LINK error Leicester, PJ (Pete)
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: EPICS using XDCMP Adams, Billy R. (LARC-D401B)[RAYTHEON TECHNICAL SERVICES CO]
Next: Re: Problem with soft motor record 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 ·