I guess that's why a complete circle does not require the X and Y values (because it already knows where the controlled point is) and just needs the G2 I<value> J<value> command.
Marcus On 3 Dec 2014, at 12:34, John Thornton wrote: > The default behavior for arc distance is incremental so for a given arc > you only have to change the start and end points to be correct. > > For example with the center of the arc at X0 Y0 and a 0.510 diameter and > starting at 180 and going CW to 90 the G code is: > G0 X-0.2550 Y0.0000 > G2 X0.0000 Y0.2550 I0.2550 J0.0000 > > If I move the center to X1 Y1 then the G code is: > G0 X0.7450 Y1.0000 > G2 X1.0000 Y1.2550 I0.2550 J0.0000 > > Notice that I and J remain the same and both the start point and the end > points change by the difference in center locations. > > JT > > > On 12/2/2014 4:18 PM, Gene Heskett wrote: >> Greetings; >> >> I have generated a couple bits of g2 code to cut a 90 degree arc corner >> >>> From 180 to 90, with a .51000 diameter, arcbuddy spits out: >> >> G2 X0.0000 Y0.2550 I0.2550 J-0.0000 >> >> And from 90 to 0, same diameter it outputs: >> >> G2 X0.2550 Y0.0000 I-0.0000 J-0.2550 >> >> No tool comp is in use >> >> Tooldia and toolrad are defined as .255 and .255 /2 elsewhere >> >> x_tmp and y_tmp are defined and diddled elsewhere in the code. >> >> So, where do I plug these vars into the arcbuddy output you see above to >> make it usable anyplace the table can reach just by adjusting the x_tmp >> and y_tmp >> But, I need this to be usable at anyplace along the x axis, with 2 >> different y locations depending on whether the last move was X or the last >> move was Y, all of which also contains what is supposed to be tool >> diameter offsets in the I & J stuff. >> >>> From the above its obvious I can sub the Ioffset for I#<_tdia> in the >> first example above and J-#<_tdia> in the second to make it self >> compensating if I change the tools diameter, which will be used to control >> the fit of the joints produced. But even that is not working. >> >> So, how does one go about plugging in his "offset" values in a G2 >> statement above and make it work? >> >> I ought to be about ready for dinner, but Dee doesn't feel like going out >> even if it is our 25th anniversary today. COPD never gets better. >> Dammit. >> >> So I am working on this instead. >> >> Thanks & Cheers, Gene Heskett > > > ------------------------------------------------------------------------------ > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server > from Actuate! Instantly Supercharge Your Business Reports and Dashboards > with Interactivity, Sharing, Native Excel Exports, App Integration & more > Get technology previously reserved for billion-dollar corporations, FREE > http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk > _______________________________________________ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users