Open chucky3456 opened 3 years ago
¿Have you checked the sensor state with M119 first?
Checked M119 Sensor states are OK but same issue for me the printer is still working after run out of filament.
¿are we talking printing from the SD card or from octoprint/host via USB?
Octoprint... I saw something in the config:
is this the reason when I start printing from Octoprint? Marlin didn't get one of these informations?
octoprint does not support filament runout sensors connected to the board itself, as apparently there's no gcode or response than marlin can provide to octoprint that the runout sensor has stopped. From what i researched when i wanted to make this work as well, you need to connect the runout sensor to the rpi GPIO ports, and run the runout detection on the rpi itself with a octoprint plugin.
I find that a kludge at best and very daft, and i don't plan on doing it in the least, specially since there's no clean way to do it on tronxy printers with the ribbon cable going straight to the board.
Edit: i've found this https://community.octoprint.org/t/filament-runout-sensor-connection-rpi-gpio-versus-printer-board/29725 that apparently enabling host action commands in marlin would make marlin send a command about the runout, i haven't tried it yet
octoprint does not support filament runout sensors connected to the board itself, as apparently there's no gcode or response than marlin can provide to octoprint that the runout sensor has stopped. From what i researched when i wanted to make this work as well, you need to connect the runout sensor to the rpi GPIO ports, and run the runout detection on the rpi itself with a octoprint plugin.
I find that a kludge at best and very daft, and i don't plan on doing it in the least, specially since there's no clean way to do it on tronxy printers with the ribbon cable going straight to the board.
Edit: i've found this https://community.octoprint.org/t/filament-runout-sensor-connection-rpi-gpio-versus-printer-board/29725 that apparently enabling host action commands in marlin would make marlin send a command about the runout, i haven't tried it yet
Make senses... Thanks!
CXY-V6-191017
Filament Runout Sensor not pausing print when filament runs out (not a critical issue).
Steps: 1. Start print with limited filament