WIP
This commit is contained in:
+9
-4
@@ -2,14 +2,19 @@
|
||||
# Test of GRBL plugin for g-code parsing
|
||||
#
|
||||
|
||||
println('GRBL busy :', grbl_get_busy());
|
||||
println('Parser busy:', grbl_get_parser_busy());
|
||||
println('Error:', grbl_get_error());
|
||||
println('GRBL busy :', grbl_get_busy());
|
||||
println('Parser busy :', grbl_get_parser_busy());
|
||||
println('Error :', grbl_get_error());
|
||||
println('Row :', grbl_get_code_row_num());
|
||||
println('Ecmc error :', ax1.error, ax2.error, ax3.error);
|
||||
|
||||
if(grbl_get_error()) {
|
||||
println('Try reset');
|
||||
grbl_reset_error();
|
||||
ec_err_rst();
|
||||
#ax1.reset:=1;
|
||||
#ax2.reset:=1;
|
||||
#ax3.reset:=1;
|
||||
|
||||
} else if(not(grbl_get_parser_busy())) {
|
||||
static.counter+=1;
|
||||
println('Retrigger g-code. Counter: ', static.counter);
|
||||
|
||||
Reference in New Issue
Block a user