On Wednesday 02 September 2015 04:50:24 andy pugh wrote:

> On 2 September 2015 at 03:05, Gene Heskett <[email protected]> wrote:
> >> You need the Limit3 _before_ the PID, not after.
> >
> > It IS in front of it Andy.
>
> That's odd then.
>
> So, you have
> motion.spindle-speed-out-rps => limit3.0.in
> limit3.0.out => pid.4.command  ?
>
> I trust there _isn't_ a limit3 on the feedback to the PID?

Not that I have noted. But thats also a 450 line hal file. I spent about 
3 hours re-organizing it yesterday, do the changes needed to use a 
quartet of mux2's as floating point sample holds. I can see the 4 edge 
cyclic errors walking thru the filter with the halscope, but did not 
re-insert the limit3 in the pid.s.command path to test & see if I still 
had the huge windup and overspeeded catchup. pncconf also put a 
gearchange in the path, and used it with a fixed hi-low ratio, but if 
there was a gladevcp based button to change it, I have not found its 
generation code.

When I was working on my lathe, I had the idea of making the gearchange 
automatic, based on the magnitude and sign of the pid.spindle.error, but 
its so large right now that the idea wasn't workable, so on the lathe 
theres some glade buttons to do that gearchange.

If push comes to shove, I'll try and import that code from the lathe.  
I'd like to use low gear for rigid tapping.

I'd look right now, but that &^$ box has crashed. I have got to find a 
better one.

Thanks Andy.

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

Reply via email to