Experimental Physics and Industrial Control System
At the Royal Observatory Edinburgh we have a problem in driving
several motors at once via the EPICS "steppermotor" record and the OMS
8-axis stepper motor drive card. We are being advised by our colleagues
at the Royal Greenwich Observatory to dump the record in favour of the
"motor" record which is in use at APS. Have others experienced similar
problems?
The motors we are driving control (currently) four mechanisms within the
Michelle imager/spectrometer being built here for use on UKIRT and
Gemini. The datuming of the mechanisms involves "stop on microswitch"
operations (steppermotor STHM to 2 or 3) and also "binary search" motions
in which a mechanism edges towards its datum microswitch whose state is
sensed after every move. Control of the sequencing involved in these
searches is through SNL code triggered by EPICS records, specifically
Gemini CAD records.
We find that mechanisms datum reliably individually or in pairs, but
that attempts to datum four mechanisms at the same time invariably fail
unless successive move demands are issued from the SNL at a very slow
rate (< 2Hz). Three motors at once usually works, but sometimes doesn't.
When a mechanism fails (not always the same mechanism or the same state)
it appears that either the expected move does not start, or else the current
motion does not complete.
After exhaustively walking through the SNL code, and peppering it with
diagnostics, we are reasonably confident that this is not a case of the
variables within one state set trampling over those of another.
Len
==============================================================================
Len Lawrence Tel. : +44 (0)131 668 8255 (direct)
Royal Observatory +44 (0)131 668 8100 (switchboard)
Blackford Hill [email protected]
Edinburgh EH9 3HJ aka [email protected]
UK WWW : http://www.roe.ac.uk/lclwww/
- Navigate by Date:
- Prev:
EPICS_CA_ADDR_LIST 80 character limit Jeff Hill
- Next:
R3.13.0.beta release for HP-UX Johnny Tang
- Index:
1994
1995
1996
<1997>
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
EPICS_CA_ADDR_LIST 80 character limit Jeff Hill
- Next:
Re: steppermotor record problems Hubert Yamada
- Index:
1994
1995
1996
<1997>
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024