按规划持续工作
This commit is contained in:
2
wasm-port/vendor/linuxcnc/tests/interp/m19/README
vendored
Normal file
2
wasm-port/vendor/linuxcnc/tests/interp/m19/README
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
exercise M19 and possible parameters
|
||||
|
||||
20
wasm-port/vendor/linuxcnc/tests/interp/m19/expected
vendored
Normal file
20
wasm-port/vendor/linuxcnc/tests/interp/m19/expected
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
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..... ORIENT_SPINDLE(0, 87.0000, 0)
|
||||
N..... SPINDLE.0.WAIT_ORIENT_COMPLETE(2.0000)
|
||||
N..... ORIENT_SPINDLE(0, 42.0000, 1)
|
||||
N..... ORIENT_SPINDLE(0, 132.0000, 0)
|
||||
N..... ORIENT_SPINDLE(0, 132.0000, 1)
|
||||
N..... SPINDLE.0.WAIT_ORIENT_COMPLETE(1.0000)
|
||||
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..... PROGRAM_END()
|
||||
N..... ON_RESET()
|
||||
2
wasm-port/vendor/linuxcnc/tests/interp/m19/test.ini
vendored
Normal file
2
wasm-port/vendor/linuxcnc/tests/interp/m19/test.ini
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
[RS274NGC]
|
||||
ORIENT_OFFSET = 42.0
|
||||
8
wasm-port/vendor/linuxcnc/tests/interp/m19/test.ngc
vendored
Normal file
8
wasm-port/vendor/linuxcnc/tests/interp/m19/test.ngc
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
M19
|
||||
M19 R45 Q2
|
||||
M19 P1
|
||||
M19 R90 P0
|
||||
M19 R90 P1
|
||||
M19 Q1
|
||||
|
||||
M2
|
||||
3
wasm-port/vendor/linuxcnc/tests/interp/m19/test.sh
vendored
Normal file
3
wasm-port/vendor/linuxcnc/tests/interp/m19/test.sh
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
rs274 -n 0 -i test.ini -g test.ngc | awk '{$1=""; print}'
|
||||
exit "${PIPESTATUS[0]}"
|
||||
Reference in New Issue
Block a user