Alarm 2 & Error 25

Relative newbie here, so maybe this is easy fix. I have a file that i’ve been working with that is now creating issues. I am able to engrave it at a small scale, but when i enlarge it, i get error 1 and 2. I can’t find anything in the file that is making the file too large. I’m totally at a loss.

see error (G-code word was repeated in the block)

If I keep width lower than 9", it will frame. Any larger it won’t frame and gives the errors.
Alarm 2_ error 25.gc (137.5 KB)

You’re using the wrong device type.

Edit the Device by pushing Devices button in Laser window, select your device, then edit. Change from GRBL-LPC to GRBL. Then retest.

saw that in the forum earlier, didn’t seem to help. just retried again, same issue framing.


changing to GRBL

image
you can see it re-homes, but then errors when trying to frame again

image

here is the help command…i don’t understand how to read it, tbh.

The ALARM:2 indicates that you’re asking the motion to go out of bounds.

You can avoid this by doing the following:

  1. Home before every session
  2. Never move the laser head by hand after homing. Use the jogging controls in Move window exclusively
  3. Do not ignore any warning messages from LightBurn

This also helps if you use Absolute Coords as Start From mode in Laser window.

The error:24 is more unusual. Ostensibly this is an indication of bad g-code being sent. However, that’s very unlikely with LightBurn so this error is more indicative of a communication issue.

In the meantime, can you make sure you’re using GRBL device type, then follow the guidelines listed here, then try again?

What happens?

Please regenerate g-code if you still experience a problem and post here.

I haven’t been moving the gantry by hand, only using move buttons. I Home it before trying anything new. I’ve tried both Absolute coord and current position, doesn’t seem to change. i can repost the file with g code

error 24.gc (182.4 KB)

image

you seem to have an extended bed size
15x30 like 400x800mm?
did you do this after the fact, if so did you adjust the firmware acordingly
$131=xxx command?

I installed the extension on day one. included in original setup.

$131 command gives this response

image

image

this is the biggest i’ve tried to engrave though.

hmmm… i set the $131=710 and that now allows me to frame the project at full size.

Man, you are good. thanks for the help, this has had me chasing demons all over the place

Why 710mm? You have 33.47 inches for your workspace size. Wouldn’t that be 850mm?

you are correct. just going off of top of my head.

Are you still getting error:24? I wouldn’t expect this to resolve that necessarily.

CHanging edit → device settings on Lightburn does not tell the motherboard on size

So yes $131=850 needs to be set. And wil need to be set if you ever reset firmware in future or maybe update.

that should set you up and stop alarm 2s

Got locked out for too many posts on my first day. However, I continued to have some errors after setting $131. After a couple of hours of kicking rocks and pulling out my hair, I did eventually figure it out. I had my laser offset enabled, and it was causing lightburn to trigger the soft limits. I’m not really sure why it let me frame the job, but then wouldn’t let me execute it. However, all is well that ends well. Thanks again for all your help.

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