Hello Guest it is May 21, 2019, 09:11:49 AM

Author Topic: Mach4 using G02/G03 with R Radius  (Read 942 times)

0 Members and 1 Guest are viewing this topic.

Offline Mauri

*
  •  292 292
    • View Profile
Mach4 using G02/G03 with R Radius
« 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.

Offline ger21

*
  • *
  •  6,232 6,232
    • View Profile
    • The CNC Woodworker
Re: Mach4 using G02/G03 with R Radius
« Reply #1 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.
Gerry

2010 Screenset
http://www.thecncwoodworker.com/2010.html

JointCAM Dovetail and Box Joint software
http://www.g-forcecnc.com/jointcam.html

Offline Mauri

*
  •  292 292
    • View Profile
Re: Mach4 using G02/G03 with R Radius
« Reply #2 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.

Offline ger21

*
  • *
  •  6,232 6,232
    • View Profile
    • The CNC Woodworker
Re: Mach4 using G02/G03 with R Radius
« Reply #3 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
Gerry

2010 Screenset
http://www.thecncwoodworker.com/2010.html

JointCAM Dovetail and Box Joint software
http://www.g-forcecnc.com/jointcam.html

Offline Mauri

*
  •  292 292
    • View Profile
Re: Mach4 using G02/G03 with R Radius
« Reply #4 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.

Offline Mauri

*
  •  292 292
    • View Profile
Re: Mach4 using G02/G03 with R Radius
« Reply #5 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.

Offline ger21

*
  • *
  •  6,232 6,232
    • View Profile
    • The CNC Woodworker
Re: Mach4 using G02/G03 with R Radius
« Reply #6 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.
Gerry

2010 Screenset
http://www.thecncwoodworker.com/2010.html

JointCAM Dovetail and Box Joint software
http://www.g-forcecnc.com/jointcam.html

Offline Mauri

*
  •  292 292
    • View Profile
Re: Mach4 using G02/G03 with R Radius
« Reply #7 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.

Offline Mauri

*
  •  292 292
    • View Profile
Re: Mach4 using G02/G03 with R Radius
« Reply #8 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.