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

Subject: RE: PI C863's direction status can't change in time as leaving the limit switch
From: Mark Rivers <[email protected]>
To: Mi Qingru <[email protected]>, tech-talk epics <[email protected]>
Date: Thu, 30 May 2013 11:48:02 +0000
The problem of the motor moving away from a limit switch and then quickly stopping again is often caused by noise on the limit switch lines.  When one limit switch is open (the one you originally hit) it can make the second limit switch even more susceptible to noise.  When you move away from the first limit switch noise on the second limit line causes the motor to stop again.

We often fix this by putting large capacitors on the limit switch lines to increase their time constant and reduce the susceptibility to noise spikes.  You can put the limit switch signals on a scope, and look to see if there are noise spikes.

This problem can be difficult to track down, because a noise spike only a few microseconds long is enough to cause the motor to stop, but when you then look at the limit status it is OK because the spike is gone.

Mark

________________________________
From: [email protected] [[email protected]] on behalf of Mi Qingru [[email protected]]
Sent: Thursday, May 30, 2013 3:14 AM
To: tech-talk epics
Subject: PI C863's direction status can't change in time as leaving the limit switch

Hi all,

    After the motor drived by PI C863 hit the limit switch and stopped, it would be commanded to leave the limit switch and should move in reverse direction. But the motor record often stopped immedietely as the moving started, and the motor actually did move on the command. The motor record seemed to restart after the “STOP/GO” button is pressed. Sometimes the button didn’t work too.

    The debug information showed that the direction status and the limit switch status in C863 couldn’t change when the motor record queried C863 first time. So the motor record thought no motor in moving , then wait forever. Even if we reduced the scan rate, the problem still occurred. The engineer from PI told us the time in which the direction status changed was not sure, and it depended on the difference between the current position and the origin position from the encoder.

    Is there any ways to resolve the problem?


Mi Qingru
SSRF


References:
PI C863's direction status can't change in time as leaving the limit switch Mi Qingru

Navigate by Date:
Prev: RE: Gauge controller with R232 serial port Mark Rivers
Next: RE: PI C863's direction status can't change in time as leaving the limit switch Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: PI C863's direction status can't change in time as leaving the limit switch Mark Rivers
Next: IP521 Feng Laurence
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 20 Apr 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·