开源改变世界

twopass 不以串行端口作为参数加载用户空间组件 #653

推推 grbl 3年前 (2023-01-29) 222次浏览
关闭
phillc54 打开了这个问题 2019 年 10 月 13 日 · 0 条评论
关闭

twopass 不以串行端口作为参数加载用户空间组件#653

phillc54 打开了这个问题 2019 年 10 月 13 日 · 0 条评论

注释

twopass 不以串行端口作为参数加载用户空间组件 #653
合作者

以下是我重现该问题所遵循的步骤:

  1. 在 ini 文件中:
    TWOPASS = ON
    HALFILE = plasmac.tcl

  2. 在 plasmac.tcl 中:
    loadusr -Wn pmx485 ./pmx485.py /dev/ttyS0

这是我期望发生的事情:

使用 /dev/ttyS0 加载的组件作为参数传递

这是发生了什么:

终端中的以下消息:
Starting LinuxCNC…
twopass:invoked with <> options
twopass:found ./machine.hal
twopass:found ./plasmac.tcl
twopass:found ./axis_metric_connections.hal
twopass:pass0: loadusr -Wn pmx485 ./pmx485.py /dev/ttyS0
twopass:loadusr </dev/ttyS0> 不可执行

它工作正常:

有关我的硬件和软件的信息:

  • 我正在使用 Debian GNU/Linux 9.11 (stretch)
  • 我正在使用 4.9.0-9-rt-amd64
  • 我正在运行 RIP 构建
  • 我正在使用 2.9.0~pre0.700.g1337f284e
  • 我正在使用安讯士
  • 我正在使用 sim

pmx485 是一个使用 PyModbus 与 Modbus ASCII 外围设备通信的组件。