Import LinuxCNC source tree
This commit is contained in:
20
tests/mdi-while-queuebuster-waitflag/remap.py
Normal file
20
tests/mdi-while-queuebuster-waitflag/remap.py
Normal file
@@ -0,0 +1,20 @@
|
||||
#!/usr/bin/env python3
|
||||
import linuxcnc
|
||||
import emccanon
|
||||
import interpreter
|
||||
|
||||
def init_stdglue(self):
|
||||
pass
|
||||
|
||||
def M400(self,**words):
|
||||
|
||||
self.execute("M66 E0 L0")
|
||||
# self.execute("M66 P0 L1 Q1")
|
||||
print("self.input_flag pre = %s" % self.input_flag)
|
||||
yield interpreter.INTERP_EXECUTE_FINISH
|
||||
|
||||
print("self.input_flag post = %s" % self.input_flag)
|
||||
# optionally,
|
||||
# yield interpreter.INTERP_OK
|
||||
|
||||
|
||||
Reference in New Issue
Block a user