On Wednesday 22 February 2017 13:52:15 John Thornton wrote:

> This is my BP MPG code using ilowpass
>
> # MPG
> setp hm2_5i25.0.encoder.05.counter-mode true
> loadrt mux4 names=mpg-scale
> addf mpg-scale servo-thread
> loadrt ilowpass
> addf ilowpass.0 servo-thread
> loadrt or2 count=2
> addf or2.0 servo-thread
> addf or2.1 servo-thread
>
> setp ilowpass.0.gain 0.02
> setp ilowpass.0.scale 1000
> setp mpg-scale.in0 0.0
> setp mpg-scale.in1 -0.0000001
> setp mpg-scale.in2 -0.000001
> setp mpg-scale.in3 -0.00001
>
> http://linuxcnc.org/docs/2.7/html/man/man9/ilowpass.9.html
>
> JT

Also marked as important FFR, thanks John.

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>

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to