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

    How to cancel a macro

    Scheduled Pinned Locked Moved Unsolved
    General Discussion
    4
    5
    242
    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.
    • jay_s_ukundefined
      jay_s_uk
      last edited by

      I want to run a long macro to test my toolchanger before I start printing with it.
      I was planning to just have a ton of T0's and T1's.

      Is there a way to cancel a macro if I run into an issue without using the emergency stop button?

      Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

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

        You could have the macro test an endstop switch during the loop.

        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 1
        • mwwhitedundefined
          mwwhited @jay_s_uk
          last edited by

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • jay_s_ukundefined
            jay_s_uk
            last edited by

            So something along the lines of carrying out the macro using interactions?
            And then inserting a check for an endstop being pressed and add an extra physical button to stop the macro?
            Can I add an extra endstop without adding an extra axis?

            Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

            1 Reply Last reply Reply Quote 0
            • botundefined
              bot
              last edited by

              You could have the macro start a print, the print file being the test gcode you wish to run.

              *not actually a robot

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