diff --git a/iocsh/plc/grbl.plc b/iocsh/plc/grbl.plc index 7769471..69581a1 100644 --- a/iocsh/plc/grbl.plc +++ b/iocsh/plc/grbl.plc @@ -1,15 +1,12 @@ +# +# Test of GRBL plugin for g-code parsing +# + println('GRBL busy:', grbl_get_busy()); -static.state; - if(not(grbl_get_busy())) { println('Retrigger g-code!!'); grbl_set_execute(0); - grbl_set_execute(1); - static.state:=1; + grbl_set_execute(1); }; - - - -