Anders Wallin wrote:
>>Could anyone else with a jog dial check this behavior out and 
>>see if your system does it, too?  
>>I just wanted to make sure it wasn't a side effect of the 
>>low-pass filter or some other aspect of my PPMC driver/boards.
> 
> 
> My MPG + m5i20 setup works the same as yours, i.e. machine continues to 
> move after mpg-wheel is stopped if the feed-override is lower than 100%.
> When feed override is 100% my MPG works fine.
> So it seems this is an EMC issue which needs fixing!
>
Ok, thanks for the feedback.  So, it is not something particular 
to my system, then.

> Is the way you use a low-pass filter documented in the wiki or in the 
> manual ? I could try that some day.
The L.P. filter component is new, it was added to the CVS after 
the CNC Workshop this June.  Depending on your EMC version, it 
may or may not have it.  "ilowpass" is the component name.

This is the pendant file that I added on to a 6-axis system I 
recently set up.  It had a 400 count/rev MPG encoder, so that is 
why the .xxx25 constants are used for the jog scale.  I had to 
play around with the scale and gain parameters on the ilowpass 
to get the right amount of smoothing without making the dial 
response seem sluggish.

Jon

******** pendant.hal follows **************

loadrt mux4 count=1
loadrt ilowpass
setp ilowpass.0.scale 100
setp ilowpass.0.gain .01

addf mux4.0 servo-thread
addf ilowpass.0 servo-thread

net jog-x ppmc.0.din.24.in => axis.0.jog-enable
net jog-y ppmc.0.din.25.in => axis.1.jog-enable
net jog-z ppmc.0.din.26.in => axis.2.jog-enable
net jog-a ppmc.0.din.27.in => axis.3.jog-enable
net jog-b ppmc.0.din.28.in => axis.4.jog-enable
net jog-c ppmc.0.din.29.in => axis.5.jog-enable

net x10   ppmc.0.din.30.in => mux4.0.sel0
net x100  ppmc.0.din.23.in => mux4.0.sel1

setp mux4.0.in0 .00000025
setp mux4.0.in1 .0000025
setp mux4.0.in2 .000025
setp mux4.0.in3 0

net jogscale mux4.0.out => axis.0.jog-scale
net jogscale            => axis.1.jog-scale
net jogscale            => axis.2.jog-scale
net jogscale            => axis.3.jog-scale
net jogscale            => axis.4.jog-scale
net jogscale            => axis.5.jog-scale

net rawjogcounts ppmc.0.encoder.06.count => ilowpass.0.in

net jogcounts ilowpass.0.out => axis.0.jog-counts
net jogcounts                => axis.1.jog-counts
net jogcounts                => axis.2.jog-counts
net jogcounts                => axis.3.jog-counts
net jogcounts                => axis.4.jog-counts
net jogcounts                => axis.5.jog-counts

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to