Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: cmanning on August 24, 2007, 11:07:56 AM

Title: Problem with arcs in Mach3 Turn
Post by: cmanning on August 24, 2007, 11:07:56 AM
I've been looking through the forums and have found a number of people who have run into the same error that I am: Radius to end of arc differs from radius to startLine 9.

I've attached the gcode file that is causing the error.  The thing that is very frustrating is that I've used this code roughly a dozen times without issue.  In fact I had used it 5 mins before I started having the problem.  In between my successful and unsuccessful attempts, I ran the OD turning wizard to get the blank down to the size this code is expecting.

I have tried changing the Motion Mode as well as the IJ mode without success.  I've also tried separating the initialization codes on line N0005 as suggested in one reply without success.

The version of Mach3 is listed in about as R2.4.

Thanks
Chris
Title: Re: Problem with arcs in Mach3 Turn
Post by: jimpinder on August 25, 2007, 05:12:04 AM
Looking at your script, there is no Z co-ordinate move before the first G2 move, so I do not see how the machine can compute the move (I couldn't do it on paper since I didn't know where to start). I do not know where it gets it from ( other than one might presume it gets it from the DRO's ). This you would think would be fine, but it may be for moves like this it takes it from some other register which is updated on every X or Z move.

Try on the line above, putting in a Z position on the G0 move and see if this solves the problem.
Title: Re: Problem with arcs in Mach3 Turn
Post by: jimpinder on August 25, 2007, 05:14:09 AM
As another point - have you tried the G2 Xpos Zpos R - being the radius. I find this a lot easier to compute (provided you get the correct + or - on the radius.)
Title: Re: Problem with arcs in Mach3 Turn
Post by: cmanning on August 25, 2007, 02:54:27 PM
Thanks for the two suggestions on improving the code.  This is gcode that is generated by a little util called CNC Programming Tools.  I'm sure there are ways to improve the code, and I'll look into them more as I become more familiar with gcode.

As for my original problem, I've figured out how to solve it.  On the General Logic Configuration screen, I checked off the Use Init String on ALL "Resets".  Now if I get that error, I can use the reset button to fix it.

Chris