# Webcontrol stopping unexpectedly

**URL:** <https://forums.maslowcnc.com/t/webcontrol-stopping-unexpectedly/15332>\
**Category:** Software\
**Created:** [November 28, 2020, 6:07pm UTC](https://forums.maslowcnc.com/t/webcontrol-stopping-unexpectedly/15332 "2020-11-28T18:07:03Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![garrett1812](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/garrett1812/32/14800_2.png) [@garrett1812](https://forums.maslowcnc.com/u/garrett1812)\
**Post date:** [November 28, 2020, 6:07pm UTC](https://forums.maslowcnc.com/t/webcontrol-stopping-unexpectedly/15332/1 "2020-11-28T18:07:04Z")

</div>

Hi all. My Maslow has been sitting idle for quite some time, but I am finally back using it again. Successfully made a cut yesterday, using Webcontrol for the first time. Imported the groundcontrol.ini and everything worked perfectly.

Today…not so much. Webcontrol keeps stopping around line 50 in the gcode, unexpectedly and gives no errors. Any ideas what might be causing it? It is a relatively simple cut. Diagnostics report and gcode are attached.[activity board.nc](https://forums.maslowcnc.com/uploads/short-url/r18eQ0VdyrTt3toucI2p2HfqOTc.nc) (21.0 KB) [wc\_diagnostics\_20201128-115918.zip](https://forums.maslowcnc.com/uploads/short-url/p3K6mHUPk2a3xjIidYSomzsIsJT.zip) (201.0 KB)

I am running Webcontrol on a Windows 10 PC. I even reinstalled on a new PC since I suspected the first PC could have been the issue (CPU always 95-100%), but the new PC had the same issue as well.

Thanks for any help.

---

<div class="post-metadata">

**Author:** ![madgrizzle](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/madgrizzle/32/1372_2.png) [@madgrizzle](https://forums.maslowcnc.com/u/madgrizzle)\
**Post date:** [November 28, 2020, 6:31pm UTC](https://forums.maslowcnc.com/t/webcontrol-stopping-unexpectedly/15332/2 "2020-11-28T18:31:32Z")

</div>

Is buffering turned on? If so, try turning it off and see if it performs differently.

Also, you can put the controller in fake servo mode and run the code in a simulation. It would be good to know if it always fails at the exact same line.

---

<div class="post-metadata">

**Author:** ![garrett1812](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/garrett1812/32/14800_2.png) [@garrett1812](https://forums.maslowcnc.com/u/garrett1812)\
**Post date:** [November 28, 2020, 6:35pm UTC](https://forums.maslowcnc.com/t/webcontrol-stopping-unexpectedly/15332/3 "2020-11-28T18:35:55Z")

</div>

Thanks for the quick reply. Buffering was on. I will try turning it off.

It mostly fails at line 54, though sometimes earlier.

---

<div class="post-metadata">

**Author:** ![madgrizzle](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/madgrizzle/32/1372_2.png) [@madgrizzle](https://forums.maslowcnc.com/u/madgrizzle)\
**Post date:** [November 28, 2020, 6:35pm UTC](https://forums.maslowcnc.com/t/webcontrol-stopping-unexpectedly/15332/4 "2020-11-28T18:35:56Z")

</div>

Actually, turn on “truncate digits” option. It’s definitely a buffer overflow and part of problem is the number of digits being sent.

---

<div class="post-metadata">

**Author:** ![madgrizzle](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/madgrizzle/32/1372_2.png) [@madgrizzle](https://forums.maslowcnc.com/u/madgrizzle)\
**Post date:** [November 28, 2020, 6:38pm UTC](https://forums.maslowcnc.com/t/webcontrol-stopping-unexpectedly/15332/5 "2020-11-28T18:38:45Z")

</div>

In general, I recommend against buffering gcode… it was too problematic to deal with and there’s still likely some issues using it. I don’t think it makes a huge difference in speed to buffer or not.

---

<div class="post-metadata">

**Author:** ![garrett1812](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/garrett1812/32/14800_2.png) [@garrett1812](https://forums.maslowcnc.com/u/garrett1812)\
**Post date:** [November 28, 2020, 6:40pm UTC](https://forums.maslowcnc.com/t/webcontrol-stopping-unexpectedly/15332/6 "2020-11-28T18:40:25Z")

</div>

Thanks, I will try both. Now that I think about it, I had a problem with buffering when using ground control back in the day.

---

<div class="post-metadata">

**Author:** ![Orob](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/orob/32/16344_2.png) [@Orob](https://forums.maslowcnc.com/u/Orob)\
**Post date:** [November 29, 2020, 2:14am UTC](https://forums.maslowcnc.com/t/webcontrol-stopping-unexpectedly/15332/7 "2020-11-29T02:14:18Z")

</div>

did your code have an R (radius) command in it? That has only recently been added and before, it would just stop.

---

<div class="post-metadata">

**Author:** ![garrett1812](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.maslowcnc.com/garrett1812/32/14800_2.png) [@garrett1812](https://forums.maslowcnc.com/u/garrett1812)\
**Post date:** [November 29, 2020, 7:44pm UTC](https://forums.maslowcnc.com/t/webcontrol-stopping-unexpectedly/15332/8 "2020-11-29T19:44:56Z")

</div>

Changing those two settings fixed it. Back in action!

Thanks for all the help!!
