Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: desutt on March 06, 2011, 05:47:45 PM

Title: semi circle problems
Post by: desutt on March 06, 2011, 05:47:45 PM
I am trying to generate a set of semicircles centered at x-2.8125 and y=16.25.
The first semicircle works fine but the code stops on the highlighted line with this error "Radius from end of arc is different from radius to start"
The radius from start in the first semicircle is 2.8126-1.5 =1.3125 and radius to end is 4.125-2.8125 =1.3125 and this semicircle works.
The radius from the start in the second semicircle is 2.8125-1.125=1.6875 and the radius to the end is 4.5-2.8125=1.6875 and it does not work.
I am confused.  Any help?

G0 x1.5 y16.25
z-0.3125
G02 x4.125 y16.25 i2.8125 j16.25
G1 x1.125 y16.25
G02 x4.5 y16.25 i2.8125 j16.25
G1 Z0.1
Title: Re: semi circle problems
Post by: Sam on March 06, 2011, 08:38:02 PM
Works fine for me. You've probably got the setting in your configuration set wrong for "I-J" mode. It's best to use G-code to set this value, anyhow. Insert a g91.1 in your code and see if that fixes it, or change the value in "config> general config".
Title: Re: semi circle problems
Post by: desutt on March 07, 2011, 06:47:11 PM
That was it.  Thanks
Title: Re: semi circle problems
Post by: Kabol on March 12, 2011, 05:36:13 PM
Thanks! I think you solved my problem also.

        Kabol