I have added a Diode laser to my cnc machine. I use a GRBL controller. When I’m using my cnc controller software the x and y move in the correct direction.
I thought I could use lightburn to control my Machine (as its grbl) for images and text but when it connects my x and y are inverted. is there a setting in lightburn I can set to correct this?
If your machine is a CNC, chances are it uses a rear-right origin, but then would require negative coordinates to use the work area. You can move the origin to the front-left with a workspace offset, and then use positive coordinates (which LightBurn requires). We have instructions for this here: Documentation/CommonGrblSetups.md at master · LightBurnSoftware/Documentation · GitHub
LightBurn assumes that all moves will be in the positive direction away from the origin. If you set the origin to be in the rear-right, LightBurn is issuing moves using positive numbers to move away from that point, like this:
But your machine interprets them like this:
That’s why you use the front-left origin and a workspace offset. It moves the origin, but leaves the orientation correct, like this:
It drives me insane that CNC machines work this way, as there’s no logical reason for it - it’s a weird hold over designed to force you to set a workpiece origin so if you try to run a job without doing so the machine hits the limits instantly and locks itself, rather than just starting with a usable work area.