[solved] Machine slows down after runniong a while.

Post Reply
Covert
Posts: 79
Joined: Thu Jun 18, 2015 1:10 am

[solved] Machine slows down after runniong a while.

Post 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.
Last edited by Covert on Mon Sep 21, 2015 8:22 am, edited 1 time in total.
JuKu
Site Admin
Posts: 1114
Joined: Thu Feb 14, 2013 3:06 pm
Location: Tampere, Finland
Contact:

Re: Machine slows down after runniong a while.

Post by JuKu »

I am not familiar with Reza's code, but the symptoms point to a memory leak at circle recognition.
Covert
Posts: 79
Joined: Thu Jun 18, 2015 1:10 am

Re: Machine slows down after runniong a while.

Post 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.
Covert
Posts: 79
Joined: Thu Jun 18, 2015 1:10 am

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

Post 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.
JuKu
Site Admin
Posts: 1114
Joined: Thu Feb 14, 2013 3:06 pm
Location: Tampere, Finland
Contact:

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

Post 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.
Post Reply