开源改变世界!!

处理响应时出错 <> #1527

推推 grbl 2年前 (2023-01-28) 129次浏览
关闭
Snow4DV 开启了这个issue 2021 年 1 月 31 日 · 4条评论
关闭

处理响应时出错 <<Idle|MPs:0.000,0.000,0.000|FS:0,0>>#1527

Snow4DV 开启了这个issue 2021 年 1 月 31 日 · 4条评论

注释

处理响应时出错 <<Idle|MPs:0.000,0.000,0.000|FS:0,0>> #1527

描述
我刚刚安装了 clean grbl v1.1h,最新版本的软件(没有修改任何设置)并且出现了一系列解析错误的错误:
Error while processing response <<IdleMPos:0.000,0.000,0.000|FS:0,0>> [Error] Error while processing response <<Idle|MPos:0.000,0.000,0.000|FS:0,|WCO:0.000,0.000,0.000>>: Index 1 out of bounds for length 1 [Error] Error while processing response <<Idle|Mos:0.000,0.000,0.000|FS:0,0>> [Error] Error while processing response <<IdleMPos:0.000,0.000,0.000|FS:0,0>> [Error] Error while processing response <<Idle|MPo:0.000,0.000,0.000|FS:0,0>> [Error] Error while processing response <<Idle|MPos:0.000,0.000,0.000|FS:0,>>: Index 1 out of bounds for length 1 [Error] Error while processing response <<Idle|Pos:0.000,0.000,0.000|FS:0,0|WCO:0.000,0.000,0.000>> [Error] Error while processing response <<dle|MPo:0.000,0.000,0.000|FS:0,0>> [Error] Error while processing response <<IdleMPos:0.000,0.000,0.000|FS:0,0>> [Error] Error while processing response <<Idle|MPos0.000,0.000,0.000|FS:0,0>> <Idle|MPos:0.000,0000,0.000|FS:0,0|WCO:0.000,0.000,0.000 [Error] Error while processing response <<Idle|MPos:0.000,0.0000.000|FS:0,0|Ov:100,100,100>> Idle|MPos:0.000,0.000,0.000FS:0,0> [Error] Error while processing response <<Idle|MPos:0.000,0.000,0.000|FS:00>>: Index 1 out of bounds for length 1 [Error] Error while processing response <<Idle|MPos:0.000,0.000,0.000|FS:0,>>: Index 1 out of bounds for length 1 [Error] Error while processing response <<Idle|MPos:0.000,0.0000.000|FS:0,0>> [Error] Error while processing response <<Idle|MPos:0.000,0.0000.000|FS:0,0>> [Error] Error while processing response <<Idle|MPo:0.000,0.000,0.000|FS:0,0|WCO:0.000,0.000,0.000>> Idle|MPos:0.000,0.000,0.000|FS:0,0> [Error] Error while processing response <<Idle|Mos:0.000,0.000,0.000|FS:0,0>> [Error] Error while processing response <<Idle|Mos:0.000,0.000,0.000|FS:0,0>> [Error] Error while processing response <<Idle|MPos:.000,0.000,0.000|FS:0,|Ov:100,100,100>>: Index 1 out of bounds for length 1 <Idle|MPos:0.000,0.000,0.000|FS:0,0
重现
重现行为的步骤:

  1. 将最新的 grbl 版本上传到 arduino uno,v1.1h
  2. 安装ugs平台
  3. 打开它并连接到机器

预期行为
预计不会看到任何这些 :)

截图
Screenshot_54

版本
UGS Platform 2.0.7 快照

硬件
GRBL 1.1h

操作系统(请填写以下信息):
Win 10 1909

处理响应时出错 <<Idle|MPs:0.000,0.000,0.000|FS:0,0>> #1527
合作者

看起来您与控制器的连接不稳定。来自控制器的消息不完整,例如: <IdleMPos:0.000,0.000,0.000|FS:0,0>应该是<Idle|MPos:0.000,0.000,0.000|FS:0,0>

用另一根 USB 数据线试试。你用的是哪种Arduino?
它是廉价的中国版本还是真正的 Arduino?

处理响应时出错 <<Idle|MPs:0.000,0.000,0.000|FS:0,0>> #1527
作者
雪4DV 评论了 2021 年 2 月 1 日  

谢谢!是的,这是最便宜的。但奇怪的是它没有影响 grbl 中的其他东西。我在 arduino 的串行监视器中遇到了同样的事情,所以要在 grbl repo 中搜索答案