On Thursday 10 September 2015 20:46:50 andy pugh wrote: > On 11 September 2015 at 01:44, andy pugh <bodge...@gmail.com> wrote: > > I think you should use RPM all the way to the pwmgen and limit the > > pid to 98% of the pwmgen.scale > > Actually, given that encoder velocity is returned in RPS then use RPS > all the way, from motion.spindle-speed-out-rps all the way through the > pid to the pwmgen. > Limit the pid max output to 98% of the pwmgen.scale parameter.
And that will get rid of the limit2 to do that I believe. Thanks Andy. Cheers, Gene Heskett -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) Genes Web page <http://geneslinuxbox.net:6309/gene> ------------------------------------------------------------------------------ _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users