Welcome to Our Community

Some features disabled for guests. Register Today.

G Code Errors

Discussion in 'CNC Mills/Routers' started by Miklstel, Feb 17, 2019.

  1. Milender20

    Builder

    Joined:
    Jun 18, 2020
    Messages:
    3
    Likes Received:
    0
    Hi all, Im having issues as well with my gcode. this is the error I am getting. i am using universal gcode sender.

    Thanks
    upload_2020-6-18_9-6-44.png
     
  2. Alex Chambers

    Alex Chambers Master
    Moderator Builder

    Joined:
    Nov 1, 2018
    Messages:
    2,787
    Likes Received:
    1,367
    What controller do you have. What cam software are you using, and what post processor are you using with it?
    The error code is telling you that your g-code contains a command that isn't recognised.
    If you save a copy of your g-code as a txt file add it to a reply here and we can have a look at what might be causing the problem.
    Alex.
     
    #32 Alex Chambers, Jun 18, 2020
    Last edited: Jun 18, 2020
  3. Milender20

    Builder

    Joined:
    Jun 18, 2020
    Messages:
    3
    Likes Received:
    0
    I am using solidcam as my cam software, the post processors selected within solidcam is just the default M3AXIS-TUTORIAL (i think this may be the issue), and using universal gcode sender.
     
  4. Alex Chambers

    Alex Chambers Master
    Moderator Builder

    Joined:
    Nov 1, 2018
    Messages:
    2,787
    Likes Received:
    1,367
    I don't know solidcam, so may not be able to give exact advice, but the post processor you use has to match the language of your controller - what controller/control language do you use? (eg is it a grbl controller)
     
  5. Milender20

    Builder

    Joined:
    Jun 18, 2020
    Messages:
    3
    Likes Received:
    0
    oh yes. it is grbl. ill have to do some digging.
     
  6. Alex Chambers

    Alex Chambers Master
    Moderator Builder

    Joined:
    Nov 1, 2018
    Messages:
    2,787
    Likes Received:
    1,367
    Yes, I'm sure Solidcam will have a grbl post processor.
    Alex.
     
  7. Peter Van Der Walt

    Peter Van Der Walt OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Mar 1, 2017
    Messages:
    15,080
    Likes Received:
    4,317
    There's a G43 in there, and H01, etc which aren't supported by Grbl:

    See gnea/grbl abut halfway down lists the gcodes supported by Grbl, you always need to use a Grbl compatible post processor
     
  8. Mari

    Mari New
    Builder

    Joined:
    Feb 23, 2020
    Messages:
    21
    Likes Received:
    2
    Hi guys, just searching the forum for this error message because I've started to get this myself. Something tells me theres been an update to Fusion because I always had to delete some code for a T1 M6 error, and Fusion's post hasn't been producing that recently. Some jobs have worked, others haven't. Interesting to me some of these jobs are essentially the same except for the size.

    Is there anywhere that lists unsupported codes for grbl so I could look out for them in future? I've uploaded two anyway just in case.

    I was suggested to use Open Builds post processor before and I tried it. I can't remember exactly but it was different to how a job would usually start it might have been crashing into the material. Something was already going wrong at the time and I didn't want to change too much so I just switched back to Fusion. Looking at Open Builds post processor now, if I visualise it in UGS I can see the safe heights aren't automatic assumed the same as the retracted height set in Fusion but it seems easy to fix with G53 G0 Z as anything above 0 at the start and end. Is there anything else I should know before I get annoyed at some silly oversight?
     

    Attached Files:

  9. Peter Van Der Walt

    Peter Van Der Walt OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Mar 1, 2017
    Messages:
    15,080
    Likes Received:
    4,317
    While no list of unsupported ones (that would be a very long list) the Grbl Wiki lists its support g-codes about halfway down the page on gnea/grbl

    Our post takes care of removing the bad gcodes already

    Grbl will also error out on any unsupported Gcodes, so you can run it through Check Mode: See gnea/grbl
     
  10. Mari

    Mari New
    Builder

    Joined:
    Feb 23, 2020
    Messages:
    21
    Likes Received:
    2
    So I tested the Open Builds post today. No material, spindle off, and it stops dead like it has before and when I return to zero the CNC thinks it's at the machine zero instead of the work zero. This is what happened the first time, I checked the power cables leading to the board and the seem secure. The second I actually checked what UGS said [error 20].

    It happens so quick, it's hard to see if the board loses power for a second and powers back on or if it's the bluetooth adapter? This has only been an issue since I've had the adapter.
     
  11. David the swarfer

    David the swarfer OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Aug 6, 2013
    Messages:
    3,465
    Likes Received:
    1,918
    your bluetooth adapter is corrupting the data stream, go back to a real USB cable.
     
    Peter Van Der Walt and Mari like this.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice