Page 1 of 1

GCODE opening sequence getting mad

Posted: Sat Aug 24, 2019 10:29 pm
by dd3d
Does anyone knows why this common setup sequence gets my E180 mad?
The printer beeps and stops without printing when it receive this:
...

Code: Select all

G28
G21
G90
G92 E0
...
... then comes the printing code...

Thanks!

Re: GCODE opening sequence getting mad

Posted: Mon Aug 26, 2019 9:57 am
by William
Hi,G28 refers to Auto-home one or more axes;
G21 refers to Set units to millimeters;
G90 refers to Absolute Positioning;
G92 refers to Set Position.
Can you provide specific action videos or code?
So that we can solve the problem better.

Re: GCODE opening sequence getting mad

Posted: Tue Aug 27, 2019 1:03 am
by dd3d
Thanks William,
Here you can find the first part of the crashing code, I have a small video but I can't post it here (extention type...)
Removing lines from 3 to 6 makes everything work.

Code: Select all

;Generated with Cura_SteamEngine 15.04.5
M109 S210.0
G28
G21
G90
G92 E0
;Layer count: 76
;LAYER:0
M107
G0 F9000 X20.615 Y28.515 Z0.250
;TYPE:SKIRT
G1 F900 X22.335 Y27.438 E0.08437
G1 X23.728 Y26.956 E0.14565
G1 X24.651 Y26.732 E0.18514
G1 X25.795 Y26.617 E0.23294
G1 X27.368 Y26.616 E0.29834
G1 X30.294 Y26.617 E0.41999
G1 X31.937 Y26.810 E0.48877
G1 X33.910 Y27.547 E0.57633
G1 X35.271 Y28.457 E0.64440
G1 X39.694 Y32.258 E0.88686
G1 X47.874 Y39.289 E1.33531
G1 X48.139 Y38.786 E1.35894
G1 X47.886 Y38.235 E1.38415

Re: GCODE opening sequence getting mad

Posted: Tue Aug 27, 2019 9:06 am
by William
Hi, The M109 you provide for gcode refers to the time to wait for the hot end to heat up;
Have you tried printing other models?

Re: GCODE opening sequence getting mad

Posted: Thu Aug 29, 2019 3:24 am
by dd3d
Got it!

G21 is to blame.

I'll rewrite my startup sequence.