chilipeppr / tinyg

The tracking location for tickets for the chilipeppr.com/tinyg workspace.
28 stars 16 forks source link

Sends full file then stops part way through #9

Closed greengiant83 closed 10 years ago

greengiant83 commented 10 years ago

I created a simple g code file that cuts out a rectangle using Cut2d. When I play the file in ChiliPeppr it sends the whole file in a second or so and says the job is complete. The machine executes a layer of the job then just stops. It stops in the same spot each time. If I send the same gcode file with CoolTerm it runs successfully

GCode:

T1M6 G17 G20 G0 Z0.7874 G0 X0.0000 Y0.0000 S12000 M3 G0 X0.4028 Y2.3402 Z0.2362 G1 Z-0.0281 F8.0 G3 X0.3403 Y2.2777 I0.0000 J-0.0625 F30.0 G1 Y0.3194
G3 X0.4028 Y0.2569 I0.0625 J0.0000 G1 X4.3295
G3 X4.3920 Y0.3194 I0.0000 J0.0625 G1 Y2.2777
G3 X4.3295 Y2.3402 I-0.0625 J0.0000 G1 X0.4028
G1 Z-0.0562 F8.0 G3 X0.3403 Y2.2777 I0.0000 J-0.0625 F30.0 G1 Y0.3194
G3 X0.4028 Y0.2569 I0.0625 J0.0000 G1 X4.3295
G3 X4.3920 Y0.3194 I0.0000 J0.0625 G1 Y2.2777
G3 X4.3295 Y2.3402 I-0.0625 J0.0000 G1 X0.4028
G1 Z-0.0843 F8.0 G3 X0.3403 Y2.2777 I0.0000 J-0.0625 F30.0 G1 Y0.3194
G3 X0.4028 Y0.2569 I0.0625 J0.0000 G1 X4.3295
G3 X4.3920 Y0.3194 I0.0000 J0.0625 G1 Y2.2777
G3 X4.3295 Y2.3402 I-0.0625 J0.0000 G1 X0.4028
G1 Z-0.1125 F8.0 G3 X0.3403 Y2.2777 I0.0000 J-0.0625 F30.0 G1 Y0.3194
G3 X0.4028 Y0.2569 I0.0625 J0.0000 G1 X4.3295
G3 X4.3920 Y0.3194 I0.0000 J0.0625 G1 Y2.2777
G3 X4.3295 Y2.3402 I-0.0625 J0.0000 G1 X0.4028
G1 Z-0.1406 F8.0 G3 X0.3403 Y2.2777 I0.0000 J-0.0625 F30.0 G1 Y0.3194
G3 X0.4028 Y0.2569 I0.0625 J0.0000 G1 X4.3295
G3 X4.3920 Y0.3194 I0.0000 J0.0625 G1 Y2.2777
G3 X4.3295 Y2.3402 I-0.0625 J0.0000 G1 X0.4028
G1 Z-0.1687 F8.0 G3 X0.3403 Y2.2777 I0.0000 J-0.0625 F30.0 G1 Y0.3194
G3 X0.4028 Y0.2569 I0.0625 J0.0000 G1 X4.3295
G3 X4.3920 Y0.3194 I0.0000 J0.0625 G1 Y2.2777
G3 X4.3295 Y2.3402 I-0.0625 J0.0000 G1 X0.4028
G1 Z-0.1969 F8.0 G3 X0.3403 Y2.2777 I0.0000 J-0.0625 F30.0 G1 Y0.3194
G3 X0.4028 Y0.2569 I0.0625 J0.0000 G1 X4.3295
G3 X4.3920 Y0.3194 I0.0000 J0.0625 G1 Y2.2777
G3 X4.3295 Y2.3402 I-0.0625 J0.0000 G1 X0.4028
G0 Z0.2362 G0 Z0.7874 G0 X0.0000 Y0.0000 M30

Serial Log in ChiliPeppr: --truncated--sx":4.201}} {"sr":{"posx":4.154}} {"sr":{"posx":4.104}} {"sr":{"posx":4.056}} {"sr":{"posx":4.006}} {"sr":{"posx":3.956}} {"sr":{"posx":3.909}} {"sr":{"posx":3.859}} {"sr":{"posx":3.811}} {"sr":{"posx":3.761}} {"sr":{"posx":3.714}} {"sr":{"posx":3.664}} {"sr":{"posx":3.616}} {"sr":{"posx":3.566}} {"sr":{"posx":3.519}} {"sr":{"posx":3.469}} {"sr":{"posx":3.421}} {"sr":{"posx":3.371}} {"sr":{"posx":3.274}} {"sr":{"posx":3.224}} {"sr":{"posx":3.176}} {"sr":{"posx":3.126}} {"sr":{"posx":3.079}} {"sr":{"posx":3.029}} {"sr":{"posx":2.981}} {"sr":{"posx":2.931}} {"sr":{"posx":2.884}} {"sr":{"posx":2.834}} {"sr":{"posx":2.786}} {"sr":{"posx":2.736}} {"sr":{"posx":2.639}} {"sr":{"posx":2.589}} {"sr":{"posx":2.542}} {"sr":{"posx":2.492}} {"sr":{"posx":2.444}} {"sr":{"posx":2.394}} {"sr":{"posx":2.347}} {"sr":{"posx":2.297}} {"sr":{"posx":2.249}} {"sr":{"posx":2.199}} {"sr":{"posx":2.152}} {"sr":{"posx":2.102}} {"sr":{"posx":2.004}} {"sr":{"posx":1.954}} {"sr":{"posx":1.907}} {"sr":{"posx":1.857}} {"sr":{"posx":1.809}} {"sr":{"posx":1.759}} {"sr":{"posx":1.712}} {"sr":{"posx":1.662}} {"sr":{"posx":1.614}} {"sr":{"posx":1.564}} {"sr":{"posx":1.517}} {"sr":{"posx":1.467}} {"sr":{"posx":1.369}} {"sr":{"posx":1.319}} {"sr":{"posx":1.272}} {"sr":{"posx":1.222}} {"sr":{"posx":1.174}} {"sr":{"posx":1.124}} {"sr":{"posx":1.077}} {"sr":{"posx":1.027}} {"sr":{"posx":0.979}} {"sr":{"posx":0.929}} {"sr":{"posx":0.882}} {"sr":{"posx":0.832}} {"sr":{"posx":0.734}} {"sr":{"posx":0.684}} {"sr":{"posx":0.637}} {"sr":{"posx":0.587}} {"sr":{"posx":0.539}} {"sr":{"posx":0.489}} {"sr":{"posx":0.442}} {"qr":7} {"sr":{"posx":0.403,"posy":2.340,"posz":-0.029,"vel":8.00}} {"sr":{"posz":-0.042}} {"sr":{"posz":-0.056}} {"qr":8} {"qr":9} {"qr":10} {"qr":11} {"qr":12} {"qr":13} {"qr":14} {"qr":15} {"sr":{"posx":0.365,"posy":2.328,"posz":-0.056,"vel":29.99,"momo":3}} {"qr":16} {"qr":17} {"qr":18} {"qr":19} {"qr":20} {"qr":21} {"qr":22} {"qr":23} {"qr":24} {"qr":25} {"sr":{"posx":0.340,"posy":2.288,"vel":29.99}} {"qr":26} {"qr":27} {"sr":{"posx":0.340,"posy":2.238,"vel":30.00,"momo":1}} {"sr":{"posy":2.188}} {"sr":{"posy":2.140}} {"sr":{"posy":2.090}} {"sr":{"posy":2.043}} {"sr":{"posy":1.993}} {"sr":{"posy":1.945}} {"sr":{"posy":1.895}} {"sr":{"posy":1.848}} {"sr":{"posy":1.798}} {"sr":{"posy":1.700}} {"sr":{"posy":1.650}} {"sr":{"posy":1.603}} {"sr":{"posy":1.553}} {"sr":{"posy":1.506}} {"sr":{"posy":1.456}} {"sr":{"posy":1.408}} {"sr":{"posy":1.358}} {"sr":{"posy":1.311}} {"sr":{"posy":1.261}} {"sr":{"posy":1.213}} {"sr":{"posy":1.163}} {"sr":{"posy":1.113}} {"sr":{"posy":1.066}} {"sr":{"posy":1.016}} {"sr":{"posy":0.968}} {"sr":{"posy":0.918}} {"sr":{"posy":0.871}} {"sr":{"posy":0.821}} {"sr":{"posy":0.773}} {"sr":{"posy":0.723}} {"sr":{"posy":0.676}} {"sr":{"posy":0.626}} {"sr":{"posy":0.578}} {"sr":{"posy":0.529}} {"sr":{"posy":0.479}} {"sr":{"posy":0.431}} {"sr":{"posy":0.381}} {"sr":{"posy":0.334}} {"sr":{"posx":0.340,"posy":0.319,"posz":-0.056,"vel":0.00,"stat":3}} {"qr":28}

chilipeppr commented 10 years ago

Did you make sure you connected to your TinyG in the Serial Port window using the "tinyg" buffer setting in the dropdown? This feels like a buffer overflow issue perhaps.

On Sat, Oct 11, 2014 at 4:53 PM, greengiant83 notifications@github.com wrote:

I created a simple g code file that cuts out a rectangle using Cut2d. When I play the file in ChiliPeppr it sends the whole file in a second or so and says the job is complete. The machine executes a layer of the job then just stops. It stops in the same spot each time. If I send the same gcode file with CoolTerm it runs successfully

GCode:

T1M6 G17 G20 G0 Z0.7874 G0 X0.0000 Y0.0000 S12000 M3 G0 X0.4028 Y2.3402 Z0.2362 G1 Z-0.0281 F8.0 G3 X0.3403 Y2.2777 I0.0000 J-0.0625 F30.0 G1 Y0.3194

G3 X0.4028 Y0.2569 I0.0625 J0.0000 G1 X4.3295

G3 X4.3920 Y0.3194 I0.0000 J0.0625 G1 Y2.2777

G3 X4.3295 Y2.3402 I-0.0625 J0.0000 G1 X0.4028

G1 Z-0.0562 F8.0 G3 X0.3403 Y2.2777 I0.0000 J-0.0625 F30.0 G1 Y0.3194

G3 X0.4028 Y0.2569 I0.0625 J0.0000 G1 X4.3295

G3 X4.3920 Y0.3194 I0.0000 J0.0625 G1 Y2.2777

G3 X4.3295 Y2.3402 I-0.0625 J0.0000 G1 X0.4028

G1 Z-0.0843 F8.0 G3 X0.3403 Y2.2777 I0.0000 J-0.0625 F30.0 G1 Y0.3194

G3 X0.4028 Y0.2569 I0.0625 J0.0000 G1 X4.3295

G3 X4.3920 Y0.3194 I0.0000 J0.0625 G1 Y2.2777

G3 X4.3295 Y2.3402 I-0.0625 J0.0000 G1 X0.4028

G1 Z-0.1125 F8.0 G3 X0.3403 Y2.2777 I0.0000 J-0.0625 F30.0 G1 Y0.3194

G3 X0.4028 Y0.2569 I0.0625 J0.0000 G1 X4.3295

G3 X4.3920 Y0.3194 I0.0000 J0.0625 G1 Y2.2777

G3 X4.3295 Y2.3402 I-0.0625 J0.0000 G1 X0.4028

G1 Z-0.1406 F8.0 G3 X0.3403 Y2.2777 I0.0000 J-0.0625 F30.0 G1 Y0.3194

G3 X0.4028 Y0.2569 I0.0625 J0.0000 G1 X4.3295

G3 X4.3920 Y0.3194 I0.0000 J0.0625 G1 Y2.2777

G3 X4.3295 Y2.3402 I-0.0625 J0.0000 G1 X0.4028

G1 Z-0.1687 F8.0 G3 X0.3403 Y2.2777 I0.0000 J-0.0625 F30.0 G1 Y0.3194

G3 X0.4028 Y0.2569 I0.0625 J0.0000 G1 X4.3295

G3 X4.3920 Y0.3194 I0.0000 J0.0625 G1 Y2.2777

G3 X4.3295 Y2.3402 I-0.0625 J0.0000 G1 X0.4028

G1 Z-0.1969 F8.0 G3 X0.3403 Y2.2777 I0.0000 J-0.0625 F30.0 G1 Y0.3194

G3 X0.4028 Y0.2569 I0.0625 J0.0000 G1 X4.3295

G3 X4.3920 Y0.3194 I0.0000 J0.0625 G1 Y2.2777

G3 X4.3295 Y2.3402 I-0.0625 J0.0000 G1 X0.4028

G0 Z0.2362 G0 Z0.7874 G0 X0.0000 Y0.0000 M30

Serial Log in ChiliPeppr: --truncated--sx":4.201}} {"sr":{"posx":4.154}} {"sr":{"posx":4.104}} {"sr":{"posx":4.056}} {"sr":{"posx":4.006}} {"sr":{"posx":3.956}} {"sr":{"posx":3.909}} {"sr":{"posx":3.859}} {"sr":{"posx":3.811}} {"sr":{"posx":3.761}} {"sr":{"posx":3.714}} {"sr":{"posx":3.664}} {"sr":{"posx":3.616}} {"sr":{"posx":3.566}} {"sr":{"posx":3.519}} {"sr":{"posx":3.469}} {"sr":{"posx":3.421}} {"sr":{"posx":3.371}} {"sr":{"posx":3.274}} {"sr":{"posx":3.224}} {"sr":{"posx":3.176}} {"sr":{"posx":3.126}} {"sr":{"posx":3.079}} {"sr":{"posx":3.029}} {"sr":{"posx":2.981}} {"sr":{"posx":2.931}} {"sr":{"posx":2.884}} {"sr":{"posx":2.834}} {"sr":{"posx":2.786}} {"sr":{"posx":2.736}} {"sr":{"posx":2.639}} {"sr":{"posx":2.589}} {"sr":{"posx":2.542}} {"sr":{"posx":2.492}} {"sr":{"posx":2.444}} {"sr":{"posx":2.394}} {"sr":{"posx":2.347}} {"sr":{"posx":2.297}} {"sr":{"posx":2.249}} {"sr":{"posx":2.199}} {"sr":{"posx":2.152}} {"sr":{"posx":2.102}} {"sr":{"posx":2.004}} {"sr":{"posx":1.954}} {"sr":{"posx":1.907}} {"sr":{"posx":1.857}} {"sr":{"posx":1.809}} {"sr":{"posx":1.759}} {"sr":{"posx":1.712}} {"sr":{"posx":1.662}} {"sr":{"posx":1.614}} {"sr":{"posx":1.564}} {"sr":{"posx":1.517}} {"sr":{"posx":1.467}} {"sr":{"posx":1.369}} {"sr":{"posx":1.319}} {"sr":{"posx":1.272}} {"sr":{"posx":1.222}} {"sr":{"posx":1.174}} {"sr":{"posx":1.124}} {"sr":{"posx":1.077}} {"sr":{"posx":1.027}} {"sr":{"posx":0.979}} {"sr":{"posx":0.929}} {"sr":{"posx":0.882}} {"sr":{"posx":0.832}} {"sr":{"posx":0.734}} {"sr":{"posx":0.684}} {"sr":{"posx":0.637}} {"sr":{"posx":0.587}} {"sr":{"posx":0.539}} {"sr":{"posx":0.489}} {"sr":{"posx":0.442}} {"qr":7} {"sr":{"posx":0.403,"posy":2.340,"posz":-0.029,"vel":8.00}} {"sr":{"posz":-0.042}} {"sr":{"posz":-0.056}} {"qr":8} {"qr":9} {"qr":10} {"qr":11} {"qr":12} {"qr":13} {"qr":14} {"qr":15} {"sr":{"posx":0.365,"posy":2.328,"posz":-0.056,"vel":29.99,"momo":3}} {"qr":16} {"qr":17} {"qr":18} {"qr":19} {"qr":20} {"qr":21} {"qr":22} {"qr":23} {"qr":24} {"qr":25} {"sr":{"posx":0.340,"posy":2.288,"vel":29.99}} {"qr":26} {"qr":27} {"sr":{"posx":0.340,"posy":2.238,"vel":30.00,"momo":1}} {"sr":{"posy":2.188}} {"sr":{"posy":2.140}} {"sr":{"posy":2.090}} {"sr":{"posy":2.043}} {"sr":{"posy":1.993}} {"sr":{"posy":1.945}} {"sr":{"posy":1.895}} {"sr":{"posy":1.848}} {"sr":{"posy":1.798}} {"sr":{"posy":1.700}} {"sr":{"posy":1.650}} {"sr":{"posy":1.603}} {"sr":{"posy":1.553}} {"sr":{"posy":1.506}} {"sr":{"posy":1.456}} {"sr":{"posy":1.408}} {"sr":{"posy":1.358}} {"sr":{"posy":1.311}} {"sr":{"posy":1.261}} {"sr":{"posy":1.213}} {"sr":{"posy":1.163}} {"sr":{"posy":1.113}} {"sr":{"posy":1.066}} {"sr":{"posy":1.016}} {"sr":{"posy":0.968}} {"sr":{"posy":0.918}} {"sr":{"posy":0.871}} {"sr":{"posy":0.821}} {"sr":{"posy":0.773}} {"sr":{"posy":0.723}} {"sr":{"posy":0.676}} {"sr":{"posy":0.626}} {"sr":{"posy":0.578}} {"sr":{"posy":0.529}} {"sr":{"posy":0.479}} {"sr":{"posy":0.431}} {"sr":{"posy":0.381}} {"sr":{"posy":0.334}} {"sr":{"posx":0.340,"posy":0.319,"posz":-0.056,"vel":0.00,"stat":3}} {"qr":28}

— Reply to this email directly or view it on GitHub https://github.com/chilipeppr/tinyg/issues/9.

greengiant83 commented 10 years ago

Yeah, that was it. I totally missed that. Thanks for a fast response. I love what you have setup here.

chilipeppr commented 10 years ago

Thanks for the kudos and glad my off-the-cuff theory was right! Please post video of your run if you can in the ChiliPeppr Google+ community. Trying to help others see how good it is.

On Sat, Oct 11, 2014 at 5:34 PM, greengiant83 notifications@github.com wrote:

Yeah, that was it. I totally missed that. Thanks for a fast response. I love what you have setup here.

— Reply to this email directly or view it on GitHub https://github.com/chilipeppr/tinyg/issues/9#issuecomment-58769488.