Homing cycle is not enabled in your Grbl settings - what to do?

I just replaced my motherboard in my Sculpfun S30 Pro Max and changed USB cables. I’m using a Windows machine with OS 10 Pro (FWIW). I’m on Lightburn 1.7.03.

Rebooting the laser I got the dreaded Error 5, Homing cycle notice. I reviewed the previous answers and changed my console setting to $$22=1 but no change. Some of the other answers were way over my head. I’m a relative newbie here so any assistance would be incredibly helpful. Thanks in advance.

Try $22=1
press enter

Does your S30 have switches?

Thanks, I entered $22=1 and it got beyond that error. However, when I pulled up an old file to check it framed the area correctly but then didn’t home when finished. It’s all over the place.

The latest error is now “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.”

I do have limit switches but the laser head seems to have a mind of its own.

And I just noticed the air pump doesn’t seem to be working either. :face_with_diagonal_mouth:

And one more thing I noticed, the console text is in red when it used to be black. Does that mean anything?

Did you copy all the GRBL parameters from the old board and use them for reference with the new board?

Is the board a replacement from Sculpfun?

Show a picture of the new board. And you can find all recommended firmware values here: Firmware Update & Settings - Diode Laser Wiki

1 Like

I did not copy the old parameters as I did not know I had to, nor do I know how to do so.

And yes, the new board is from Sculpfun.

I’ll have to disassemble the unit again for the photo which I’ll do a little later (other things to do at the moment). However, I went to download the latest firmware and got a Malwarebytes browser Guard message that it’s “suspicious content.” I am a little hesitant.

Before you take it apart, hook up up, launch Lightburn, and type $$ in the Console window. You will see a bunch of numbers with “$” in front of them. Copy and paste that list here.
Follow that with $# and copy/paste that too.

I have the S30 Pro parameters here to compare yours to.

$$
$0=10
$1=25
$2=0
$3=4
$4=0
$5=1
$6=0
$10=1
$11=0.010
$12=0.002
$13=0
$20=0
$21=0
$22=1
$23=7
$24=200.000
$25=3000.000
$26=250.000
$27=2.000
$30=1000.000
$31=0.000
$32=1
$100=80.000
$101=80.000
$102=250.000
$103=100.000
$104=100.000
$105=100.000
$110=6000.000
$111=6000.000
$112=1000.000
$113=1000.000
$114=1000.000
$115=1000.000
$120=1000.000
$121=1000.000
$122=1000.000
$123=200.000
$124=200.000
$125=200.000
$130=400.000
$131=410.000
$132=200.000
$133=300.000
$134=300.000
$135=300.000
ok

$#
[G54:0.000,0.000,0.000]
[G55:0.000,0.000,0.000]
[G56:0.000,0.000,0.000]
[G57:0.000,0.000,0.000]
[G58:0.000,0.000,0.000]
[G59:0.000,0.000,0.000]
[G28:0.000,0.000,0.000]
[G30:0.000,0.000,0.000]
[G92:0.000,0.000,0.000]
[TLO:0.000]
[PRB:0.000,0.000,0.000:0]
ok

Mine are $130=380 and $131=385 for the Pro 10w head. You may have to go a bit smaller for the 20w head. These settings will keep you from bumping into the rail at higher speeds.

All the other settings are exactly the same as my S30 Pro. Let us go back to the basics.

  1. Home the machine. Does this work without hitting the frame?
  2. Check that Jog moves everything in the right direction. Good?
  3. Select Absolute Coords in the Laser window.
  4. Select the lower left button for Job Origin.
  5. Make a square about 50mm on each side, about 100mm from the X and Y Home position… Choose Line mode. Select it and click on Frame.
  6. Did it Frame where you think it should? Did Frame stop at the starting position of the square?
  7. Set laser power in the Cuts window to 5% and click Start.
  8. Does it trace the square where you think it should?
  9. Does it return to the Home position when it finishes?

Please include the question numbers in your responses to the 6 questions.

One other thing, move the laser head with power off and make sure it trips the limit switches. Do you hear the switches click?

This is question #7.

As I have no idea what those parameters are, are you saying I should try to use yours to see if that helps?

  1. It does not home. The gantry (Y axis?) does not return to home in the left-hand corner so it does not hit a limit switch and keeps trying to move but the frame prevents it.

  2. Manually using the jog controls, the head does move in the correct directions. When hitting the home button it moves to the far left again and tries to continue moving.

  3. Absolute coordinates are chosen. (That’s what I’ve been using).

  4. The lower left button is chosen by default because it’s all grayed out I can’t manually click anything under absolute coordinates. If I click either current position or user origin I can choose any of the nine buttons.

  5. I’m in inch-mode. Made a 3" square, moved it to page center and clicked frame.

  6. It did not frame as I thought it would. The head moved almost diagonally to the opposite end of the laser’s frame, probably 48" (120 cm) away from the starting location. I have the 900x900 frame by the way.

  7. I set the laser to 3% and clicked start. It stayed in one place; did not move at all.

  8. It does not trace the square where I think it should. It does not trace the square at all.

  9. It does not return to home.

Boy, I sure wish we could have a phone conversation about this rather than texting. :grin: I’m outside of Atlanta. Any way to connect outside of this forum?

  1. Yes, I can hear the tripped limit switches.

I am getting mixed signals with the #7 answer.

I think this will slow it down. Set the Speed value in the Move window to 100mm/m. Then Home the machine. It will (hopefully) go maddeningly slow, but it will not overshoot the switch. Tell us exactly what happens when it gets to the switches.

We get Home working first, then move on to the others.

You did a superb job of answering the questions!

I have an appointment to get to momentarily. Please check your Mikey email.

Thanks.

You got mail…

Sorry for any mixed signals. When I manually move the head to the switches, that’s when I can hear the click of the switch being engaged. Not when it homes by command.

When I manually move the head to say, the center of the open frame and hit home, the head moves back to the ‘bottom’ frame and wants to continue to move. The motor does not stop for about four or five seconds. The head does not move to the left-hand frame but stays about an inch away. I’m not sure how clearly you’ll be able to see in the attached photo.

I changed the move speed to 100 as suggested and I can move the laser but again when I hit home it goes to the back frame and remains about an inch from the side frame

Ok, Home direction on Y is wrong.

Does it Jog in the right direction for both X and Y?

Once we know this, we will know which parameter to change.