Autofocus crashing laserhead into workpiece

Hi there,

I have a problem with my Gweikecloud RF lasercutter. I have enabled Z-axis in device settings to be able to control the laser focal point through Lightburn.

When I move the Z-axis down from the “move” window, followed by starting a printjob, it works fine. The machine will finish the job, moves the Z axis back up, and the printhead goes back to its home position afterwards.

The issue becomes apparent when I enter a Z offset (-5mm in my case) within the cut settings editor (instead of manually clicking on move z axis everytime before a print), the laser will actually move the head down and starts lasering. The problem appears right after the actual print is finished. The laserhead now moves al the way down, crashes into the workpiece, moves back up after which it will home all axis again.

Hopefully someone can help me with this.


Is “Optimize Z Moves” enabled in Device Settings? If not, try enabling that.

That didn’t work. I also tried “optimize Z Moves” on/off with the “Relative Z Moves” toggle on/off.

What basically happens is at the end of a layer with an offset, the laserhead moves up a few millimeter, and then moves all the way down.

When I use multiple layers, the laserhead will do the same thing when it finishes the laser with z offset. But because the laserhead is all the way down, it starts scraping the laserhead over the workpiece as it moves to the next layer.

I also tried what happens if a layer has multiple passes combined with a Z-step per pass value. These steps work fine for each pass, until it finishes the layer and the problem happens again.

If you enable both “relative z moves only” and “optimize z moves” then disable the z offset in cut settings, how the does the laser behave when burning?

Is there any z movement at all?

Can you explain the process for how you focus the machine?

If I do that, the laser behaves normal, out of focus though. It makes the intended moves and then moves back to home position. It doesnt go up or down.

The way I focus now is calculating 17mm minus the material thickness. The resulting number in millimeters is used to lower the laser head within the move window. After the intended moves, the laser head moves up and goes to home position.

I made a video where you can see what goes wrong. You can see the laserhead move up a little, then down all the way, followed by all the way up again and going to home position. I removed the honeycomb to prevent damaging anything.

Video: WeTransfer - Send Large Files & Share Photos Online - Up to 2GB Free

If you have no movement with those two set I’m not sure why you’d be getting excess movement with the offset. It should literally only move the incremental amount.

Not sure if it’s just me but I can’t seem to get to any video in that link.

That’s exactly why I don’t understand what is happening. I also tried the focus wizzard within LB and that also moves the laser head all the way down after the first line.

I have 15 years of experience in 3D printing. If something happens there, you can check the gcode for anything strange, but there is no gcode to be found in LB. At least not that I can find.

The video is available as a download.

Ruida controllers do not use gcode for operation. LightBurn does support gcode for gcode based controllers.

I was able to download the file.

Looks like this other user had the same issue:

I have have the same issue

This may be of interest to you guys.

  1. Read through everything first - Pay close attention to how some Values are in the NEGATIVES!
  2. From the Machine Settings Window - Make a BackUP of your Config using [ Save to File ].
  3. Consider reducing the change of the Z-Axis Maximum Travel Distance change from 25mm to 18mm as an optional Safety Feature ( the Use of a Rotary may require for it to be left at 25mm )
  4. Remove the Honeycomb Bed when doing the first Tests to confirm it is working as expected.

I think I worked this out so that it moves down at the start of the cut, and moves straight up to the home position at the end. I haven’t had a crash yet doing this. (I’m still new to my Gweike cloud, so I’ll update this if I get more info).

To set up my Gweike Cloud Pro with LightBurn, I:

  1. Plug in usb cable from laser controller to computer. (note: there are two ports, one for the camera and one for the laser controller)
  2. Install drivers from Gweike website as per this video: How to use Lightburn with Gweike cloud - YouTube
  3. Open LightBurn
  4. Laser window>Devices>Find my Laser (Ruida 644xg, rear right)
  5. Laser window> select correct comm port and Gweike Cloud/Ruida machine you just set up
  6. Edit menu>Device Settings> Enable Z = on, Optimize Z Moves = on
  7. Cuts/ Layers window> set Material (mm) to 17-thickness of your material (e.g for 3mm ply, you would calculate 17-3=14, therefore put 14 into the Material(mm) field.
  8. Enter material settings: GweikeCloud Parameters Setting Table
  9. Design/frame/cut your thing.

==== Notes ====

Saving to the library

When saving to the Materials Library for the Gweike Cloud Material Library - LightBurn Software Documentation you need to enter the Material (mm) value (e.g. 14 for 3mm ply) into the “Thickness” field to preserve it with the settings. You may wish to note the real-life material thickness in the field of the Material name or Description, for ease of recognition:

Z Offset / Z steps per pass
If you want to use these settings (e.g., to defocus a bit just while doing raster engraves in a job where you have cuts and engraves (offset), or to move down into the material with each pass in a thick material so that the cut is better in focus (steps per pass), they can be accessed via the cut settings editor (double click on the layer). The main thing to note for the Gweike Cloud is that THE DIRECTIONS ARE REVERSED. Do NOT go by the in/out indicator in the dialogue.

A negative value will take the laser head closer to the material and a positive one will take it further from the material. If it helps to remember, imagine the Z axis is a traditional vertical one; up is positive and down is negative; a positive value in Z offset or Z steps per pass will take the laser head up, a negative will take it down.

These settings are compounded upon the Material (mm) setting. So set your material correctly first (as above) e.g 3mm ply is 14, then add the amount you want the laser head to move up or down from that height in the Z offset/ Z steps. e.g if you want to defocus a little for an engrave you would put 1mm in the Z offset field (NOT 17-4=13).

1 Like