Welcome to Our Community

Some features disabled for guests. Register Today.

Interface "Go to X/Y/Z Zero" Axis Motor Movement Order

Discussion in 'Interfaces' started by GKTRK, Feb 26, 2023.

  1. GKTRK

    GKTRK New
    Builder

    Joined:
    Jun 13, 2022
    Messages:
    88
    Likes Received:
    8
    After I set work X/Y/Z zero position, if I have my cutter positioned well off and away from the workpiece, when I tap "go to XYZ Zero" the cutter moves to that location by operating all four steppers at the same time. This caused a crash the other day into my work piece and I had to E-stop and nearly broke the bit.

    Is there a way to re-order the movement in GRBL for this command so that it goes to X/Y zero at a safe Z height and then plunges? Or better yet to have a command/button on the Interface to just "Go to X/Y Zero" but NOT Z?
     
  2. sharmstr

    sharmstr OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Mar 23, 2018
    Messages:
    2,059
    Likes Received:
    1,448
    Click on the area next to "got to xyz zero" and select the second option. If you find that to be too much work, then create a macro for it and assign a keyboard shortcut to it.
     
  3. GKTRK

    GKTRK New
    Builder

    Joined:
    Jun 13, 2022
    Messages:
    88
    Likes Received:
    8
    Clicking the button to the Right of this command (top right of screen) simply sends the cuttterhead to XYZ zero - there is no option.

    I am running Interface V 1.51.
     
    #3 GKTRK, Feb 26, 2023
    Last edited: Feb 26, 2023
  4. sharmstr

    sharmstr OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Mar 23, 2018
    Messages:
    2,059
    Likes Received:
    1,448
    Sorry. Missed the "interface" in your title. I was speaking of Control.

    But similar suggestion. Add a gcode file to your usb drive that does what you want.
     
    GKTRK likes this.
  5. GKTRK

    GKTRK New
    Builder

    Joined:
    Jun 13, 2022
    Messages:
    88
    Likes Received:
    8
    Can I ask you for some help on that subject – I tried to make a simple warm up routine file like the one we have on our ShopBot but I keep getting errors? If I post it, could you take a look at it?
     
  6. sharmstr

    sharmstr OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Mar 23, 2018
    Messages:
    2,059
    Likes Received:
    1,448
  7. GKTRK

    GKTRK New
    Builder

    Joined:
    Jun 13, 2022
    Messages:
    88
    Likes Received:
    8
    This is the code:

    Code:
    M8
    M3S1000
    G4S120
    M3S5000
    G4S120
    M3S8000
    G4S120
    M3S10000
    G4S120
    M3S180000
    M5
    M9


    The Interface powers up the spindle and coolant relay and then they stay on and it gives a red error Will go grab a screenshot. Edit: "GRBL Error 28, Missing P or L Value."

    Assume I am missing something simple.

    Grant
     
    #7 GKTRK, Feb 26, 2023
    Last edited: Feb 26, 2023
  8. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    14,867
    Likes Received:
    4,283
    G4 uses a P-parameter, not S
    See G Codes
     
    sharmstr and David the swarfer 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