Machsupport Forum
Mach Discussion => General Mach Discussion => Topic started by: baldysm on April 21, 2008, 03:03:49 PM
-
I am having struggles with my Mach3 controller running a Sherline mill with a rotary table.
My .xml file got corrupted and I went back to a back up file. Everything seems to be working ok except for the A axis.
I'm stuck in angular mode with the A axis. I almost always use linear mode on the A axis, and scale things at the design stage so that a Y in the design is equal to 1 revolution in A on the machine. I just change the Y's in the output file to A's and I'm good to go.
I have the A axis unchecked in "axis is angular" in general config, so it should be linear. I can't find anything else that seems to apply.
Current XML is attached.
Any suggestions welcome.
Thanks!
-
So - what is it not doing that it should do (or vica versa).
Mach 3 does not bother whether an axis is rotary or linear - all Mach 3 does is say "I need to move this axis 2 units" - How many pulses is that - and then puts out the pulses on the "step" pin.
The only time Mach 3 bothers is when you change from Imperial to Metric (G20 and G21) - an axis that is angular does not change.
Reading what you are trying to do, I would suggest you look at the "number of pulses per unit" under Config/Motor Tuning and make sure that when you swap A for Y you are getting the right result.
-
Hi, Baldysm
Tried your xml both A rot and A non-rot, Seems to work hear.
Try this G-code both ways.
G90 (INC First)
G00 x0
g01 z -.25 f100
g91 ;inc move set
G01 x2.5 A720 f1000
g90 ;abs move re-set
g00 z0
g01 z -.25 f100
G01 x5 A1440 f1000
g90 ;abs move re-set
g00 z0
g00 x0 a0
M30
%
Thanks, Chip