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

    M291 use question

    Scheduled Pinned Locked Moved
    General Discussion
    2
    4
    211
    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.
    • Kolbiundefined
      Kolbi
      last edited by Kolbi

      Question pertains to M291 with parameter S1, given the example below.

      M291 S1 T2 P“This printer will self-destruct in 2 seconds unless you press ‘Close’”

      Q: When either the time runs out, or user presses ‘Close’ – can you detect which of the two possibilities happened, and how if so?

      1 Reply Last reply Reply Quote 0
      • Kolbiundefined
        Kolbi
        last edited by Kolbi

        I suppose once variable use is enabled, a time stamp before and after the M291 can be compared to see if the popup exited before the set time.

        Until then, if a better way to get user input exist, please let me know.
        ref: https://forum.duet3d.com/topic/17566/single-macro-for-filament-handling/15

        OwenDundefined 1 Reply Last reply Reply Quote 0
        • OwenDundefined
          OwenD @Kolbi
          last edited by

          @Kolbi
          It's on the "to do" list
          https://forum.duet3d.com/topic/15362/extension-of-m291-m292

          1 Reply Last reply Reply Quote 0
          • Kolbiundefined
            Kolbi
            last edited by

            @OwenD
            That, and variables, will be very cool!

            Granted, my coding skills are barely existent but I can usually make something useful - just not the most elegant. 🙂

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