Homing fail. Could not find limit switch within search distance. Defined as 1.5 * max_travel on search and 5 * pulloff on locate phases

I am using 3018 CNC machine. Suddenly, homing feature stopped working. I removed the device then add it again. I stopped the auto homing on startup then activate it again but the issue is still persist.
Someone suggested to type $22=1 to sort it out. When I typed $22=1 the homing error message is not showing on the console but the head is not moving anywhere.

Grbl 1.1f [’$’ for help]
[MSG:’$H’|’$X’ to unlock]
[MSG:Caution: Unlocked]
ok
[VER:1.1f.20170801:]
[OPT:V,15,128]
Target buffer size found
ok
Homing
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.1f [’$’ for help]
[MSG:’$H’|’$X’ to unlock]
[MSG:Caution: Unlocked]
ok

Homing cycle is not enabled in your Grbl settings.

$$
$0=10
$1=255
$2=0
$3=2
$4=0
$5=0
$6=0
$10=0
$11=0.010
$12=0.002
$13=0
$20=0
$21=0
$22=0
$23=0
$24=25.000
$25=500.000
$26=250
$27=1.000
$30=1000
$31=0
$32=1
$100=800.400
$101=800.000
$102=800.000
$110=1000.000
$111=1000.000
$112=600.000
$120=30.000
$121=30.000
$122=30.000
$130=300.000
$131=180.000
$132=200.000
ok

This is probably what it choked on…

Here is an old cheat sheet, pre laser days, for the CNC3018 type of machine.

Do you actually have limit switches?

If so, you need to enable homing with $22 to 1. $21 enables ‘hard limits’, which require limit switches.

Make sense?

Good luck.

:smiley_cat:

Dear friend, you have to set $ 22 = 1 and also set $ 131, $ 132 and $ 133 equal to the dimensions of your machine workspace.
Also, your machine must be equipped with limited hardware switches at the end of each axle

I was reading the 3018 CNC machine does not come with software limit that is why I need to use the coordinate as home.
I want to buy hardware limit switches but there are load and I do not know what is the best

Your configuration is incorrect. I know that machine does not have a Z travel of 200mm as indicated by $132.

A good place to start is Lightburns Common Grbl Setups.

Along with Coordinate and Job Origin documents.

These seem simple but it takes a while to ‘get your head’ around it. You are not alone, which is why Lightburn has wisely created documents to help you ‘find your way’. 99% of issues are configuration so that’s the first place to start.

Make sure you read the documents completely, since one of the has some of the information at the end that directly applies :slight_smile:

Good luck

:smiley_cat:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.