# Cannot change origin

**URL:** <https://forum.lightburnsoftware.com/t/cannot-change-origin/85722>\
**Category:** LightBurn Hardware Compatibility\
**Created:** [December 20, 2022, 5:32pm UTC](https://forum.lightburnsoftware.com/t/cannot-change-origin/85722 "2022-12-20T17:32:56Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![nickrose](https://forum.lightburnsoftware.com/letter_avatar_proxy/v4/letter/n/a4c791/32.png) [@nickrose](https://forum.lightburnsoftware.com/u/nickrose)\
**Post date:** [December 20, 2022, 5:32pm UTC](https://forum.lightburnsoftware.com/t/cannot-change-origin/85722/1 "2022-12-20T17:32:56Z")

</div>

I’m using a Genmitsu 4030 (GRBL 1.1).  
Whatever I do, the (Get Position) origin is set at -343,-281 (relative to home, I assume).  
I don’t know where this setting came from. If I set the machine origin manually to something else (with Candle) it makes no difference.  
Set Origin, Clear Origin have no effect.  
Why do I care ? I want to use the same machine for CNC routing and for lasering, and there needs to be a 12.5mm offset between the origins (due to laser/router size), so I want to be able to set the physical origins manually.  
The documentation for origin setting and modes is somewhat confusing, but I don’t think that this is the problem.

---

<div class="post-metadata">

**Author:** ![berainlb](https://forum.lightburnsoftware.com/letter_avatar_proxy/v4/letter/b/85f322/32.png) [@berainlb](https://forum.lightburnsoftware.com/u/berainlb)\
**Post date:** [December 20, 2022, 5:47pm UTC](https://forum.lightburnsoftware.com/t/cannot-change-origin/85722/2 "2022-12-20T17:47:15Z")

</div>

Take a look at this documentation for common GRBL configurations, specifically about negative workspace systems:  
[Common GRBL/GCode Setups - LightBurn Software Documentation](https://docs.lightburnsoftware.com/CommonGrblSetups.html)

---

<div class="post-metadata">

**Author:** ![nickrose](https://forum.lightburnsoftware.com/letter_avatar_proxy/v4/letter/n/a4c791/32.png) [@nickrose](https://forum.lightburnsoftware.com/u/nickrose)\
**Post date:** [December 20, 2022, 6:12pm UTC](https://forum.lightburnsoftware.com/t/cannot-change-origin/85722/3 "2022-12-20T18:12:06Z")

</div>

I read through that before. Did not help.  
The problem is that LB has found some specific origin value, and will not let it go.  
What I need to know is how to change this value.  
Don’t see how negative workspace issues are the problem - it seems to use this origin value just fine, but will not allow it to be changed.

---

<div class="post-metadata">

**Author:** ![berainlb](https://forum.lightburnsoftware.com/letter_avatar_proxy/v4/letter/b/85f322/32.png) [@berainlb](https://forum.lightburnsoftware.com/u/berainlb)\
**Post date:** [December 20, 2022, 6:16pm UTC](https://forum.lightburnsoftware.com/t/cannot-change-origin/85722/4 "2022-12-20T18:16:23Z")

</div>

> [@nickrose](#):
>
> Did not help.

Can you document what you actually tried thus far? It’s odd that it wouldn’t do anything at all.

---

<div class="post-metadata">

**Author:** ![nickrose](https://forum.lightburnsoftware.com/letter_avatar_proxy/v4/letter/n/a4c791/32.png) [@nickrose](https://forum.lightburnsoftware.com/u/nickrose)\
**Post date:** [December 20, 2022, 6:57pm UTC](https://forum.lightburnsoftware.com/t/cannot-change-origin/85722/5 "2022-12-20T18:57:45Z")

</div>

I’ve tried everything I can think of. The problem is that I can see no way to define the physical origin.

I would expect one corner of the workspace to be at HOME (0.0) and the other one to be either user-definable (yes please) or at least fixed at the opposite corner of the physical work space.

But, the second point seems to be a semi-arbitrary value. Although, interestingly, quite close to a value I’ve used with other software. Could it be stored in the interface after powerdown ? If so, when and how would LB read it ? It does not change (-343,-281).

Essentially, my question reduces to: how do I define/change the physical origin starting position ?

---

<div class="post-metadata">

**Author:** ![berainlb](https://forum.lightburnsoftware.com/letter_avatar_proxy/v4/letter/b/85f322/32.png) [@berainlb](https://forum.lightburnsoftware.com/u/berainlb)\
**Post date:** [December 20, 2022, 7:03pm UTC](https://forum.lightburnsoftware.com/t/cannot-change-origin/85722/6 "2022-12-20T19:03:28Z")

</div>

I’m confused. The linked article expressly covers that process but you’re saying it’s not doing what you expect.

What specific changes have you tried and what were the results? You’ll need to be specific or else it’ll be impossible to arrive at the core problem.

If you’re not certain what to do then just state so and we can start from ground zero.

---

<div class="post-metadata">

**Author:** ![nickrose](https://forum.lightburnsoftware.com/letter_avatar_proxy/v4/letter/n/a4c791/32.png) [@nickrose](https://forum.lightburnsoftware.com/u/nickrose)\
**Post date:** [December 20, 2022, 10:41pm UTC](https://forum.lightburnsoftware.com/t/cannot-change-origin/85722/7 "2022-12-20T22:41:53Z")

</div>

I’m also confused but since I am new to this I will do it your way.  
SInce my machine is not among your specified units, I will follow **Other machines**

Pressing the Home button - moves to top right (0,0)

G0 X0 Y0 - moves to current physical origin ( -343,-281)

G0 X10 Y10 - moves to -333,-271 so we have positive coords

So it says " You simply set the origin in LightBurn to match the machine origin discovered above". Not clear how I do this. I tried Move/SetOrigin - nothing happens. Also, since I want to change the origin, not sure why I would do this.

Alas - my original question was how to CHANGE the physical origin. Why do I want to do this ? If I don’t, the unit will hit the limit switches before it reaches the limits of the workspace, because the stated physical origin is inside the physical workspace. (343,281) is inside (0,0,400,300).

.

---

<div class="post-metadata">

**Author:** ![berainlb](https://forum.lightburnsoftware.com/letter_avatar_proxy/v4/letter/b/85f322/32.png) [@berainlb](https://forum.lightburnsoftware.com/u/berainlb)\
**Post date:** [December 20, 2022, 10:54pm UTC](https://forum.lightburnsoftware.com/t/cannot-change-origin/85722/8 "2022-12-20T22:54:46Z")

</div>

> [@nickrose](#):
>
> Pressing the Home button - moves to top right (0,0)

So to confirm, your machine has homing switches and is self homing to top-right?

Please provide the following:

1. After homing, run this in Console. What is the output?

```auto
?

```

1. Use the jogging controls to move the laser to the opposite corner. Repeat command from above. What is output?
2. Screenshot of Edit-\>Device Settings
3. Run these commands in Console and return output:

```auto
$I
$$
$#

```

---

<div class="post-metadata">

**Author:** ![nickrose](https://forum.lightburnsoftware.com/letter_avatar_proxy/v4/letter/n/a4c791/32.png) [@nickrose](https://forum.lightburnsoftware.com/u/nickrose)\
**Post date:** [December 21, 2022, 7:18pm UTC](https://forum.lightburnsoftware.com/t/cannot-change-origin/85722/9 "2022-12-21T19:18:59Z")

</div>

So to confirm, your machine has homing switches and is self homing to top-right?

**Correct**.

Please provide the following:

1. After homing, run this in Console. What is the output?  
?

**\<Idle|MPos:-3.000,-3.000,-3.000|Bf:15,127|FS:0,0|**  
**WCO:-343.000,-281.000,0.000\>**

1. Use the jogging controls to move the laser to the opposite corner. Repeat command from above. What is output?

By opposite, I assume you mean bottom left. Not sure if you want me to hit the limit switches, but I assume you do (otherwise unclear where I should stop).

\<Idle|MPos:-431.856,-301.744,0.056|Bf:15,127|FS:0,0|Pn:XYZ|  
WCO:-343.000,-281.000,0.000\>

1. Screenshot of Edit-\>Device Settings  

2. Run these commands in Console and return output:

$l

$l

error:2

Numeric value format is not valid or missing an expected value.

$

$

[HLP:$$ $# $G $I $N $x=val $Nx=line $J=line $SLP $C $X $H ~ ! ? ctrl-x]

ok

$#

$#

[G54:-343.000,-281.000,0.000]

[G55:0.000,0.000,0.000]

[G56:0.000,0.000,0.000]

[G57:0.000,0.000,0.000]

[G58:0.000,0.000,0.000]

[G59:0.000,0.000,0.000]

[G28:0.000,0.000,0.000]

[G30:0.000,0.000,0.000]

[G92:0.000,0.000,0.000]

[TLO:0.000]

[PRB:0.000,0.000,0.000:0]

```auto

```

---

<div class="post-metadata">

**Author:** ![berainlb](https://forum.lightburnsoftware.com/letter_avatar_proxy/v4/letter/b/85f322/32.png) [@berainlb](https://forum.lightburnsoftware.com/u/berainlb)\
**Post date:** [December 21, 2022, 10:20pm UTC](https://forum.lightburnsoftware.com/t/cannot-change-origin/85722/10 "2022-12-21T22:20:19Z")

</div>

I think you botched one of the commands. Can you rerun this one?

```auto
$$

```

> [@nickrose](#):
>
> [G54:-343.000,-281.000,0.000]

You have an offset configured but not sure why these values. I’m going to assume your 400x300 work area is correct. This may require a tweak after you provide the $$ values but let’s try this.

Run in Console:

```auto
G10 L2 P1 X-400Y-300
$10=0
$H
?

```

The `$H` should make it home so watch out for that. Please return results.

Home position should report as somewhere around 400,300 if things are good. Jogging to bottom-left should report 0,0.

---

<div class="post-metadata">

**Author:** ![nickrose](https://forum.lightburnsoftware.com/letter_avatar_proxy/v4/letter/n/a4c791/32.png) [@nickrose](https://forum.lightburnsoftware.com/u/nickrose)\
**Post date:** [December 22, 2022, 1:46am UTC](https://forum.lightburnsoftware.com/t/cannot-change-origin/85722/11 "2022-12-22T01:46:15Z")

</div>

from HOME

$$  
$0=10  
$1=255  
$2=0  
$3=0  
$4=0  
$5=0  
$6=0  
$10=3  
$11=0.010  
$12=0.002  
$13=0  
$20=0  
$21=1  
$22=1  
$23=0  
$24=25.000  
$25=500.000  
$26=250  
$27=3.000  
$30=255  
$31=0  
$32=1  
$100=160.000  
$101=160.000  
$102=160.000  
$110=2000.000  
$111=2000.000  
$112=2000.000  
$120=300.000  
$121=300.000  
$122=300.000  
$130=420.000  
$131=310.000  
$132=110.000  
ok  
G10 L2 P1 X-400Y-300  
G10 L2 P1 X-400Y-300  
ok  
$10=0  
$10=0  
ok  
$H  
$H  
ok  
?  
?  
\<Idle|WPos:397.000,297.000,-3.000|FS:0,0|WCO:-400.000,-300.000,0.000\>  
ok

Actually that looks promising - if I do a GoToOrigin, it looks good.

?  
?  
\<Idle|WPos:0.000,0.000,-3.000|FS:0,0|Ov:100,100,100\>  
ok

But - you will know what it means - can you give me a clue ?

---

<div class="post-metadata">

**Author:** ![berainlb](https://forum.lightburnsoftware.com/letter_avatar_proxy/v4/letter/b/85f322/32.png) [@berainlb](https://forum.lightburnsoftware.com/u/berainlb)\
**Post date:** [December 22, 2022, 1:52am UTC](https://forum.lightburnsoftware.com/t/cannot-change-origin/85722/12 "2022-12-22T01:52:13Z")

</div>

Can you confirm that bottom-left is now 0,0 and that 400,300 is top-right? You may hit the limit switches if you go all the way.

> [@nickrose](#):
>
> $130=420.000  
> $131=310.000

I’m curious about this, though. This seems to indicate that your laser expects the work area to be 420x310. If so, I suspect 0,0 is not going all the way to the bottom-left corner.

In any case, test the various functions of the laser:

1. Make sure jogging controls are working correctly
2. Try framing a job
3. Run a test burn

Do things work properly?

---

<div class="post-metadata">

**Author:** ![nickrose](https://forum.lightburnsoftware.com/letter_avatar_proxy/v4/letter/n/a4c791/32.png) [@nickrose](https://forum.lightburnsoftware.com/u/nickrose)\
**Post date:** [December 22, 2022, 3:33pm UTC](https://forum.lightburnsoftware.com/t/cannot-change-origin/85722/13 "2022-12-22T15:33:43Z")

</div>

Hi - we’re kinda getting to the edge of my knowledge here (early days).

I don’t really know how you define bottom left and top right except as home and origin.

The home position is now 397,297. This sounds right, as there is a 3mm backset following the limit switch detection.  
The origin position is of course 0,0. There are a few mm to go in Y and about 22mm in X before it hits the limit switches. This is consistent with your 420 value but not the 310. But, it’s enough for me.

1. Jogging seems OK.
2. Don’t know what “framing a job” means. (Sorry).
3. I’ll try some tests and report back, but I’m hopeful.

What tests would be good ? I’ll try and burn a 10,10,390,290 square.

---

<div class="post-metadata">

**Author:** ![nickrose](https://forum.lightburnsoftware.com/letter_avatar_proxy/v4/letter/n/a4c791/32.png) [@nickrose](https://forum.lightburnsoftware.com/u/nickrose)\
**Post date:** [December 22, 2022, 3:53pm UTC](https://forum.lightburnsoftware.com/t/cannot-change-origin/85722/14 "2022-12-22T15:53:41Z")

</div>

> [@nickrose](#):
>
> 10,10,390,290 square.

Hi - my 10,10,390,290 square did what I would expect it to, so I assume we are good.

One question - if I wanted to impose the new settings on a virgin system, what would I do ?  
Would an export/import of DeviceSettings and a save/load of MachineSettings be enough ?

---

<div class="post-metadata">

**Author:** ![berainlb](https://forum.lightburnsoftware.com/letter_avatar_proxy/v4/letter/b/85f322/32.png) [@berainlb](https://forum.lightburnsoftware.com/u/berainlb)\
**Post date:** [December 22, 2022, 4:02pm UTC](https://forum.lightburnsoftware.com/t/cannot-change-origin/85722/15 "2022-12-22T16:02:57Z")

</div>

> [@nickrose](#):
>
> so I assume we are good.

Okay good. I was reviewing the thread and noticed one thing.

> [@nickrose](#):
>
> $30=255

The “S-Value max” setting in Edit-\>Device Settings is currently set to 10000 but needs to match this value. Change S-value max to 255. This will directly affect power modulation.

> [@nickrose](#):
>
> if I wanted to impose the new settings on a virgin system, what would I do ?

I assume you mean for the same system. Ultimately there were 3 meaningful changes that were made:

1. `G10 L2 P1 X-400Y-300` - This is the work offset that defined your origin. This would not get picked up in Device Settings or Machine Settings backup so you’d need to apply it
2. `$10=0` - This changes GRBL configuration to report status to work position rather than machine position. This would be preserved in Machine Settings backup
3. S-Value Max to 255 - This sets upper bound value for power modulation. This would be preserved in Device Settings .lbdev backup.

---

<div class="post-metadata">

**Author:** ![nickrose](https://forum.lightburnsoftware.com/letter_avatar_proxy/v4/letter/n/a4c791/32.png) [@nickrose](https://forum.lightburnsoftware.com/u/nickrose)\
**Post date:** [December 22, 2022, 5:16pm UTC](https://forum.lightburnsoftware.com/t/cannot-change-origin/85722/16 "2022-12-22T17:16:21Z")

</div>

OK. S-Value max set.

I think we are good. Thanks very much for your help and patience.

And, Happy Holidays !!

---

<div class="post-metadata">

**Author:** ![system](https://forum.lightburnsoftware.com/user_avatar/forum.lightburnsoftware.com/system/32/64335_2.png) [@system](https://forum.lightburnsoftware.com/u/system)\
**Post date:** [January 21, 2023, 5:17pm UTC](https://forum.lightburnsoftware.com/t/cannot-change-origin/85722/17 "2023-01-21T17:17:11Z")

</div>

Closed on January 21, 2023, 5:17pm UTC

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