grbl "laser origin" and "finish position" – error?
05/11/2018 at 11:52 AM #2106
Switching with (possible) error report from FB to here (it should be preferred method – right?).
When homing laser to upper/right corner – default location for GRBL – position is set to 0/0/0 there, homing works properly. Now if I set, in device setting, “laser origin” also to upper/right corner all X/Y movement are inverted. When I set “laser origin” to lower/left corner – movements are kind of correct but working space is not.
So far I’ve been homing to lower/left corner, and probably because of this I haven’t notice that. But since this is “not proper” way with CNC and GRBL has reported origin/home position as -300x -180y (this is the size of my table) which is not logical to me, I’ve switched to “negative space” where home is 0/0/0. But then every movement has to be in negative space – I guess this is the problem here.
Second thing. Whatever I do – after finishing laser engraving (doesn’t matter if I push “Set Finish Position” or not) – laser is going somewhere until it hits endstop. This happens when homing to lower/left corner – so it’s not connected with previous problem.
Checked both on Linux and Windows (just to be sure).
I’m not sure if this is clear – I can do video if it helps.
Regards – Adrian
<div></div>05/12/2018 at 3:52 PM #2115
LightBurn doesn’t work in “negative space” mode – You can set the origin to any of the four corners, but the workspace is always in positive coordinates, so we recommend using an origin in the lower left.
Can you verify that when homing to lower left your workspace coordinates are positive X to the right, and positive Y to the rear of the machine? If they are, things should work normally and you could be using the wrong “Start from” mode – I recommend using “Absolute Coords” until you understand how the coordinates and job-origin system works.
Read up on that here: https://github.com/LightBurnSoftware/Documentation/blob/master/CoordinatesOrigin.md05/13/2018 at 3:04 AM #2117
I’ve read documentation on every possible way – before posting this (and other issues). Of course I can work with lower/left corner as home/start position – problem is, this is not laser only machine. So this would require have completely different grbl $$ settings for milling and laser – this is, at least, not ideal solution.
I’ll check how “finish position” behave with different homing settings and let you know.
<div></div>05/15/2018 at 6:24 AM #2123
I’ve switched homing on GRBL to lower, left corner. Now position after homing (“get position” button) shows X-300 Y-180. Axis movement is ok, but if I don’t use “start from current position”, LB tries to move somewhere outside workspace.
It would be much easier to debug, if I could see gcode commands send by LB (this is what I’ve asked on facebook some time ago), or perhaps some description of the debug log content.05/15/2018 at 9:04 AM #2124
You’re still working in negative coordinate space, which LightBurn does not support.
You can view the gcode that LightBurn emits by clicking “Save GCode” instead of “Start” – the generated code is identical.05/19/2018 at 10:22 AM #2130
Ok, I’ve switched GRBL to work in positive space – sadly this requires reflashing firmware and I’m not sure how other tools (used with spindle) will work with this. But this results only in X/Y being positive (left/lower corner 0/0), Z is (and have to be) negative. When I enable Z axis in device setting, every program starts with moving Z axis top and hitting limit switch. Interesting thing is that this command (moving Z axis) does not exists in exported GRBL file. So GRBL output is not exactly as running program within LightBurn?
This is example of exported gcode – no Z movement
G00 G17 G40 G21 G54
; Cut @ 5 mm/sec, 50% power
You must be logged in to reply to this topic.