Alarm: Homing fail. Y axe doesn't moves

So, did you do the switch test on the X or the Y axis?

I have to do some work that will take me about 1 hour. We can continue later, or at another time if you will not be working on your machine for another hour or so.

Connector looks good.

Ok Larry! Thanks for the help! I’ll keep trying and testing all.

@HerminioGarciaSalgad

Have you made any progress on this issue?

Now only works de Z axe…:sweat: I have checked all connections and wires, I have restarted the Grbl and when I do the $H command only works Z…:sob:

$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=225 (status report mask:11100001)
$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=1 (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)
$30=1. (rpm max)
$31=0. (rpm min)
$100=40.000 (x, step/mm)
$101=40.000 (y, step/mm)
$102=188.976 (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=790.000 (x max travel, mm)
$131=790.000 (y max travel, mm)
$132=100.000 (z max travel, mm)

Alarm,MPos:1.000,1.000,-1.000,Pin:|0|0000

The report status mask changed. Change it back to $10=255 for now.

Let’s test each switch by itself.

The order of the axes in the report is Pin:ZYX (you can ignore the other numbers for now).

With the power off, move the spindle away from the homing switches by hand.

You don’t need the 24 volt power supply on for these tests. You do need to have the USB cable plugged into the Arduino.

Until we can get a status report with Pin:000 your homing sequence is guaranteed to fail.

So, do the setup above and post the output from the status report command ?

Don’t know where you are, so if you don’t have time to work on it we can do it later.

I’m from Spain, It’s midnight but it doesn’t matter, hahahaha! I have tested the homing switches by hand with the power off. I hope I have done well. When I have finished, I do ? command and report me:

Alarm,MPos:1.000,1.000,-1.000,Pin:|0|0000

Thanks for your help and patience! :blush:

Glad to help.

Change $10=255 and do the command again.

Sorry, I had forgotten.

Alarm,MPos:1.000,1.000,-1.000,WPos:1.000,1.000,-1.000,Buf:0,RX:1,Pin:011|0|0000

Ok, so it looks like X and Y are tripped.

unplug the connector that has the homing switch wires in it from the gShield and do the ? command again. Post the results.

The same results:

Alarm,MPos:1.000,1.000,-1.000,WPos:1.000,1.000,-1.000,Buf:0,RX:1,Pin:011|0|0000

Well, we’re getting somewhere. That’s a problem. Do you know how to flash the grbl firmware into the Arduino?

I think yes. With the IDE in examples>grbl>grblUpload, isn’t it?

Yes, make sure you have the correct grbl library loaded into your Arduino IDE and re-flash the Arduino.

Ok! Re-flashed! And now?

Check the $$ output. Post it here. Change $10=255

with the connector still not plugged in, do the ? command and post the results.

$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=255 (status report mask:11111111)
$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=1 (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)
$30=1. (rpm max)
$31=0. (rpm min)
$100=40.000 (x, step/mm)
$101=40.000 (y, step/mm)
$102=188.976 (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=790.000 (x max travel, mm)
$131=790.000 (y max travel, mm)
$132=100.000 (z max travel, mm)

Idle,MPos:0.000,0.000,0.000,WPos:0.000,0.000,0.000,Buf:0,RX:1,Pin:011|0|0000

One more thing to try. Make sure that the gShield is firmly mated to the Arduino. Sometimes they can get loose.