while cutting the braces for the Maslow frame, the system would just start in some random direction part way through a cut. Observing the G Code scroll on Ground Control I observed the following:
Buffer overflow!
Buffer Used: 127
Buffer Number of Lines: 5
Buffer Begin: 99
Buffer End: 98
Buffer Contents: G3 X28.7687 …
These overflows would also randomly cause the system to loose its center point and the sled location would be inaccurate.
Is there some log file that catches this sort of error? If not, what is the downside to adding one. I just happened to have a semi-repeatable issue that I just caught out of the corner of my eye.
I failed to replicate a buffer overflow with FW1.02/GC1.02 and FW1.03/GC 1.02.
Both files run smooth on my test system (no motorshield)
I am stuck here.
Are you able to replicate the error? Does it always show up at the same line?
No, it shows up at different places during the outline cut. I had run the cut several times, dry runs, before. Not sure if it blew the buffers during those runs.
Did you place the cut over to the right side of the cutting surface?
Yes, from the video I assumed ~36 inch from centre and that went true without issues.
That it happens at different places excludes anything from the .nc, I guess.
Interference in the USB cable? What keeps nagging me is the /n in the buffer, is that 'end of line? and how does that get in there?
Edit: from the log ($7=2) you are using triangular? There is a negative value for $6=-47 (sled centre of gravity)
Edit2: Kindly upload the groundcontrol.ini from your home folder. Will try if I can replicate something with exact your settings.
@Gero, were you running with the z-axis motor switch ‘on’? The log file from @George_Mallard indicates he was using a manual z axis. I just ran ‘Brace Type 1.nc’ first with auto-z (no problem) then with manual-z and got a buffer error with manual-z.
An example section from the log file that @George_Mallard posted above (must have a lot of the chatter removed ):
Edit1: Confirmed that it happens at different positions in the code.
Edit2: Confirmed that it also happens with FW1.02/GC1.02 so FW 1.03 is found not guilty
Based on Maslow history, I would say that you will get a personal test release within hours/max days and by next Wednesday the bug you found is history.
@Gero, since you’re temporarily running ‘disconnected’, this is a good chance to try the FAKE_SERVO mode in the new firmware. . Fun to watch the fake Maslow trying to keep up!