Homing was working but now it isn't

I’m hoping someone can help me. I’m a complete noob so you will have to dumb it down for me. Sorry.

I’ve played with all the settings that have worked for me before but nothing is working.

2 days ago, my 4030 v2 was working fine using lightburn. It would home properly. Yesterday morning, everything is wonky! The only thing I did was unplug the computer to work on a new design. Seriously!

If I press home, the laser moves correctly along the z axis and the y axis, towards the top, but it tries to move to the left and errors out still. I don’t understand what happened that caused this to stop working properly!

When I clear the hard limit, I can usually move the laser around using the arrow buttons. I think I’ve got it fixed, and try homing again…and it errors out.

In device settings, my origin is set to bottom left.

I previously had typed “G10 L2 P1 x-400 y-300” in the console. I did this again, several times, to make sure that hadn’t been lost. I did do the lightburn update but that was before I used it last night, so I don’t think the update is the issue. I’ve restarted both the machine and my computer, just in case. I’ve unplugged wires and reset them carefully, just in case.

$$

$0=10

$1=25

$2=0

$3=1

$4=0

$5=0

$6=0

$10=0

$11=0.010

$12=0.002

$13=0

$20=0

$21=1

$22=1

$23=0

$24=100.000

$25=1000.000

$26=250

$27=3.000

$30=10000

$31=0

$32=1

$100=400.000

$101=400.000

$102=400.000

$110=5000.000

$111=5000.000

$112=5000.000

$120=300.000

$121=300.000

$122=300.000

$130=400.000

$131=300.000

$132=100.000

ok

What am I missing?

As long as I don’t press home, the machine works fine.

As a CNC where does your machine home?

Only if your machine homes back right: in Console window type $RST=# then setup as this:


.
Power cycle your machine (power and USB) and wait 30s.
Reconnect and try again.
Report back.

It is still doing the same thing. Appears to home the z and the y but as soon as I try to home the x, it does a jerk to the left and tells me: “ALARM:8
Homing fail. Cycle failed to clear limit switch when pulling off. Try increasing pull-off setting or check wiring.”

When I try to send it to 0, 0, I get: “<Idle|WPos:-3.000,-3.000,-3.000|FS:0,0|Pn:X|WCO:0.000,0.000,0.000>
ok
Starting stream
[MSG:Pgm End]
Stream completed in 0:00
<Idle|WPos:-53.000,-3.000,-3.000|FS:0,0|Pn:X|WCO:0.000,0.000,0.000>
ok
Starting stream
[MSG:Pgm End]
Stream completed in 0:00
Starting stream
ALARM:1
Hard limit triggered. Machine position is likely lost due to sudden and immediate halt. Re-homing is highly recommended.
On or near line 0:
Stream completed in 0:01
[MSG:Reset to continue]
[MSG:Pgm End]
ok
Grbl 1.1h [‘$’ for help]
[MSG:Check Limits]
[MSG:‘$H’|‘$X’ to unlock]
[MSG:Caution: Unlocked]
ok”

If I send it to (1, 1), it doesn’t trigger out. It ends in the top right hand corner.

When I measure it out, the x position is not where I would expect it to be. It is about 5 cm too far to the left. I should be able to get it 5 more cm right from (1, 1)

Have you changed this parameter? All my machines (CNC and Laser) have something other than zero in this one.

More importantly, did you save a copy of the parameters before you started changing them?

How many and which ones did you change?

As far as I remember (I didn’t write anything else down), I only made these two changes:
G10 L2 P1 x-400 y-300
$10=0

I definitely did not make any changes between the night it was working and the next morning when it didn’t work.

Is your laser head going the wrong way when you initiate a Home cycle? Only if so, enter in the Console window the $23=1 GRBL command. With any luck, this will reverse the Xaxis only.

Do not go trying to mess with the settings from the table. I only posted it here for reference. When I installed a new board in my 3040 Pro, It took ME 3 hours to get the parameters based on this table right. And I thought I knew what I was doing.

Setting Value Mask Invert X Invert Y Invert Z
0 00000000 N N N
1 00000001 Y N N
2 00000010 N Y N
3 00000011 Y Y N
4 00000100 N N Y
5 00000101 Y N Y
6 00000110 N Y Y
7 00000111 Y Y Y

Make the change, test, and report back.

So, I fought with this for many hours, trying to figure out what was going on. I changed it to the CNC option with the origin in the top right corner. I played with settings (changing them back to what I started with as they didn’t work).

My (0, 0) kept jumping all over the place. No idea why or where it might end up next. It was completely random. I wouldn’t even have to change any settings. I would just “Get Position” and it would be different from one click to the next.

I finally decided to jump back into the UGS program to see if that was working. As soon as I did, it homed properly. I re-opened lightburn, and shockers…it homed properly there too! I have no idea why. If I believed in Christmas miracles, I would chalk it up to that.

Regardless, I am a happy camper again. I did make sure to grab a copy of my settings from $$. I didn’t realize you couldn’t revert back using a restore of some type.

Thanks to everyone who tried to help! I appreciate it!

2 Likes

You can and should be saving the original data in a file just in case…

At the bottom of the Machine Settings, there is a save to file button.

If you want to go back then load from file and write it back to the controller.


There is no need for you to use or even know about the table that @MikeyH posted.

For long time have spoken out about posting grbl setting using a line of meaningless numbers when Lightburn will display them directly using your selected language, instead of remembering numbers. Although the numbers are present.

If you use Lightburn machine settings you don’t need to fool with the masks mental gymnastics. Using the software is better - much less likelihood of a user error. You paid for Lightburn, make use of it’s great facilities.

Good luck

:smile_cat:

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