Machsupport Forum

Mach Discussion => Mach4 General Discussion => Topic started by: Mauri on November 05, 2017, 01:59:41 PM

Title: Mach4 using G02/G03 with R Radius
Post by: Mauri on November 05, 2017, 01:59:41 PM
Hi,
Has anyone used G02/G03 with R Radius?
Does anyone have an example of G-code that can cut a complete circle.
Or any other examples specific to Mach4 using G02/G03 with R.
Regards,
Mauri.
Title: Re: Mach4 using G02/G03 with R Radius
Post by: ger21 on November 05, 2017, 02:22:46 PM
You really should try to cut a complete circle using the R word, and many controls won't allow you to.

The reason is that a single line full circle using G2/G3 +R can actually be multiple different circles. A circle that starts and stops in the same place, with no defined centerpoint, can be centered in an infinite number of places.

G2/G3 +R moves should best be limited to 180° or less.
Title: Re: Mach4 using G02/G03 with R Radius
Post by: Mauri on November 05, 2017, 02:31:55 PM
Gerry,
Do you have a G-Code Example that displays cutting a full circle in Mach4 from a center point using R?
Or any other examples.
Regards,
Mauri.
Title: Re: Mach4 using G02/G03 with R Radius
Post by: ger21 on November 05, 2017, 02:42:25 PM
Like this?

G0 X0 Y-1
G3 X1 Y0 R1
G3 X0 Y1 R1
G3 X-1 Y0 R1
G3 X0 Y-1 R1
Title: Re: Mach4 using G02/G03 with R Radius
Post by: Mauri on November 05, 2017, 07:15:23 PM
ger21,
Yes that is it.
My program was outputting -R CCW on G-Code which did not produce a circle.
Changing it to R CW fixes that.
Thanks,
Regards,
Mauri.
Title: Re: Mach4 using G02/G03 with R Radius
Post by: Mauri on November 05, 2017, 09:22:07 PM
ger21,
I have made many tests on different ARC shapes using commercial G-Code outputs and the only thing that will display correctly or cut is a Circle and simple ARC on Mach4.
The G-Code that I produce works on Commercial Machines, but without modifying the files will not on Mach4 correctly.
What G-Code standards does G02/G03 +R/-R conform to?
Has any one used any G-codes made by commercial programs using G02/G03 +R/-R with multiple ARC shapes with inward and outward ARC radius and found it works?
Mach4 works fine with I/J/K with no issues on all shapes.
Regards,
Mauri.
Title: Re: Mach4 using G02/G03 with R Radius
Post by: ger21 on November 05, 2017, 10:21:20 PM
Why are you using R?
I,J,K is much better.
I don't really have any answers for you as I use I,J,K arcs, and I don't use Mach4.
Title: Re: Mach4 using G02/G03 with R Radius
Post by: Mauri on November 06, 2017, 03:09:12 PM
ger21,
I would like to use R as one program only uses R this program send out better G-Code to provide finer detail to engravings.
The other program I have uses I,J,K.
Regards,
Mauri.
Title: Re: Mach4 using G02/G03 with R Radius
Post by: Mauri on November 07, 2017, 03:07:24 PM
ger21,
I was advised by madCAM on how to make R work with Mach4 by a small modification to the Post Processor and it now works on all intricate shapes with Mach4 using R "Radius" command.
Regards,
Mauri.