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 <2025> | 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 <2025> |
<== Date ==> | <== Thread ==> |
---|
Subject: | RE: [Ext]RE: Help with BiSS encoders and Galil controller |
From: | "Pearson, Matthew via Tech-talk" <tech-talk at aps.anl.gov> |
To: | Mark Rivers <rivers at cars.uchicago.edu>, Jesse Hopkins <jhopkins1 at iit.edu>, EPICS Tech-Talk <tech-talk at aps.anl.gov> |
Date: | Wed, 14 May 2025 14:01:18 +0000 |
Hi, You may be able to use a negative ERES value to get the behavior you need, and also disable the driver encoder stall detection (by setting the stall time to a large value). The motor and encoder will be moving
in opposite directions at the controller and driver level, but in the motor record they’ll look consistent. Although I’ve never tried this with absolute encoders, and as Mark and Mark mentioned it’s best to have them consistent at the controller level. Also, when I was testing BiSS status readback a few years ago, I think I noticed a problem with it not working correctly for some axes (B-H maybe). I never got chance to look at it in detail though, and now
I don’t often work with Galil controllers. You can test the status readback by sliding a sheet of paper between the optical readhead and the encoder scale. Cheers, Matt From: Tech-talk <tech-talk-bounces at aps.anl.gov>
On Behalf Of Mark Rivers via Tech-talk Hi Jesse, Did you have these slits working previously with an OMS? I have verified that using LA Stepper from the Galil to the Step-Pak results
in the same rotation direction and limit sense as the OMS, so we did not need to change any wiring? Hi Jesse, Did you have these slits working previously with an OMS? I have verified that using LA Stepper from the Galil to the Step-Pak results in the same rotation direction and limit sense
as the OMS, so we did not need to change any wiring? What driver are you using? If switching the limits is difficult then perhaps it would be easier to reverse a motor winding in the cable. Then HA Stepper will move in the direction
that works with the limits. Mark From: Jesse Hopkins <jhopkins1 at iit.edu>
Hi Mark, Thanks for asking the obvious question, I probably should have tested that already. Yes, If I flip the motor type to HA Stepper it seems to work fine, requested motor
motion and encoder readback align in terms of direction, and the motor stops running away. So it definitely seems to be related to the Rev HA Stepper setting.
Unfortunately, given the system (slits in UHV) I’m kind of stuck with the Rev HA Stepper setting as I need the stepper motor motion to align with the limits, and rewiring
the limits would be non-trivial. All the best. ---- Sector 18, Advanced Photon Source Research Associate Professor, Illinois Tech |