Machsupport Forum
Mach Discussion => General Mach Discussion => Topic started 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
-
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
-
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.
-
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 .
-
We all need a little nudge sometimes, to get the brain looking in the right direction.
Glad you got it sorted out.
Greg