sir-buckyball / chrome-gcode-sender

A gcode-sender application for Chrome/ChromeOS.
MIT License
60 stars 24 forks source link

error: Unsupported statement #32

Closed miguelta78 closed 9 years ago

miguelta78 commented 9 years ago

All files I'm trying to send I'm getting this line saying " error: Unsupported statement"

sir-buckyball commented 9 years ago

The phrase "Unsupported statement" does not appear in the source code, so I'm very much inclined to believe that it is your machine which is rejecting the command which has been sent.

Further debugging would need a screenshot, copy of the displayed console log, or the file you tried to send. It'd also be informative to know what device is receiving the commands you are sending.

CaptStoner commented 9 years ago

Miguelta, I had the same problem with my Shapeoko 2. I'm using MakerCam.com for my tool paths. The test code that spells out "SHAPEOKO2" I downloaded from there site looked a little different than what MakerCam gave me. Just 2 lines that need to be deleted and it ran flawlessly. I am using 1 tool with no changes and manually running my spindle separately. Makercam gcode says: G20 G90 G40 (Channel) G0 Z0.25 T0 M6 G17 M3 G0 X1.1431 Y0.665

Remove G40 Delete T0 M6 and M3 Make it look like this: G20 G90 (remove G40) (Channel) G0 Z0.25 G17 G0 X1.1431 Y0.665

This solved my problem and I'm up and running. I hope this helps.

Ntrak1970 commented 9 years ago

Same as mine.. It won't drill thru on PCB. How do it work?

I use grbl controller 3.5 on mac. Anyone tell me about this.

Anyone help. Thanks.

sir-buckyball commented 9 years ago

Ntrak1970: If you got an "Unsupported statement" message, that originated from your machine, not the gcode-sender application.

To debug your issue any further, I would need to see the gcode you attempted to send.

Ntrak1970 commented 9 years ago

Well the technical guy from shapeoko 2 gave me a grbl 0.8c _s2_defaults. hex But I m not aware of this. I m not sure which one is the correct grbl #? for example grbl 0.8c or grbl 0.9f. How do I sent it to you? Please let me know. Thanks.

Ntrak1970 commented 9 years ago

Sir-buckyball - also I forgot to add grbl_v0_8c_atmega328p_16mhz_9600.hex too

Ntrak1970 commented 9 years ago

question - I just updated the eagle 7.1.0 - is it affect problem with grbl or pcb-gcode 3.6.0.4? I just figure it why the drill just thru the hole the same location - not move the different locations. I don't understand why? Please help me out. Thanks.

sir-buckyball commented 9 years ago

Ntrack1970: You have listed files which are likely the firmware you are trying to load on your machine. The chrome-gcode-sender application is not for loading firmware; it just sends gcode files for a CNC machine to process.

If the chrome-gcode-sender application has successfully sent a gcode file to your machine, then it has done its job. Whether the commands did what you expected is up to you.

Ntrak1970 commented 9 years ago

chrome-gcode-sender? where do u get it? I m not aware of it. How do I set it up? Please let me know.

sir-buckyball commented 9 years ago

Ntrak1970: You have been posting to an issue in the repository for the chrome-gcode-sender application. This is not an appropriate forum for you to ask questions about clearly unrelated problems.

Ntrak1970 commented 9 years ago

Never mind.! I found and fix it up. Since no one help me out. Anyway Thanks PEACE!

shivmahesh commented 6 years ago

Error: Unsupported statement,while running gctrl p3 for cnc mill