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 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
<== Date ==> <== Thread ==>

Subject: Re: Motor module problem
From: Torsten Bögershausen <torsten.bogershausen@esss.se>
To: Jörn Dreyer <j.dreyer@hzdr.de>, EPICS tech-talk <tech-talk@aps.anl.gov>
Date: Thu, 28 Sep 2017 11:05:50 +0200
First of all, I don't understand that either.

Which versions (EPICS base, motor) do you use ?
Are you sure that everything is freshly compiled ?
And, could you send us a complete log file ?


On 28/09/17 10:04, Jörn Dreyer wrote:
Hello,

currently I'm working on a piezo motor driver based on the
asynMotorController. At startup of the IOC the Axis::move command is called
with parameters that I do not understand. If I put a printout statement at the
beginning of the function like this:

printf("%s %d %s %f %d %f %f %f\n", "Moving axis", axisNo_+1, "to position",
position, relative, minVelocity, maxVelocity, acceleration);

it results in:

Moving axis 1 to position inf 0 0.000000 0.000000 0.000000

The corresponding record looks like this:

record(motor, "A:m1") {
   field(DESC, "Mirror 1")
   field(DTYP, "asynMotor")
   field(DIR, "1")
   field(VELO, "110.")
   field(VBAS, ".05")
   field(ACCL, ".5")
   field(BDST, "0")
   field(BVEL, "1.0")
   field(BACC, "2")
   field(OUT, "@asyn(B,0)")
   field(MRES, "0.00001")
   field(PREC, "5")
   field(EGU, "mm")
   field(DHLM, "0.32768")
   field(DLLM, "1")
   field(INIT, "")
   field(RTRY, "5")
   field(TWV, "1")
   field(SDIS, "A:m1_able.VAL")
   field(VMAX, "190.")
}

It gets called three times, first with inf, then with DHLM, and then with
10000. Looks like it wants to do something like homing. How can I prevent
this?

Regards,

Jörn


Replies:
Re: Motor module problem Jörn Dreyer
References:
Motor module problem Jörn Dreyer

Navigate by Date:
Prev: Motor module problem Jörn Dreyer
Next: Re: Motor module problem Jörn Dreyer
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
Navigate by Thread:
Prev: Motor module problem Jörn Dreyer
Next: Re: Motor module problem Jörn Dreyer
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
ANJ, 28 Sep 2017 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·