G54 is an offset or sometimes referred to as workpiece coordinate system. On some CNCs you can store offsets/WCS so that your X/Y/Z zeros are remembered for the next time you need them. On my machine I can store 6 separate offsets/WCS. When I do tumblers for example I have a spot on the machine bed that is repeatable that I place my rotary at. For this spot I set a specific WCS that I only use for tumblers.
I use offset G58 for tumblers, for this to work I have to manually delete the G54 from the output gcode. I’m not necessarily that smart sometimes and forget to do this. Using G54 for this isn’t really practical as G54 is the default coordinate system and I will most definitely forget to change it when starting the machine for other projects. Also, I have other spots I use for repetitive items for the laser as well. If the G54 wasn’t there I could actually save a machine profile that would call G58 for me and make it idiot proof, but since the G54 is AFTER the gcode I can insert as a user that won’t work.
If it’s a one off project I’ll set the coordinates manually in G54 so thusly not a problem. Or as mentioned above I forget to manually delete the G54 from the gcode.
At the end of the day I use 4 different CAD/CAM programs and Lightburn is the ONLY one that outputs this G54. I really don’t understand why it does this. The only other program I use that will output G54 is Fusion but you can turn it off.
I can see where that is a problem in your workflow process. That is the downside of adapting a Mill for Laser use. When I switched from the CNC 3018 Mill w/Laser to a dedicated laser machine, life got a lot easier.
I have a standalone diode as well. There are some real problems when trying to work between the two machines. For example I do a lot of crib boards on the CNC. If I use the standalone laser to put numbers and borders on around the peg holes I can guarantee the alignment is off. Presumably due to accuracy of motion being different between the 2 machines. If I do the whole process on the CNC results are perfect.
For the tumblers I can double output by having both machines running and sometimes I have the standalone setup for something specific and it’s easier to do a few tumblers on the CNC.
I have removed a part and reinserted it later to add something. Have to be picky with the alignment and positioning. Not exactly ideal for a production environment for sure!
Yeah with the CNC I can load the piece once and run both operations. Have a very tight removable mount for the laser that allows me to take the laser head on and off and relocates back to the same spot. So I can store the laser offset to the CNC and it automatically aligns between the two.