From 338aa1d173a18d9caa0b8ba297f1a176043fdc1e Mon Sep 17 00:00:00 2001 From: Anders Sandstrom Date: Wed, 26 Jan 2022 18:22:15 +0100 Subject: [PATCH] Add comments in plc file --- iocsh/plc/grbl.plc | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) 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); }; - - - -