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: | motor driver only works with asyn traces turned on |
From: | "Sintschuk, Michael via Tech-talk" <tech-talk at aps.anl.gov> |
To: | "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov> |
Date: | Thu, 14 Jul 2022 14:55:46 +0000 |
Hi EPICS-community, I’m trying to write a model 3 motor driver for ps 10 controller from OWIS. So far I made some good progress and I can move/stop the connected rotation stage (stepper motor, no encoder), also setting the velocity and running
a homing sequence is possible. BUT, it only works when asyn traces are turned on at IOC startup: asynSetTraceIOMask("serial1",0,0x1) asynSetTraceMask("serial1",0,0x3) If I comment them out, the move command doesn’t work after IOC start. The Retry counts count until 11 and that’s it. The only thing that works is the homing sequence. Did someone experienced such a behavior before? Do I have some obvious mistake somewhere in the driver-code? I uploaded the code to git:
https://github.com/MichaS-git/motorOwis Regards Michael |