按规划持续工作
This commit is contained in:
18
wasm-port/vendor/linuxcnc/tests/interp/subs-follow-main/expected
vendored
Normal file
18
wasm-port/vendor/linuxcnc/tests/interp/subs-follow-main/expected
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
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..... COMMENT("Subs may follow main program ")
|
||||
IN O1
|
||||
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()
|
||||
N..... ON_RESET()
|
||||
10
wasm-port/vendor/linuxcnc/tests/interp/subs-follow-main/test.ngc
vendored
Normal file
10
wasm-port/vendor/linuxcnc/tests/interp/subs-follow-main/test.ngc
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
%
|
||||
( Subs may follow main program )
|
||||
|
||||
O1 call
|
||||
M30
|
||||
|
||||
O1 sub
|
||||
(PRINT,X IN O1)
|
||||
O1 endsub
|
||||
%
|
||||
3
wasm-port/vendor/linuxcnc/tests/interp/subs-follow-main/test.sh
vendored
Normal file
3
wasm-port/vendor/linuxcnc/tests/interp/subs-follow-main/test.sh
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
rs274 -g test.ngc | awk '{$1=""; print}'
|
||||
exit "${PIPESTATUS[0]}"
|
||||
Reference in New Issue
Block a user