Welcome! Log In Create A New Profile

Advanced

Repetier Host choking on GCODE when Pronterface doesn't

Posted by Ohmarinus 
Repetier Host choking on GCODE when Pronterface doesn't
July 12, 2019 06:50AM
Hi, I'm having fun with my homemade pen plotter, but sometimes the GCODE that is generated chokes out my Repetier Host. The software runs fine but the prints just stop halfway at a specific piece of GCODE. Now because Repetier doesn't actually show everything that is going on, I can't find out what the issue is.

When I stream the files from Pronterface it works fine. Normally Pronterface shows me a bit more about what could be going wrong, for example I had hacked a GCODE generator but it would add invisible characters like \n and \t into the GCODE file. This would cause errors in both Repetier and Pronterface. I managed to get all of these characters out but now I'm still getting hangups every so often and I can't predict when this happens.

Now I have found out when the script stalls, I have a screenshot of it and what part of the code it is. I will upload all so that maybe someone with more knowledge could take a look at it. There must be something wrong.

Happens after this line N2899:


Here is a screenshot of the gcode as Repetier shows it:


And here's the file:
atomium1_0003.gcode

Is there some invisible code going on? Maybe someone knows the answer.. I really like working with Repetier because it has a graphical preview so I can see if my tool changes are working out correctly et cetera.


http://www.marinusdebeer.nl/
Re: Repetier Host choking on GCODE when Pronterface doesn't
July 12, 2019 10:04AM
Maybe Repetier doesn't like the comment in line 843 (no blank before the semicolon, or whatever).
Re: Repetier Host choking on GCODE when Pronterface doesn't
July 12, 2019 01:18PM
Quote
Dreide
Maybe Repetier doesn't like the comment in line 843 (no blank before the semicolon, or whatever).

Thanks for your reply, however, the whole file has this specifically going on, and it doesn't chock on all the other times that it does the ; (Penetrate) so it shouldn't be a problem.. I suspect there are hidden characters :O


http://www.marinusdebeer.nl/
Re: Repetier Host choking on GCODE when Pronterface doesn't
July 13, 2019 11:44AM
What firmware does your printer use ?
Re: Repetier Host choking on GCODE when Pronterface doesn't
July 13, 2019 01:07PM
Quote
obewan
What firmware does your printer use ?

It's Marlin 2.x

But it works well on Pronterface and only on Repetier has these weird hangups.

I also discovered that it's only happening when I run a script from the gcodetools plugin from Inkscape. All other gcode runs fine with it.


http://www.marinusdebeer.nl/
Sorry, only registered users may post in this forum.

Click here to login