Import LinuxCNC source tree
This commit is contained in:
17
tests/mdi-queue/subs/M100
Executable file
17
tests/mdi-queue/subs/M100
Executable file
@@ -0,0 +1,17 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
# This script (M100) is called to append an integer to a log file,
|
||||
# for testing purposes
|
||||
#
|
||||
# Put this in your INI to use:
|
||||
#
|
||||
# [RS274NGC]USER_M_PATH = ./subs
|
||||
#
|
||||
|
||||
TEST_DIR=$(dirname INI_FILE_NAME)
|
||||
OUT_FILE=$TEST_DIR/gcode-output
|
||||
|
||||
P=$1
|
||||
|
||||
echo "P is $P" >> "$OUT_FILE"
|
||||
|
||||
11
tests/mdi-queue/subs/queue-buster.ngc
Normal file
11
tests/mdi-queue/subs/queue-buster.ngc
Normal file
@@ -0,0 +1,11 @@
|
||||
|
||||
o<queue-buster> sub
|
||||
m100 p12345
|
||||
|
||||
t#1
|
||||
m6
|
||||
|
||||
m100 p-#5400 ; current tool
|
||||
m100 p54321
|
||||
o<queue-buster> endsub
|
||||
|
||||
Reference in New Issue
Block a user