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  <20222023  2024  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  <20222023  2024 
<== 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


Replies:
RE: motor driver only works with asyn traces turned on Mark Rivers via Tech-talk

Navigate by Date:
Prev: Re: ADEiger acquisiton problem Mark Rivers via Tech-talk
Next: RE: motor driver only works with asyn traces turned on Mark Rivers 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  <20222023  2024 
Navigate by Thread:
Prev: RE: [EXTERNAL] Phoebus Alarm Area Panel custom colours Pearson, Matthew via Tech-talk
Next: RE: motor driver only works with asyn traces turned on Mark Rivers 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  <20222023  2024 
ANJ, 14 Sep 2022 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·