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: "[email protected]" <[email protected]>, "[email protected]" <[email protected]>, "[email protected]" <[email protected]>
Date: Thu, 30 May 2013 12:02:10 +0000
The PI GCS2 drivers are available in the Synapps motor module on the Subversion site:

https://subversion.xor.aps.anl.gov/synApps/motor/trunk/motorApp/PIGCS2Src/

Mark


________________________________
From: [email protected] [[email protected]] on behalf of [email protected] [[email protected]]
Sent: Thursday, May 30, 2013 4:36 AM
To: [email protected]; [email protected]
Subject: RE: PI C863's direction status can't change in time as leaving the limit switch

Hi Mi Qingru,

As Mark said yesterday, I think this would be solved by a move to a new model motor driver which will not wait forever since the status will be updated by the next motor poll.

According to PI website, the PI-C863 supports the PI General Command Set (GCS). PI themselves have written an “Model 3” asyn port based EPICS motor driver for GCS motor controllers called PI_GCS2 (don’t get confused by the PI motor support in the motor module – these say they are asyn drivers, but this just means they you asyn for RS-232 communication, they aren’t asyn motor drivers). I think the PI written driver supports the PI-C863, so I think the driver you need exists.

I can’t find the driver on the EPICS hardware support downloads page, but I found this tech talk reference from Steffen Rau (the PI developer): http://www.aps.anl.gov/epics/tech-talk/2012/msg02398.php which says they are available on sourceforge at: http://sourceforge.net/projects/piasyn/.  If that fails, I have a snapshot from the middle of last year that I can pass on.

I would suggest that you download and try this driver before trying anything else....

Cheers,

Nick Rees
Principal Software Engineer           Phone: +44 (0)1235-778430
Diamond Light Source                  Fax:   +44 (0)1235-446713

From: [email protected] [mailto:[email protected]] On Behalf Of Mi Qingru
Sent: 30 May 2013 09:14
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




--

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




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

Navigate by Date:
Prev: RE: PI C863's direction status can't change in time as leaving the limit switch Mark Rivers
Next: Re: Gauge controller with R232 serial port Eric Norum
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 nick.rees
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 
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 ·