开源改变世界

交易失败时 mb2hal 退出 #1143

推推 grbl 3年前 (2023-01-30) 182次浏览
关闭
remy-mr 打开了这个问题 2021 年 4 月 30 日 · 1条评论
关闭

交易失败时 mb2hal 退出#1143

remy-mr 打开了这个问题 2021 年 4 月 30 日 · 1条评论

注释

交易失败时 mb2hal 退出 #1143

[01][06][10][01][00][00][DC][CA]

等待确认…
<01><86><03><02><61>
错误 非法数据值
mb2hal fnct_06_write_single_register ERR: mb_tx[1] mb_links[0] slave[1] = ret[-1] fd[ 4]
mb2hal link_loop_and_logic ERR:mb_tx_num[1] mb_links[0] thread[0] fd[4] 事务失败,num_errors[2]
0 字节刷新
mb2hal link_loop_and_logic DEBUG:mb_tx_num[1] mb_links[0] thread[0] fd[ 4] SERIAL_DELAY_MS 已激活 [50]
mb2hal link_loop_and_logic DEBUG:mb_tx_num[1] mb_links[0] thread[0] fd[4] gbl.slowdown 已激活 [0.100]
mb2hal fnct_06_write_single_register DEBUG:mb_tx[2] mb_links[0] slave[1] fd[4] 1st_addr[4098] nelem[1]
[01][06][10][02][00][00][2C][CA]
等待确认…
<01><06>< 10><02><00><00><2C>
mb2hal link_loop_and_logic OK: mb_tx_num[2] mb_links[0] thread[0] fd[4] transaction OK, update_HZ[1.990]
mb2hal link_loop_and_logic DEBUG: mb_tx_num[2] mb_links[0] thread[0] fd[4] SERIAL_DELAY_MS 激活[ 50]
mb2hal quit_signal DEBUG:信号[15]收到
mb2hal quit_cleanup DEBUG:启动
mb2hal quit_cleanup DEBUG:卸载HAL模块[51] ret [0]
mb2hal quit_cleanup DEBUG:完成OK
mb2hal main OK:要退出!
hm2_eth:在 hm2_eth_reset
hm2_eth:卸载 HostMot2 以太网驱动程序
hm2:正在卸载

我试过主分支。
之前我用的Linuxcnc 2.8.0~pre1没有这个问题。
有办法解决这个问题吗?
`