Hello Guest it is May 25, 2019, 08:00:24 AM

Author Topic: Step/Dir control of spindle?  (Read 1696 times)

0 Members and 1 Guest are viewing this topic.

Re: Step/Dir control of spindle?
« Reply #20 on: March 18, 2018, 06:11:17 PM »
Hi Roger,
I thought PID was already there but not multipulse PID.

Craig
My wife left with my best friend...
     and I miss him!
Re: Step/Dir control of spindle?
« Reply #21 on: March 18, 2018, 06:53:05 PM »
Not to the best of my knowledge, at least for Mach3.

Cheers
Roger
Re: Step/Dir control of spindle?
« Reply #22 on: March 18, 2018, 07:40:42 PM »
Hi Roger,
the recent Mach4 builds have PID control, index pulse only at this stage to my knowledge.
I haven't tried it out so I cant comment how well it works or even if it works. I was lead to believe that
it was an important stepping stone to lathe threading in Mach4.

Craig
My wife left with my best friend...
     and I miss him!
Re: Step/Dir control of spindle?
« Reply #23 on: March 18, 2018, 07:45:20 PM »
PID on the index pulse is interesting, but useless really. By the time the next Index pulse has turned up late, the thread is trashed.
And yes, Andy knows this.
However, having got the PID stuff in there is a big hurdle passed. You could say they are now half-way around the loop.

Cheers
Roger
Re: Step/Dir control of spindle?
« Reply #24 on: March 18, 2018, 07:51:42 PM »
Hi,
Mach of whatever flavour requires a spindle of significant rotational inertia and reserve torque to accomplish
lathe threading. Not even the most superb PID control will ever overcome inadequacies in the spindle having
said that a good PID controller will make the most of whatever spindle you have.

Craig
My wife left with my best friend...
     and I miss him!
Re: Step/Dir control of spindle?
« Reply #25 on: March 18, 2018, 07:55:45 PM »
Hi Roger,
as I recall all the lathe threading code is in place already but had a bug in the sychronisation part. Apparently Greg and
Andy have decided on a different approach (multipulse?) which has required some significant rework.

Part of that rework was to make the lathe threading code compatible with the planned API.

Craig
My wife left with my best friend...
     and I miss him!
Re: Step/Dir control of spindle?
« Reply #26 on: March 18, 2018, 08:26:48 PM »
Well, it does help if it is compatible with the rest of the world!
We await.

Cheers
Roger