Homing and Jogging with new 1.0c

Mornin all.

X-carve
linear Z
1.0c GRBL

homing is now correct direction after changing to $3=7 and $23=6

these two seem to be at odds with each other ?

but when I jog X and Z are inverted , I press +10mm and i get -10mm,

If i change $3=5 to try and invert them my homing goes wrong

how do i invert axis without messing up homing?

cheers

GC

Setting Value Mask Invert X Invert Y Invert Z
0 00000000 N N N
1 00000001 Y N N
2 00000010 N Y N
3 00000011 Y Y N
4 00000100 N N Y
5 00000101 Y N Y
6 00000110 N Y Y
7 00000111 Y Y Y

1 Like

$3 changes the direction the motor moves the axes. Get this working correctly using jogging. You want X to move right with positive moves, Y to move to the back with positive moves, and Z to move up with positive moves.

$23 changes the orientation for homing an axis.

The bit order is ZYX.

Once you have jogging working correctly as above then you want Z to home up, X to home left and Y to home to the front.

$23=3
.

2 Likes

Thanks Larry / David,

does bit order read left to right ? last 3 bits = Z Y X

im using the same picture as David showed above , and was reading it X Y Z left to right ?

left to right

1 Like

Gracious Amigo

De nada.

Ha, mine was only half Spanish :slight_smile:

Step port ? $2=0 ?

Here are the defaults for a 500mm. The 1000mm is only different in $130 and $131.

1.0c added $30 and $31.

$0=10 (step pulse, usec)
$1=255 (step idle delay, msec)
$2=0 (step port invert mask:00000000)
$3=3 (dir port invert mask:00000011)
$4=0 (step enable invert, bool)
$5=0 (limit pins invert, bool)
$6=0 (probe pin invert, bool)
$10=3 (status report mask:00000011)
$11=0.020 (junction deviation, mm)
$12=0.002 (arc tolerance, mm)
$13=0 (report inches, bool)
$20=0 (soft limits, bool)
$21=0 (hard limits, bool)
$22=0 (homing cycle, bool)
$23=3 (homing dir invert mask:00000011)
$24=25.000 (homing feed, mm/min)
$25=750.000 (homing seek, mm/min)
$26=250 (homing debounce, msec)
$27=1.000 (homing pull-off, mm)
$100=40.000 (x, step/mm)
$101=40.000 (y, step/mm)
$102=188.947 (z, step/mm)
$110=8000.000 (x max rate, mm/min)
$111=8000.000 (y max rate, mm/min)
$112=500.000 (z max rate, mm/min)
$120=500.000 (x accel, mm/sec^2)
$121=500.000 (y accel, mm/sec^2)
$122=50.000 (z accel, mm/sec^2)
$130=290.000 (x max travel, mm)
$131=290.000 (y max travel, mm)
$132=100.000 (z max travel, mm)

gracias mate

thats only half Aussie :slight_smile:

No worries.

me again :slight_smile:

$3=5 gives me 3 negative travels

so , $3=2 should be opposite, if this doesn’t work I’m stumped . hang-on ill pressGRBL $3=2------ do-------save-------
jog, wait for it, -------
waiting

HEY ALL WORK!!! , thank Zeus and his Dolphin Daughters,

its jogging correctly,

So , as one can see from Davids diagram from github, it looks( to me) to read left to right X Y Z ,

When in fact GRBL reads it Z-Y-X , hence my tripping up everytime I changed an invert,

So ya’ll . its Z-Y-X, and thats straight from the horses mouth (thats a term of endearment Larry )

Actually, that’s mud in my eye. I take care of 52 horses! :smiley:

1 Like

1 Like

yeah Phil . took a bit of working out but its sweet now,
Part of the fun/frustration with the Xcarve is having to sort this stuff out, I find it fascinating , my machine has been in downtime for half its life, but thats because I get such a kick from modding/tweaking it,
I will actually get some art out soon, i promise :slight_smile:

1 Like