按建议,继续完成后续工作

结论:将 GET_EXTERNAL_FEED_RATE 接入 canonical feed 状态,并用 G20/G21 长度单位 fixture 验证回读。
This commit is contained in:
2026-06-08 00:07:55 +08:00
parent bdbe246a82
commit 0b70bb0aa8
6 changed files with 11 additions and 5 deletions

View File

@@ -4,5 +4,6 @@ canon_event=USE_LENGTH_UNITS units=1
canon_event=SET_FEED_RATE rate=60
canon_event=STRAIGHT_FEED line=3 x=1.5 y=0 z=0 a=0 b=0 c=0 u=0 v=0 w=0
canon_event=USE_LENGTH_UNITS units=2
canon_event=MESSAGE: feed after_g21=60.0000
canon_event=SET_FEED_RATE rate=120
canon_event=STRAIGHT_FEED line=5 x=50.8 y=0 z=0 a=0 b=0 c=0 u=0 v=0 w=0
canon_event=STRAIGHT_FEED line=6 x=50.8 y=0 z=0 a=0 b=0 c=0 u=0 v=0 w=0

View File

@@ -2,4 +2,5 @@ G90 G17 G0 X25.4 Y0 Z0
G20
G1 X1.5 F60
G21
(DEBUG, feed after_g21=%f#<_feed>)
G1 X50.8 F120