beep when filament run out sensor triggers
-
I would like to have a repeating beep when the filament run out sensor triggers.
Has anyone done this?
Thanks,
David -
@davidewen You have to write a macro with M300 and G4...
-
@cosmowave
I've never written a macro.
Can you direct me to some instructions or a YouTube video?
Or would you have some examples that I could learn from?Thanks,
David -
@davidewen said in beep when filament run out sensor triggers:
@cosmowave
I've never written a macro.
Can you direct me to some instructions or a YouTube video?
Or would you have some examples that I could learn from?Thanks,
DavidDo you want the beeping to continue until you turn it off in some manner?
Frederick
-
@davidewen said in beep when filament run out sensor triggers:
Can you direct me to some instructions or a YouTube video?
Or would you have some examples that I could learn from?One important thing: which firmware are you using?
In the dozuki you can find some instructions.
Or here in the forum in the "conditional code" category you will also find different examples of other users... -
@fcwilt
Yes, I would like the beeping to continue until I acknowledge it.FW:
RepRapFirmware for Duet 3 Mini 5+ version 3.3 (2021-06-15 21:46:11) running on Duet 3 Mini5plus WiFi (standalone mode)David
-
@davidewen said in beep when filament run out sensor triggers:
@fcwilt
Yes, I would like the beeping to continue until I acknowledge it.FW:
RepRapFirmware for Duet 3 Mini 5+ version 3.3 (2021-06-15 21:46:11) running on Duet 3 Mini5plus WiFi (standalone mode)David
Perhaps you could use daemon.g (a special file that runs periodically if it exists) to generate the beeping (using conditional code).
The filament sensor could enable the code. A macro could disable the code.
Frederick
-
@davidewen
First you should define a "filament-error#.g" macro, which is called at filament runout (# is the number of your extruder).
In this "filament error macro" you can create and set a global variable.
After setting the variable, add a blocking message (M291...)
You have to reset the variable after confirming the filament change.Create a "daemon.g" file in the sys folder. Here you can check the variable and make your beeps.
eventually something like this...while global.beep = true M300 S500 P1000 ; beep with 500Hz for 1sec G4 P1000 ; delay of 1sec