eslavko wrote:. Now the closed loop problem. Rigit tapping in cheap homemade CNC is near inpossible as spindle is to weak (or to fast) for job.
No, I have been demonstrating rigid tapping on my desktop minimill for a number of
years. I even did production tapping with a combined drill-tap for a while until I
got this function working on my Bridgeport. It does a fine job of it. You probably
couldn't do it on a Sherline or Taig, but the slightly larger machines can definitely
handle this.
Servo loop - I talking stepper here. Software servo is near inpossible (reading encoders) just use special boards
Chris Radek and Jeff Epler have some machines that are implemented entirely by
software encoder input and servo drive, just needing a motor drive in hardware.
threading - can be done if lathe has strong enought motor to have small speed jitter.
But, most small hobby-level lathes do NOT have strong spindle motors, and will slow
down when threading.
So for my opinion I see no problem if communication is dome once per milisecond or so.
And, there's the problem, the "OR SO". USB gives no guaranteed delivery of packets.
They get there when the USB hardware FEELS like getting it there. If there is other
traffic, it gets totally unpredictable. If the operation is totally handled in the USB device
and the PC is just the G-code interpreter, this may work. If the PC is much more
involved in sensing conditions and responding to them, then it will always be a
second or more behind the real actions as it needs that much buffer to be sure the
queue never runs empty. (And, even there, greater than one second delays may
occur from time to time. This will be catastrophic when a machine is running at
full speed and suddenly it runs out of data.)
I have intention to make hardware stepgen with AVR controller (opensourced) for EPP port to enable ussage of computers with not so good lattency.
sorry for long post....
Well, great. I hope you have success with it, but I think it may be very hard to
make it work reliably, under all situations.
Jon