Welcome! Log In Create A New Profile

Advanced

GRBL not saving home Z position

Posted by harlandraka 
GRBL not saving home Z position
October 23, 2017 06:27PM
Hi everyone, I'm trying to set GRBL up for my new DLP printer.

This is the output of $$:

$0=10
$1=25
$2=0
$3=0
$4=0
$5=0
$6=0
$10=1
$11=0.010
$12=0.002
$13=0
$20=0
$21=0
$22=1
$23=4
$24=25.000
$25=200.000
$26=250
$27=1.000
$30=1000
$31=0
$32=0
$100=250.000
$101=250.000
$102=1600.000
$110=500.000
$111=500.000
$112=500.000
$120=10.000
$121=10.000
$122=10.000
$130=200.000
$131=200.000
$132=200.000

I disabled X and Y axes in the config.h file by commenting this line:

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

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.

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
Sorry, only registered users may post in this forum.

Click here to login