Hi all;

Years ago ISTR there was a setting in the intro to the .ini file that set 
the scale of the effect of the spindle speed +- buttons.

In trying to see if I can incorporate a limit3 whose maxa sets the accel 
limit applied to the pid.s.commnd, I have tried to get to a unity gain 
thru the chain for a starting point.

I have a limit2 set to allow only between -0.97 and 0.97 as inputs to the 
hm2_5i25_pwmgen.0.value.

But the increments coming out of motion.spindle-speed-out-rps aren't 
anywhere being fractional at that point.

A click on either dir button gets me either -0.01666667 or 0.01666667, 
which is approximately what I have set to overcome friction by use of 
the pid.s.bias input.  That  .03 addition turns it into -0.4666667 or 
0.0466667 which will make the spindle turn about 10 rpm.

But a click on the + button multiplies that by 100! to 1.666667 TBE, off 
scale, and tripping Jons pwm-servo driver off before the motor even 
clicks.

Do I have to put a scale module with a gain ofless than 0.01 after the 
pid.s.output to combat this, or is there another approved method to 
scale that back to a sensible, usable value?  Maybe pid.s.FF0 = 0.005?  
That I have not tried yet.  But will.

Thanks all.

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>

------------------------------------------------------------------------------
Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
Get real-time metrics from all of your servers, apps and tools
in one place.
SourceForge users - Click here to start your Free Trial of Datadog now!
http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to