Solved Filament monitoring for SBC mode?
-
In the documentation for filament sensors it is stated that for RRF 3.4 and later filament sensing is not always active: "Note that filament monitoring in RRF is only active when printing from SD card.".
I would like to know if this means that filament sensor(s) are active when using an SBC to control the printer. Does this count as printing from SD, as technically, the file is on the SD card, and the path to the file is also marked as being on SD, or does the direct control of the SBC to the board mean that there is no filament sensor monitoring?
currently,
M591 D0
yields the following result (while not printing):M591 D0 Simple filament sensor on pin io5.in, disabled, output low when no filament, filament present: no
Does the "disabled" part mean that it is not going to be active while printing?
-
-
@0nn0 Yes, filament monitors are fully supported in SBC mode, same as in standalone mode.
Ian
-
-
-
@droftarts Thanks for the quick response. I still wonder what the "disabled" state means though. Is it only enabled when printing?
-
@0nn0 See https://docs.duet3d.com/en/User_manual/Reference/Gcodes#m591-configure-filament-sensing
Sn 0 = disable filament monitoring (default), 1 = enable filament monitoring when printing from SD card, 2 = enable filament monitoring all the time (S2 is supported RRF 3.5.0-rc.1 and later only). Filament monitors accumulate calibration data (where applicable) even when filament monitoring is disabled.
So it is disabled by default. Usually S1 is used to enable it during printing.
Ian
-
@droftarts Ok, so if I put
M591 D0 S1
in my start code andM591 D0 S0
in my end code, I should have it enabled during print jobs, but not when the printer is not doing anything? -
@0nn0 You can put it in config.g with S1. As it says in the documentation...
1 = enable filament monitoring when printing from SD card,
...
Filament monitors accumulate calibration data (where applicable) even when filament monitoring is disabled.Ian