motor: XPS model 3 driver. added 50ms sleep to setPosition function before the call to GroupReferencingStop(). This seems to be needed by some types of axes, eg. spindle group axes.

This commit is contained in:
mp49 committed 2011-07-29 10:19:47 +00:00
1 parent de4040d181
commit 64a0a58c73
1 file changed
+3
+3
View File
@@ -425,6 +425,9 @@ asynStatus XPSAxis::setPosition(double position)
"None",
position*(stepSize_));
/* Stop referencing, then we are homed on all axes in group.*/
/*Some types of XPS axes (eg. spindle) need a sleep here, otherwise
the axis can be left in referencing mode.*/
epicsThreadSleep(0.05);
status = GroupReferencingStop(pollSocket_,
groupName_);
if (status) {