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

    Rapid turn around setup?

    Scheduled Pinned Locked Moved
    General Discussion
    3
    4
    605
    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.
    • TickTockundefined
      TickTock
      last edited by

      I usually shut down the print bed and extruder in my end.g file for safety. However, fairly frequently I am in a rapid turn-around mode such as where I am fitting a profile to an existing object (5 minute print, tweak and repeat). My print bed is 1/4" aluminum plate and is very slow to stabilize so I change my end to keep the bed hot and lower the extruder to just below the point where it drips. Is there a way that I can add a check box to the machine control to tell it to use end2.g instead of end.g so I can easily swap modes? Is there a better way to do what I am doing?

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

        Currently there isn't a way to do that other than renaming macro files. However, when the object model and the new DWC to make use of it are complete, then you will be able to use conditional GCode in stop.g (or end.g if you are calling that explicitly). After that, all we need is an M-code to set a variable, and a means in DWC to set variables depending on the state of check boxes. I'll alert chrishamm to this requirement.

        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
        • TickTockundefined
          TickTock
          last edited by

          Thanks. I am calling it explicitly with M98 and can change to end2 there but that requires editing the slicer profile so having the ability to add check boxes would be a nice feature for lazy people like me.

          BTW: M0 H1 doesn't seem to work for me (why I'm using M98 instead). Even with the H1 card, the heaters are turned off when M0 H1 is called (same end.g code in the stop.g file). M98 Pend.g leaves the heaters on. Operator error or bug?

          T3P3Tonyundefined 1 Reply Last reply Reply Quote 0
          • T3P3Tonyundefined
            T3P3Tony administrators @TickTock
            last edited by

            @ticktock a slightly quicker option than editing the slicer config would be to create the two macros (say end!.g and endB.g) and then call those from inside end.g:

            ;end.g commend out the end macro you do not want to use:
            M98 P"0:/macros/endA.g"
            ;M98 P"0:/macros/endB.g"

            www.duet3d.com

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