Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    beep when filament run out sensor triggers

    Scheduled Pinned Locked Moved
    Using Duet Controllers
    3
    8
    616
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • davidewenundefined
      davidewen
      last edited by davidewen

      I would like to have a repeating beep when the filament run out sensor triggers.

      Has anyone done this?

      Thanks,
      David

      cosmowaveundefined 1 Reply Last reply Reply Quote 1
      • cosmowaveundefined
        cosmowave @davidewen
        last edited by

        @davidewen You have to write a macro with M300 and G4...

        Mankati FSXT+, DeltaTowerV2, E3D MS/TC

        davidewenundefined 1 Reply Last reply Reply Quote 1
        • davidewenundefined
          davidewen @cosmowave
          last edited by

          @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

          fcwiltundefined cosmowaveundefined 2 Replies Last reply Reply Quote 0
          • fcwiltundefined
            fcwilt @davidewen
            last edited by

            @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,
            David

            Do you want the beeping to continue until you turn it off in some manner?

            Frederick

            Printers: a E3D MS/TC setup and a RatRig Hybrid. Using Duet 3 hardware running 3.4.6

            davidewenundefined 1 Reply Last reply Reply Quote 0
            • cosmowaveundefined
              cosmowave @davidewen
              last edited by

              @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...

              Mankati FSXT+, DeltaTowerV2, E3D MS/TC

              1 Reply Last reply Reply Quote 0
              • davidewenundefined
                davidewen @fcwilt
                last edited by

                @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

                fcwiltundefined cosmowaveundefined 2 Replies Last reply Reply Quote 0
                • fcwiltundefined
                  fcwilt @davidewen
                  last edited by

                  @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

                  Printers: a E3D MS/TC setup and a RatRig Hybrid. Using Duet 3 hardware running 3.4.6

                  1 Reply Last reply Reply Quote 0
                  • cosmowaveundefined
                    cosmowave @davidewen
                    last edited by

                    @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
                    

                    Mankati FSXT+, DeltaTowerV2, E3D MS/TC

                    1 Reply Last reply Reply Quote 0
                    • First post
                      Last post
                    Unless otherwise noted, all forum content is licensed under CC-BY-SA