Contact me: hankecnc@gmail.com

丢失的步骤 #35

推推 grbl 3年前 (2023-01-25) 320次浏览
新问题

丢失的步骤 #35

关闭
rawkstar320 打开了这个问题 2013 年 1 月 6 日 · 13条评论

注释

丢失的步骤 #35

我一直在玩 UGS v1.05,但遇到了一些奇怪的问题。任何轴上的任何运动似乎都有“溅射”并导致丢失步骤。本质上,电机旋转大约 1 圈,快速暂停,然后继续。这种“溅射”非常一致,彼此之间可能相隔 1 秒。

我对旧式 gcode 发件人没有这个问题,只有新的。我唯一的猜测是新版本可能正在轮询“?” 和其他实时命令过于频繁以至于 arduino 无法跟上?

丢失的步骤 #35
所有者

你有我可以用来重现这个的示例 gcode 文件吗?

丢失的步骤 #35
作者

它实际上发生在任何代码中,即使在使用 $h 来启动
机器时也是如此。如果有帮助,我会制作视频并写入我的设置。
在 2013 年 1 月 5 日下午 4:11,“Will Winder” notifications@github.com写道:

你有我可以用来重现这个的示例 gcode 文件吗?


直接回复此电子邮件或在 GitHub 上查看它 https://github.com/ /issues/35 #issuecomment-11919952。

丢失的步骤 #35

只是好奇。您使用的是 v0.8 还是 v0.9?如果是后者,
新的步进算法会产生更多的开销,所以这可能是原因。而且我
会降低轮询率或使其可配置(如果还没有)以
补偿..

2013 年 1 月 5 日星期六下午 4:02,rawkstar320 notifications@github.com写道:

附加在任何代码中,即使在使用 $h 启动
机器时也是如此。如果有帮助,我会制作视频并写入我的设置。

丢失的步骤 #35
作者

我正在使用 0.8。“官方 master 分支”
2013 年 1 月 5 日下午 6:09,“Sonny Jeon” notifications@github.com写道:

只是好奇。您使用的是 v0.8 还是 v0.9?如果是后者,
新的步进算法会产生更多的开销,所以这可能是原因。而且我
会降低轮询率或使其可配置(如果还没有)以
补偿..

On Sat, Jan 5, 2013 at 4:02 PM, rawkstar320 <notifications@github.com

wrote:

appens during any code, even when using $h to home the
machine. I’ll make a video and write in my settings if that helps.


Reply to this email directly or view it on GitHubhttps://github.com//issues/35#issuecomment-11921475.

丢失的步骤 #35
Owner

@chamnit The current rate is once a second, is that too frequent for the default setting?

丢失的步骤 #35

No it definitely shouldn’t. I’ve had the keyboard pressed down and
repeating. Grbl keeps up fine. Sounds like its something else. For some
reason I had the impression that it was set at 20hz.

On Jan 5, 2013, at 5:09 PM, Will Winder notifications@github.com wrote:

@chamnit https://github.com/chamnit The current rate is once a second, is
that too frequent for the default setting?


Reply to this email directly or view it on
GitHubhttps://github.com//issues/35#issuecomment-11922051.

丢失的步骤 #35
Author

I played with it more and I actually can only get it to “skip” during a homing cycle ($h). Although jogging to an xyz coordinate does sound a little different than usual, but my video couldnt pick it up. Very strange…

Here is the video “proof”:
https://www.youtube.com/watch?v=rJIUAsKFo-Q
Note that when using a different sender, the machine is nearly silent.

GRBL Settings:

$0=1280.000 (x, step/mm)
$1=1280.000 (y, step/mm)
$2=1280.000 (z, step/mm)
$3=30 (step pulse, usec)
$4=300.000 (default feed, mm/min)
$5=300.000 (default seek, mm/min)
$6=28 (step port invert mask, int:00011100)
$7=25 (step idle delay, msec)
$8=50.000 (acceleration, mm/sec^2)
$9=0.050 (junction deviation, mm)
$10=0.100 (arc, mm/segment)
$11=25 (n-arc correction, int)
$12=3 (n-decimals, int)
$13=0 (report inches, bool)
$14=1 (auto start, bool)
$15=0 (invert step enable, bool)
$16=0 (hard limits, bool)
$17=1 (homing cycle, bool)
$18=0 (homing dir invert mask, int:00000000)
$19=25.000 (homing feed, mm/min)
$20=250.000 (homing seek, mm/min)
$21=100 (homing debounce, msec)
$22=1.000 (homing pull-off, mm)

丢失的步骤 #35

Ah ok. Now I see what’s going on. It’s not a problem with UGS per se. It’s more of a problem with Grbl and it’s homing routine. It doesn’t like to be polled for a status report while homing because it executes the steps serially with the main program, rather than asynchronously with the interrupts. So, when it polls for a status, it pauses the step generation for the 40 or usec to report the status and then continues.

I’ll have to push a fix for this. For v0.8, I’ll just check for a system abort rather than the full runtime commands. Hence polling characters will be ignored. UGS will need to either not send polling characters during homing or be ok with no response from Grbl after sending a poll. For v0.9, the plan is to remove the ‘lite’ stepper algorithm in v0.8 and fully integrate homing into the main stepper module. So there shouldn’t be a problem with this in this way.

Anyhow, polling shouldn’t be done with a homing routine anyway. Grbl reports back non-sensical information during it.

丢失的步骤 #35

@rawkstar320 : BTW I ran across your instructables on machinable wax. I think it made it on Lifehacker too. Nice job. What do you use the machinable wax for? Does it have any mechanical use or is it strictly for molds or code proofing?

丢失的步骤 #35
Author

I thought it might be something like that. I’ll look for the update and see
if that helps.

The wax Instructable hit big, I was pretty surprised. I’m using it for a
resin mold right now, but it could be used in “fit/form” applications.its a
little bit more brittle than purchased versions.
On Jan 6, 2013 11:38 AM, “Sonny Jeon” notifications@github.com wrote:

@rawkstar320 https://github.com/rawkstar320
:顺便说一句,我 在可加工蜡上遇到了你的教科书。我认为它也出现在 Lifehacker 上。干得好
。可加工蜡有什么用?它有任何机械
用途还是仅用于模具或代码校对?


直接回复此电子邮件或在 GitHub 上查看它 https://github.com/ /issues/35 #issuecomment-11930623。

丢失的步骤 #35

行。我发布了更改,希望这能解决您的问题。让我知道任何一种方式。谢谢!

有趣的。我想它也可以用来制作真空模具形状。也就是说,如果蜡不与热塑料片熔化。我一定要试试看。:)

丢失的步骤 #35
作者

亲爱的,我今天会尝试测试更新(忙忙忙……)

这将取决于您的塑料板,但它可能会工作一次……取决于您正在成型的塑料类型(及其温度)。

丢失的步骤 #35
作者

我忘了提供更新,但 GRBL 更新有效。谢谢!