firmware retract issues G92 E0 between G10/11 #2201

Closed
wolfmanjm opened this Issue Aug 6, 2014 · 6 comments

Projects

None yet

3 participants

@wolfmanjm

When firmware retract is set the gcode generated is...

G10 ; retract
G92 E0
G11 ; unretract

This seems to be incorrect as it resets the E position before the unretract. I believe the G92 E0 should go after the G11.

It currently has no effect in Smoothie for various obscure reasons, and WW added a hack to Marlin to work around it. So it currently works, but would be nice if it were corrected for future happiness :)

@whosawhatsis

For the record, it's not a hack in Marlin. It had to work the way I wrote it anyway.

@alexrj alexrj added a commit that referenced this issue Aug 8, 2014
@alexrj Apply G92 E0 after G11. #2201 6e81360
@alexrj alexrj added a commit that referenced this issue Aug 8, 2014
@alexrj Apply G92 E0 after G11. #2201 3920a7e
@alexrj
Owner
alexrj commented Aug 8, 2014

Right, I added G92 E0 after G11. Removing it after G10 was not necessary, but I did it anyway to save bytes...

@alexrj alexrj closed this Aug 8, 2014
@alexrj alexrj added this to the 1.2.1 milestone Aug 8, 2014
@alexrj alexrj added the Fixed label Aug 8, 2014
@wolfmanjm

this seems to have regressed in 1.2.5-dev

G10 ; retract
G92 E0
G1 X-14.210 Y14.193 F18000.000
G11 ; unretract
G92 E0

@alexrj
Owner
alexrj commented Jan 10, 2015

@wolfmanjm, what's wrong with that snippet? I see G92 E0 after both G10 and G11 and that looks correct

@wolfmanjm

I thought you said "...Removing it after G10 was not necessary, but I did it anyway to save bytes"

@alexrj alexrj reopened this Jan 10, 2015
@alexrj
Owner
alexrj commented Jun 2, 2015

It's good if it's after both… after all. ;) Since E is undefined status for most firmwares after G10/11.

@alexrj alexrj closed this Jun 2, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment