On 27 March 2014 09:50, Gene Heskett <ghesk...@wdtv.com> wrote:

> What would be the usual way to toss a gear change constant into a servo
> speed control so that the PID.#.error band is relatively well centered in
> both gears?

You could try using
http://www.linuxcnc.org/docs/html/man/man9/gearchange.9.html after the
PID and before the DAC.
Alternatively there is "lincurve" for altering PID parameters on the
basis of something else.

> I have one input left that I could use to report a switch was closed by the
> lever being in high gear.

On my mill I auto-detect the engaged gear (but I don't use any PID, I
just trust the DAC to be linear enough for my purposes.)
http://linuxcnc.org/hardy/dapper/index.php/english/forum/47-hal-examples/27071-automatic-spindle-gear-detection


-- 
atp
If you can't fix it, you don't own it.
http://www.ifixit.com/Manifesto

------------------------------------------------------------------------------
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to