Homing fail/could not find limit switch

I am brand new to laser and have a PLH3D added on to my CNC. I am getting this error in lightburn. Any suggestion on how to fix this problem would be greatly appreciated. My hard limits and homing cycle are set to true.

Target buffer size found
ok
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

1 Like

following. This lead to my computer not reading the port at all even in the device manager.

You’ve got a very successful troubleshooting thread going.

Because this is a new set up with a CNC device the approach to troubleshooting has to start further back.

GRBL 1.1g is an unusual release. Are the Build Options revealed in the Console window when it connects in LightBurn?

Alarm 9 tells us a few things.

Homing was attempted.
The controller stopped trying to reach the limit switch after counting out 1.5x the max travel in one of the homing directions.

or.

The engrave head pulled off from the switch 5 times and the switch didn’t deactivate.

Please repeat the homing operation and confirm that the engrave head moved toward the limit switches and watch to see if the switches are triggered and if the engraver pulls back from them.

I hope this is what you mean by build option appearing in the console window when lightburn connects. I am brand new to this.
$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, I tried re homing and watching and my laser does not move at all. and then that error comes up. I have my laser positioned at the corner of my board.

The GRBL build options would have been shared before this report. In LightBurn you can scroll the text in the Console window and roll it back to find earlier messages.

The codes next to the dollar sign are Machine Settings, and it’s also really helpful to know these.

All the dollar-20’s are related to homing so, if you’re willing please scroll back and capture the whole report and copy/paste it like you did above.

2023-05-24_09-34-01 forum 100975 build options

The GRBL build options are the settings that are ‘Baked in’ when the Firmware is set up and written. V is for Variable Spindle and that’s what’s used to drive the laser.

Some of the GRBL build options are related to homing. If those options weren’t built in, it’s best to shut off Auto Homing on Startup. I’m fairly certain that was ‘the cause’ in the example above but I need to know specifically for your device.

The Machine Settings should also offer information about the switches and switch behavior. :slight_smile:

$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.