[Emc-users] position pid loop

2007-02-12 Thread Larry Kopas

hi

I'd like to know how the position control works in emc.  the pid params I
see are only for axis speed control, what I can't understand is how emc
holds the motor at a particlar position and apply opposing force if tried to
rotate.  I was expecting to see pid params for position loop, but cannot
find in any ini file.

tia
Larry
-
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


Re: [Emc-users] position pid loop

2007-02-12 Thread Jeff Epler
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