Contact me: hankecnc@gmail.com

[Q] Grbl 是否修复了最后一段链接? #1353

推推 grbl 3年前 (2023-01-23) 120次浏览

关闭
thinkyhead 打开了这个问题 2018 年 2 月 6 日 · 6条评论
 Closed

[Q] Has Grbl fixed last-segment chaining?#1353

thinkyhead opened this issue on Feb 6, 2018 · 6 comments

注释

[Q] Grbl 是否修复了最后一段链接? #1353
脑洞大开 评论了 2018 年 2 月 6 日  

嘿 Grblers,我一直在跟踪Marlin 固件(基于旧版本的 Grbl)中的一个错误,其中任何移动的最后一段都没有链接到前一个。例如,这个 G 代码:

G28
G1 Z5

G1 X50 F4500
G1 X75
G1 X100
M400
G1 Y50
G1 Y75
G1 Y100
M400
G1 X50
G1 X25
G1 X0
M400
G1 Y50
G1 Y25
G1 Y0

…应该与这个 G 代码的行为相同:

G28
G1 Z5

G1 X100 F4500
M400
G1 Y100
M400
G1 X0
M400
G1 Y0

但是,在广场每一侧的最后一段之前都有停顿。

这是 2012 年左右 Grbl 的一个已知问题,此后已得到修复吗?

[Q] Grbl 是否修复了最后一段链接? #1353
成员

自从 2011 年我开始从事这个项目以来就没有了。这是我修复的第一件事。在此之前,Marlin 就被分叉了。

[Q] Grbl 是否修复了最后一段链接? #1353
作者

您不会碰巧有一个提交 ID,对吗?如果没有,我很乐意搜索责备日志。

[Q] Grbl 是否修复了最后一段链接? #1353
作者

这看起来像一个潜在的候选人…… d75ad82 #diff-a4eaa8474f0ada716c21c0d502f87a6dR132

-  planner_reverse_pass_kernel(NULL, block[0], block[1]);
+  // Skip buffer tail to prevent over-writing the initial entry speed.
[Q] Grbl 是否修复了最后一段链接? #1353
作者

I’m going out on a limb and betting grbl still has this issue. After much studying of the code, without guidance, I cannot see why it would not. Please test the posted G-code and see if it performs correctly.

[Q] Grbl 是否修复了最后一段链接? #1353
Member

@thinkyhead : Nope. Grbl runs just fine. There hasn’t been a significant motion issue in several years, which is the main reason why its so popular, even though its restrictive and simple. What you are likely seeing is a buffer starvation or inability to plan the path quickly enough and causing a desync between execution and the planner. The fixes in Grbl are subtle, but are exact. They account for failure conditions gracefully.

[Q] Grbl 是否修复了最后一段链接? #1353
Author

Thanks much. A lot to digest in studying the updates to your implementation.

喜欢 (0)