On Tuesday 24 October 2017 03:18:43 jrmitchellj . wrote:

> Hi Gene.
> Here is the spindle stuff I got working on Sunday.
> Not sure it is exactly what you are looking for, but it may spark some
> ideas for you.
> Also, it may still need some work!
>
> Ray
>
> --J. Ray Mitchell Jr.
> [email protected]
> (818)324-7573

Thanks a bunch J. Ray

I think I might have mine working, just now.  Yours looks better 
organized than mine, but mine has a "last 4 edges from the encoder" 
averager stanza mixed in. And where you used a lowpass, I used a limit3.

The last 4 edges averager is an attempt to remove some of the noise in 
the encoders output, however it also affects the reverse phasing when 
doing rigid tapping with a G33.1 wrapped in a peck cycle because this 
1hp motor can't drive a tap larger than a 10-32 straight in without 
bogging way down. So bigger holes get peck tapped. Depending on the 
material, from 1/4 turn per peck to as much as a full turn.

It can do the reversal quite rapidly in high back gear, which can get in 
trouble because the Z motor doesn't match its turn around times, so the 
reversal from motion is fed thru a limit3 to make a sin-squared accel 
profile out of the turn around, which in turn allows the Z to keep up as 
max accel is then at zero speed. It can drive a 10mm or 3/8" tap in low 
head gear, but motor inertia affects the turn around time since thats 
e-mv2, or 4x worse at 2x the armature revs. So the limit3 has to be 
restricted even more when in backgear.  If I had a switch on the knob to 
tell hal which gear it was in it would help.

I've got some stuff in there to tally the overshoot at the bottom of that 
peck, basically a way to let me compensate by turning around early, 
after measuring how deep the hole is, and not hit it with the tap. That 
gets expen$ive, cuz then I have to take the workpiece out to the shop 
and rig some edm on the little hf mill to remove the broken tap w/o 
mucking up the threads it did cut. And thats a slow process. :(

I did use a lot of k2 for dielecric fluid when doing edm, but found 
distilled water works even better as it doesn't make as much carbon so 
you can see what you are doing quite a bit longer.

Thanks again Ray, its appreciated.

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
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to