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

    PanelDue 5" 1.22.1 beep startup tune playback problem

    Scheduled Pinned Locked Moved
    PanelDue
    5
    13
    1.1k
    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.
    • chas2706undefined
      chas2706
      last edited by

      I keep my tunes in a macro then use this command to play them :
      M98 P/macros/Music/name-of-file , where Music is a folder under macros and name-of-file is tune to be played.
      M98 can be placed anywhere e.g. start.g, end.g, config.g etc.
      Do this but place your M98 command further up in your config.g before any movement commands you may have

      That should work!

      1 Reply Last reply Reply Quote 0
      • Scachiundefined
        Scachi
        last edited by Scachi

        I have tried that now with the M98 as you have suggested, it still happens the same thing.

        It does no sound at all on startup or on local paneldue emergency button

        It still plays beep sounds on the paneldue:
        on local paneldue macro start
        on web frontend macro start
        on web frontend emergency button

        Doesn't matter where I place the M98 in the config.g .. it always happens the same thing.

        1 Reply Last reply Reply Quote 0
        • chas2706undefined
          chas2706
          last edited by

          Sorry about that.
          Maybe it is something to do with your paneldue firmware?

          1 Reply Last reply Reply Quote 0
          • Scachiundefined
            Scachi
            last edited by

            Thank you very much for your ideas.

            The sound issue is not that important, I am just wondering what is wrong here.

            In the next few days I 'll try a downgrade of the paneldue firmware to check if this solves the issue.

            1 Reply Last reply Reply Quote 0
            • pabomanundefined
              paboman
              last edited by

              I think on sturtup the code is executed quicker than the initialization of the PanelDue. You have to add some seconds of waiting before the first M300 sound

              1 Reply Last reply Reply Quote 1
              • Phaedruxundefined
                Phaedrux Moderator
                last edited by

                That would be my startup tune.

                Try adding a delay before the beeps start to give some time to the system to finish starting up. I think the reason it's working on the emergency stop is that it's a warm reboot instead of a cold boot.

                M400 ; clear buffer
                G4 S5 ; pause 5 seconds
                

                You may have to play around with the delays between beeps as well. There are a few occasions where some beeps don't play, or it ends too soon. But generally works ok.

                Z-Bot CoreXY Build | Thingiverse Profile

                Scachiundefined 1 Reply Last reply Reply Quote 1
                • dc42undefined
                  dc42 administrators
                  last edited by dc42

                  I think @Phaedrux is correct. When the Duet and PanelDue are started, it takes a few seconds for PanelDue to connect. Until it does, any sounds generated won't be sent to PanelDue.

                  Duet WiFi hardware designer and firmware engineer
                  Please do not ask me for Duet support via PM or email, use the forum
                  http://www.escher3d.com, https://miscsolutions.wordpress.com

                  1 Reply Last reply Reply Quote 0
                  • Scachiundefined
                    Scachi @Phaedrux
                    last edited by

                    @phaedrux said in PanelDue 5" 1.22.1 beep startup tune playback problem:

                    That would be my startup tune.

                    Try adding a delay before the beeps start to give some time to the system to finish starting up. I think the reason it's working on the emergency stop is that it's a warm reboot instead of a cold boot.

                    M400 ; clear buffer
                    G4 S5 ; pause 5 seconds
                    

                    You may have to play around with the delays between beeps as well. There are a few occasions where some beeps don't play, or it ends too soon. But generally works ok.

                    Thank you very much for the nice tune and the fix. It is working very well now in all cases with the pause set to 6 seconds.
                    Thanks to all for the quick help.

                    1 Reply Last reply Reply Quote 0
                    • dc42undefined
                      dc42 administrators
                      last edited by

                      I'm glad it's working. The M400 command isn't needed, because G4 waits for everything to stop anyway.

                      Duet WiFi hardware designer and firmware engineer
                      Please do not ask me for Duet support via PM or email, use the forum
                      http://www.escher3d.com, https://miscsolutions.wordpress.com

                      Phaedruxundefined 1 Reply Last reply Reply Quote 0
                      • Phaedruxundefined
                        Phaedrux Moderator @dc42
                        last edited by

                        @dc42 said in PanelDue 5" 1.22.1 beep startup tune playback problem:

                        The M400 command isn't needed

                        Good to know. It's a hold over from when I was originally trying to get it to work.

                        Z-Bot CoreXY Build | Thingiverse Profile

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