# Impossible to cut a piece without losing calibration

**URL:** <https://forums.maslowcnc.com/t/impossible-to-cut-a-piece-without-losing-calibration/454>\
**Category:** Software\
**Created:** [August 14, 2017, 3:52pm UTC](https://forums.maslowcnc.com/t/impossible-to-cut-a-piece-without-losing-calibration/454 "2017-08-14T15:52:26Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![BadaboomBerlin](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/badaboomberlin/32/333_2.png) [@BadaboomBerlin](https://forums.maslowcnc.com/u/BadaboomBerlin)\
**Post date:** [August 18, 2017, 4:29pm UTC](https://forums.maslowcnc.com/t/impossible-to-cut-a-piece-without-losing-calibration/454/21 "2017-08-18T16:29:17Z")

</div>

Hi, a little update. Looks like a complete, calibrated and cutting Maslow just appeared in a cellar in berlin…  
We applied so many of your suggestions that we are not sure anymore where the problem was. Anyway, at the actual status we have ground control and firmware version 0.85. Short usb cable connecting to the arduino, no extension for power cable.

Thanks again to everybody for helping and hopefully next post will appear in the ‘projects’ section!

Safety first (find the error)

> **[@badaboomberlin’s Instagram post](https://www.instagram.com/p/BX8QUwDBM14/)**

---

<div class="post-metadata">

**Author:** ![JeffM](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/jeffm/32/168_2.png) [@JeffM](https://forums.maslowcnc.com/u/JeffM)\
**Post date:** [August 18, 2017, 7:43pm UTC](https://forums.maslowcnc.com/t/impossible-to-cut-a-piece-without-losing-calibration/454/22 "2017-08-18T19:43:07Z")

</div>

No shoes. What do I win?! 🙂

![20838121_161032761139002_4563219481450512384_n](https://yyz1.discourse-cdn.com/flex031/uploads/maslowcnc/original/1X/09a52e9866d626b62b55124663a86d3816b1e0db.jpg)

---

<div class="post-metadata">

**Author:** ![mooselake](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/mooselake/32/6218_2.png) [@mooselake](https://forums.maslowcnc.com/u/mooselake)\
**Post date:** [August 18, 2017, 7:56pm UTC](https://forums.maslowcnc.com/t/impossible-to-cut-a-piece-without-losing-calibration/454/23 "2017-08-18T19:56:28Z")

</div>

Ride in an ambulance! Stiches!

Medic shift today 😀 Our good days are other people’s bad days

---

<div class="post-metadata">

**Author:** ![wjcarman](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/wjcarman/32/1080_2.png) [@wjcarman](https://forums.maslowcnc.com/u/wjcarman)\
**Post date:** [August 28, 2017, 5:54am UTC](https://forums.maslowcnc.com/t/impossible-to-cut-a-piece-without-losing-calibration/454/24 "2017-08-28T05:54:54Z")

</div>

I am running firmware .86 and ground control .86

I did the complete 9 step calibration process under “actions, calibrate machine dimensions” and got my errors within the .5mm tolerance. I closed ground control and the next time open ground control it immediately gives me the cannot calculate with 0 chain length error and i close that and it pops up again. I still don’t know how to manually calibrate the chain length and to have to unhook the sled and re-calibrate the chain length every time i turn the machine on is a huge waste of time.

Any way to fix this problem?

---

<div class="post-metadata">

**Author:** ![mooselake](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/mooselake/32/6218_2.png) [@mooselake](https://forums.maslowcnc.com/u/mooselake)\
**Post date:** [August 28, 2017, 12:24pm UTC](https://forums.maslowcnc.com/t/impossible-to-cut-a-piece-without-losing-calibration/454/25 "2017-08-28T12:24:55Z")

</div>

Recalibrate the chain lengths the twirl it out way, and mark the links at the top of the sprockets. Next time manually position the chains and go to advanced/manual chain calibrate. It just gives a message, no movement. You’re done.

---

<div class="post-metadata">

**Author:** ![wjcarman](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/wjcarman/32/1080_2.png) [@wjcarman](https://forums.maslowcnc.com/u/wjcarman)\
**Post date:** [August 28, 2017, 3:40pm UTC](https://forums.maslowcnc.com/t/impossible-to-cut-a-piece-without-losing-calibration/454/26 "2017-08-28T15:40:55Z")

</div>

I appreciate the slightly faster solution but do you really want to do that every single time you start up ground control?

---

<div class="post-metadata">

**Author:** ![blurfl](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/blurfl/32/9_2.png) [@blurfl](https://forums.maslowcnc.com/u/blurfl)\
**Post date:** [August 28, 2017, 4:22pm UTC](https://forums.maslowcnc.com/t/impossible-to-cut-a-piece-without-losing-calibration/454/27 "2017-08-28T16:22:19Z")

</div>

Just to confirm, when you start GC, you see versions 0.86 reported, as below, and you have successfully completed the chain calibration one time since applying these updates?

 ![Image](https://canada1.discourse-cdn.com/flex031/uploads/maslowcnc/original/1X/e205b2e2456c3852b8a02c2c710bc4c4b4234343.jpg)

If you are still seeing the calibration warning after those steps, we have missed something when trying to solve it. If so, an issue should be opened to track it, it’s important to squash this one.

---

<div class="post-metadata">

**Author:** ![krkeegan](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/krkeegan/32/17443_2.png) [@krkeegan](https://forums.maslowcnc.com/u/krkeegan)\
**Post date:** [August 28, 2017, 6:02pm UTC](https://forums.maslowcnc.com/t/impossible-to-cut-a-piece-without-losing-calibration/454/28 "2017-08-28T18:02:10Z")

</div>

I am having this issue as well. I am on master for both firmware and GC.

I only see this on startup, not whenever I change settings, which is an improvement over before.

Every time I startup, I get the error message, but many times the machine is subsequently able to determine it’s position. But sometimes, it just completely loses its s#!t and the red target doesn’t even appear on the screen.

The machine I run GC on is not fast. Is it possible that the main loop runs before the initial settings are completely saved?

I can try and capture a log of it happening, maybe that will help.

> [@mooselake](#):
>
> go to advanced/manual chain calibrate

THANK YOU! I didn’t know that this existed. I have been running automatic chain calibrate with no chains so I can walk away for the five minutes and then putting the chains back on using my prior marks.

---

<div class="post-metadata">

**Author:** ![bar](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/bar/32/10_2.png) [@bar](https://forums.maslowcnc.com/u/bar)\
**Post date:** [August 28, 2017, 7:09pm UTC](https://forums.maslowcnc.com/t/impossible-to-cut-a-piece-without-losing-calibration/454/29 "2017-08-28T19:09:20Z")

</div>

Darn, I thought we had this fixed with last week’s update. I guess not.

When it when it happens what lengths does it give you for the chain lengths in the error message?

---

<div class="post-metadata">

**Author:** ![krkeegan](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/krkeegan/32/17443_2.png) [@krkeegan](https://forums.maslowcnc.com/u/krkeegan)\
**Post date:** [August 28, 2017, 9:13pm UTC](https://forums.maslowcnc.com/t/impossible-to-cut-a-piece-without-losing-calibration/454/30 "2017-08-28T21:13:32Z")

</div>

I will try and reproduce it now that I know it won’t waste time resetting everything.

I think it reports a length of 0,0 but I will try and test it thoroughly tonight.

---

<div class="post-metadata">

**Author:** ![krkeegan](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/krkeegan/32/17443_2.png) [@krkeegan](https://forums.maslowcnc.com/u/krkeegan)\
**Post date:** [August 29, 2017, 2:16am UTC](https://forums.maslowcnc.com/t/impossible-to-cut-a-piece-without-losing-calibration/454/31 "2017-08-29T02:16:48Z")

</div>

Here I made it happen and saved the relevant log portions.

In this case, I got the error, but then it was able to recover and after I closed the popup box it knew its position.

I will note, and I don’t know if this is relevant, I was having a hard time causing the error. I remembered that this happened a lot when I didn’t have a gcode file loaded, so I cleared out the openfile line in the ini. This seems to cause an issue where the other settings are also not loaded because it keeps loading up with MM as the units even though I keep selecting inches on close.

NOTE we don’t allow uploading of TXT files, so I saved it as gcode. I think we should allow TXT as well.

[failed at start then recovered.gcode](https://canada1.discourse-cdn.com/flex031/uploads/maslowcnc/original/1X/67fe9ec50dcf601f3ca72587ceac16cd4718a9b8.gcode) (1.4 KB)

EDITED - I deleted repeated lines and replaced them with elipsises to make it easier to read.

---

<div class="post-metadata">

**Author:** ![wjcarman](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/wjcarman/32/1080_2.png) [@wjcarman](https://forums.maslowcnc.com/u/wjcarman)\
**Post date:** [August 29, 2017, 2:30am UTC](https://forums.maslowcnc.com/t/impossible-to-cut-a-piece-without-losing-calibration/454/32 "2017-08-29T02:30:26Z")

</div>

I am showing the .86 versions of GC and firmware same as your picture and  
those are the first and only versions I’ve ever installed since I just  
started assembling my Maslow a couple nights ago.  
Also yes I successfully completed the chain calibration after installing  
version .86 of GC and .86 firmware

I’ll try to open an issue tonight

---

<div class="post-metadata">

**Author:** ![krkeegan](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/krkeegan/32/17443_2.png) [@krkeegan](https://forums.maslowcnc.com/u/krkeegan)\
**Post date:** [August 29, 2017, 2:42am UTC](https://forums.maslowcnc.com/t/impossible-to-cut-a-piece-without-losing-calibration/454/33 "2017-08-29T02:42:15Z")

</div>

Alright, never been so happy to create such an irritating error.

Everytime I open GC if the openfile line is blank, I get the error that I posted before, but GC eventually recovers.

However, and this is a head scratcher for me. If i restart my computer, then when I load GC again, I get the same error but it never recovers. Attached is the log of the event. I will reset and see if this is reproducable again.

[failed at start never recovered.gcode](https://canada1.discourse-cdn.com/flex031/uploads/maslowcnc/original/1X/bbaf4e23518a49528b4d9683c425263d7c1b3692.gcode) (1.5 KB)

---

<div class="post-metadata">

**Author:** ![krkeegan](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/krkeegan/32/17443_2.png) [@krkeegan](https://forums.maslowcnc.com/u/krkeegan)\
**Post date:** [August 29, 2017, 2:51am UTC](https://forums.maslowcnc.com/t/impossible-to-cut-a-piece-without-losing-calibration/454/34 "2017-08-29T02:51:21Z")

</div>

Yup restart and I get the same problem again. Log file looks identical too. The bad error only seems to happen after restarts. Once I reset everything I am good until the next restart.

Other relevant settings:  
Triangular or Quadralater doesn’t seem to matter.  
I have a zaxis installed.

Happy to test out anything if anyone has any ideas.

---

<div class="post-metadata">

**Author:** ![krkeegan](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/krkeegan/32/17443_2.png) [@krkeegan](https://forums.maslowcnc.com/u/krkeegan)\
**Post date:** [August 29, 2017, 3:01am UTC](https://forums.maslowcnc.com/t/impossible-to-cut-a-piece-without-losing-calibration/454/35 "2017-08-29T03:01:45Z")

</div>

On the theory that you can never have too much data. I tried having an open file and restarting my machine. I still get the total loss of position error, so maybe the two are not related.

The log is attached as it looks slightly different.

So again, anytime I restart my computer, when I load up Ground control for the first time, I completely loose my position.

[failed at start never recovered with openfile.gcode](https://canada1.discourse-cdn.com/flex031/uploads/maslowcnc/original/1X/7fcac199f30de3be2e5f460b5a0f1473e7c2c8e7.gcode) (1.6 KB)

OK I will stop talking so much now.

---

<div class="post-metadata">

**Author:** ![wjcarman](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/wjcarman/32/1080_2.png) [@wjcarman](https://forums.maslowcnc.com/u/wjcarman)\
**Post date:** [August 29, 2017, 3:11am UTC](https://forums.maslowcnc.com/t/impossible-to-cut-a-piece-without-losing-calibration/454/36 "2017-08-29T03:11:55Z")

</div>

the lengths it gives are just 0.00 for the chain and I didn’t write down the exact text but the error mentions chain length.

---

<div class="post-metadata">

**Author:** ![bar](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/bar/32/10_2.png) [@bar](https://forums.maslowcnc.com/u/bar)\
**Post date:** [August 29, 2017, 3:47am UTC](https://forums.maslowcnc.com/t/impossible-to-cut-a-piece-without-losing-calibration/454/37 "2017-08-29T03:47:14Z")

</div>

It sounds like a repeatable issue that a lot of people are having. I can’t make my machine do it, so if it’s OK with you guys I’m going to have to ask you to test my solution when I come up with one.

Thank you for attaching the log file. I was just about to ask for it, but you already posted it!

---

<div class="post-metadata">

**Author:** ![krkeegan](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/krkeegan/32/17443_2.png) [@krkeegan](https://forums.maslowcnc.com/u/krkeegan)\
**Post date:** [August 29, 2017, 3:53am UTC](https://forums.maslowcnc.com/t/impossible-to-cut-a-piece-without-losing-calibration/454/38 "2017-08-29T03:53:09Z")

</div>

> [@bar](#):
>
> test my solution when I come up with one.

Of course.

I may have some time to look into the code tomorrow.

---

<div class="post-metadata">

**Author:** ![blurfl](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/blurfl/32/9_2.png) [@blurfl](https://forums.maslowcnc.com/u/blurfl)\
**Post date:** [August 29, 2017, 5:06am UTC](https://forums.maslowcnc.com/t/impossible-to-cut-a-piece-without-losing-calibration/454/39 "2017-08-29T05:06:22Z")

</div>

@bar, does it matter how one exits GC? Is it possible that the valid settings aren’t getting saved on exit, and the old invalid ones are being sent on startup?  
GC issue [#400](https://github.com/MaslowCNC/GroundControl/issues/400) refers to Kivy exit using the ‘Esc’ key, which currently bypasses the gracious exit.

---

<div class="post-metadata">

**Author:** ![bar](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/bar/32/10_2.png) [@bar](https://forums.maslowcnc.com/u/bar)\
**Post date:** [August 29, 2017, 5:49am UTC](https://forums.maslowcnc.com/t/impossible-to-cut-a-piece-without-losing-calibration/454/40 "2017-08-29T05:49:51Z")

</div>

I’m pretty in the dark on this one so far, but the issue seems like it might be on the Arduino side to me. When the machine reports that it can’t find it’s position with chain lengths of 0,0 that means the lengths weren’t saved last time the Arduino powered down or couldn’t be loaded from the EEPROM.

The values are written to the EEPROM whenever no command is sent to the machine for two seconds which is the same time you hear the motors power off. For example, normal behavior would be `Get Command -> Move to new location -> Hold Position for two seconds -> Motors power off (machine goes quiet) -> Position is written to EEPROM`

Under what circumstances that wouldn’t happen I’m not sure.

[Previous page](https://forums.maslowcnc.com/t/impossible-to-cut-a-piece-without-losing-calibration/454.md?page=1)

[Next page](https://forums.maslowcnc.com/t/impossible-to-cut-a-piece-without-losing-calibration/454.md?page=3)
