G1 Vs G2/G3 For CNC - Duet3D Forum
- Oldest to Newest
- Newest to Oldest
- Most Votes
- Reply as topic
- undefined mwinterm last edited by
Hello,
I'm using a DuetWifi to control a CNC router. I modified a Fusion360 post for the use with it which can be found on https://github.com/mwinterm/fusion_post. I have seen that most posts for RepRep Firmware like controls only use linear G0/G1 commands and don't use the ciruclar G2/G3 commands. On industrial CNC controls it is typically an advantage to use G2/G3 to reduce the number of commands and generate smoother moves and/or better surface finish. I'm wondering using G2/G3 would make sense for the Duet boards as well or if there is a specific reason to only use linear moves?
Best regards, Marc
1 Reply Last reply Reply Quote 0 - undefined T3P3Tony administrators last edited by
We support G2/G3 commands if your Gcode generation tool produces them, see:
https://duet3d.dozuki.com/Wiki/Gcode#Section_G2_G3_Controlled_Arc_Move
3d printer slicers do not generate G2/G3 commands, however CNC programming does.
www.duet3d.com
1 Reply Last reply Reply Quote 0 - undefined mwinterm last edited by
I'm aware that you support them. My question is rather if it is useful to use them which comes down to how the control handles them. E.g. if the control generates a series of G1 out of every G2/G3 then I rather do the linearization in my NC software where I have a control parameter regarding desired accuracy. However if there the controller provides an implementation of G2/G3 which is closer to the hardware then it would make sense to modify the post to generate these commands and allowing to do e.g. arc filtering.
1 Reply Last reply Reply Quote 0 - undefined dc42 administrators last edited by dc42
Currently, G2 and G3 on the Duet split arcs into segments 0.2mm long. We can make that value configurable if it would be useful to do so.
Duet WiFi hardware designer and firmware engineer Please do not ask me for Duet support via PM or email, use the forum http://www.escher3d.com, https://miscsolutions.wordpress.com
1 Reply Last reply Reply Quote 0 - undefined mwinterm last edited by
Thank you, that is good to know. Therefore it makes sense for posts not to issue G2/G3 as they do not provide a performance increase over G1. For me there is no need to configure this segment length as I have much more options in the CAM software to modify the linearization. Anyway for me the segment length is not a suitable parameter in this context. More meaningful would be a segmentation based on tolerance value i.e. one would specify the maximum deviation from the circle allowable and by that the segmentation would be determined individually for each G2/G3. But anyway I'm not sure how important G2/G3 still are with today's compute power in controls. I think it might be a better investment to make sure that global movements are still smooth despite huge amounts of linear commands (invest into some lower level smoothing on the controller level) as for more complex shapes (already circles not along the main axis) we are anyway down to linear segments. However speaking of this the DuetWifi I'm using is performing very good for me so far
1 Reply Last reply Reply Quote 1 - undefined Jacotheron last edited by
In my opinion this is where a Duet powered CNC differs from other CNC machines in a good way.
Typically the other CNC machines are run from a different computer/device over USB (using some form of Gcode Sender software) - USB (or more specifically an older Serial connection) is slow, have delays and a few other factors making it less ideal to send a lot of small line segments in quick succession (this is why I don't like to 3D print over USB and also advise against it). For these machines to implement such an arc feature where the arc is sent as a single segment, then divided into smaller segments by the machine machine (in all 3 planes), makes a lot of sense (less data to send).
The Duet in comparison have high speed SPI to the microSD card, uses a much more capable processor and thus can read the line segments in quick succession without the delay of Serial over USB.
I have, with my Duet powered CNC cut wavy shapes and they came out smooth (without a noticeable stutter, using the Post side segmentation - having a powerful PC calculate them is more efficient than having to calculate them on an under powered processor as long as you can get all of the information transmitted/read fast enough).
1 Reply Last reply Reply Quote 0
- First post Last post Go to my next post
Looks like your connection to Duet3D was lost, please wait while we try to reconnect.
Từ khóa » G2 G3 Cnc
-
Multiple Arc CNC Mill Program G2 G3 IJ
-
Quick G-Code Arc Tutorial: Make G02 & G03 Easy, Avoid Mistakes
-
G02 G03 Circular Interpolation - CNC Training Centre
-
Master Your CNC - HOW TO USE G1, G2 AND G3 CODES ON A ...
-
How Does G2,G3 Work?? - CNC Zone
-
CNC Mill G-Code | G2, G3 - YouTube
-
G02 CW / G03 CCW Circular Interpolation Motion (Group 01)
-
What Are The G0, G1, G2, And G3 G-Codes? (Detailed Analysis)
-
CNC G Code: G02 And G03
-
G Codes - LinuxCNC
-
Nội Suy Cung Tròn Trong Lập Trình Tiện CNC
-
Cnc Milling G2 G3 Code Sample
-
G2&G3 On Lathes - Narkive