Homing fail/could not find limit switch

$20=0
$21=1
$22=1
$23=3
$24=100.000
$25=1000.000
$26=250
$27=5.000

I have made sure that my S value max and my $30 match. I think I have made sure my work space is offset because it was a negative workspace.

1 Like

[VER:1.1g.20181112:LEADMACHINE1010LASER]

[OPT:V,15,128]
maybe this helps I have a PLH3D 6w laser that is attached to my CNC that is an Openbuilds Lead 1010 black box.

1 Like

$22=1 shows that homing is enabled.

Do you have limit switches installed on your device and does the motion you observe while homing generally proceed toward the switches?

This is the power scale for your laser. If these mismatched it may indicate that some of the other settings are incorrect.

Please confirm that the switches are present.

This is a pretty big machine. :slight_smile:

if the laser moves toward the switches and doesn’t make it the $100, $101 may not be scaled correctly.

I do have limit switches. The S value and $30 did not match in the beginning. The laser wont move at all, but it is communicating with Lightburn because I can hit the fire button and it will fire. I put in the size of my laser as 863mm as Xaxis because it measures 34 inches between the rails and 990 as my Y axis because it’s 39 inches long. Hope that makes sense. I could move it using openbuilds control before I put in the offset for the workspace, now it won’t move using it. When I try to move it in Lightburn using the arrows I can see the value of X and Y change and they are neg numbers. If any of this helps. I will be glad to do any suggestions you have because I have some craft shows coming up soon and need this working. Thank so much for you help!!

1 Like

Could this be the same problem as in:

Wherein we found the controller is trying to home the non-existent Z axis, failing, and refusing to continue.

If so, then you must recompile GRBL with Z axis homing disabled.

Not sure because I have a Z axis.

Another good idea down in flames! :grin:

The $100 and $101 are = to 199.100. This is what is in the console. The last time I was able to move my laser I moved it to the left front corner of my board. I tried to set an offset for my workspace by putting in this G10 L2 P1 -584 -584 I used 584 because I have a honeycomb grid and that is the measurement for it. Maybe this is where I messed up? Any way when I hit the X direction(the one to the right of the home) the value at the top says -171.05 the Y value is -175.34 and the Z is 348.96

Waiting for connection…
Grbl 1.1g [‘$’ for help]
[MSG:‘$H’|‘$X’ to unlock]
error:9
G-code locked out during alarm or jog state.
[MSG:Caution: Unlocked]
ok
[VER:1.1g.20181112:LEADMACHINE1010LASER]
[OPT:V,15,128]
Target buffer size found
ok
Waiting for connection…
Waiting for connection…
Grbl 1.1g [‘$’ for help]
[MSG:‘$H’|‘$X’ to unlock]
error:9
G-code locked out during alarm or jog state.
[MSG:Caution: Unlocked]
ok
[VER:1.1g.20181112:LEADMACHINE1010LASER]
[OPT:V,15,128]
Target buffer size found
ok
<Idle|WPos:-271.050,-175.344,348.925|FS:0,0|WCO:271.050,175.344,-348.925>
ok
Starting stream
[MSG:Pgm End]
Stream completed in 0:00
<Idle|WPos:-271.050,-165.344,348.925|FS:0,0|WCO:271.050,175.344,-348.925>
ok
Starting stream
[MSG:Pgm End]
Stream completed in 0:00
<Idle|WPos:-271.050,-175.344,348.925|FS:0,0|WCO:271.050,175.344,-348.925>
ok
Starting stream
[MSG:Pgm End]
Stream completed in 0:00
<Idle|WPos:-261.050,-175.344,348.925|FS:0,0|WCO:271.050,175.344,-348.925>
ok
Starting stream
[MSG:Pgm End]
Stream completed in 0:00
<Idle|WPos:-251.050,-175.344,348.925|FS:0,0|WCO:271.050,175.344,-348.925>
ok
Starting stream
[MSG:Pgm End]
Stream completed in 0:00
Starting stream
[MSG:Pgm End]
Stream completed in 0:04
ok
ok
ok
ok
ok
$$
$0=10
$1=255
$2=0
$3=4
$4=1
$5=0
$6=0
$10=0
$11=0.020
$12=0.002
$13=0
$20=0
$21=1
$22=1
$23=3
$24=100.000
$25=1000.000
$26=250
$27=5.000
$30=1000
$31=0
$32=1
$100=199.100
$101=199.100
$102=199.100
$110=4000.000
$111=4000.000
$112=4000.000
$120=700.000
$121=700.000
$122=700.000
$130=810.000
$131=730.000
$132=90.000
ok
$0=10
$1=255
$2=0
$3=4
$4=1
$5=0
$6=0
$10=0
$11=0.020
$12=0.002
$13=0
$20=0
$21=1
$22=1
$23=3
$24=100.000
$25=1000.000
$26=250
$27=5.000
$30=1000
$31=0
$32=1
$100=199.100
$101=199.100
$102=199.100
$110=4000.000
$111=4000.000
$112=4000.000
$120=700.000
$121=700.000
$122=700.000
$130=810.000
$131=730.000
$132=90.000
ok
$0=10
$1=255
$2=0
$3=4
$4=1
$5=0
$6=0
$10=0
$11=0.020
$12=0.002
$13=0
$20=0
$21=1
$22=1
$23=3
$24=100.000
$25=1000.000
$26=250
$27=5.000
$30=1000
$31=0
$32=1
$100=199.100
$101=199.100
$102=199.100
$110=4000.000
$111=4000.000
$112=4000.000
$120=700.000
$121=700.000
$122=700.000
$130=810.000
$131=730.000
$132=90.000
ok
ok
$0=10
$1=255
$2=0
$3=4
$4=1
$5=0
$6=0
$10=0
$11=0.020
$12=0.002
$13=0
$20=0
$21=0
$22=1
$23=3
$24=100.000
$25=1000.000
$26=250
$27=5.000
$30=1000
$31=0
$32=1
$100=199.100
$101=199.100
$102=199.100
$110=4000.000
$111=4000.000
$112=4000.000
$120=700.000
$121=700.000
$122=700.000
$130=810.000
$131=730.000
$132=90.000
ok
$H
ALARM:9
Homing fail. Could not find limit switch within search distance. Defined as 1.5 * max_travel on search and 5 * pulloff on locate phases.
ok
Grbl 1.1g [‘$’ for help]
[MSG:‘$H’|‘$X’ to unlock]
[MSG:Caution: Unlocked]
ok
$0=10
$1=255
$2=0
$3=4
$4=1
$5=0
$6=0
$10=0
$11=0.020
$12=0.002
$13=0
$20=0
$21=0
$22=1
$23=3
$24=100.000
$25=1000.000
$26=250
$27=5.000
$30=1000
$31=0
$32=1
$100=199.100
$101=199.100
$102=199.100
$110=4000.000
$111=4000.000
$112=4000.000
$120=700.000
$121=700.000
$122=700.000
$130=810.000
$131=730.000
$132=90.000
ok
Waiting for connection…
Grbl 1.1g [‘$’ for help]
[MSG:‘$H’|‘$X’ to unlock]
error:9
G-code locked out during alarm or jog state.
[MSG:Caution: Unlocked]
ok
[VER:1.1g.20181112:LEADMACHINE1010LASER]
[OPT:V,15,128]
Target buffer size found
ok
$0=10
$1=255
$2=0
$3=4
$4=1
$5=0
$6=0
$10=0
$11=0.020
$12=0.002
$13=0
$20=0
$21=0
$22=1
$23=3
$24=100.000
$25=1000.000
$26=250
$27=5.000
$30=1000
$31=0
$32=1
$100=199.100
$101=199.100
$102=199.100
$110=4000.000
$111=4000.000
$112=4000.000
$120=700.000
$121=700.000
$122=700.000
$130=810.000
$131=730.000
$132=90.000
ok
<Idle|WPos:-271.050,-175.344,348.925|FS:0,0|WCO:271.050,175.344,-348.925>
ok
Starting stream
[MSG:Pgm End]
Stream completed in 0:00
<Idle|WPos:-261.050,-175.344,348.925|FS:0,0|WCO:271.050,175.344,-348.925>
ok
Starting stream
[MSG:Pgm End]
Stream completed in 0:00
<Idle|WPos:-251.050,-175.344,348.925|FS:0,0|WCO:271.050,175.344,-348.925>
ok
Starting stream
[MSG:Pgm End]
Stream completed in 0:00
<Idle|WPos:-241.050,-175.344,348.925|FS:0,0|WCO:271.050,175.344,-348.925>
ok
Starting stream
[MSG:Pgm End]
Stream completed in 0:00
<Idle|WPos:-231.050,-175.344,348.925|FS:0,0|WCO:271.050,175.344,-348.925>
ok
Starting stream
[MSG:Pgm End]
Stream completed in 0:00
<Idle|WPos:-221.050,-175.344,348.925|FS:0,0|WCO:271.050,175.344,-348.925>
ok
Starting stream
[MSG:Pgm End]
Stream completed in 0:00
<Idle|WPos:-211.050,-175.344,348.925|FS:0,0|WCO:271.050,175.344,-348.925>
ok
Starting stream
[MSG:Pgm End]
Stream completed in 0:00
<Idle|WPos:-201.050,-175.344,348.925|FS:0,0|WCO:271.050,175.344,-348.925>
ok
Starting stream
[MSG:Pgm End]
Stream completed in 0:00
<Idle|WPos:-191.050,-175.344,348.925|FS:0,0|WCO:271.050,175.344,-348.925>
ok
Starting stream
[MSG:Pgm End]
Stream completed in 0:00
<Idle|WPos:-181.050,-175.344,348.925|FS:0,0|WCO:271.050,175.344,-348.925>
ok
Starting stream
[MSG:Pgm End]
Stream completed in 0:00

It’s odd that the engraver has the understanding that the Z axis origin is so far away… with a controller limit of 90mm I think I’m seeing at least part of the riddle. That may explain the symptom but we should work to find the cause.

In LightBurn, In the Move window, Please set the Distance to 10mm, the speed to 500mm/min and the z speed to 50mm per minute. These are slow, but it’s more important at the moment that these are safely observable.

In the Move window, please test/confirm that the Jog buttons next to the house icon move the engrave head in the expected directions. Test the 4 Compass points, then the up and down arrows, then Home last. Please note and share any inconsistencies you observe.

If your OpenBuilds 1010 has a touch screen or HMI please repeat the test there as well.

Please note which way the engrave head moves when homing. Especially in the Z axis.

If this all checks out:
Click the Clear Origin button in the Move Window.
Enter $RST=# in the Console window in LightBurn and press Enter.
Then click the Home button in the Move window.

If it didn’t check out we may have to adjust the Origin location in LightBurn to match the settings in your controller.

Ok I will try this tomorrow, Thanks

image
Ok so I did not see any movement when I did those steps in Lightburn or Open builds. I read some post in the forum about machine settings and job setting. So I think I have set my machine setting X0and Y0 in the wrong spot. It is at the corner of my board which should be set origin, I think. So this is probably some of the issue. but I can’t move the laser or get it to home back to front left corner to reset the machine origin/setting X0 Y0. I don’t know how to clear the machine setting. Also I am not sure about negative workspace.

How do I adjust the origin and adjust the settings?

Hi Shannon,

I have the exact same Lead 1010 and from the sound of it the same OPT laser as you do.

I’ve been having simular problems, although mine started because I was trying to solve the “why is my Get Position negative numbers after homing” and somewhere along the way I messed things up last night and got the exact same Home Alert window as you. I can’t tell you why, I’m not the savvy, but I went into Control and restored my GRBL settings from the backup there and now homing works just fine in both Control and Lightburn.

Although to be fair this will likely undo your efforts to offset the workspace and I guess we’ll both be back in the same boat of trying to get a 0,0 position after homing.

Update 1 - I did go back and redo the Offset procedure and while Get Position still shows my X-805 Y-725 at least moving it around and then going to X0Y0 sends it back to the left front homing position.

However, now my move arrow keys are wonky. Moving X or Y + moves in the direction/distance but X or Y- sends it into the positive direction past the physical abilities of the machine. I’ll report back if I figure that part out so if it happens to you, you’ll have an option to try.

Update 2 - Double checking showed that $J jogging was enabled in the Device Settings. Disabled it and the jogging works fine.

Still have the negative Get Position issue to work thru… Pretty certain that’s why I can’t use the Find Center tool… But it’s progress at least.

Thanks will try this tomorrow.

So since that post I have got the laser to move but when I click home only the z axis moves and it doesn’t go all the way to the limit switch.

Which is why homing fails: the Z axis doesn’t finish homing.

GRBL $132=90.000 defines the length of the Z axis, so the homing will fail after 135=1.5×90 mm.

  • Is $132 correct?
  • Does the Z axis travel about 135 mm without hitting the switch?

Edit: Also, $102=199.100 indicates the Z axis has the same step/mm value as the other axes. This seems unusual, as the Z axis generally has different mechanics. Have you calibrated the Z axis?

no I haven’t calibrated the z axis

So $132 is equal to 90. but I measured the z axis to the switch and it’s 517mm.