@dc42 Thank you. Previously with Duet 3 Mini 5, the Filament runout works flawlessly. Even at the start of the print, if the filament is not there, it wont start the print. (Without any special codes). It was with
firmware 3.4.0
I tried the following code in start.g (Got from a thread):
if sensors.filamentMonitors[0].status = "sensorError"
echo "SensorError-0 Continuing to Print"
if sensors.filamentMonitors[0].status != "sensorError"
M25
set global.beepbeep1 = 1
M591 D0
M118 P0 S"filament error" L2```
It worked. When there is no filament at the start, it paused the print.
But when i resumed it without loading the filament, it continues (it means it is not continuously checking).
I kept the same code in resume.g, but it didnt work.