I’ve been searching the forum for the last couple of days but can’t find anything definitive for Smoothieware based controllers regarding Z-homing and auto-focusing. I don’t have a motorized table yet, but I do have a motorized laser head. I want to be able to home to Z max, then X/Y. After that I want to be able to auto-focus my laser using the auto-focus probe. I think I can write a macro to perform all this but I’d like to know what’s natively available in LightBurn. So here are a couple of questions:
- Does LightBurn actually perform homing on a Z-axis for Smoothieware? The home buttons just seem to home X/Y, and I can’t find an option to add in the Z-axis. (Z-axis is Enabled in Device Settings.)
- What does the Focus Z button do? It says it will run the auto-focus cycle, but there’s no output in the console, and no documentation on what the auto-focus cycle is supposed to do.
If these aren’t available in LightBurn my intention is to write my own Homing and Auto-focusing macros. (I already have a Test Fire macro so this will make 3 out of 6 permanently used up. Can we get more please!? ) I know I can use the G30 probe function to find the top of the material, and then using the focusing test can find the offset to apply to a given lens. From there I can put that offset in to my macro such that it will find the top of the material, back off the amount of the offset, and then set Z to zero.
EDIT: I’ve been playing around with this on my test system and now realize that LightBurn works in machine coordinate system. So all the above works with the exception of setting Z to zero. I assume I can just switch on ‘Relative Z moves only’ in Device Settings and all will be good?