On 10/14/2017 03:14 PM, John Dammeyer wrote:
I'll see if I can find that link. From what I remember it's specific PRU
code for the Beagle that needs to be written for the Lathe part and that was
never done.
But, there is NO specific PRU code for a lathe. What you
need are steps (assuming a step/dir motor interface),
some digital I/O to control the spindle, and at least one
encoder counter with direction. The generic PRU code
built by Charles Steinkuehler can provide this, if the hal
command line asks it to do so.
Once you have a spindle encoder, you can do lathe threading
operation.
Now, one other item might be an analog output to control
spindle speed. You can always integrate a PWM output, which
the PRU can provide, to get this.
Jon
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users