Grbl Controller 3.1 available on github

I’ve found some time here and there and added some significant enhancements for V3.1. Most notably:

  • Support for Grbl 0.8c
  • LCD displays position obtained from Grbl, not computed from file/command
  • Removed all cycling of COM port which was losing position information (among other issues).

See github README file for the full details.

Note – binaries are not yet available.

7 thoughts on “Grbl Controller 3.1 available on github

  1. Hi I am a newbie
    Your new grbl cotroller is great but I have a problem when I check Z limiting and enter a figure of 15 load a gcode file and run I end up with lots of errors error: Invalid statement for G1 F16 here is part of controller log so you can see the problem. My computer is runningnWindows 7 and am using an arduino mega 2560 board running arduino-1.0.5, using grbl 8 triblax 1280
    2013-07-09 17:35:09.489 INFO (DIAG) – Grbl Controller 3.4 has started
    2013-07-09 17:36:34.838 INFO (DIAG) – User clicked Port Open/Close
    2013-07-09 17:36:36.023 DEBUG (DIAG) – GOT:
    2013-07-09 17:36:36.148 DEBUG (DIAG) – GOT:Grbl 0.8c ['$' for help]
    2013-07-09 17:36:36.148 DEBUG (DIAG) – Got Grbl Version (Parsed:) 0.8c ($$=1)
    2013-07-09 17:36:36.148 DEBUG (DIAG) – SENDING[0]: ?
    2013-07-09 17:36:36.148 INFO (STATUS) – Grbl 0.8c ['$' for help]
    2013-07-09 17:36:36.398 DEBUG (DIAG) – GOT:
    2013-07-09 17:36:36.398 DEBUG (DIAG) – Decoded: State:Idle MPos: 0.000000,0.000000,0.000000 WPos: 0.000000,0.000000,0.000000
    2013-07-09 17:36:36.523 DEBUG (DIAG) – GOT:ok
    2013-07-09 17:36:36.741 DEBUG (DIAG) – SENDING[0]: $G
    2013-07-09 17:36:36.741 INFO (STATUS) – > $G
    2013-07-09 17:36:36.991 DEBUG (DIAG) – GOT:[G0 G54 G17 G21 G90 G94 M0 M5 M9 T0 F100.000]
    2013-07-09 17:36:37.115 DEBUG (DIAG) – GOT:ok
    2013-07-09 17:36:37.334 DEBUG (DIAG) – SENDING[0]: $$
    2013-07-09 17:36:37.334 INFO (STATUS) – [G0 G54 G17 G21 G90 G94 M0 M5 M9 T0 F100.000]
    2013-07-09 17:36:37.334 INFO (STATUS) – > $$
    2013-07-09 17:36:37.583 DEBUG (DIAG) – GOT:$0=4920.000 (x, step/mm)
    2013-07-09 17:36:37.693 DEBUG (DIAG) – GOT:$1=4920.000 (y, step/mm)
    2013-07-09 17:36:37.802 DEBUG (DIAG) – GOT:$2=2500.000 (z, step/mm)
    2013-07-09 17:36:37.911 DEBUG (DIAG) – GOT:$3=30 (step pulse, usec)
    2013-07-09 17:36:38.020 DEBUG (DIAG) – GOT:$4=100.000 (default feed, mm/min)
    2013-07-09 17:36:38.129 DEBUG (DIAG) – GOT:$5=30.000 (default seek, mm/min)
    2013-07-09 17:36:38.239 DEBUG (DIAG) – GOT:$6=32 (step port invert mask, int:00100000)
    2013-07-09 17:36:38.348 DEBUG (DIAG) – GOT:$7=25 (step idle delay, msec)
    2013-07-09 17:36:38.457 DEBUG (DIAG) – GOT:$8=130.000 (acceleration, mm/sec^2)
    2013-07-09 17:36:38.566 DEBUG (DIAG) – GOT:$9=0.050 (junction deviation, mm)
    2013-07-09 17:36:38.675 DEBUG (DIAG) – GOT:$10=1.000 (arc, mm/segment)
    2013-07-09 17:36:38.785 DEBUG (DIAG) – GOT:$11=25 (n-arc correction, int)
    2013-07-09 17:36:38.894 DEBUG (DIAG) – GOT:$12=3 (n-decimals, int)
    2013-07-09 17:36:39.003 DEBUG (DIAG) – GOT:$13=0 (report inches, bool)
    2013-07-09 17:36:39.112 DEBUG (DIAG) – GOT:$14=1 (auto start, bool)
    2013-07-09 17:36:39.237 DEBUG (DIAG) – GOT:$15=0 (invert step enable, bool)
    2013-07-09 17:36:39.362 DEBUG (DIAG) – GOT:$16=0 (hard limits, bool)
    2013-07-09 17:36:39.487 DEBUG (DIAG) – GOT:$17=0 (homing cycle, bool)
    2013-07-09 17:36:39.611 DEBUG (DIAG) – GOT:$18=0 (homing dir invert mask, int:00000000)
    2013-07-09 17:36:39.736 DEBUG (DIAG) – GOT:$19=100.000 (homing feed, mm/min)
    2013-07-09 17:36:39.861 DEBUG (DIAG) – GOT:$20=30.000 (homing seek, mm/min)
    2013-07-09 17:36:39.986 DEBUG (DIAG) – GOT:$21=100 (homing debounce, msec)
    2013-07-09 17:36:40.111 DEBUG (DIAG) – GOT:$22=1.000 (homing pull-off, mm)
    2013-07-09 17:36:40.235 DEBUG (DIAG) – GOT:ok
    2013-07-09 17:36:40.454 INFO (STATUS) – $0=4920.000 (x, step/mm)
    2013-07-09 17:36:40.454 INFO (STATUS) – $1=4920.000 (y, step/mm)
    2013-07-09 17:36:40.454 INFO (STATUS) – $2=2500.000 (z, step/mm)
    2013-07-09 17:36:40.454 INFO (STATUS) – $3=30 (step pulse, usec)
    2013-07-09 17:36:40.454 INFO (STATUS) – $4=100.000 (default feed, mm/min)
    2013-07-09 17:36:40.454 INFO (STATUS) – $5=30.000 (default seek, mm/min)
    2013-07-09 17:36:40.454 INFO (STATUS) – $6=32 (step port invert mask, int:00100000)
    2013-07-09 17:36:40.454 INFO (STATUS) – $7=25 (step idle delay, msec)
    2013-07-09 17:36:40.454 INFO (STATUS) – $8=130.000 (acceleration, mm/sec^2)
    2013-07-09 17:36:40.454 INFO (STATUS) – $9=0.050 (junction deviation, mm)
    2013-07-09 17:36:40.454 INFO (STATUS) – $10=1.000 (arc, mm/segment)
    2013-07-09 17:36:40.454 INFO (STATUS) – $11=25 (n-arc correction, int)
    2013-07-09 17:36:40.454 INFO (STATUS) – $12=3 (n-decimals, int)
    2013-07-09 17:36:40.454 INFO (STATUS) – $13=0 (report inches, bool)
    2013-07-09 17:36:40.454 INFO (STATUS) – $14=1 (auto start, bool)
    2013-07-09 17:36:40.454 INFO (STATUS) – $15=0 (invert step enable, bool)
    2013-07-09 17:36:40.454 INFO (STATUS) – $16=0 (hard limits, bool)
    2013-07-09 17:36:40.454 INFO (STATUS) – $17=0 (homing cycle, bool)
    2013-07-09 17:36:40.454 INFO (STATUS) – $18=0 (homing dir invert mask, int:00000000)
    2013-07-09 17:36:40.454 INFO (STATUS) – $19=100.000 (homing feed, mm/min)
    2013-07-09 17:36:40.454 INFO (STATUS) – $20=30.000 (homing seek, mm/min)
    2013-07-09 17:36:40.454 INFO (STATUS) – $21=100 (homing debounce, msec)
    2013-07-09 17:36:40.454 INFO (STATUS) – $22=1.000 (homing pull-off, mm)
    2013-07-09 17:36:54.775 DEBUG (DIAG) – SENDING[1]: %
    2013-07-09 17:36:54.775 DEBUG (DIAG) – SENDING[2]: (Header)
    2013-07-09 17:36:54.790 DEBUG (DIAG) – SENDING[3]: (Generated by gcodetools from Inkscape.)
    2013-07-09 17:36:54.806 INFO (STATUS) – Sending file ‘C:/Users/Jim/Desktop/jim gentle_0003.ngc’
    2013-07-09 17:36:54.806 INFO (STATUS) – > %
    2013-07-09 17:36:54.806 INFO (STATUS) – > (Header)
    2013-07-09 17:36:54.821 INFO (STATUS) – > (Generated by gcodetools from Inkscape.)
    2013-07-09 17:36:55.055 DEBUG (DIAG) – GOT[1]:error: Expected command letter for %
    2013-07-09 17:36:55.055 INFO (STATUS) – error: Expected command letter [for %]
    2013-07-09 17:36:55.071 DEBUG (DIAG) – GOT[2]:ok for (Header)
    2013-07-09 17:36:55.087 DEBUG (DIAG) – GOT[3]:ok for (Generated by gcodetools from Inkscape.)
    2013-07-09 17:36:55.087 DEBUG (DIAG) – SENDING[4]: (Using default header. To add your own header create file “header” in the output dir.)
    2013-07-09 17:36:55.087 INFO (STATUS) – > (Using default header. To add your own header create file “header” in the output dir.)
    2013-07-09 17:36:55.149 DEBUG (DIAG) – SENDING[5]: M3
    2013-07-09 17:36:55.149 INFO (STATUS) – > M3
    2013-07-09 17:36:55.165 DEBUG (DIAG) – SENDING[6]: (Header end.)
    2013-07-09 17:36:55.165 INFO (STATUS) – > (Header end.)
    2013-07-09 17:36:55.165 DEBUG (DIAG) – SENDING[7]: G21
    2013-07-09 17:36:55.180 INFO (STATUS) – > G21
    2013-07-09 17:36:55.211 DEBUG (DIAG) – GOT[4]:ok for (Using default header. To add your own header create file “header” in the output dir.)
    2013-07-09 17:36:55.227 DEBUG (DIAG) – GOT[5]:ok for M3
    2013-07-09 17:36:55.243 DEBUG (DIAG) – GOT[6]:ok for (Header end.)
    2013-07-09 17:36:55.258 DEBUG (DIAG) – GOT[7]:ok for G21
    2013-07-09 17:36:55.258 DEBUG (DIAG) – SENDING[9]: (Start cutting path id: path3006 at depth: -1.0)
    2013-07-09 17:36:55.258 INFO (STATUS) – > (Start cutting path id: path3006 at depth: -1.0)
    2013-07-09 17:36:55.258 DEBUG (DIAG) – SENDING[10]: (path id: path3006 at depth step: -1.0)
    2013-07-09 17:36:55.258 INFO (STATUS) – > (path id: path3006 at depth step: -1.0)
    2013-07-09 17:36:55.305 DEBUG (DIAG) – SENDING[11]: (Change tool to Cone cutter)
    2013-07-09 17:36:55.305 INFO (STATUS) – > (Change tool to Cone cutter)
    2013-07-09 17:36:55.367 DEBUG (DIAG) – GOT[9]:ok for (Start cutting path id: path3006 at depth: -1.0)
    2013-07-09 17:36:55.383 DEBUG (DIAG) – GOT[10]:ok for (path id: path3006 at depth step: -1.0)
    2013-07-09 17:36:55.383 DEBUG (DIAG) – SENDING[13]: G1 F16
    2013-07-09 17:36:55.383 INFO (STATUS) – > G1 F16
    2013-07-09 17:36:55.414 DEBUG (DIAG) – GOT[11]:ok for (Change tool to Cone cutter)
    2013-07-09 17:36:55.430 DEBUG (DIAG) – GOT[13]:error: Invalid statement for G1 F16
    2013-07-09 17:36:55.430 INFO (STATUS) – error: Invalid statement [for G1 F16]
    2013-07-09 17:36:55.430 DEBUG (DIAG) – SENDING[14]: G00X109.221271Y16.222229
    2013-07-09 17:36:55.430 INFO (STATUS) – Z-Rate Limit: [G00Z5.000000]=>[G1 F16]
    2013-07-09 17:36:55.430 INFO (STATUS) – > G00X109.221271Y16.222229
    2013-07-09 17:36:55.430 DEBUG (DIAG) – SENDING[15]: (Subpath start)
    2013-07-09 17:36:55.445 DEBUG (DIAG) – SENDING[16]: G1 F16
    2013-07-09 17:36:55.445 INFO (STATUS) – > (Subpath start)
    2013-07-09 17:36:55.445 INFO (STATUS) – > G1 F16
    2013-07-09 17:36:55.492 DEBUG (DIAG) – GOT[14]:ok for 000X109.221271Y16.222229
    2013-07-09 17:36:55.508 DEBUG (DIAG) – GOT[15]:ok for (Subpath start)
    2013-07-09 17:36:55.523 DEBUG (DIAG) – GOT[16]:error: Invalid statement for G1 F16
    2013-07-09 17:36:55.523 INFO (STATUS) – error: Invalid statement [for G1 F16]
    2013-07-09 17:36:55.523 DEBUG (DIAG) – SENDING[17]: G1 F16
    2013-07-09 17:36:55.523 INFO (STATUS) – Z-Rate Limit: [G01Z-1.000000F100.0]=>[G1 F16]
    2013-07-09 17:36:55.523 DEBUG (DIAG) – SENDING[18]: G1 F16
    2013-07-09 17:36:55.523 INFO (STATUS) – > G1 F16
    2013-07-09 17:36:55.523 INFO (STATUS) – Z-Rate Limit: [G01X111.066739Y15.994027Z-1.000000F400.000000]=>[G1 F16]
    2013-07-09 17:36:55.523 INFO (STATUS) – > G1 F16
    2013-07-09 17:36:55.523 DEBUG (DIAG) – SENDING[19]: G1 F16
    2013-07-09 17:36:55.555 INFO (STATUS) – Z-Rate Limit: [G02X110.413353Y14.523015Z-1.000000I-5.054448J1.364441]=>[G1 F16]
    2013-07-09 17:36:55.555 INFO (STATUS) – > G1 F16
    2013-07-09 17:36:55.789 DEBUG (DIAG) – GOT[17]:error: Invalid statement for G1 F16
    2013-07-09 17:36:55.789 INFO (STATUS) – error: Invalid statement [for G1 F16]
    2013-07-09 17:36:55.804 DEBUG (DIAG) – GOT[18]:error: Invalid statement for G1 F16
    2013-07-09 17:36:55.804 INFO (STATUS) – error: Invalid statement [for G1 F16]
    your help or advise would be greatly appreciated. Jim Gentle

    • In the options, try checking “Filter file commands before sending” and see if that helps. If it doesn’t, let me know – then you can mail me the file and I can look at it.

      • Hi thanks for the quick reply that seems to have fixed the problem the machine runs fine but only goes slowly from zero to the starting point of the job and back from the job to zero probably one of my settings need tweaking any ideas. After running the file I took a look at the log it still shows errors, here is a bit of the log for your info.
        2013-07-10 20:28:08.115 INFO (STATUS) – > G02 X21.566465 Y13.106761 I-2.374103 J2.173676 F120

        2013-07-10 20:28:08.364 DEBUG (DIAG) – GOT:ok

        2013-07-10 20:28:08.583 DEBUG (DIAG) – SENDING[0]: ?

        2013-07-10 20:28:08.583 INFO (STATUS) – Z-Rate Limit: [G02 X21.566465 Y13.106761 Z-1.000000 I-2.374103 J2.173676]=>[G02 Z-1.000000 F16,G02 X21.566465 Y13.106761 I-2.374103 J2.173676]

        2013-07-10 20:28:08.832 DEBUG (DIAG) – GOT:

        2013-07-10 20:28:08.832 DEBUG (DIAG) – Decoded: State:Run MPos: 17.497999,15.412000,-1.000000 WPos: 17.497999,15.412000,-1.000000

        2013-07-10 20:28:08.957 DEBUG (DIAG) – GOT:ok

        2013-07-10 20:28:09.175 DEBUG (DIAG) – SENDING[395]: G02 Z-1.000000 F16

        2013-07-10 20:28:09.191 INFO (STATUS) – > G02 Z-1.000000 F16

        2013-07-10 20:28:09.425 DEBUG (DIAG) – GOT:error: Invalid statement

        2013-07-10 20:28:09.643 DEBUG (DIAG) – SENDING[395]: G02 X20.571896 Y12.725512 I-1.888293 J3.438116 F120

        2013-07-10 20:28:09.643 INFO (STATUS) – error: Invalid statement

        2013-07-10 20:28:09.643 INFO (STATUS) – > G02 X20.571896 Y12.725512 I-1.888293 J3.438116 F120

        2013-07-10 20:28:09.893 DEBUG (DIAG) – GOT:ok

        2013-07-10 20:28:10.111 DEBUG (DIAG) – SENDING[0]: ?

        2013-07-10 20:28:10.111 INFO (STATUS) – Z-Rate Limit: [G02 X20.571896 Y12.725512 Z-1.000000 I-1.888293 J3.438116]=>[G02 Z-1.000000 F16,G02 X20.571896 Y12.725512 I-1.888293 J3.438116]

        2013-07-10 20:28:10.361 DEBUG (DIAG) – GOT:

        2013-07-10 20:28:10.361 DEBUG (DIAG) – Decoded: State:Run MPos: 20.089001,14.424000,-1.000000 WPos: 20.089001,14.424000,-1.000000

        2013-07-10 20:28:10.486 DEBUG (DIAG) – GOT:ok

        2013-07-10 20:28:10.704 DEBUG (DIAG) – SENDING[396]: G02 Z-1.000000 F16

        2013-07-10 20:28:10.720 INFO (STATUS) – > G02 Z-1.000000 F16

        2013-07-10 20:28:10.954 DEBUG (DIAG) – GOT:error: Invalid statement

        2013-07-10 20:28:11.172 DEBUG (DIAG) – SENDING[396]: G02 X19.319160 Y12.580897 I-1.252736 J5.353617 F120

        2013-07-10 20:28:11.172 INFO (STATUS) – error: Invalid statement

        2013-07-10 20:28:11.172 INFO (STATUS) – > G02 X19.319160 Y12.580897 I-1.252736 J5.353617 F120

        2013-07-10 20:28:11.422 DEBUG (DIAG) – GOT:ok

        2013-07-10 20:28:11.640 DEBUG (DIAG) – SENDING[0]: ?

        2013-07-10 20:28:11.640 INFO (STATUS) – Z-Rate Limit: [G02 X19.319160 Y12.580897 Z-1.000000 I-1.252736 J5.353617]=>[G02 Z-1.000000 F16,G02 X19.319160 Y12.580897 I-1.252736 J5.353617]

        2013-07-10 20:28:11.890 DEBUG (DIAG) – GOT:

        2013-07-10 20:28:11.890 DEBUG (DIAG) – Decoded: State:Run MPos: 21.457001,16.884001,-1.000000 WPos: 21.457001,16.884001,-1.000000

        2013-07-10 20:28:12.015 DEBUG (DIAG) – GOT:ok

        2013-07-10 20:28:12.249 DEBUG (DIAG) – SENDING[397]: G02 Z-1.000000 F16

        2013-07-10 20:28:12.264 INFO (STATUS) – > G02 Z-1.000000 F16

        2013-07-10 20:28:12.498 DEBUG (DIAG) – GOT:error: Invalid statement

        2013-07-10 20:28:12.717 DEBUG (DIAG) – SENDING[397]: G02 X17.545262 Y12.903080 I0.000000 J5.044518 F120

        2013-07-10 20:28:12.717 INFO (STATUS) – error: Invalid statement

        2013-07-10 20:28:12.717 INFO (STATUS) – > G02 X17.545262 Y12.903080 I0.000000 J5.044518 F120

        2013-07-10 20:28:12.966 DEBUG (DIAG) – GOT:ok

        2013-07-10 20:28:13.185 DEBUG (DIAG) – SENDING[0]: ?

        2013-07-10 20:28:13.185 INFO (STATUS) – Z-Rate Limit: [G02 X17.545262 Y12.903080 Z-1.000000 I0.000000 J5.044518]=>[G02 Z-1.000000 F16,G02 X17.545262 Y12.903080 I0.000000 J5.044518]

        2013-07-10 20:28:13.434 DEBUG (DIAG) – GOT:

        2013-07-10 20:28:13.434 DEBUG (DIAG) – Decoded: State:Run MPos: 21.482000,19.969000,-1.000000 WPos: 21.482000,19.969000,-1.000000

        2013-07-10 20:28:13.559 DEBUG (DIAG) – GOT:ok

        2013-07-10 20:28:13.777 DEBUG (DIAG) – SENDING[398]: G02 Z-1.000000 F16

        2013-07-10 20:28:13.793 INFO (STATUS) – > G02 Z-1.000000 F16

        2013-07-10 20:28:14.027 DEBUG (DIAG) – GOT:error: Invalid statement

        2013-07-10 20:28:14.245 DEBUG (DIAG) – SENDING[398]: G02 X16.387246 Y13.682241 I1.063130 J2.830183 F120

        2013-07-10 20:28:14.245 INFO (STATUS) – error: Invalid statement

        2013-07-10 20:28:14.245 INFO (STATUS) – > G02 X16.387246 Y13.682241 I1.063130 J2.830183 F120

        2013-07-10 20:28:14.495 DEBUG (DIAG) – GOT:ok

        2013-07-10 20:28:14.713 INFO (STATUS) – Z-Rate Limit: [G02 X16.387246 Y13.682241 Z-1.000000 I1.063130 J2.830183]=>[G02 Z-1.000000 F16,G02 X16.387246 Y13.682241 I1.063130 J2.830183]

        2013-07-10 20:28:14.713 DEBUG (DIAG) – SENDING[0]: ?

        2013-07-10 20:28:14.963 DEBUG (DIAG) – GOT:

        2013-07-10 20:28:14.963 DEBUG (DIAG) – Decoded: State:Run MPos: 21.482000,23.024000,-1.000000 WPos: 21.482000,23.024000,-1.000000

        2013-07-10 20:28:15.088 DEBUG (DIAG) – GOT:ok

        2013-07-10 20:28:15.306 DEBUG (DIAG) – SENDING[399]: G02 Z-1.000000 F16

        2013-07-10 20:28:15.322 INFO (STATUS) – > G02 Z-1.000000 F16

        2013-07-10 20:28:15.556 DEBUG (DIAG) – GOT:error: Invalid statement

        2013-07-10 20:28:15.774 DEBUG (DIAG) – SENDING[399]: G02 X15.690411 Y14.905401 I2.289988 J2.114681 F120

        2013-07-10 20:28:15.774 INFO (STATUS) – error: Invalid statement

        2013-07-10 20:28:15.774 INFO (STATUS) – > G02 X15.690411 Y14.905401 I2.289988 J2.114681 F120

        2013-07-10 20:28:16.024 DEBUG (DIAG) – GOT:ok

        2013-07-10 20:28:16.242 INFO (STATUS) – Z-Rate Limit: [G02 X15.690411 Y14.905401 Z-1.000000 I2.289988 J2.114681]=>[G02 Z-1.000000 F16,G02 X15.690411 Y14.905401 I2.289988 J2.114681]

        2013-07-10 20:28:16.242 DEBUG (DIAG) – SENDING[0]: ?

        2013-07-10 20:28:16.492 DEBUG (DIAG) – GOT:

        2013-07-10 20:28:16.492 DEBUG (DIAG) – Decoded: State:Run MPos: 21.482000,26.079000,-1.000000 WPos: 21.482000,26.079000,-1.000000

        2013-07-10 20:28:16.617 DEBUG (DIAG) – GOT:ok

        2013-07-10 20:28:16.835 DEBUG (DIAG) – SENDING[400]: G02 Z-1.000000 F16

        2013-07-10 20:28:16.851 INFO (STATUS) – > G02 Z-1.000000 F16

        2013-07-10 20:28:17.085 DEBUG (DIAG) – GOT:error: Invalid statement

        2013-07-10 20:28:17.303 DEBUG (DIAG) – SENDING[400]: G02 X15.409941 Y16.956450 I6.459123 J1.927950 F120

        2013-07-10 20:28:17.303 INFO (STATUS) – error: Invalid statement

        2013-07-10 20:28:17.303 INFO (STATUS) – > G02 X15.409941 Y16.956450 I6.459123 J1.927950 F120

        2013-07-10 20:28:17.553 DEBUG (DIAG) – GOT:ok

        2013-07-10 20:28:17.771 DEBUG (DIAG) – SENDING[0]: ?

        2013-07-10 20:28:17.771 INFO (STATUS) – Z-Rate Limit: [G02 X15.409941 Y16.956450 Z-1.000000 I6.459123 J1.927950]=>[G02 Z-1.000000 F16,G02 X15.409941 Y16.956450 I6.459123 J1.927950]

        2013-07-10 20:28:18.021 DEBUG (DIAG) – GOT:

        2013-07-10 20:28:18.021 DEBUG (DIAG) – Decoded: State:Run MPos: 23.240000,27.374001,-1.000000 WPos: 23.240000,27.374001,-1.000000

        2013-07-10 20:28:18.145 DEBUG (DIAG) – GOT:ok

        2013-07-10 20:28:18.364 DEBUG (DIAG) – SENDING[0]: ?

        2013-07-10 20:28:18.613 DEBUG (DIAG) – GOT:

        2013-07-10 20:28:18.613 DEBUG (DIAG) – Decoded: State:Run MPos: 23.407000,26.357000,-1.000000 WPos: 23.407000,26.357000,-1.000000

        2013-07-10 20:28:18.738 DEBUG (DIAG) – GOT:ok

        2013-07-10 20:28:18.957 DEBUG (DIAG) – SENDING[402]: G1 Z5.000000 F16

        2013-07-10 20:28:18.957 INFO (STATUS) – > G1 Z5.000000 F16

        2013-07-10 20:28:19.206 DEBUG (DIAG) – GOT:ok

        2013-07-10 20:28:19.425 DEBUG (DIAG) – SENDING[0]: ?

        2013-07-10 20:28:19.425 INFO (STATUS) – Z-Rate Limit: [G00 Z5.000000]=>[G1 Z5.000000 F16]

        2013-07-10 20:28:19.674 DEBUG (DIAG) – GOT:

        2013-07-10 20:28:19.674 DEBUG (DIAG) – Decoded: State:Run MPos: 23.407000,24.238001,-1.000000 WPos: 23.407000,24.238001,-1.000000

        2013-07-10 20:28:19.799 DEBUG (DIAG) – GOT:ok

        2013-07-10 20:28:20.017 DEBUG (DIAG) – SENDING[0]: ?

        2013-07-10 20:28:20.267 DEBUG (DIAG) – GOT:

        2013-07-10 20:28:20.267 DEBUG (DIAG) – Decoded: State:Run MPos: 23.407000,23.054001,-1.000000 WPos: 23.407000,23.054001,-1.000000

        2013-07-10 20:28:20.392 DEBUG (DIAG) – GOT:ok

        2013-07-10 20:28:20.610 DEBUG (DIAG) – SENDING[0]: ?

        2013-07-10 20:28:20.860 DEBUG (DIAG) – GOT:

        2013-07-10 20:28:20.860 DEBUG (DIAG) – Decoded: State:Run MPos: 23.407000,21.868999,-1.000000 WPos: 23.407000,21.868999,-1.000000

        2013-07-10 20:28:20.985 DEBUG (DIAG) – GOT:ok

        2013-07-10 20:28:21.203 DEBUG (DIAG) – SENDING[0]: ?

        2013-07-10 20:28:21.453 DEBUG (DIAG) – GOT:

        2013-07-10 20:28:21.453 DEBUG (DIAG) – Decoded: State:Run MPos: 23.407000,20.684999,-1.000000 WPos: 23.407000,20.684999,-1.000000

        2013-07-10 20:28:21.577 DEBUG (DIAG) – GOT:ok

        2013-07-10 20:28:21.796 DEBUG (DIAG) – SENDING[0]: ?

        2013-07-10 20:28:22.045 DEBUG (DIAG) – GOT:

        2013-07-10 20:28:22.045 DEBUG (DIAG) – Decoded: State:Run MPos: 23.407000,19.500999,-1.000000 WPos: 23.407000,19.500999,-1.000000

        2013-07-10 20:28:22.170 DEBUG (DIAG) – GOT:ok

        2013-07-10 20:28:22.389 DEBUG (DIAG) – SENDING[407]: M5

        2013-07-10 20:28:22.389 INFO (STATUS) – > M5

        2013-07-10 20:28:52.559 DEBUG (DIAG) – GOT:ok

        2013-07-10 20:28:52.777 DEBUG (DIAG) – SENDING[0]: ?

        2013-07-10 20:28:53.027 DEBUG (DIAG) – GOT:

        2013-07-10 20:28:53.027 DEBUG (DIAG) – Decoded: State:Idle MPos: 15.410000,16.957001,5.000000 WPos: 15.410000,16.957001,5.000000

        2013-07-10 20:28:53.152 DEBUG (DIAG) – GOT:ok

        2013-07-10 20:28:53.370 DEBUG (DIAG) – SENDING[408]: G00 X0.0000 Y0.0000

        2013-07-10 20:28:53.370 INFO (STATUS) – > G00 X0.0000 Y0.0000

        2013-07-10 20:28:53.620 DEBUG (DIAG) – GOT:ok

        2013-07-10 20:28:53.838 DEBUG (DIAG) – SENDING[0]: ?

        2013-07-10 20:28:54.088 DEBUG (DIAG) – GOT:

        2013-07-10 20:28:54.088 DEBUG (DIAG) – Decoded: State:Run MPos: 15.160000,16.681000,5.000000 WPos: 15.160000,16.681000,5.000000

        2013-07-10 20:28:54.213 DEBUG (DIAG) – GOT:ok

        2013-07-10 20:28:54.431 DEBUG (DIAG) – SENDING[409]: M2

        2013-07-10 20:28:54.431 INFO (STATUS) – > M2

        2013-07-10 20:29:21.107 DEBUG (DIAG) – GOT:ok

        2013-07-10 20:29:21.326 DEBUG (DIAG) – SENDING[0]: ?

        2013-07-10 20:29:21.341 DEBUG (DIAG) – GOT:

        2013-07-10 20:29:21.466 DEBUG (DIAG) – GOT:Grbl 0.8c ['$' for help]

        2013-07-10 20:29:21.591 DEBUG (DIAG) – GOT:

        2013-07-10 20:29:21.591 DEBUG (DIAG) – Decoded: State:Idle MPos: 0.000000,0.000000,5.000000 WPos: 0.000000,0.000000,5.000000

        2013-07-10 20:29:21.716 DEBUG (DIAG) – GOT:ok

        2013-07-10 20:29:21.934 DEBUG (DIAG) – Got Grbl Version (Parsed:) 0.8c ($$=1)

        2013-07-10 20:29:21.934 DEBUG (DIAG) – SENDING[0]: ?

        2013-07-10 20:29:22.184 DEBUG (DIAG) – GOT:

        2013-07-10 20:29:22.184 DEBUG (DIAG) – Decoded: State:Idle MPos: 0.000000,0.000000,5.000000 WPos: 0.000000,0.000000,5.000000

        2013-07-10 20:29:22.308 DEBUG (DIAG) – GOT:ok

        2013-07-10 20:29:22.527 DEBUG (DIAG) – SENDING[0]: ?

        2013-07-10 20:29:22.776 DEBUG (DIAG) – GOT:

        2013-07-10 20:29:22.776 DEBUG (DIAG) – Decoded: State:Idle MPos: 0.000000,0.000000,5.000000 WPos: 0.000000,0.000000,5.000000

        2013-07-10 20:29:22.901 DEBUG (DIAG) – GOT:ok

        2013-07-10 20:29:23.120 DEBUG (DIAG) – SENDING[0]: ?

        2013-07-10 20:29:23.369 DEBUG (DIAG) – GOT:

        2013-07-10 20:29:23.369 DEBUG (DIAG) – Decoded: State:Idle MPos: 0.000000,0.000000,5.000000 WPos: 0.000000,0.000000,5.000000

        2013-07-10 20:29:23.494 DEBUG (DIAG) – GOT:ok

        2013-07-10 20:29:23.712 DEBUG (DIAG) – SENDING[0]: ?

        2013-07-10 20:29:23.962 DEBUG (DIAG) – GOT:

        2013-07-10 20:29:23.962 DEBUG (DIAG) – Decoded: State:Idle MPos: 0.000000,0.000000,5.000000 WPos: 0.000000,0.000000,5.000000

        2013-07-10 20:29:24.087 DEBUG (DIAG) – GOT:ok

        2013-07-10 20:29:24.305 DEBUG (DIAG) – SENDING[0]: ?

        2013-07-10 20:29:24.305 INFO (STATUS) – Code sent successfully with 204 error(s):

        2013-07-10 20:29:24.555 DEBUG (DIAG) – GOT:

        2013-07-10 20:29:24.555 DEBUG (DIAG) – Decoded: State:Idle MPos: 0.000000,0.000000,5.000000 WPos: 0.000000,0.000000,5.000000

        2013-07-10 20:29:24.680 DEBUG (DIAG) – GOT:ok

        2013-07-10 20:29:24.898 DEBUG (DIAG) – SENDING[0]: $G

        2013-07-10 20:29:24.898 INFO (STATUS) – > $G

        2013-07-10 20:29:25.148 DEBUG (DIAG) – GOT:[G0 G54 G17 G21 G90 G94 M0 M5 M9 T0 F110.000]

        2013-07-10 20:29:25.272 DEBUG (DIAG) – GOT:ok

        2013-07-10 20:29:25.491 DEBUG (DIAG) – SENDING[0]: $$

        2013-07-10 20:29:25.491 INFO (STATUS) – [G0 G54 G17 G21 G90 G94 M0 M5 M9 T0 F110.000]

        2013-07-10 20:29:25.491 INFO (STATUS) – > $$

        2013-07-10 20:29:25.740 DEBUG (DIAG) – GOT:$0=4920.000 (x, step/mm)

        2013-07-10 20:29:25.850 DEBUG (DIAG) – GOT:$1=4920.000 (y, step/mm)

        2013-07-10 20:29:25.959 DEBUG (DIAG) – GOT:$2=2500.000 (z, step/mm)

        2013-07-10 20:29:26.068 DEBUG (DIAG) – GOT:$3=30 (step pulse, usec)

        2013-07-10 20:29:26.177 DEBUG (DIAG) – GOT:$4=110.000 (default feed, mm/min)

        2013-07-10 20:29:26.286 DEBUG (DIAG) – GOT:$5=50.000 (default seek, mm/min)

        2013-07-10 20:29:26.396 DEBUG (DIAG) – GOT:$6=32 (step port invert mask, int:00100000)

        2013-07-10 20:29:26.505 DEBUG (DIAG) – GOT:$7=25 (step idle delay, msec)

        2013-07-10 20:29:26.614 DEBUG (DIAG) – GOT:$8=50.000 (acceleration, mm/sec^2)

        2013-07-10 20:29:26.723 DEBUG (DIAG) – GOT:$9=0.050 (junction deviation, mm)

        2013-07-10 20:29:26.832 DEBUG (DIAG) – GOT:$10=1.000 (arc, mm/segment)

        2013-07-10 20:29:26.942 DEBUG (DIAG) – GOT:$11=25 (n-arc correction, int)

        2013-07-10 20:29:27.051 DEBUG (DIAG) – GOT:$12=3 (n-decimals, int)

        2013-07-10 20:29:27.160 DEBUG (DIAG) – GOT:$13=0 (report inches, bool)

        2013-07-10 20:29:27.269 DEBUG (DIAG) – GOT:$14=1 (auto start, bool)

        2013-07-10 20:29:27.394 DEBUG (DIAG) – GOT:$15=0 (invert step enable, bool)

        2013-07-10 20:29:27.519 DEBUG (DIAG) – GOT:$16=0 (hard limits, bool)

        2013-07-10 20:29:27.644 DEBUG (DIAG) – GOT:$17=0 (homing cycle, bool)

        2013-07-10 20:29:27.768 DEBUG (DIAG) – GOT:$18=0 (homing dir invert mask, int:00000000)

        2013-07-10 20:29:27.893 DEBUG (DIAG) – GOT:$19=100.000 (homing feed, mm/min)

        2013-07-10 20:29:28.018 DEBUG (DIAG) – GOT:$20=30.000 (homing seek, mm/min)

        2013-07-10 20:29:28.143 DEBUG (DIAG) – GOT:$21=100 (homing debounce, msec)

        2013-07-10 20:29:28.268 DEBUG (DIAG) – GOT:$22=1.000 (homing pull-off, mm)

        2013-07-10 20:29:28.392 DEBUG (DIAG) – GOT:ok

        • Thanks for the detailed logs, they helped. This looks like a bug in Grbl Controller. This rate limiting conversion is causing the problem – it takes the single arc statement and converts it into two statements: [G02 X21.566465 Y13.106761 Z-1.000000 I-2.374103 J2.173676]=>[G02 Z-1.000000 F16,G02 X21.566465 Y13.106761 I-2.374103 J2.173676]

          What it is supposed to do is set the G command for Z feed rate to be 01, not 02 (G02 Z-1.000000 F16 should be G01 Z-1.000000 F16). It appears to just use whatever the original G command was, which is not right for arcs. Not sure how I missed that.

          I will look at this and try to get a fix out soon.

          • You made a great job of that, it ran perfectly on the machine nice curves and the log didnt have any errors either a job well done many thanks again Jim

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>