Duet3D Logo

    Duet3D

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • Documentation
    • Order

    Solved Syringe Dispensing + conditional Gcode + Object model?

    Using Duet Controllers
    4
    5
    171
    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.
    • HebigT
      HebigT last edited by

      I'm using an E3D toolchanger with a syringe dispensing tool. I'll be slicing models normally, but I'll need to post-process the gcode to add commands at the appropriate points to turn a pneumatic pump on and off.

      Then I thought, maybe I can avoid post-processing and use conditional gcode to turn the pump on/off based on a state (or set of states) in the object model.

      For instance, the pump should be off during travel moves, so can I reference the object model when the print speed is above a certain threshold and use a conditional loop to turn the pump off.

      Post-processing still seems like a good choice, I just wanted to check this idea with you all.

      dc42 OwenD theruttmeister 3 Replies Last reply Reply Quote 0
      • dc42
        dc42 administrators @HebigT last edited by

        @hebigt you can't use conditional GCode to distinguish between travel moves and printing moves. But you may be able to use M571. See the GCode Wiki page for details.

        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
        • OwenD
          OwenD @HebigT last edited by

          @hebigt
          If it's a single layer application the running in laser mode should be easy enough.
          Not sure about maintaining consistent line width at start/finish though.
          If it's a multi layer additive manufacturing process the it's going to require either some post processing or a slicer that can output an S parameter in G1

          1 Reply Last reply Reply Quote 0
          • theruttmeister
            theruttmeister @HebigT last edited by

            @hebigt

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

            No need for post processing.

            Isolate, substitute, verify.

            HebigT 1 Reply Last reply Reply Quote 1
            • HebigT
              HebigT @theruttmeister last edited by

              @dc42
              @OwenD
              @theruttmeister

              Thank you! This gives me a good starting point.

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