# Negative Coordinate Machine Setup

**URL:** <https://forum.lightburnsoftware.com/t/negative-coordinate-machine-setup/4633>\
**Category:** Common Problems\
**Tags:** grbl\
**Created:** [June 20, 2019, 4:20am UTC](https://forum.lightburnsoftware.com/t/negative-coordinate-machine-setup/4633 "2019-06-20T04:20:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rick](https://forum.lightburnsoftware.com/user_avatar/forum.lightburnsoftware.com/rick/32/69_2.png) [@Rick](https://forum.lightburnsoftware.com/u/Rick)\
**Post date:** [June 20, 2019, 4:20am UTC](https://forum.lightburnsoftware.com/t/negative-coordinate-machine-setup/4633/1 "2019-06-20T04:20:10Z")

</div>

### Negative Coordinate Machines

If your machine uses negative coordinate space, we need to offset the origin.

LightBurn wants positive workspace numbers, like this:

[![](https://github.com/LightBurnSoftware/Documentation/raw/master/img/PositiveWorkspace.png)](https://github.com/LightBurnSoftware/Documentation/blob/master/img/PositiveWorkspace.png)

This image shows the origin at the front-left, with positive X values moving to the right, and positive Y values heading to the rear of the machine.

A negative workspace system looks like this:

[![](https://github.com/LightBurnSoftware/Documentation/raw/master/img/NegativeWorkspace.png)](https://github.com/LightBurnSoftware/Documentation/blob/master/img/NegativeWorkspace.png)

In this image, the origin is at the rear-right of the machine. The X and Y directions are the same as before, but now, to move into the work area, you would need to use negative numbers. Instead, we’re going to set up a work offset.

You’ll need to know the total distance your machine can travel in both axis. For a Shapeoko XXL, for example, it’s 812mm in X and Y. For a 500x500 X-Carve, it’s 250mm in X and Y. By applying a workspace offset that is the size of your machine area, we can shift the offset to the opposite corner, like this:

[![](https://github.com/LightBurnSoftware/Documentation/raw/master/img/WorkspaceOffset.png)](https://github.com/LightBurnSoftware/Documentation/blob/master/img/WorkspaceOffset.png)

Enter the following command:

​ G10 L2 P1 X-250 Y-250

in the console, and hit enter. Note that the ‘250’ above should be replaced with the total travel width and height of your machine. If your machine had a 600mm width and 400mm height, you would use:

​ G10 L2 P1 X-600 Y-400

This command offsets the origin by the given amounts. If the origin used to be in the rear-right of the machine, and you offset it in the negative direction by the width and height of the work area, you’ve moved the origin to the front-left.

If you enable a workspace offset, you will also need to make GRBL report its location relative to this shifted origin, instead of in “machine space” by setting $10=0. Some systems, like Easel or Carbide Motion, may need a different value, so it is good to remember the existing setting.

---

<div class="post-metadata">

**Author:** ![Rick](https://forum.lightburnsoftware.com/user_avatar/forum.lightburnsoftware.com/rick/32/69_2.png) [@Rick](https://forum.lightburnsoftware.com/u/Rick)\
**Post date:** [July 4, 2019, 4:20am UTC](https://forum.lightburnsoftware.com/t/negative-coordinate-machine-setup/4633/2 "2019-07-04T04:20:15Z")

</div>

Closed on July 4, 2019, 4:20am UTC

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