I have a filament switch sensor to detect a filament runout.
That works fine with the following standard code:
But between the filament switch sensor and the printer head is abot 300mm the PTFE tube-> that means I would cut those 300 mm filament off → throw away → new filament spool in-> start print again.
For not throwing away the filament I would like:
Filament switch sensor gives signal ->a delay for about 8 min (printer is printing 8 min.) → printer gets paused.
How do I have to write the g code for it?