注释
|
@Russellfam:请发布您的 $$ Grbl 设置和 $I 构建信息字符串。此类问题通常与设置有关。或者,如果您使用的是山寨版 Arduino,它的 USB 串行芯片有问题。 |
|
$I 无法呈现表达式。
$$
$0 = 10(步进脉冲时间,微秒) |
|
@Russellfam: 没什么特别的。在我开始测试之前还有几个问题。你如何闪烁 Grbl?如果您正在编译,请告诉我您的 Arduino IDE 版本。您的 Arduino 是真正的 Arduino Uno 吗?如果不是,它是什么以及它上面的USB串行芯片是什么。应标记为 atmega16U 或 FTDI 或 CH380。 |
|
My guess would be electrical noise from the spindle coupling through your USB cable and causing a disconnect. |
|
Hey, thanks for the replies. |
|
I’ve recently upgraded the GRBL and the UGS. Since then I’ve cut several similr profiles with no issues. this problem started this afternoon and I’ve changed nothing on the system. |
|
@Russellfam : I’ve been running your job on two different Arduinos with the same firmware build and your settings (with soft limits turned off). I’m streaming the program with the stream.py script in the Grbl repo to determine if it’s GUI related. So after 3 runs each for a total of 6, no locking up so far. Grbl v1.1’s interface was updated to contain more realtime information, so |
|
Whoops.. Accidental click. Grbl v1.1’s interface was updated to contain more realtime information, so it might be a GUI bug. I’ll keep running the job and will report a lock-up, if I run across one. |
|
thanks for the help…sure hope we can solve this |
|
Are you using UGS platform? Have you tried Grbl Panel or BCNC? Any difference? |
|
using UGS not UGS platform and I’ve not tried the others. I will do so today and let you know |
|
OK so I’ve been running on the UGS platform and it seems ok on that. being a Sunday I cannot fire up the router and dust extractor I’ll check tomorrow and let you know. I had a quick run now and I have some headway to the problem. If I turn the router on the arduino locks up within a few seconds (5 or 10 seconds). It would seem that there might be electrical interference from the router causing a break down in the serial communication. I’ll hunt around for a ferrite USB cable and see if that solves the problem…The laptop is running on battery and the arduino is running from the laptop USB and so isolated from any mains electricity. |
|
I tried with a different cable a short while ago and that seems to have solved the issue. I dont have any with ferrite, but the one I used is a lot shorter. |
|
@Russellfam : Thanks for the update. I think only UGS platform supports Grbl v1.1 so this was probably the likely cause. |
|
@chamnit from everything @Russellfam describes this was an EMI issue. I’ve seen it several times on various machines with the USB just dropping communications when the spindle starts running. Sometimes the serial port disappears, but not always. Changing the cable, or adding a clip-on ferrite almost always fixes it, but sometimes it takes re-routing the wiring and fixing grounding. |
|
@electrokean: 我想,但如果它在更新到 v1.1 之前运行良好,那么它很可能与该更新有关。AFAIK,常规 UGS 不支持 Grbl v1.1,只有 UGS 平台支持。这可能会解释工作开始时的失败,当旧的 UGS 得到一些反馈时,新的 v1.1 界面没有预料到。无论哪种方式,USB EMI 始终是一个疑点,而且似乎已经解决了。 |


我有一段在 grbl 上运行的 gcode,它是由 UGS 发送的。它无缘无故地间歇性地锁定,没有向 UGS 返回错误消息。UGS 看起来像是在等待下一个命令。
锁定发生在不同的时间和地点。我正在切割一个轮廓,它有时会在第一次切割的中途停止,其他时候它会完成第一次切割,然后将 z 下降 4 毫米并在第二次切割的中途停止。它远没有任何限制。我有严格的限制。
看起来 Arduino 锁定了,我必须拔下 USB 并重新连接才能让它响应 USG。关闭和打开 USG 连接不起作用。
在过去的一天里,我已经多次完成几乎相同的其他配置文件,没有任何问题。我附上了 CamBam Custom_outline_mirror.txt 生成的 gcode
文件