bdring / 6-Pack_CNC_Controller

MIT License
289 stars 71 forks source link

Problem with gcode #47

Open sns5400 opened 3 years ago

sns5400 commented 3 years ago

Hello, I have a older problem with a gcodefile where Bart give me before a reply but after a computer crash i do not find the solution any more. Is it possible to point me back on the rails. i remember i must modify some file before compiling the hole thing.

Gcode file: disk.txt

Sreenshot: Screenshot at 2021-04-26 10-12-30

Thank you in advance

bdring commented 3 years ago

You should ask questions about Grbl_ESP32 on that repo.

https://github.com/bdring/Grbl_Esp32

You can send $e=33 to find out what error 33 is. It is an invalid target for an arc. This means you are telling Grbl to go from an existing location to a new location via a specific arc move. When Grbl calculates that arc move it does not get exactly to that target.

This could be due to the fact that your gcode is not very accurate with only 2 decimal places. You should try to get your CAM program to generate more accuracy. This will insure the best accuracy.

Another way is to allow more tolerance in Grbl. Arc tolerance is set via the $GCode/ArcTolerance setting. The default is 0.002mm. You can see it is very likely that 2 decimal places will produce an error. I would think that $GCode/ArcTolerance=0.03 would work.