开源改变世界

程序出错后自行关闭 #247

推推 grbl 3年前 (2023-02-07) 310次浏览
关闭
drom89 开启了这个问题 2022 年 9 月 30 日 · 7条评论
关闭

程序出错后自行关闭#247

drom89 开启了这个问题 2022 年 9 月 30 日 · 7条评论

评论

程序出错后自行关闭 #247

如果我在连接到 ESP32 (MKS DLC32 V2.1) 后遇到任何错误,应用程序会自行关闭…
所以我不能修改它:(,是否有可能以某种调试模式启动它?

程序出错后自行关闭 #247

错误的主要原因几乎是因为我的固件编译错误:(,但那是另一回事了:)

[VER:1.1f.20220928:]
[OPT:VNMSL,35,1024,3,0]
找到目标缓冲区大小
[AXS:3:XYZ]
[NEWOPT:ENUMS,RT+,HOME,REBOOT,TC,SED,RTC]
[FIRMWARE:grblHAL]
[NVS STORAGE:*FLASH]
[DRIVER:ESP32]
[DRIVER VERSION:220922]
[DRIVER OPTIONS:v4.4.2]
[BOARD:MKS DLC32 2.0]

程序出错后自行关闭 #247

IOSender 旨在读取固件中设置的所有参数,这就是它的功能。如果它不能连接到控制器,那么它无论如何也不能做任何事情。

程序出错后自行关闭 #247
所有者

奇怪,这可能是由于与控制器的通信损坏所致。

所以我不能修改它:(,是否有可能以某种调试模式启动它?

不,不是发布版本。

程序出错后自行关闭 #247
作者
drom89 评论了 2022 年 9 月 30 日  

所以我用 VScode 和 ESP-IDF 重新编译,我仍然从 iosender 收到错误(iosender 在 OK 按钮后自行关闭)。
如果我通过 Lightburn 连接,我至少会得到一些信息。但是我没有连接电机,所以我不知道它是否工作。
程序出错后自行关闭 #247
程序出错后自行关闭 #247
程序出错后自行关闭 #247

程序出错后自行关闭 #247
所有者

最新的边缘版本有同样的错误吗?

程序出错后自行关闭 #247
作者

很奇怪,每次我启动程序时都会出现不同的错误。

程序出错后自行关闭 #247
程序出错后自行关闭 #247

重新启动几次后,我设法进入了控制台。

[DRIVER:ESP32]
[DRIVER VERSION:220922]
[DRIVER OPTIONS:v4.4.2]
[BOARD:MKS DLC32 2.0]
[G54:0.000,0.000,0.000]
[G55:0.000,0.000,0.000]
[G56:0.000,0.000,0.000]
[G57:0.000,0.000,0.000]
[G58:0.000,0.000,0.000]
[G59:0.000,0.000,0.000]
[G59.1:0.000,0.000,0.000]
[G59.2:0.000,0.000,0.000]
[G59.3:0.000,0.000,0.000]
[G28:0.000,0.000,0.000]
[G30:0.000,0.000,0.000]
[G92:0.000,0.000,0.000]
[TLO:0.000,0.000,0.000]
[PRB:0.000,0.000,0.000:0]
[G54:0.000,0.000,0.000]
[G55:0.000,0.000,0.000]
[G56:0.000,0.000,0.000]
[G57:0.000,0.000,0.000]
[G58:0.000,0.000,0.000]
[G59:0.000,0.000,0.000]
[G59.1:0.000,0.000,0.000]
[G59.2:0.000,0.000,0.000]
[G59.3:0.000,0.000,0.000]
[G28:0.000,0.000,0.000]
[G30:0.000,0.000,0.000]
[G92:0.000,0.000,0.000]
[TLO:0.000,0.000,0.000]
[PRB:0.000,0.000,0.000:0]
error:2 - Bad number format: Missing the expected G-code word value or numeric value format is not valid.
[G54:0.000,0.000,0.000]
[G55:0.000,0.000,0.000]
[G56:0.000,0.000,0.000]
[G57:0.000,0.000,0.000]
[G58:0.000,0.000,0.000]
[G59:0.000,0.000,0.000]
[G59.1:0.000,0.000,0.000]
[G59.2:0.000,0.000,0.000]
[G59.3:0.000,0.000,0.000]
[G28:0.000,0.000,0.000]
[G30:0.000,0.000,0.000]
[G92:0.000,0.000,0.000]
[TLO:0.000,0.000,0.000]
[PRB:0.000,0.000,0.000:0]
error:2 - Bad number format: Missing the expected G-code word value or numeric value format is not valid.
[G54:0.000,0.000,0.000]
[G55:0.000,0.000,0.000]
[G56:0.000,0.000,0.000]
[G57:0.000,0.000,0.000]
[G58:0.000,0.000,0.000]
[G59:0.000,0.000,0.000]
[G59.1:0.000,0.000,0.000]
[G59.2:0.000,0.000,0.000]
[G59.3:0.000,0.000,0.000]
[G28:0.000,0.000,0.000]
[G30:0.000,0.000,0.000]
[G92:0.000,0.000,0.000]
[TLO:0.000,0.000,0.000]
[PRB:0.000,0.000,0.000:0]
error:2 - Bad number format: Missing the expected G-code word value or numeric value format is not valid.
[G54:0.000,0.000,0.000]
[G55:0.000,0.000,0.000]
[G56:0.000,0.000,0.000]
[G57:0.000,0.000,0.000]
[G58:0.000,0.000,0.000]
[G59:0.000,0.000,0.000]
[G59.1:0.000,0.000,0.000]
[G59.2:0.000,0.000,0.000]
[G59.3:0.000,0.000,0.000]
[G28:0.000,0.000,0.000]
[G30:0.000,0.000,0.000]
[G92:0.000,0.000,0.000]
[TLO:0.000,0.000,0.000]
[PRB:0.000,0.000,0.000:0]
[G54:0.000,0.000,0.000]
[G55:0.000,0.000,0.000]
[G56:0.000,0.000,0.000]
[G57:0.000,0.000,0.000]
[G58:0.000,0.000,0.000]
[G59:0.000,0.000,0.000]
[G59.1:0.000,0.000,0.000]
[G59.2:0.000,0.000,0.000]
[G59.3:0.000,0.000,0.000]
[G28:0.000,0.000,0.000]
[G30:0.000,0.000,0.000]
[G92:0.000,0.000,0.000]
[TLO:0.000,0.000,0.000]
[PRB:0.000,0.000,0.000:0]
[G54:0.000,0.000,0.000]
[G55:0.000,0.000,0.000]
[G56:0.000,0.000,0.000]
[G57:0.000,0.000,0.000]
[G58:0.000,0.000,0.000]
[G59:0.000,0.000,0.000]
[G59.1:0.000,0.000,0.000]
[G59.2:0.000,0.000,0.000]
[G59.3:0.000,0.000,0.000]
[G28:0.000,0.000,0.000]
[G30:0.000,0.000,0.000]
[G92:0.000,0.000,0.000]
[TLO:0.000,0.000,0.000]
[PRB:0.000,0.000,0.000:0]
error:2 - Bad number format: Missing the expected G-code word value or numeric value format is not valid.
[G54:0.000,0.000,0.000]
[G55:0.000,0.000,0.000]
[G56:0.000,0.000,0.000]
[G57:0.000,0.000,0.000]
[G58:0.000,0.000,0.000]
[G59:0.000,0.000,0.000]
[G59.1:0.000,0.000,0.000]
[G59.2:0.000,0.000,0.000]
[G59.3:0.000,0.000,0.000]
[G28:0.000,0.000,0.000]
[G30:0.000,0.000,0.000]
[G92:0.000,0.000,0.000]
[TLO:0.000,0.000,0.000]
[PRB:0.000,0.000,0.000:0]
error:2 - Bad number format: Missing the expected G-code word value or numeric value format is not valid.
[VER:1.1f.20220928:]
[OPT:VNMSL,35,1024,3,0]
[AXS:3:XYZ]
[NEWOPT:ENUMS,RT+,REBOOT,TC,SED,RTC]
[FIRMWARE:grblHAL]
[NVS STORAGE:*FLASH]
[DRIVER:ESP32]
[DRIVER VERSION:220922]
[DRIVER OPTIONS:v4.4.2]
[BOARD:MKS DLC32 2.0]
[G54:0.000,0.000,0.000]
[G55:0.000,0.000,0.000]
[G56:0.000,0.000,0.000]
[G57:0.000,0.000,0.000]
[G58:0.000,0.000,0.000]
[G59:0.000,0.000,0.000]
[G59.1:0.000,0.000,0.000]
[G59.2:0.000,0.000,0.000]
[G59.3:0.000,0.000,0.000]
[G28:0.000,0.000,0.000]
[G30:0.000,0.000,0.000]
[G92:0.000,0.000,0.000]
[TLO:0.000,0.000,0.000]
[PRB:0.000,0.000,0.000:0]
error:1 - Expected command letter: G-code words consist of a letter and a value. Letter was not found.
error:1 - Expected command letter: G-code words consist of a letter and a value. Letter was not found.
[G54:0.000,0.000,0.000]
[G55:0.000,0.000,0.000]
[G56:0.000,0.000,0.000]
[G57:0.000,0.000,0.000]
[G58:0.000,0.000,0.000]
[G59:0.000,0.000,0.000]
[G59.1:0.000,0.000,0.000]
[G59.2:0.000,0.000,0.000]
[G59.3:0.000,0.000,0.000]
[G28:0.000,0.000,0.000]
[G30:0.000,0.000,0.000]
[G92:0.000,0.000,0.000]
[TLO:0.000,0.000,0.000]
[PRB:0.000,0.000,0.000:0]
[G54:0.000,0.000,0.000]
[G55:0.000,0.000,0.000]
[G56:0.000,0.000,0.000]
[G57:0.000,0.000,0.000]
[G58:0.000,0.000,0.000]
[G59:0.000,0.000,0.000]
[G59.1:0.000,0.000,0.000]
[G59.2:0.000,0.000,0.000]
[G59.3:0.000,0.000,0.000]
[G28:0.000,0.000,0.000]
[G30:0.000,0.000,0.000]
[G92:0.000,0.000,0.000]
[TLO:0.000,0.000,0.000]
[PRB:0.000,0.000,0.000:0]
error:2 - Bad number format: Missing the expected G-code word value or numeric value format is not valid.
error:2 - Bad number format: Missing the expected G-code word value or numeric value format is not valid.
error:2 - Bad number format: Missing the expected G-code word value or numeric value format is not valid.
error:2 - Bad number format: Missing the expected G-code word value or numeric value format is not valid.
error:2 - Bad number format: Missing the expected G-code word value or numeric value format is not valid.
error:2 - Bad number format: Missing the expected G-code word value or numeric value format is not valid.
error:2 - Bad number format: Missing the expected G-code word value or numeric value format is not valid.
error:2 - Bad number format: Missing the expected G-code word value or numeric value format is not valid.
error:2 - Bad number format: Missing the expected G-code word value or numeric value format is not valid.
error:2 - Bad number format: Missing the expected G-code word value or numeric value format is not valid.
error:2 - Bad number format: Missing the expected G-code word value or numeric value format is not valid.
ok
<Idle|MPos:0.000,0.000,0.000|Bf:35,1023|FS:0,0|Pn:PXYZ>
<Idle|MPos:0.000,0.000,0.000|Bf:35,1023|FS:0,0|Pn:PXYZ|Ov:80,50,100>
<Idle|MPos:0.000,0.000,0.000|Bf:35,1023|FS:0,0|Pn:PXYZ>
<Idle|MPos:0.000,0.000,0.000|Bf:35,1023|FS:0,0|Pn:PXYZ>
<Idle|MPos:0.000,0.000,0.000|Bf:35,1023|FS:0,0|Pn:PXYZ|WCO:0.000,0.000,0.000>
<Idle|MPos:0.000,0.000,0.000|Bf:35,1023|FS:0,0|Pn:PXYZ>
<Idle|MPos:0.000,0.000,0.000|Bf:35,1023|FS:0,0|Pn:PXYZ>
<Idle|MPos:0.000,0.000,0.000|Bf:35,1023|FS:0,0|Pn:PXYZ>
<Idle|MPos:0.000,0.000,0.000|Bf:35,1023|FS:0,0|Pn:PXYZ|Ov:80,50,100>
<Idle|MPos:0.000,0.000,0.000|Bf:35,1023|FS:0,0|Pn:PXYZ>
<Idle|MPos:0.000,0.000,0.000|Bf:35,1023|FS:0,0|Pn:PXYZ>
<Idle|MPos:0.000,0.000,0.000|Bf:35,1023|FS:0,0|Pn:PXYZ>
<Idle|MPos:0.000,0.000,0.000|Bf:35,1023|FS:0,0|Pn:PXYZ>
程序出错后自行关闭 #247
作者

设置:Grbl 选项卡很干净,但我在控制台中获得了所有信息
程序出错后自行关闭 #247

程序出错后自行关闭 #247
作者

无论如何,主要问题出在固件中。程序在出现错误后自行关闭是个小问题……