maocypher / Octoprint-Smart-Filament-Sensor

OctoPrint plugin that lets integrate Smart Filament Sensors like BigTreeTechs SmartFilamentSensor directly to RaspberryPi GPIO pins.
GNU General Public License v3.0
13 stars 20 forks source link

Dual extruder system question #16

Closed Drzet closed 3 years ago

Drzet commented 3 years ago

I have a single sensor attached to a E2 extruder. Another extruder doesn't have any sensors on it. So far I had one instance of filament jamming detection, but that was a single extruder print. During a dual print I had no trigger events even though there is no filament movement while E1 is extruding Question: How is this plugin supposed to behave during dual extrusion print? Is it possible to have 2 filament sensors ?

maocypher commented 3 years ago

Hi, currently this feature is under development. If you can provide me a gcode snippet I can check if there is something different. A volunteer checked a version for 4 extruders that worked so far. But the detection on the one extruder should work anyway

Drzet commented 3 years ago

Sorry, I am not sure what "g-code snippet" means. How does this plugin know which extruder it is monitoring?

maocypher commented 3 years ago

With GCode snippet I mean a few lines from your gcode. I assume there is a tool change somewhere. This is currently not supported, but under development.

G1 and G0 commands don't contain an identifier which extruder is used. I.e. if the tool is changed the passed distance is still messures, but no movement is detected.

I can keep this in mind to support less sensors then extruders.

Drzet commented 3 years ago

Thanks for the explanation. I've checked my dual extrusion gcodes, it's simple T0 and T1 commands. From what you said, it sounds like the sensor should trigger while the tool with NO sensor attached is printing, right ? I am surprised it does not.