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

beep when filament run out sensor triggers

Scheduled Pinned Locked Moved
Using Duet Controllers
3
8
590
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.
  • undefined
    davidewen
    last edited by davidewen 9 Jul 2021, 02:00 6 Sept 2021, 18:50

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

    Has anyone done this?

    Thanks,
    David

    undefined 1 Reply Last reply 7 Sept 2021, 05:27 Reply Quote 1
    • undefined
      cosmowave @davidewen
      last edited by 7 Sept 2021, 05:27

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

      Mankati FSXT+, DeltaTowerV2, E3D MS/TC

      undefined 1 Reply Last reply 7 Sept 2021, 16:43 Reply Quote 1
      • undefined
        davidewen @cosmowave
        last edited by 7 Sept 2021, 16:43

        @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

        undefined undefined 2 Replies Last reply 7 Sept 2021, 17:08 Reply Quote 0
        • undefined
          fcwilt @davidewen
          last edited by 7 Sept 2021, 17:08

          @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 small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

          undefined 1 Reply Last reply 8 Sept 2021, 13:17 Reply Quote 0
          • undefined
            cosmowave @davidewen
            last edited by 8 Sept 2021, 11:56

            @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
            • undefined
              davidewen @fcwilt
              last edited by 8 Sept 2021, 13:17

              @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

              undefined undefined 2 Replies Last reply 8 Sept 2021, 13:33 Reply Quote 0
              • undefined
                fcwilt @davidewen
                last edited by 8 Sept 2021, 13:33

                @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 small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

                1 Reply Last reply Reply Quote 0
                • undefined
                  cosmowave @davidewen
                  last edited by 8 Sept 2021, 14:02

                  @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
                  2 out of 8
                  • First post
                    2/8
                    Last post
                  Unless otherwise noted, all forum content is licensed under CC-BY-SA