Hello Guest it is May 11, 2021, 07:44:58 PM

Author Topic: Lathe Electronic Leadscrew / Gearbox  (Read 938 times)

0 Members and 1 Guest are viewing this topic.

Re: Lathe Electronic Leadscrew / Gearbox
« Reply #10 on: June 21, 2019, 10:52:27 AM »
Hi,

Quote
He wishes to drive the threading leadscrew with a closed loop stepper motor rather than gearing it physically to the spindle.

Yes, that could indeed be OPs intention.

If the index signal from the spindle encoder is hooked to the PMDX-416 and in turn to Mach then Mach has continuously updated
value of spindle speed. A small script in the PLC would allow the leadscrew stepper to be driven as a velocity jogged out-of-band axis.
The result would be that the leadscrew attains and maintains a speed in direct proportion to the spindle.

Note this approach is still not the same as a gearbox. The leadscrew would be velocity synchronized to the spindle but exact
posistional synchronization could not be assured.

If an index pulse is received by the PMDX-416 it will be transmitted to Mach, but there will be an indeterminate delay of several
or maybe tens of milliseconds. Mach will then do its calculation and issue P(osition)V(elocity) over T(ime) moves to the PMDX-416
with another indeterminate delay. The communication delays prevent the leadscrew stepper from maintaining exact positional
synchronization.

Exact positional synchronization can be achieved ONLY if the communication delays can be eliminated. When a G76 threading command
is encountered while Mach supervises actually the PMDX-416 takes over and does the synchronization itself without relying
on Mach with the inherent comm delays.

This could also be done with an Arduino, it would monitor the spindle encoder and produce step/direction pulses to the stepper
driver. That could be done continuously and within microseconds and positional synchronization could be attained.

Craig

My wife left with my best friend...
     and I miss him!
Re: Lathe Electronic Leadscrew / Gearbox
« Reply #11 on: June 21, 2019, 06:45:26 PM »
Hi,
another thought or possibility has occurred to me.

There is  a thread on the Mach3 board wherein Hood tells us that a CSMIO controller can directly interpret an MPG (encoder)
input direct to step/direction outputs.

https://www.machsupport.com/forum/index.php?topic=41252.msg270653#msg270653

I presume that if the CSMIO has that realtime ability in Mach3 it would also work in Mach4.

In this circumstance the CSMIO plugin would take Mach4 parameters, things like jog steps and motor tuning, and program
the CSMIO as firmware and thereafter the CSMIO works autonomously. A CSMIO costs about 600 Euro.

Craig
My wife left with my best friend...
     and I miss him!
Re: Lathe Electronic Leadscrew / Gearbox
« Reply #12 on: June 22, 2019, 07:49:34 PM »
Hi,
a series of Ytube videos using a microcontroller:

https://www.youtube.com/watch?v=7QaQrqn4yeI

Craig
My wife left with my best friend...
     and I miss him!