Gcode Meta Commands for sensing filament
-
Hi, i wanted to used meta commands to sense filament for my filament changing script, but can't figure out how to do it, i've tried some codes but nothing work, it always tells me "unknown zstop value". I've tried with true/false and 0/1 but nothing ^^
Here's the code (just testing it before integrating it in my macro):
while true
if zstop == false
M291 P"filament" R"charge filament pls" S0
if zstop == true
continueM291 P"filament" R"charging.." S0 T3
-
The object model doesn't yet include the state of input pins or filament monitors. These will be added soon.
-
That's why thanks for the answer !
-
Hi, has this been implemented yet?
-
@vasparshin yes it is, use this sensors.filamentMonitors[].filamentPresent
Put the number of the sensor in the [] -
thanks!