Experimental Physics and
| |||||||||||||||
|
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 Attachment:
epu_realmotors.db Attachment:
gap_softmotor.db Attachment:
gap_realmotors.db
| ||||||||||||||
ANJ, 02 Sep 2010 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing · |