提示词:补齐 M51 多主轴源链接覆盖

结论:新增 [TRAJ] SPINDLES=2 的 source-linked fixture,验证 LinuxCNC interp_convert.cc 中 M51 带  只切换选定主轴的 speed override;INI 来源为 rs274ngc_pre.cc init 读取 INI_FILE_NAME。未扩展 smoke 语义。检查通过:./test-linuxcnc-source-link.sh;./test-native.sh。
This commit is contained in:
cnc
2026-06-05 21:09:07 +08:00
parent 1b60bc2b2e
commit eb91ced792
3 changed files with 31 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
[TRAJ]
SPINDLES = 2

View File

@@ -0,0 +1,6 @@
G21 G90 G17
(Source basis: LinuxCNC src/emc/rs274ngc/rs274ngc_pre.cc init reads [TRAJ] SPINDLES from INI_FILE_NAME.)
(Source basis: LinuxCNC src/emc/rs274ngc/interp_convert.cc M51 with $ selects one spindle override.)
M51 P0 $1
M51 P1 $1
M30