Welcome to Our Community

Some features disabled for guests. Register Today.

G51: Its correct use

Discussion in 'Control Software' started by GS76, Mar 8, 2022.

  1. GS76

    GS76 Well-Known
    Builder

    Joined:
    Mar 22, 2020
    Messages:
    141
    Likes Received:
    27
    To whom it may concern:

    I have the following simple code I am testing my small CNC machine with GRBL G-code, using Openbuilds control software:

    G17 G21 G90 G94 G54
    G0 Z0.25
    X-0.5 Y0.
    Z0.1
    G01 Z0. F5.
    G02 X0. Y0.5 I0.5 J0. F2.5
    X0.5 Y0. I0. J-0.5
    X0. Y-0.5 I-0.5 J0.
    X-0.5 Y0. I0. J0.5
    G01 Z0.1 F5.
    G00 X0. Y0. Z0.25

    Is it correct to add the G51 line as follows in italics and bold:

    G17 G21 G90 G94 G54
    G51 X-0.5 Y Z P10
    G0 Z0.25
    X-0.5 Y0.
    G51 X-0.5 Y0 Z0 P10
    Z0.1
    G01 Z0. F5.
    G02 X0. Y0.5 I0.5 J0. F2.5
    X0.5 Y0. I0. J-0.5
    X0. Y-0.5 I-0.5 J0.
    X-0.5 Y0. I0. J0.5
    G01 Z0.1 F5.
    G00 X0. Y0. Z0.25

    I am misusing G51 as the circles are no longer being generated.

    Any assistance would be greatly appreciated or, please refer me to another forum or information that can assist me.

    And thank you for the great software.

    Regards,

    GS76
     
  2. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    13,970
    Likes Received:
    4,100
    List of Gcodes supported by Grbl here: Home · gnea/grbl Wiki does not include G51. Not Grbl compatible gcode.
     
    Søren Weitling likes this.
  3. GS76

    GS76 Well-Known
    Builder

    Joined:
    Mar 22, 2020
    Messages:
    141
    Likes Received:
    27
    Hi Peter,

    Thank you for getting back to me.

    What would be a possible way of "scaling" the part (the original code) with the current GRBL G-code?

    Thank you.

    Regards,

    GS76
     
  4. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    13,970
    Likes Received:
    4,100
    Re-CAM your work. Make sure your machine is calibrated
     
  5. GS76

    GS76 Well-Known
    Builder

    Joined:
    Mar 22, 2020
    Messages:
    141
    Likes Received:
    27
    Hi Peter,

    Thank you for the information and advice.

    Regards,

    Gary
     

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