Welcome to Our Community

Some features disabled for guests. Register Today.

Error when using comments

Discussion in 'Control Software' started by William Stickney, Aug 6, 2023.

  1. William Stickney

    Builder

    Joined:
    Jul 6, 2022
    Messages:
    7
    Likes Received:
    0
    I am currently using control software with the openbuilds blackbox which actually works very well except for one issue. If I include comments at the top of the file (in parenthesis) to tell me tool, stock size etc.. I continually get an error and end up removing the comments section before running the program.

    Is there a simple way to preserve the comments inside of my gcode files?

    Thanks
    Bill
     
  2. Alex Chambers

    Alex Chambers Master
    Moderator Builder

    Joined:
    Nov 1, 2018
    Messages:
    2,812
    Likes Received:
    1,384
    Can you upload an example g-code file?

    Alex.
     
  3. William Stickney

    Builder

    Joined:
    Jul 6, 2022
    Messages:
    7
    Likes Received:
    0
    Here you go
     

    Attached Files:

  4. sharmstr

    sharmstr OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Mar 23, 2018
    Messages:
    2,059
    Likes Received:
    1,449
    Remove the inner parenthesis in the first line. As it is now grbl will consider it as

    Comment:
    (Tool: V-Bit (45.0� - 297/500")

    Garbage:
    - 0.594)
     
  5. William Stickney

    Builder

    Joined:
    Jul 6, 2022
    Messages:
    7
    Likes Received:
    0
    This is what I'm using;
    VCarve Desktop
    OpenBuilds GRBL (inches) post processor

    Is there a way to make this post processor send out the gcode in the correct format?
    The code is still giving me issues unless I remove the comments prior to running it. I will try to run it again with the comments to see if I can capture the actual error code.

    I would like to be able to use code with the comments as it is quite a time saver for me during job setup.

    Thanks for the help so far.
    Bill
     
  6. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    15,497
    Likes Received:
    4,421
    Check your Tool Library, seems the extra brackets comes from comments on the tool itself

    The invalid Degree character as well, cleaning up the tool library will help

    Comments by itself is allowed (Though semicolon lines are preffered to brackets, for example

    ;this is a comment

    you can use Brackets as well but make sure it only has one opening, and one closing bracket)
     
  7. William Stickney

    Builder

    Joined:
    Jul 6, 2022
    Messages:
    7
    Likes Received:
    0
    Thanks, I'll give it a shot later today and see what happens.
     
  8. William Stickney

    Builder

    Joined:
    Jul 6, 2022
    Messages:
    7
    Likes Received:
    0
    I think I may have figured this out.

    I tested it on one of the gcode files and it seemed to work so far. I'll be back if I have any issues with it.

    What I did was remove the line in the post processor that was telling it to write the first tool line in the g-code.

    Thanks for all the help.
    Bill
     
  9. William Stickney

    Builder

    Joined:
    Jul 6, 2022
    Messages:
    7
    Likes Received:
    0
    If you're interested, this is the post processor how I'm currently using it.
    Bill
     
  10. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    15,497
    Likes Received:
    4,421
    Shouldn't need to (no other reports), but just check your Tool Library - when you added the tool you used the "degree" character and added brackets it seems - and remove the Brackets from the descriptions all will be working fine with the standard post, and include the tool info (useful to know what bit the job was CAM'ed with)

     
    sharmstr likes 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