Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: woffler on November 06, 2011, 04:18:20 PM

Title: A axis ignoring moves
Post by: woffler on November 06, 2011, 04:18:20 PM
I am having some trouble with Mach version 3.043.37, i will post the code for you to look at . This is a simple index program and i am not sure if this is a Mach problem or a Post Pross. problem.

It will rotate for the first 45 degree move and then it will skip all subsequent ( A ) axis moves! driving me nut's !!! could someone either test this with there (A) axis or look and see if they can find out what's going on.


Thank's to all Dusty
Title: Re: A axis ignoring moves
Post by: Greolt on November 06, 2011, 04:49:46 PM
The only A position calls I can see in the code are all "A45"

As there is a "G90" in the preamble, you are in absolute coordinate mode.

So the first "A45" call will position the A axis at 45 degrees, and subsequent "A45" calls will not move the A axis because it is already at that position.

Greg
Title: Re: A axis ignoring moves
Post by: woffler on November 06, 2011, 06:28:13 PM
OK,  so how would i fix the this instead of "G90" use a "G91" to get it to rotate the next 45 degrees ?
Thank's for the help i really appreciate your time.
Title: Re: A axis ignoring moves
Post by: woffler on November 06, 2011, 07:18:15 PM
I figured it out with your help ,i just needed to add 45 to each additional move. So times i wonder what i am thinking ,i know better than this .
Title: Re: A axis ignoring moves
Post by: Greolt on November 06, 2011, 08:21:25 PM
We all need a little nudge sometimes, to get the brain looking in the right direction.

Glad you got it sorted out.

Greg