Welcome to Our Community

Some features disabled for guests. Register Today.

gcode running a circle doesnt work using G02 I, help

Discussion in 'General Talk' started by Chesney, Apr 1, 2024.

  1. Chesney

    Chesney New
    Builder

    Joined:
    Aug 25, 2023
    Messages:
    2
    Likes Received:
    0
    Hi, I have written a code on Nc Viewer and it works perfectly, using same code on OB control doesn't cut circles.
    Why is this does OB not recognize the I for full circle? I am stumped,
     
  2. Misterg

    Misterg Veteran
    Staff Member Moderator Builder Resident Builder

    Joined:
    Aug 27, 2022
    Messages:
    350
    Likes Received:
    273
    Can you attach your code so that we can see it?

    Do you get any error messages? If so, what [exactly] are they?

    Are you using relative or absolute offsets for the G2 command? There are different requirements for the arguments following it - see section 5.1 in the linuxCNC documentation:

    G-Codes
     
    Peter Van Der Walt likes this.
  3. Chesney

    Chesney New
    Builder

    Joined:
    Aug 25, 2023
    Messages:
    2
    Likes Received:
    0
    the line for the code is G02 I7.5 everything else worked fine just this line doesnt want to work. im new to the codes and files so yeah im learning.
     
  4. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    14,868
    Likes Received:
    4,283
  5. David the swarfer

    David the swarfer OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Aug 6, 2013
    Messages:
    3,430
    Likes Received:
    1,907
    GRBL only uses relative I J K offsets, LinuxCNC can use absolute or relative.

    also, although GRBL can do full circles, it does not always work, better do restrict arcs to 180 degrees
     
    Misterg likes this.
  6. David the swarfer

    David the swarfer OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Aug 6, 2013
    Messages:
    3,430
    Likes Received:
    1,907
    GRBL wants X Y I J on every G2/G3 line.

    writing your own Gcode is an excellent vehicle for learning Gcode, but using a CAM for production code is much more efficient and less prone to crashing the machine horribly (-:
     

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