# Can't set restart position

**URL:** <https://forum.onefinitycnc.com/t/cant-set-restart-position/17529>\
**Category:** Original/PRO Series (Buildbotics) (Gen 1)\
**Created:** [December 20, 2022, 7:41pm UTC](https://forum.onefinitycnc.com/t/cant-set-restart-position/17529 "2022-12-20T19:41:49Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![tgunr](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.onefinitycnc.com/tgunr/32/10947_2.png) [@tgunr](https://forum.onefinitycnc.com/u/tgunr)\
**Post date:** [December 20, 2022, 7:41pm UTC](https://forum.onefinitycnc.com/t/cant-set-restart-position/17529/1 "2022-12-20T19:41:49Z")

</div>

Ok, need some advice here. Last night was working on a tiling idea on a full 4’X8’ sheet of 1/4" MDF. My sone was here and things were going pretty good until it got to the right side of the first tile. The dust boot started coming off and I held it in place and my boy hit the stop instead of the pause.

I thought no big deal, will just edit the gcode to skip everything up to the stop point. Only I forgot to put in a start point with the Z up ![🙁](https://us1.discourse-cdn.com/flex022/uploads/onefinitycnc/original/3X/b/a/bab99e912ee05513b014d0b5514ad2c9107aa08e.png) Upon running the gcode the spindle pomptly went to it first point and ramped down into the stock at the wrong spot. I hit the emergency stop and fortunately the spindle was in the middle of a cutout piece.

It was getting late so I just left the machine off and was going to deal with it this morning.

I noticed the error in my edit and added in the correct start point with the Z up before the ramp down and ran an air cut after rehoming. The spindle was off on the Y by about 3mm. So I rehomed G0 X0 Y0 Z1 when I noticed the spidle was not where it should have homed. The hole was drilled from a previous homimg and any attempt to set the Y (or X) results in a limit error.

Trying to move the Y -1 mm GO Y-1 results in the error:

"Y axis position -1mm is less than minimum soft limit 0mm

While executing GCode block:G0 X0 Y-1 Z0 A0

At: :4

Caused by: Y axis position -1mm is less than minimum soft limit 0mm"

If I try to tell the machine it is at 1 mm with G92 Y1; G0 Y-1 results in limit error.

So what to do?

---

<div class="post-metadata">

**Author:** ![349iq2345](https://avatars.discourse-cdn.com/v4/letter/3/bb73d2/32.png) [@349iq2345](https://forum.onefinitycnc.com/u/349iq2345)\
**Post date:** [December 21, 2022, 9:39pm UTC](https://forum.onefinitycnc.com/t/cant-set-restart-position/17529/2 "2022-12-21T21:39:40Z")

</div>

Hey Dave,

if you set “[G92](https://linuxcnc.org/docs/html/gcode/g-code.html#gcode:g92) Y1”, you could check what [parameter #5212](https://linuxcnc.org/docs/html/gcode/overview.html#sub:numbered-parameters) was set before and what it is set now.

---

<div class="post-metadata">

**Author:** ![tgunr](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.onefinitycnc.com/tgunr/32/10947_2.png) [@tgunr](https://forum.onefinitycnc.com/u/tgunr)\
**Post date:** [December 22, 2022, 6:08pm UTC](https://forum.onefinitycnc.com/t/cant-set-restart-position/17529/3 "2022-12-22T18:08:07Z")

</div>

I don’t see a way to check values, G code or M code?

---

<div class="post-metadata">

**Author:** ![349iq2345](https://avatars.discourse-cdn.com/v4/letter/3/bb73d2/32.png) [@349iq2345](https://forum.onefinitycnc.com/u/349iq2345)\
**Post date:** [December 22, 2022, 6:20pm UTC](https://forum.onefinitycnc.com/t/cant-set-restart-position/17529/4 "2022-12-22T18:20:44Z")

</div>

Hey Dave,

```auto
(PRINT,value of variable 5212 is: #5212)
(DEBUG,value of variable 5212 is: #5212)

```
