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.
    • Scachiundefined
      Scachi
      last edited by

      Not sure if this is a Paneldue or FW related problem..please move the post if this should be placed somewhere else.

      I have copied a startup tune from some post some time ago (can't remember the person/post) and put it at at the end of my config.g file. Not sure when this issue started, if this started with updating the paneldue FW or with the printer FW.
      The problem is that I can only hear it being played when I press the "Emergency Stop" button via the web interface.
      This is the only case the sound is played back via the beeper in the paneldue.

      When I do switch the printer on or hit the emergency button on the paneldue the sound is not played.
      Any idea what I have to do to get a beep sound via the paneldue beeper when switching the printer on and emergency stop it localy ?

      Printer running:
      Firmware Version: 2.03beta2 (2019-02-16b1)
      WiFi Server Version: 1.22
      Web Interface Version: 1.22.6

      PanelDue 5" 1.22.1

      End of my config.g file::

      ; STARTUP TUNE
      ;
      M300 P200 S1975.53
      G4 P201
      M300 P200 S2217.46
      G4 P201
      M300 P200 S1975.53
      G4 P201
      M300 P200 S2793.83
      G4 P201
      M300 P200 S2489.02
      G4 P201
      M300 P200 S2217.46
      G4 P201
      M300 P200 S2489.02
      G4 P201
      M300 P200 S2959.96
      G4 P201
      M300 P300 S3520.00
      
      1 Reply Last reply Reply Quote 0
      • chas2706undefined
        chas2706
        last edited by

        All my tunes work and the only difference in the code is M400 ; wait for current moves to finish. Placed at the beginning and end. Try this one:

        ; Charge.g
        ;
        ; Duh nuh nun nah nah naah Charge!
        ;

        M400
        G4 P200
        M300 P200 S523.25
        G4 P200
        M300 P200 S659.25
        G4 P200
        M300 P200 S739.99
        G4 P250
        M300 P285 S880.00
        G4 P450
        M300 P285 S880.00
        G4 P285
        M300 P625 S1108.73
        G4 P200
        M400

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

          Thank you. It doesn't make a difference. Turning the printer on or using the emergency localy on the paneldue I don't get beeps.
          starting manually on the paneldue a macro file containg the beeps plays them back fine on the panel due.

          1 Reply Last reply Reply Quote 0
          • 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