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  <20172018  2019  2020  2021  2022  2023  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  <20172018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Motor module problem
From: Jörn Dreyer <[email protected]>
To: EPICS tech-talk <[email protected]>
Date: Thu, 28 Sep 2017 10:04:08 +0200
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 Torsten Bögershausen

Navigate by Date:
Prev: Re: registerRecordDeviceDriver.pl takes a long time to finish Luca Cavalli
Next: Re: Motor module problem Torsten Bögershausen
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Record processing twice after upgrading to Base 3.15.5 Andrew Johnson
Next: Re: Motor module problem Torsten Bögershausen
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024 
ANJ, 21 Dec 2017 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·