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

Subject: RE: MM4000 asynMotor problem
From: "Pearson, MR (Matthew)" <[email protected]>
To: "Wang Xiaoqiang" <[email protected]>, "epics" <[email protected]>
Date: Fri, 13 Mar 2009 13:46:29 -0000
Hi, 

> I use MM4000 asynMotor driver to control Newport MM4006 controllers. 
> The movements are done correctly. 
> 
> But for certain axis/axes, the DMOV field does not reset to 1 after
> position is reached. 

Was the final position reached? Or did the motor stop just outside the
deadband RDBD?

> I poll the controller status using "MS" command, which 
> reports the axis
> is not moving. 
> Also the MOVN field is going through 0->1->0 sequence correctly.
> 
> Other fields when this happens:
> MSTA - 0x80a
> MIP  - 0x420
> >From the MIP field, it is waiting for a Delay callback, which never
> comes?

The MSTA field seems to indicate that the motor is still moving. And yet
MOVN has been set back to zero... It looks like the motor record and the
driver have got out of sync somehow.

> 
> To reset DMOV field, I can write 1 to PROC field or any field any can
> process
> the record but without moving the motor, e.g. SPMG field.
> 

Are you able to do another move after you 'prod' the record?

Does this happen every time on the same axes, or intermittently?

To help diagnose this it might be worth turning on Asyn tracing for that
axis, like:

asynSetTraceIOMask("PORTNAME",{card_no},255)
asynSetTraceMask("PORTNAME",{card_no},255) 

> I am using motor 6-2-2 release for asynMotor device support, 
> but the MM4000 driver is updated to 6-4-2.

Might be worth updating to asynMotor from 6-4-2 as well.

Cheers,
Matthew

> 
> Many thanks.
> --
> Dr. Xiaoqiang Wang
> Paul Scherrer Institut, WBGB/010
> 5232 Villigen PSI, Switzerland
> 
> 
<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> 
-- 
Scanned by iCritical.


Replies:
RE: MM4000 asynMotor problem Wang Xiaoqiang
References:
MM4000 asynMotor problem Wang Xiaoqiang

Navigate by Date:
Prev: MM4000 asynMotor problem Wang Xiaoqiang
Next: RE: MM4000 asynMotor problem Wang Xiaoqiang
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: MM4000 asynMotor problem Wang Xiaoqiang
Next: RE: MM4000 asynMotor problem Wang Xiaoqiang
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 31 Jan 2014 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·