Welcome! Log In Create A New Profile

Advanced

Gen 7 Teacup axis movements stops, extruder runs reverse

Posted by madmaxx 
Gen 7 Teacup axis movements stops, extruder runs reverse
November 26, 2011 06:57PM
Hi,
following problem:
small objects are no problem to print. If I try to print bigger objects, sometimes the printer stops after executing a command and the extruder starts running backwards slowly forever.
This only happens after a couple of layers, and always on about the same layer.
For example I was able to print most parts of the heartgears, but one gear always stops after ca. 50 layers.
I am trying to print a lm8uu y carriage and the print always freezes around layer 16.

Using newest teacup to date, printrun and skeinforge 43.
Re: Gen 7 Teacup axis movements stops, extruder runs reverse
November 26, 2011 07:32PM
Re: Gen 7 Teacup axis movements stops, extruder runs reverse
November 26, 2011 08:53PM
I tried two september commits (fa03813 f9a4495) but it wont even compile.

dda.c: In function 'dda_init':
dda.c:175: error: 'STEPS_PER_MM_X' undeclared (first use in this function)
dda.c:175: error: (Each undeclared identifier is reported only once
dda.c:175: error: for each function it appears in.)
dda.c: In function 'dda_create':
dda.c:241: error: 'STEPS_PER_MM_X' undeclared (first use in this function)
dda.c:241: error: 'STEPS_PER_MM_Y' undeclared (first use in this function)
dda.c:243: error: 'STEPS_PER_MM_Z' undeclared (first use in this function)
dda.c:248: error: 'STEPS_PER_MM_E' undeclared (first use in this function)

//EDIT//
Ah, Im an idiot. Sorry, I never used git before. I guess git checkout fa03813 just gives me the one file right? How can I get all the files up to a certain commit?

Edited 1 time(s). Last edit at 11/26/2011 09:00PM by madmaxx.
Re: Gen 7 Teacup axis movements stops, extruder runs reverse
November 26, 2011 08:59PM
Re: Gen 7 Teacup axis movements stops, extruder runs reverse
November 26, 2011 09:44PM
Yeah that was the problem, however, now the machine won't move at all. PSU doesnt even start. Never fw still works, however. Changed the makefile and config.h to make sure all the pins etc. were the same.

I want to say that I never used git before, here is what I did after pulling the git repository:

git checkout Gen7
git checkout f55e9ec051

[github.com]
Re: Gen 7 Teacup axis movements stops, extruder runs reverse
November 26, 2011 10:37PM
I do not use the command line tools. I use the downloads button on the page.

This is the Gen7 branch [github.com]


FFF Settings Calculator Gcode post processors Geometric Object Deposition Tool Blog
Tantillus.org Mini Printable Lathe How NOT to install a Pololu driver
Re: Gen 7 Teacup axis movements stops, extruder runs reverse
November 27, 2011 03:55AM
Quote

dda.c:175: error: 'STEPS_PER_MM_X' undeclared (first use in this function)

A few weeks ago Teacup moved from using STEPS_PER_MM_... to STEPS_PER_M_..., so if you go back in history, you have to change back config.h as well. Sorry for the inconvenience, it was unavoidable for getting microstepping work on threaded rod axes.

This moving backwards slowly is probably some timing issue due to a variable overflow somewhere. I've seen it half a year back the last time. Known, but very elusive.

If you could make a test case from it ("it always stops after this sequence of 5 lines...") I'd be happy do debug it. For debugging, I'd need your config.h and TermistorConfig.h as well, so I have a chance to exactly duplicate your setup.


Generation 7 Electronics Teacup Firmware RepRap DIY
     
Re: Gen 7 Teacup axis movements stops, extruder runs reverse
November 28, 2011 11:42PM
Alright those are the lines it crashed on last time. Is there a way to set the extruder to extruded value x without actually extruding? I would like to test the lines, but dont want to extrude 430 cm of material before. I will build another big object now and will add the line where it crashed, too.


G1 X44.268 Y92.183 Z8.99 F1440.0 E4293.0205
G1 X26.337 Y113.552 Z8.99 F1440.0 E4294.7174
G1 X27.103 Y114.195 Z8.99 F1440.0 E4294.7782
G1 X25.824 Y115.719 Z8.99 F1440.0 E4294.8993
G1 X31.337 Y120.345 Z8.99 F1440.0 E4295.337
G1 X32.616 Y118.821 Z8.99 F1440.0 E4295.458 ; crash here?
G1 X33.382 Y119.463 Z8.99 F1440.0 E4295.5189
G1 X51.313 Y98.094 Z8.99 F1440.0 E4297.2157
G1 X50.422 Y97.346 Z8.99 F1440.0 E4297.2865
G1 F12000.0
G1 E4294.2865
G1 F1440.0
;M103
G1 X31.316 Y122.547 Z8.99 F9000.0 ;printrun said it was on this line, but buffer of 8
G1 F12000.0
G1 E4297.2765
G1 F9000.0
;M101
G1 X30.761 Y122.373 Z8.99 F1440.0 E4297.3118


Teacup Version from 19.11.2011

//EDIT//
Here is the second gcode

G1 X85.286 Y130.641 Z7.25 F2400.0 E4292.6478
G1 X85.286 Y128.673 Z7.25 F2400.0 E4292.7676
G1 X83.302 Y130.625 Z7.25 F2400.0 E4292.9369
G1 X83.302 Y127.673 Z7.25 F2400.0 E4293.1165
G1 X85.286 Y127.689 Z7.25 F2400.0 E4293.2373
G1 X85.286 Y126.704 Z7.25 F2400.0 E4293.2971
G1 X83.302 Y126.688 Z7.25 F2400.0 E4293.4179
G1 X83.307 Y125.992 Z7.25 F2400.0 E4293.4602
G1 X78.869 Y120.425 Z7.25 F2400.0 E4293.8933
G1 X74.377 Y116.779 Z7.25 F2400.0 E4294.2452
G1 X76.532 Y116.966 Z7.25 F2400.0 E4294.3768 ;crash here?
G1 X85.286 Y125.72 Z7.25 F2400.0 E4295.1299
G1 X85.286 Y124.736 Z7.25 F2400.0 E4295.1897
G1 X77.246 Y116.695 Z7.25 F2400.0 E4295.8814
G1 X77.959 Y116.424 Z7.25 F2400.0 E4295.9278
G1 X85.89 Y124.355 Z7.25 F2400.0 E4296.6101
G1 X86.875 Y124.355 Z7.25 F2400.0 E4296.67
G1 X78.673 Y116.154 Z7.25 F2400.0 E4297.3755
G1 X79.219 Y115.715 Z7.25 F2400.0 E4297.4181 ; printrun reported this line
G1 X87.859 Y124.355 Z7.25 F2400.0 E4298.1614
G1 X88.843 Y124.355 Z7.25 F2400.0 E4298.2212
G1 X79.681 Y115.193 Z7.25 F2400.0 E4299.0094
G1 X80.606 Y114.15 Z7.25 F2400.0 E4299.0942

//EDIT2//
I also got a replace.csv:

M108 S ;M108
M101 ;M101
M103 ;M103
M105 ;M105
M113 ;M113

//EDIT3//
Since it seems related to the total extruded filament, I will try relative values for E now.

//EDIT4//
Yep, that worked.

Edited 5 time(s). Last edit at 11/29/2011 02:47AM by madmaxx.
Attachments:
open | download - config.h (21.5 KB)
open | download - ThermistorTable.h (8.5 KB)
Re: Gen 7 Teacup axis movements stops, extruder runs reverse
November 29, 2011 06:19AM
Quote

Is there a way to set the extruder to extruded value x without actually extruding?

G92 works on the extruder axis, too. Like G92 E0 for resetting or G92 E420.5 for setting it to 420.5 mm.

Quote

G1 X76.532 Y116.966 Z7.25 F2400.0 E4294.3768 ;crash here?

Hmm. 4300 mm is a lot. So far I check for variable overflows up to 1000 mm only, which is plenty for X, Y and Z.


Generation 7 Electronics Teacup Firmware RepRap DIY
     
Re: Gen 7 Teacup axis movements stops, extruder runs reverse
November 29, 2011 01:46PM
@Madmaxx

Any reason you are using Absolute extrusion? It will cause extra material to be deposited on moves following any extrusion smaller than 1 step.

I personally use and suggest to use Relative extrusion.


FFF Settings Calculator Gcode post processors Geometric Object Deposition Tool Blog
Tantillus.org Mini Printable Lathe How NOT to install a Pololu driver
Re: Gen 7 Teacup axis movements stops, extruder runs reverse
November 29, 2011 06:59PM
Yeah as I said, I switched to relative extrusion and that solved the problem.
Sorry, only registered users may post in this forum.

Click here to login