Tim Goldstein wrote:
Has anyone tried running a lathe using EMC? I have set up a 2 axis
configuration file on my machine and hope to give it a try this weekend.
Got impatient and gave it a try. Here is what I found:
You have to change your g-code to be X Y and not X Z as is normal for
lathes.
Don't set the AXES setting in the [TRAJ] setting to 2. If you do Xemc will
come up with the Z axis numbers in red and you can jog X and Y just fine,
but as soon as you try to gun a g-code program and it hits a linear move you
get an error something like "linear moves can't be made if beyond the
limit". After checking to make sure I was not beyond the soft limits for X &
Y and restarting EMC a few times it dawned on me what is happening. The red
numbers is the same thing you get when you hit a limit switch. Apparently,
EMC thinks you are against the limit switch for the Z axis.
Other than this it seems to work just fine after you reverse the direction
of movement of the X and Y axis in your ini file.
Yes, Fred and Matt Shaver have made some comments about parameterizing
the axis names. Most of the other info for each axis is already a parameter.
Also, you need diameter display, which I think can be a display-only
finction of the user interface.
Jon