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  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: Help with BiSS encoders and Galil controller
From: Mark via Tech-talk <tech-talk at aps.anl.gov>
To: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Wed, 14 May 2025 14:51:14 +1000
Hi Jesse,
Reading the description of the issue, I'd also guess that the encoder and motor direction don't agree. Also, I understand the definition of forward/reverse is being driven by the limits installation in this case.

Serial encoder scales include absolute position information and as such encode the direction too.  The Galil EPICS driver support for BISS doesn't support inverting/reversing the encoder scale. Inverting the scale is supported only for SSI encoders configured to use the binary data form and the motor must be open loop, since the invert happens at the driver layer.

It appears there could be two ways to move forward
1.  Physically reverse the encoder scale installation
2.  Alter the driver so that for open loop motors, the scale direction can be effectively inverted in software

The BISS medm screen indicators timeout, crc, warn and error are actually red when not active.  The colors are not a good choice, I'm sorry. I'll review the Qt/MEDM screen colors in the future.  It appears no errors are occuring during the BISS-C read, from the information provided.

Given options 1, 2 above, option 1 is normally preferred because it works with closed loop motors and requires fewer calculations in the driver.

I'll reach out to you by email, in case option 2 above is required.
Kind regards,
Mark Clift

--
This email has been checked for viruses by AVG antivirus software.
https://urldefense.us/v3/__http://www.avg.com__;!!G_uCfscf7eWS!aB3sUgFo4P56CKOhx6rWsjTUj7bmTt1Vyaj246yQXDehLwKo67XDUdqEsXFOnndxT1wgiaSsg3SS92uFhXY$
Navigate by Date:
Prev: RE: [Ext]RE: Help with BiSS encoders and Galil controller Mark Rivers via Tech-talk
Next: Area Detector manta camera communication issue Matt Shaw - STFC UKRI via Tech-talk
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
Navigate by Thread:
Prev: Re: [Ext]RE: Help with BiSS encoders and Galil controller Jesse Hopkins via Tech-talk
Next: RE: Help with BiSS encoders and Galil controller Mark via Tech-talk
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
ANJ, 14 May 2025 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions ·
· Download · Search · IRMIS · Talk · Documents · Links · Licensing ·