Possible to turn off filament sensor in gcode?
Is it possible to tell the printer to turn off the filament sensor for a certain print? I have some translucent filament that the filament sensor trips out on, and I'd like to create a filament profile for it in slic3r that automatically turns the sensor off for that print, so that I don't have to do it manually in the menu.
Re: Possible to turn off filament sensor in gcode?
Looking at https://github.com/prusa3d/Prusa-Firmware/blob/MK2/Firmware/Marlin_main.cpp . Seems to be M406 (Turn off filament sensor for control )
Re: Possible to turn off filament sensor in gcode?
Awesome, thanks for the pointer!
I notice there's also gcode for turning the sensor back on, with a "delay in centimeters" between sensor and extruder. Anyone know if that one is supposed to be set, and if so, at what value? I can't find it being used anywhere in the firmware.
Re: Possible to turn off filament sensor in gcode?
Huh, weird, it doesn't seem to be doing anything. I noticed that the gcode has my filament-specific code in there, but I don't see any message and the sensor remains on. I don't even see the M117 message. Any ideas?
G92 E0.0
M221 S95
M900 K30; Filament gcode
M406 ; Disable filament sensor
M117 Filament sensor UIT
G21 ; set units to millimeters
G90 ; use absolute coordinates
M83 ; use relative distances for extrusion
;BEFORE_LAYER_CHANGE
Re: Possible to turn off filament sensor in gcode?
I found that after i installed a filter with a sponge blocking light from getting into the filter feed are that the sensor works much better even with some translucent materiel i have.
Re: Possible to turn off filament sensor in gcode?
So, it turns out that M406 is not implemented in Marlin yet. Alas! Not sure why the M117 code isn't working either, though.
Re: Possible to turn off filament sensor in gcode?
I have transparent CPE that triggers false positive all the time, I would love to have a check box to deactivate the filament sensor in the filament settings of Slic3r PE!
Re: Possible to turn off filament sensor in gcode?
So, it turns out that M406 is not implemented in Marlin yet. Alas! Not sure why the M117 code isn't working either, though.
You can report it as a feature request or error on GitHub https://github.com/prusa3d/Prusa-Firmware/issues?q=is%3Aopen . The developers will see it there.
Have a look at my models on Printables.com 😉