Unexpected starting coordinates after updating LightBurn

Hi,
I have just updated LightBurn to 0.9.12 and have run into an issue where I am getting unexpected starting positions when I start a job.

I have saved the Code for each of the ‘Start From’ options and what I have found is:

Current Position: runs as expected
User Origin: adds ‘G0 X-234 Y-148’ as the first move, this causes the machine to hit the limit switches.
Absolute Coords: moves to the expected start position but then adds ‘G0Z10000’.

This did not occur before the update. I have tried to find any reference to these moves in preferences and settings to no avail. When I check the ‘$#’ on my machine, the values are correct and to not contain any of the strange moves coords.

I have not updated my GRBL controller so I have either made a mistake in the past that the new LightBurn version is now highlighting or I have missed a setting in the new version.

Any help would be greatly appreciated.

Cheers,

Mal
P.S. I’m a new user on the forum so I can’t post file yet.

Bumped so you should be able to post now.

Thanks Rick, It still wouldn’t let me post the file so I have copied and pasted the small GCode test file text below:

; LightBurn 0.9.12
; GRBL device profile, current position
; Bounds: X0 Y0 to X25 Y18
G00 G17 G40 G21 G54
G91
M4
; Cut @ 2300 mm/min, 100% power
M8
G0X0Y0
G1Y18S255F2300
G1X25
G1Y-18
G1X-25
M9
G1S0
M5
; return to starting pos
G0 X0Y0
M2


; LightBurn 0.9.12
; GRBL device profile, user origin
; Bounds: X5 Y7 to X30 Y25
G00 G17 G40 G21 G54
G90
G0 X-234 Y-148
G91
M4
; Cut @ 2300 mm/min, 100% power
M8
G0X0Y0
G1Y18S255F2300
G1X25
G1Y-18
G1X-25
M9
G1S0
M5
G90
; return to user-defined finish pos
G0 X280 Y190
M2


; LightBurn 0.9.12
; GRBL device profile, absolute coords
; Bounds: X5 Y7 to X30 Y25
G00 G17 G40 G21 G54
G90
M4
; Cut @ 2300 mm/min, 100% power
M8
G0X5Y7
G91
G0Z10000
G90
G1Y25S255F2300
G1X30
G1Y7
G1X5
M9
G1S0
M5
G90
; return to user-defined finish pos
G0 X280 Y190
M2

The Z change is something that was supposed to fix an issue for Emblaser devices, but appears to have side effects. I’m guessing you have ‘Relative Z moves’ and Z enabled - can you confirm?

The user origin thing is weird - no recent changes should have affected that, so I’m not sure what’s happening there. Can you type $# in the console and press enter, and post the output?

Hi Oz,

yes, ‘Relative Z moves’ and Z are enabled. I have it like this so I can run multiple cutting passes through thick EVA foam.

here is the $# values
Screen Shot 2020-06-01 at 12.06.55 pm

That G54 offset at the beginning might have something to do with the user origin issue. What is your $10 setting? (I’m assuming this is GRBL - do you have homing on this machine?)

$10=1

I have my machine homing to the top/right of the bed and then set an offset to the bottom/left so the machine works in positive values from that point. I’m not sure exactly why I set it up that way, probably seemed like a good idea at the time. lol

I can change it so it homes to the bottom/left and see what that does.

Just change to $10=0 so LightBurn sees the origin as the intended one. You’re doing it correctly aside from that.

tried that, $10=0 but still getting the G0 X-234 Y-148 offset.

disregard that, I did a reset and now it works fine except for the z axis thing. If I disable the relative z axis it works as expected so I think I am good. I’m not sure If I will need to change anything else.

I will give it a go on a few jobs over the next few days and let you know how it goes.

Thanks heaps for your help.

I think I have the Z thing fixed. Running some tests now.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.