Import LinuxCNC source tree
This commit is contained in:
18
tests/interp/m98m99/08-sub-follows-main/expected
Normal file
18
tests/interp/m98m99/08-sub-follows-main/expected
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("Fanuc-style 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
tests/interp/m98m99/08-sub-follows-main/test.ngc
Normal file
10
tests/interp/m98m99/08-sub-follows-main/test.ngc
Normal file
@@ -0,0 +1,10 @@
|
||||
%
|
||||
( Fanuc-style subs may follow main program )
|
||||
|
||||
M98 P1
|
||||
M30
|
||||
|
||||
O1
|
||||
(PRINT,X IN O1)
|
||||
M99
|
||||
%
|
||||
3
tests/interp/m98m99/08-sub-follows-main/test.sh
Normal file
3
tests/interp/m98m99/08-sub-follows-main/test.sh
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