Import LinuxCNC source tree
This commit is contained in:
19
tests/interp/m98m99/10-M98-P001/expected
Normal file
19
tests/interp/m98m99/10-M98-P001/expected
Normal file
@@ -0,0 +1,19 @@
|
||||
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("main program")
|
||||
got here
|
||||
N..... COMMENT("end")
|
||||
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()
|
||||
14
tests/interp/m98m99/10-M98-P001/test.ngc
Normal file
14
tests/interp/m98m99/10-M98-P001/test.ngc
Normal file
@@ -0,0 +1,14 @@
|
||||
%
|
||||
(main program)
|
||||
M98 P0002
|
||||
M30 (end)
|
||||
|
||||
O0002 (O-word begins with '0')
|
||||
(PRINT,x got here)
|
||||
M99
|
||||
|
||||
O2 (O-word does not begin with '0')
|
||||
(PRINT,x ERROR: should not get here)
|
||||
M99
|
||||
|
||||
%
|
||||
3
tests/interp/m98m99/10-M98-P001/test.sh
Normal file
3
tests/interp/m98m99/10-M98-P001/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