The stepgen HAL module has a tuned feedback loop between the slow
(servo) thread and the fast (base) thread, and it also has
parameters to control the maximum acceleration and velocity. Whatever
position command you give stepgen, it issues properly-spaced steps that
track that position as closely as possible while respecting the limits
specified by the HAL parameters.
When the position command is emc's axis.X.motor-pos-cmd, stepgen can
reach the requested position every time because emc also includes code
to limit acceleration and velocity to the inifile values.
As you say, the feedback position is simply found by counting the
number of step pulses actually issued.
Jeff
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users