# Maslow going off route

**URL:** <https://forums.maslowcnc.com/t/maslow-going-off-route/1849>\
**Category:** Troubleshooting\
**Created:** [January 10, 2018, 8:25pm UTC](https://forums.maslowcnc.com/t/maslow-going-off-route/1849 "2018-01-10T20:25:59Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Brr](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/brr/32/2414_2.png) [@Brr](https://forums.maslowcnc.com/u/Brr)\
**Post date:** [January 10, 2018, 8:26pm UTC](https://forums.maslowcnc.com/t/maslow-going-off-route/1849/1 "2018-01-10T20:26:00Z")

</div>

Hello,  
During the last pass my Maslow retracted to tab height and went for a detour. The path looked good on makercam and in ground control. No idea what went wrong. ![image](https://canada1.discourse-cdn.com/flex031/uploads/maslowcnc/original/2X/4/4c129f126d836fafeebfc312e8b6b76ce39776ed.jpeg)

---

<div class="post-metadata">

**Author:** ![dlang](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/dlang/32/859_2.png) [@dlang](https://forums.maslowcnc.com/u/dlang)\
**Post date:** [January 10, 2018, 9:08pm UTC](https://forums.maslowcnc.com/t/maslow-going-off-route/1849/2 "2018-01-10T21:08:41Z")

</div>

do you have the .log file available? that probably includes some information about what happened.

---

<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:** [January 10, 2018, 9:33pm UTC](https://forums.maslowcnc.com/t/maslow-going-off-route/1849/3 "2018-01-10T21:33:18Z")

</div>

That log file would be really helpful. We had issues like this in the past, but we’ve had them under control for a while now. In the past this was usually caused by the serial connection losing data. We made some changes to how that part of the code works earlier this week.

Which version are you working with?

---

<div class="post-metadata">

**Author:** ![Brr](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/brr/32/2414_2.png) [@Brr](https://forums.maslowcnc.com/u/Brr)\
**Post date:** [January 10, 2018, 10:12pm UTC](https://forums.maslowcnc.com/t/maslow-going-off-route/1849/4 "2018-01-10T22:12:39Z")

</div>

1.02  
Now I have to locate the log file…

---

<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:** [January 10, 2018, 10:13pm UTC](https://forums.maslowcnc.com/t/maslow-going-off-route/1849/5 "2018-01-10T22:13:04Z")

</div>

It should be in the GroundControl folder

---

<div class="post-metadata">

**Author:** ![Brr](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/brr/32/2414_2.png) [@Brr](https://forums.maslowcnc.com/u/Brr)\
**Post date:** [January 10, 2018, 10:17pm UTC](https://forums.maslowcnc.com/t/maslow-going-off-route/1849/6 "2018-01-10T22:17:44Z")

</div>

this ground control file?  
trying to upload log.txt…

---

<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:** [January 10, 2018, 10:30pm UTC](https://forums.maslowcnc.com/t/maslow-going-off-route/1849/7 "2018-01-10T22:30:15Z")

</div>

Hmmm it should just be called log.txt

It doesn’t seem to have uploaded 😐

---

<div class="post-metadata">

**Author:** ![Brr](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/brr/32/2414_2.png) [@Brr](https://forums.maslowcnc.com/u/Brr)\
**Post date:** [January 10, 2018, 10:37pm UTC](https://forums.maslowcnc.com/t/maslow-going-off-route/1849/8 "2018-01-10T22:37:59Z")

</div>

Maybe it’s too big? About 7,5 mb.  
nope, no luck, maybe I can email it to you?  
ah, succes as a zip file.

[logtext.zip](https://canada1.discourse-cdn.com/flex031/uploads/maslowcnc/original/2X/c/ca253cbb8a982f12ba9a294d8e3ad45b594f7c04.zip) (633.6 KB)

---

<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:** [January 10, 2018, 10:39pm UTC](https://forums.maslowcnc.com/t/maslow-going-off-route/1849/9 "2018-01-10T22:39:42Z")

</div>

That sounds right…that probably is too big. Let me increase the maximum alowed file size

---

<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:** [January 10, 2018, 10:41pm UTC](https://forums.maslowcnc.com/t/maslow-going-off-route/1849/10 "2018-01-10T22:41:44Z")

</div>

It should be allowed now

Thank you for finding that file, having it can be really helpful

---

<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:** [January 11, 2018, 12:07am UTC](https://forums.maslowcnc.com/t/maslow-going-off-route/1849/11 "2018-01-11T00:07:02Z")

</div>

Zipping the file should make it significantly smaller. Log files have a lot of repeated text and compress very well. Plus you’ll save a bit of forum space, which adds up over the years

---

<div class="post-metadata">

**Author:** ![Splaxi](https://avatars.discourse-cdn.com/v4/letter/s/91b2a8/32.png) [@Splaxi](https://forums.maslowcnc.com/u/Splaxi)\
**Post date:** [January 11, 2018, 5:21am UTC](https://forums.maslowcnc.com/t/maslow-going-off-route/1849/12 "2018-01-11T05:21:12Z")

</div>

What about pastebin or other sites where we share files? Should we utilize that when working on issues from different people?

Or simply create a Maslow support repository at github and make a simple guide on how to upload files from the browser.

---

<div class="post-metadata">

**Author:** ![Bee](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/bee/32/2160_2.png) [@Bee](https://forums.maslowcnc.com/u/Bee)\
**Post date:** [January 11, 2018, 8:40am UTC](https://forums.maslowcnc.com/t/maslow-going-off-route/1849/13 "2018-01-11T08:40:16Z")

</div>

I suggest Evernote for file sharing -

This is in community garden maybe we should replicate it in a support diagnostics files area dedicated to it?

[https://github.com/MaslowCNC/CommunityGarden/wiki/Community-Contributed-Files](https://github.com/MaslowCNC/CommunityGarden/wiki/Community-Contributed-Files)

[https://github.com/MaslowCNC/CommunityGarden/wiki/What-is-Evernote%3F](https://github.com/MaslowCNC/CommunityGarden/wiki/What-is-Evernote%3F)

Thank you

---

<div class="post-metadata">

**Author:** ![Splaxi](https://avatars.discourse-cdn.com/v4/letter/s/91b2a8/32.png) [@Splaxi](https://forums.maslowcnc.com/u/Splaxi)\
**Post date:** [January 11, 2018, 9:01am UTC](https://forums.maslowcnc.com/t/maslow-going-off-route/1849/14 "2018-01-11T09:01:06Z")

</div>

I personally would like to have something that doesn’t require sign up or other stuff.

We should keep it simple when people are having issues and wanna share the files back and fourth. I know that we over time will “lose” some of the files, because they are not kept forever, but would that be so bad?

Stuff that needs to survive should be placed in the repository anyways.

> **[Paste to upload & share](https://www.pastefile.com)**
>
> Fast, expedient, free & private upload & sharing files/folder service that support file preview before downloading without any registration required. All files will expired after 1 week.

  
[https://filebin.net](https://filebin.net)

pastefile support max 50 MB and filebin supports 800+ MB

---

<div class="post-metadata">

**Author:** ![Gero](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/gero/32/17487_2.png) [@Gero](https://forums.maslowcnc.com/u/Gero)\
**Post date:** [January 11, 2018, 2:16pm UTC](https://forums.maslowcnc.com/t/maslow-going-off-route/1849/15 "2018-01-11T14:16:26Z")

</div>

Faster 🙂 , open the file in a text editor and use the search function to search for “buffer”.

---

<div class="post-metadata">

**Author:** ![Splaxi](https://avatars.discourse-cdn.com/v4/letter/s/91b2a8/32.png) [@Splaxi](https://forums.maslowcnc.com/u/Splaxi)\
**Post date:** [January 11, 2018, 2:25pm UTC](https://forums.maslowcnc.com/t/maslow-going-off-route/1849/16 "2018-01-11T14:25:05Z")

</div>

I did download the file and did the search.

Line 264238: Buffer overflow!  
Line 264240: Buffer Used: 127  
Line 264242: Buffer Number of Lines: 0  
Line 264244: Buffer Begin: 18  
Line 264246: Buffer End: 17  
Line 264248: Buffer Contents: G2 X64.114213198 Y231.291878173 I5011.454314720812 J-561.959390G2 X94.6345177665 Y405.484771574 I5020.88578680203 J-789.9441624(End of Buffer)  
Line 264248: Buffer Contents: G2 X64.114213198 Y231.291878173 I5011.454314720812 J-561.959390G2 X94.6345177665 Y405.484771574 I5020.88578680203 J-789.9441624(End of Buffer)

Now you guys need to do your part - I don’t understand what it says 😄

---

<div class="post-metadata">

**Author:** ![Gero](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/gero/32/17487_2.png) [@Gero](https://forums.maslowcnc.com/u/Gero)\
**Post date:** [January 11, 2018, 2:31pm UTC](https://forums.maslowcnc.com/t/maslow-going-off-route/1849/17 "2018-01-11T14:31:42Z")

</div>

The next question is, does this Maslow have a z-motor? We have seen buffer overflow with manual z-adjustment recently, but I have tried several ‘stess-tests’ with automatic Z, without being able to create a buffer overflow.

Edit: More then 264248 lines of g-code look like a perfect ‘stress-test’. If it does not violate copy rights, please upload the gcode.  
Edit 2: Ignore edit1, as that is the lines of the log 😣

---

<div class="post-metadata">

**Author:** ![Splaxi](https://avatars.discourse-cdn.com/v4/letter/s/91b2a8/32.png) [@Splaxi](https://forums.maslowcnc.com/u/Splaxi)\
**Post date:** [January 11, 2018, 2:34pm UTC](https://forums.maslowcnc.com/t/maslow-going-off-route/1849/18 "2018-01-11T14:34:33Z")

</div>

He has Z-Axis if you read the other post he made:

> [@Sled with ring system and z-axis](https://forums.maslowcnc.com/t/sled-with-ring-system-and-z-axis/1848):
>
> Hello, I made my sled with a ring system and a z-axis adjustment independent of the router used. Currently it holds a Dewalt but I think I’m Moving to a Kress 1050. The Kress can go as slow as 5000rpm which is suits the slow feed rates of the Maslow.

---

<div class="post-metadata">

**Author:** ![Gero](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/gero/32/17487_2.png) [@Gero](https://forums.maslowcnc.com/u/Gero)\
**Post date:** [January 11, 2018, 2:36pm UTC](https://forums.maslowcnc.com/t/maslow-going-off-route/1849/19 "2018-01-11T14:36:36Z")

</div>

Turning truncation on in advanced settings could help This should be made default. Still like to see the gcode and try to replicate the buffer overflow.

Edit: The line before the BO:  
Sent: G2 X94.6345177665 Y405.484771574 I5020.88578680203 J-789.9441624365483

---

<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:** [January 11, 2018, 4:32pm UTC](https://forums.maslowcnc.com/t/maslow-going-off-route/1849/20 "2018-01-11T16:32:37Z")

</div>

I think @Gero is spot on that the issue is that the Gcode is specifying things out to so many decimal places that it uses all the space in the buffer for just one line

I think the solution is to turn on truncation in GC.

For making truncation the default, didn’t we run into issues with small arcs cutting as full circles when we had it as the default?

What about a warning that pops up when a file with too many decimals is loaded warning to turn on truncation? I know we want to support every possible source of Gcode, but this is really an issue with the Gcode file that we’re hiding from the user

[Next page](https://forums.maslowcnc.com/t/maslow-going-off-route/1849.md?page=2)
