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

    Beep Sound with a pause?

    Scheduled Pinned Locked Moved
    General Discussion
    2
    3
    505
    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.
    • kuhnikuehnastundefined
      kuhnikuehnast
      last edited by

      Hi there,
      I am trying to implement a beep sound with a pause in between. Tried this macro:

      M300 S600 P500 ; Beep at 600 Hz for 500 ms
      G4 P200 ; Pause for 200 ms
      M300 S600 P500 ; Beep at 600 Hz for 500 ms
      G4 P200 ; Pause for 200 ms
      M300 S600 P500 ; Beep at 600 Hz for 500 ms

      But only the first Beep is played...? Is there anything wron in the macro?

      greetings kuhni

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

        Try making the pause at least as long as the beep which precedes it.

        Z-Bot CoreXY Build | Thingiverse Profile

        1 Reply Last reply Reply Quote 0
        • kuhnikuehnastundefined
          kuhnikuehnast
          last edited by

          Ah ok, that's strange!
          The gcode doesn't wait the 500 ms of the beep sound. So the Pause has to be Beep Sound Time + Pause Time! Thanks a lot!

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