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

    Macro For auto clearing print bed for hospital face shields

    Scheduled Pinned Locked Moved
    General Discussion
    2
    6
    262
    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.
    • xxsteven69xxundefined
      xxsteven69xx
      last edited by

      I have an idea for upping my output of printing face shields for my local hospitals by using a macro to say
      Print shield.gcode
      execute move to eject parts from bed
      repeat

      If there is not repeat can I nest the macro or just copy paste the command say 10 times so I can sleep 10hrs or so.

      Example
      Mxxx Shield.gcode
      Mxx t 5mins ;cool bed
      Mxxx Shield_eject.Macro
      Mxxx ;repeat or nest this macro

      1 Reply Last reply Reply Quote 0
      • A Former User?
        A Former User
        last edited by

        Using RRF3 you should be able to do a loop.

        If not look at M98 (or possibly M23+M24 if there is a reason M98 shouldn't work with the print g-code) and just copy paste the codes needed 10 times.

        https://duet3d.dozuki.com/Wiki/Gcode#Section_M98_Call_Macro_Subprogram

        1 Reply Last reply Reply Quote 0
        • xxsteven69xxundefined
          xxsteven69xx
          last edited by

          Yeah I'm trying to write it now reading that. Is there a good way to say wait fro bed to cool to x degrees C instead of wait for heat?

          1 Reply Last reply Reply Quote 0
          • A Former User?
            A Former User
            last edited by

            I don't know if M116 works both up and down; but I guess you can test it
            https://duet3d.dozuki.com/Wiki/Gcode#Section_M116_Wait

            xxsteven69xxundefined 1 Reply Last reply Reply Quote 0
            • xxsteven69xxundefined
              xxsteven69xx @A Former User
              last edited by

              @bearer It does indeed wait for cooling

              1 Reply Last reply Reply Quote 1
              • A Former User?
                A Former User
                last edited by

                Good to know! 👍

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