Page 1 of 1

[solved] Machine slows down after runniong a while.

Posted: Mon Sep 07, 2015 7:51 am
by Covert
Using Reza 0.4 Mod.

After the machine has ran for a while there is a noticeable pause between X/Y moments. Also If I then run a needle calibrate after this has occurred the rotation steps also has this noticeable pause between each fraction of a turn.

If I reset the TinyG the issue remains.

Only shutting down the software and starting again solves the issue.

I think it happens after a hole cannot been found on the tape.

Any idea's where this issue is coming from ? I'm not sure where to look in the code yet. Wanted to see if anyone else knows before I start at solving it.

Re: Machine slows down after runniong a while.

Posted: Mon Sep 07, 2015 8:23 am
by JuKu
I am not familiar with Reza's code, but the symptoms point to a memory leak at circle recognition.

Re: Machine slows down after runniong a while.

Posted: Fri Sep 11, 2015 6:36 am
by Covert
I noticed the same slow down today but without it missing a hole. Also been watching the system resources and it doesn't seem to be increasing over time. I check the G-Code and it's all the same if the machine is running quick or slow. I think the software is pausing somewhere. I'll investigate further.

Re: [solved] Machine slows down after runniong a while.

Posted: Mon Sep 21, 2015 8:24 am
by Covert
I found the problem. As the serial console fill up the machine progressively slows down. There is a "clear" button for the console that immediately speeds the machine back up after being pressed.

I never us the console in day to day use so I will probably disable it with a check-box for now.

Re: [solved] Machine slows down after runniong a while.

Posted: Mon Sep 21, 2015 2:01 pm
by JuKu
Thank you for debugging this! I'll put this in. It shoudl show the connection messages and disable after that. If you need diagnostics, turn it back on.