Restart a print long after printing failure or stop.!searchin/deltabot/resume$20printing/deltabot/hHZ0AD5Ha1s/jTvc4-yH2T4J

Yes, so the gcodes that got missing (you want to print again) will gave to be preceded with I.e.

G28 ;home
M106 ;fan on
M109 S205 ;wait for temp 205 deg
G92 Ewhatever ; set extrusion to last position extruder
G1 Xstart Ystart Zstart ; set position to last position nozzle
( below is the starting point )
G1 first line that you want to print, including the “original” E position in that line

Naturally if your slicer inserts more magic before printing include that also.

> I understand deleting all the g code above the position I want to start, because It has been printed already, correct?

> Wouldn’t the G92 Ewhatever code be whats left to run?
G92 sets the extruder coordinate to the given position,
It’s what already has been run

Here is my story.

I’ve been testing Cura instead Slic3r because it produce better support and infill control.
One serious, dangerous bug of Cura is it generates X and Y coordinates that beyond physical dimension of the 3D Printer user sets up.

Bulbul Junior’s safe printable diameter is 150.00 mm.
X: -75.00 to 75.00
Y: -75.00 to 75.00

When I was printing a 3D model, the carriage of X tower banged so hard the lower endstop, it literally pushed down the endstop. For a while I thought it caused by loose bolt. Then second trial of the same 3D model, the hotend was moving to empty space.
“Oh, shit! It happens again.”

I inspected stl file of the model, remade new Gcode file in Cura. In third attempt, I noticed that dimension of the object is out of printable area.

190.00 mm was inserted by Pause at Height plugin which I had to turn on unknowingly.

The print goes:
- from -55.84 mm to 190.00 mm in X and is 245.84 mm wide
- from -43.40 mm to 190.00 mm in Y and is 233.40 mm deep
- from 0.00 mm to 101.11 mm in Z and is 101.11 mm high
Estimated duration: 1004 layers, 5:18:57

So I opened up half million lines of the model’s Gcode file, found the outstanding Gcode lines.

G1 E-5.000000 F6000
G1 X190.000000 Y190.000000 F9000
M84 E0
G1 E5.000000 F6000
G1 E-5.000000 F6000
G1 X20.526000 Y5.598000 F9000
G1 E5.000000 F6000
G1 F9000
G1 E-5.000000 F6000
G1 Z15 F300
G1 X190.000000 Y190.000000 F9000

Screen shot of 3D Gcode editor in Pronterface

Above extreme coordinates occurred right after Z5.010, Z height 5.010 mm.
I wanted to save one hour of printing time and played with Gcodes. I deleted about 150,000 lines of Gcode which were before Z5.010, inserted three Gcode commands like below.

;Basic settings: Layer height: 0.1 Walls: 0.28 Fill: 20
;Print time: 6 hours 42 minutes
;Filament used: 8.36m 25.0g
;Filament cost: None
;M190 S70 ;Uncomment to add your own bed temperature line
G0 F12000 X-2.699 Y-16.558 Z5.010
G90 ; use absolute coordinates
G92 E0
M82 ; use absolute distances for extrusion
G1 Z5.010
G1 F2400 E2031.17371
G1 F4800 X-6.491 Y-20.351 E2031.22319

One mistake I make in the code is, G92 E0. I should set it close to E2031.22319 for preventing excessive filament feeding. Above codes will extrude 2031.22319 mm of filament at one spot.

I think correct codes are followed by.

G0 F12000 X-2.699 Y-16.558 Z5.010
G90 ; use absolute coordinates
G92 E2031.2000
M82 ; use absolute distances for extrusion
G1 Z5.010
G1 F2400 E2031.17371
G1 F4800 X-6.491 Y-20.351 E2031.22319


G92: Set Position
Support FiveD Teacup Sprinter Marlin Repetier Smoothie RepRapFirmware BFB/RapMan MachineKit MakerBot grbl
Yes Yes Yes Yes Yes Yes Yes Yes No Yes Yes
This command can be used without any additional parameters.
Xnnn new X axis position
Ynnn new Y axis position
Znnn new Z axis position
Ennn new extruder position
G92 X10 E90
Allows programming of absolute zero point, by reseting the current position to the values specified. This would set the machine’s X coordinate to 10, and the extrude coordinate to 90. No physical motion will occur.
A G92 without coordinates will reset all axes to zero.

About janpenguin

Email: k2.mountain [at] gmail [dot] com Every content on the blog is made by Free and Open Source Software in GNU/Linux.
This entry was posted in Reprap 3D Printer and tagged , , , , , , , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s