Snapmaker ray 40w LightBurn Error

Starting stream
Layer C00
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

This error indicates that the machine hit a hard limit and lost its position, causing an immediate halt right at the start of the job.

Steps I have taken to resolve the issue:

  • Performed a homing operation.
  • Checked the machine’s physical boundaries for obstructions.
  • Inspected the limit switches for proper functionality.
  • Restarted the machine and software.

Despite these efforts, the problem persists. Could you please provide guidance on how to resolve this issue?

Additional Observations:

  1. I am unsure if there is any compatibility issue between the machine and the software.
  2. While the origin point seems to be the same in Snapmaker Luban and LightBurn, the behavior is different in LightBurn. For instance, when the laser head is at the far corner, in LightBurn it tries to move upwards instead of going downwards as it should. This causes issues, especially when it reaches the limit and still tries to move further.

Could you please provide guidance on how to resolve these issues?

Thank you in advance for your support.

Best regards,
Yunus Emre

Very good guide here.
Coordinate systems & workpiece alignment - Diode Laser Wiki (diode-laser-wiki.com)

Keep in mind, Snapmaker has some form of safety built in against movement until homing is done once via Luban or the touchscreen. Make sure when you turn the machine on to go into the control app on the touchscreen and let the machine home from there. Otherwise it seems to ignore any movement commands or other gcode, even if you try to run a G28 to home via command line, it’ll rehome, but it’ll remain locked. I don’t know why this is, but it’s a thing.

For the origin movement issues, it all likely comes down to how you set up your project. Are you using user origin/current position? Are you using absolute positioning?

As a side-note if you’d like, you can try out my guide found here;