G0 X0 Y5
G2 X0 Y5 I0 J-5
Doesn't work in the first simulator you linked, but works in the second one.
I'm new to CNC having built a 2-axis plotter driven by Arduino, CNC-Shield and GRBL 1.1.
I can draw a square.
I now want to draw a circle and have failed miserably for days.
I have googled on and off for about a week now and looked at dozens of examples. Not one of them does a circle. Not on my machine nor in any of about 5 different simulators I've tried. At best a limp arc, at worst straight lines or nothing.
Come on.
A circle.
Could someone post the GCode to do say a circle centered at X=0,Y=0 with radius 5cm?
Since I now believe it is impossible. Please check your work here:
GCode Simulator
or here:
https://nraynaud.github.io/webgcode/
Similar Threads:
G0 X0 Y5
G2 X0 Y5 I0 J-5
Doesn't work in the first simulator you linked, but works in the second one.
Gerry
UCCNC 2017 Screenset
[URL]http://www.thecncwoodworker.com/2017.html[/URL]
Mach3 2010 Screenset
[URL]http://www.thecncwoodworker.com/2010.html[/URL]
JointCAM - CNC Dovetails & Box Joints
[URL]http://www.g-forcecnc.com/jointcam.html[/URL]
(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
Hi, if you took the time to learn G code all will be revealed, but you gotta be in it to win it.
Ian.
OK, the circle code works in UniversalGCodeSender but not in GrblController 3.6.1
I thought these programs just send GCodes to the machine so how can they get different results??
Different controls read g-codes differently.
I think that GRBl doesn't allow full circles, only partial arcs.
Gerry
UCCNC 2017 Screenset
[URL]http://www.thecncwoodworker.com/2017.html[/URL]
Mach3 2010 Screenset
[URL]http://www.thecncwoodworker.com/2010.html[/URL]
JointCAM - CNC Dovetails & Box Joints
[URL]http://www.g-forcecnc.com/jointcam.html[/URL]
(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
But GRBL is on my Arduino - I'm just switching between different PC software which both send "G2 X0 Y2 I0 J-2"
I think that Universal G Code Sender breaks the circle up, and sends multiple arcs to GRBL.
Gerry
UCCNC 2017 Screenset
[URL]http://www.thecncwoodworker.com/2017.html[/URL]
Mach3 2010 Screenset
[URL]http://www.thecncwoodworker.com/2010.html[/URL]
JointCAM - CNC Dovetails & Box Joints
[URL]http://www.g-forcecnc.com/jointcam.html[/URL]
(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
I think I see what's happening. If you're in relative mode (G91) you can't draw circles.
FAIL:
>>> G91
>>> F100
>>> G0 X0 Y2
>>> G2 X0 Y2 I0 J-2
ok
ok
ok
error:33
SUCCESS
>>> F100
>>> G0 X0 Y2
>>> G2 X0 Y2 I0 J-2
ok
Is there any way to just draw a circle centered from wherever you are?
You can, but the code is different.I think I see what's happening. If you're in relative mode (G91) you can't draw circles.
G91
G0 X0 Y2
G2 X0 Y0 I0 J-2
Gerry
UCCNC 2017 Screenset
[URL]http://www.thecncwoodworker.com/2017.html[/URL]
Mach3 2010 Screenset
[URL]http://www.thecncwoodworker.com/2010.html[/URL]
JointCAM - CNC Dovetails & Box Joints
[URL]http://www.g-forcecnc.com/jointcam.html[/URL]
(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)
Hello, in this article it is very well explained (it is in Spanish but you can translate it) https://www.geniolandia.com/13120889...-con-codigos-g