On 09/19/2014 04:22 PM, Gene Heskett wrote: > Hi have made a wee bit of progress with the spindle controls on the lathe, > but lower speed performance is still sorely lacking. > > Current pid.s settings > Pgain 125 > Igain .05 > FF0 100 > FF1 20 > > maxoutput is set 1% below the pwmgen scale to keep it from hitting 100% > duty cycle. When you get into it a little further, you may have to give it as much at 5% headroom. But, if you are now at a lower PWM frequency, then it needs less percentage, just to make sure it gets at least something like 1 us off time per cycle. > Since this is a parameter, I cannot put the gearchange > bewteen the pid and the pwmgen because the pwmgens scale and the > pid.maxoutput limits must be maintained. Maybe you could put gearchange BEFORE pwmgen? > > > > I had to change editors from gedit to geany because gedit was snatching > 10 to 15 character snippets of the file and inserting then at several > other places in the file, totally mucking with variable names and such. > At about 1 in 20 saves I'd guess. NEVER seen anything like that. I would run memtest86 and make sure the CPU and memory are functioning properly.
Jon ------------------------------------------------------------------------------ Slashdot TV. Video for Nerds. Stuff that Matters. http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users