按规划持续工作

This commit is contained in:
2026-06-09 06:13:28 +08:00
parent 902c6ecaea
commit 2658ee3b72
255 changed files with 12487 additions and 150 deletions

View File

@@ -0,0 +1,2 @@
M30 and M02 reset the interpreter's `remap_level`. This test checks
for interaction of remapped commands with those M codes.

View File

@@ -0,0 +1,17 @@
executing
N..... USE_LENGTH_UNITS(CANON_UNITS_MM)
N..... SET_G5X_OFFSET(1, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000)
N..... SET_G92_OFFSET(0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000)
N..... SET_XY_ROTATION(0.0000)
N..... SET_FEED_REFERENCE(CANON_XYZ)
N..... ON_RESET()
N..... MESSAGE("m400 call_level=1.000000 remap_level=1.000000 line=2.000000")
N..... SET_G5X_OFFSET(1, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000)
N..... SET_XY_ROTATION(0.0000)
N..... SET_FEED_MODE(0, 0)
N..... SET_FEED_RATE(0.0000)
N..... STOP_SPINDLE_TURNING(0)
N..... SET_SPINDLE_MODE(0 0.0000)
N..... PALLET_SHUTTLE()
N..... PROGRAM_END()
N..... ON_RESET()

View File

@@ -0,0 +1,5 @@
o<rm400> sub
(debug,m400 call_level=#<_call_level> remap_level=#<_remap_level> line=#<_line>)
o<rm400> endsub
m2
%

View File

@@ -0,0 +1,8 @@
[EMC]
DEBUG=0
LOG_LEVEL=0
[RS274NGC]
SUBROUTINE_PATH = .
REMAP=M400 modalgroup=10 ngc=rm400

View File

@@ -0,0 +1 @@
M400 M30

View File

@@ -0,0 +1,3 @@
#!/bin/bash
rs274 -i test.ini -g test.ngc 2>&1 | sed 's/^ *[0-9]* //'
exit "${PIPESTATUS[0]}"