Welcome to Our Community

Some features disabled for guests. Register Today.

Maximum file size when writing .gcode file via COMPort?

Discussion in 'Other Software' started by jake_thermal, Apr 29, 2021.

  1. jake_thermal

    Builder

    Joined:
    Apr 29, 2021
    Messages:
    1
    Likes Received:
    0
    Hello,

    I am writing my own software to send .gcode files to an openbuilds black box via comport. I have it working with simpler/smaller programs. When the .gcode commands exceed a certain (small) length, the robot just stops midway through the actions. The size that it stops at seems to be only around 200 bytes of data... Is there a max buffer size I should be breaking my file into or something? I have uploaded the .gcode file for reference. Thanks!
     

    Attached Files:

  2. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    13,749
    Likes Received:
    4,070
    Read the Grbl Wiki for a full explanation of buffer strategies. You need to implement flow control by either character counting, or pingpong. See gnea/grbl
     
    David the swarfer 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