EnragedRabbitProject icon indicating copy to clipboard operation
EnragedRabbitProject copied to clipboard

Read total length from .end_of_bowden_to_sensor when loading to nozzle

Open Imnotkelby opened this issue 2 years ago • 3 comments

Had an issue ( #82 ) where ERCF would fault when loading filament from reverse bowden to the toolhead sensor, but shortly after would say "Filament loaded successfully". Thought this might have been a timing issue initially, but I was able to add the end_of_bowden_to_sensor variable to the load length and this stopped the fault from happening.

Imnotkelby avatar Mar 31 '22 04:03 Imnotkelby

I don't mind updating this code line, but I don't think that is an issue per se.

The move prior to this (i.e. the move of the ercf and extruder in sync, for a length of 'printer["gcode_macro _ERCF_VAR"].end_of_bowden_to_sensor|float - 7', is done from the "end of bowden" position. Hence, in principle, you end up at 7mm from the toolhead sensor. The next move, i.e. the ERCF_HOME_EXTRUDER, needs an upper range. Using 30.0 gives already 23.0 mm of "room", which is already higher than the possible "slack" from the encoder resolution and global loading move uncertainty.

That being said, I don't mind upping this 30.0 mm upper value, but I don't think the 'printer["gcode_macro _ERCF_VAR"].end_of_bowden_to_sensor|float - 7' is better suited.

I propose a value of 50.0 mm, would that work in your specific case?

EtteGit avatar Apr 07 '22 13:04 EtteGit

Thank you for the response and the explanation of how this feature works. I spent a few hours trying to understand it, then did some more testing over the last few days. It seems like my calibrated distance from the ERCF to the extruder is off. Got one cart to work fine, but having troubles with another.

For my situation, I was able to make it work with 40mm.

Imnotkelby avatar Apr 10 '22 18:04 Imnotkelby

Hi. I'm catching up on github stuff. Do you still see this issue or can I close this?

EtteGit avatar Jun 17 '22 13:06 EtteGit