Hello Guest it is June 09, 2023, 07:53:31 PM

Author Topic: A axis 'stuck' in angular mode  (Read 2880 times)

0 Members and 1 Guest are viewing this topic.

A axis 'stuck' in angular mode
« 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.


Offline jimpinder

  •  1,232 1,232
  • Wakefield, West Yorks, UK
    • View Profile
Re: A axis 'stuck' in angular mode
« Reply #1 on: April 22, 2008, 02:53:59 AM »
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.
Not me driving the engine - I'm better looking.

Offline Chip

  • *
  •  2,055 2,055
  • Gainesville Florida USA
    • View Profile
Re: A axis 'stuck' in angular mode
« Reply #2 on: April 22, 2008, 03:26:33 AM »
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

Thanks, Chip