On Wednesday 20 May 2020 11:55:57 Dan Henderson wrote:

> Gene,
> Based on your response I believe you're referring to a PDM commanded
> spindle. I'm using PWMGEN pulses to drive my PM DC Motor.
>
> I think I have it now tweaked about as good as I can get it. It took a
> combination of modifying the following two HAL entry values:
>
> setp pwmgen.0.scale 7600
> setp pwmgen.0.offset 0.13
>
> The scale item was needed to get a consistent reading at 300 rpm and
> 2000 rpm. Consistent in the sense that they were each exactly XXX
> rpm's off of the commanded RPM. When this is out of wack, you could be
> spot on at 300 rpm but be off by 500 at 2000 rpm.
>
> The second item was needed to remove the noted RPM error achieved with
> the former and to arrive at the commanded RPM.
>
> Not sure what ya call what I went and done, but it fix' d er and good!
> :)
>
The final, acid test for all this, is does it work for you and what you 
want to do?

If interested, I have some hal code that could be transplanted, that 
shows you in the axis righthand panel, the spindle turns of overshoot in 
getting it turned around at the bottom of the G33.1, and with my version 
of a peck tap routine, also shows you the overshoot distance, which in a 
peck cycle situation that is the overtravel distance. So if you know the 
depth of the hole, this distance is subtracted from the stroke of the 
peck, preventing the tap from bottoming in the hole and breaking. But to 
really use it well will require a mental change in how this stuff is  
measured. Preferably by actually probing the hole. I haven't yet made 
the probeing tool, nor have I attempted to measure all my taps and put 
them into our newly expanded tool table. To do that I also need to 
modify a 3/4" bsr holder into a 7/8" tap holder since I've put keyed  
brass hats on all my taps. There are priority's and right now its taking 
care of my missus in her final time here. COPD.  So my time in the shop 
is somewhat limited.  So the g-code is "incomplete" but the concept test 
works.

Stay well and safe Dan.

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)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/gene>


_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to