[Solved] G92 E0 causes a lot of extrusion.

Having a problem? Post it here and someone will be along shortly to help
AlanKilian
Prints-a-lot
Posts: 33
Joined: Wed Nov 23, 2016 3:30 pm
Location: Cambridge, MA

Re: [Solved] G92 E0 causes a lot of extrusion.

Post by AlanKilian »

geneb wrote:Once again, G92 E0 moves nothing.

g.
However, G92 E0 resets the extruder actual position to zero, so the G28 X0 causes the extruder to go to its last known position and it makes a big pile of molten filament.

It's a bug in G28 when used with the X0 parameter CAUSED by the G92 E0.

Remove the G92 E0 and everything works fine,

So, even though the G92 E0 does not IMMEDIATELY cause motion, it indeed through a bug in G28 X0 causes the extruder to run during a G28 X0
geneb
ULTIMATE 3D JEDI
Posts: 5362
Joined: Mon Oct 15, 2012 12:47 pm
Location: Graham, WA
Contact:

Re: [Solved] G92 E0 causes a lot of extrusion.

Post by geneb »

G28 (in any flavor) doesn't interact with the E axis at all. In fact, the only axes that G28 support are X, Y, and Z.

Unless you've physically felt the extruder turn when the G28 X0 was issued, I'm still not buying it. :)

g.
Delta Power!
Defeat the Cartesian Agenda!
http://www.f15sim.com - 80-0007, The only one of its kind.
http://geneb.simpits.org - Technical and Simulator Projects
AlanKilian
Prints-a-lot
Posts: 33
Joined: Wed Nov 23, 2016 3:30 pm
Location: Cambridge, MA

Re: [Solved] G92 E0 causes a lot of extrusion.

Post by AlanKilian »

G92 E0 Doesn't cause the extruder to move, but REMOVING G92 E0 prevents the extruder from moving during a home operation.

How's that instead?
AlanKilian
Prints-a-lot
Posts: 33
Joined: Wed Nov 23, 2016 3:30 pm
Location: Cambridge, MA

Re: [Solved] G92 E0 causes a lot of extrusion.

Post by AlanKilian »

Did you TRY the code I posted?

How about I undo my change and make a video?
AlanKilian
Prints-a-lot
Posts: 33
Joined: Wed Nov 23, 2016 3:30 pm
Location: Cambridge, MA

Re: [Solved] G92 E0 causes a lot of extrusion.

Post by AlanKilian »

geneb wrote:G28 (in any flavor) doesn't interact with the E axis at all.
When I look at the code, I see it CLEARLY interacting with the E axis.


case 28: //G28 Home all Axis one at a time
{
uint8_t homeAllAxis = (com->hasNoXYZ() && !com->hasE());
if(com->hasE())
Printer::currentPositionSteps[E_AXIS] = 0;

if(homeAllAxis || !com->hasNoXYZ())
Printer::homeAxis(homeAllAxis || com->hasX(),homeAllAxis || com->hasY(),homeAllAxis || com->hasZ());
Printer::updateCurrentPosition();
}
AlanKilian
Prints-a-lot
Posts: 33
Joined: Wed Nov 23, 2016 3:30 pm
Location: Cambridge, MA

Re: [Solved] G92 E0 causes a lot of extrusion.

Post by AlanKilian »

OK, I made a video to demonstrate.

Enjoy. It's not likely to win any YouTube awards. :-)

https://youtu.be/plyCrqTqO8s
geneb
ULTIMATE 3D JEDI
Posts: 5362
Joined: Mon Oct 15, 2012 12:47 pm
Location: Graham, WA
Contact:

Re: [Solved] G92 E0 causes a lot of extrusion.

Post by geneb »

Wouldn't have believed it if I hadn't seen it. Kudos to you sir. :)

Does it do the same thing if you try G28 Y0?

g.
Delta Power!
Defeat the Cartesian Agenda!
http://www.f15sim.com - 80-0007, The only one of its kind.
http://geneb.simpits.org - Technical and Simulator Projects
Post Reply

Return to “Troubleshooting”