Welcome! Log In Create A New Profile

Advanced

Gcode for the retraction option

Posted by flurin 
Gcode for the retraction option
July 12, 2012 08:18AM
Examinating the Gcode for the retraction option (1 mm) I've found following code:

G92 E0
G1 X54.827 Y112.327 F12000.000
G1 F1800.000 E1.00000

However I expected E-1.0000 (negative) after G92 E0, something like this:

G92 E0
G1 X54.827 Y112.327 F12000.000
G1 F1800.000 E-1.00000

What am I missing?
Re: Gcode for the retraction option
July 12, 2012 09:17AM
That looks like the start of a run rather than the end. It will undo the retraction at the start.


[www.hydraraptor.blogspot.com]
Re: Gcode for the retraction option
July 12, 2012 09:17AM
OK! I got it, it depends on the setting "Use relative E distances"

with "use_relative_e_distances = 1" the Gcode is:

G1 F1800.000 E-1.00000
G1 X54.827 Y112.327 F12000.000

Edited 1 time(s). Last edit at 07/12/2012 09:22AM by flurin.
Re: Gcode for the retraction option
July 12, 2012 09:27AM
@nophead

You are right, here is the preceding Code:

G1 X89.036 Y92.749 E10.53285
G1 F1800.000 E9.53285
G92 E0
G1 X54.827 Y112.327 F12000.000
G1 F1800.000 E1.00000

9.53285 - 10-53285 = -1.0 retraction

Edited 1 time(s). Last edit at 07/12/2012 09:30AM by flurin.
Sorry, only registered users may post in this forum.

Click here to login