[LinuxCNC/linuxcnc Issue#439] Error decoding error in smart-serial

未分类 bolang 5个月前 (10-15) 36次浏览

Issue #439 | 状态: 已关闭 | 作者: andypugh | 创建时间: 2018-06-01

标签: hostmot2 affects 2.7


The notes in the code here:
https://github.com/LinuxCNC/linuxcnc/blob/master/src/hal/drivers/mesa-hostmot2/sserial.c#L2235

Indicate that remote faults are indicated by status but 8 being set, and that further details are indicated by bits 24 to 31.

But the decoding function:
https://github.com/LinuxCNC/linuxcnc/blob/master/src/hal/drivers/mesa-hostmot2/sserial.c#L2279

Considers all 32 bits, including bit 8. So you get a report “remote error, type = remote error”

原始Issue: https://github.com/LinuxCNC/linuxcnc/issues/439

喜欢 (0)