Welcome to Our Community

Some features disabled for guests. Register Today.

GRBL doesn't save home position

Discussion in 'Control Software' started by harlandraka, Oct 24, 2017.

  1. harlandraka


    Sep 22, 2017
    Likes Received:
    Hi everyone, I'm trying to set GRBL up for my new DLP printer.

    I disabled homing for X and Y axes in the config.h file as I just have the Z axis by commenting this line:

    #define HOMING_CYCLE_1 ((1<<X_AXIS)|(1<<Y_AXIS))

    This is the output of $$:
    I connected my endstop and tried to home with $H. It works, the Z axis goes down until it reaches the endstop, then goes a bit up and goes down again slowly until it hits the endstop again, then it goes a bit up again.

    The issue is that the home position isn't saved.

    After this, I tried running:

    G1 Z0 F100
    After running this line, the Z axis moved exacly to the point where it was when I powered on the Arduino. It seems that the first Z position was saved and that $H did not overwrite it.

    How do I make GRBL remember the last home position reached with $H?

    Thank you
  2. Peter Van Der Walt

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

    Mar 1, 2017
    Likes Received:
    Have a read through Set up the Homing Cycle · gnea/grbl Wiki · GitHub to ensure your settings are correct

    You may also wanted look into Grbl WCS (Work Coordinate Systems) - mPos is set via Homing, but your work coordinate system (wPos) may not be. In which case the G10 command is your friend

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