Duet3D Logo

    Duet3D

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

    dual extruder motor programming

    General Discussion
    2
    4
    72
    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.
    • lautrec
      lautrec last edited by

      i have a dual extruder setup which involves a nema8 motor which rotates via gear and racks to lower the current extruder into position and raise the other extruder out of the way, and vice versa. i am not sure how to program the slight motor movement every time the extruders change. any suggestions? thanks in advance

      1 Reply Last reply Reply Quote 0
      • Phaedrux
        Phaedrux Moderator last edited by

        I think you should be able to set those motors up as an independent axis and then use the tool change files to move them in and out of position when the tools are called.

        Does that make sense?

        https://duet3d.dozuki.com/Wiki/Gcode#Section_M584_Set_drive_mapping
        https://duet3d.dozuki.com/Wiki/Gcode#Section_T_Select_Tool
        https://duet3d.dozuki.com/Wiki/Macros#Section_Tool_change

        Z-Bot CoreXY Build | Thingiverse Profile

        1 Reply Last reply Reply Quote 1
        • lautrec
          lautrec last edited by

          thank you phaedrux for your quick reply. if i understand you correctly I first set up the motor as an additional axis. Then start up the tpostn.g file in the system editor, and indicate there the change in the motor for both extruders to take place when there is a t0 or t1 in the gcode. Is that correct? thanks again for your insightful response.

          1 Reply Last reply Reply Quote 0
          • Phaedrux
            Phaedrux Moderator last edited by

            Yes that is the gist.

            The additional axis for lifting and lowering the head will need to be homed in some way. Either an endstop or stall detection against a physical stop, or manually setting position with G92.

            Then the motion would be defined in the tool files. Which tool files you use will have to be worked out for your needs. Do you want to tool to drop into position when selected and raised when deselected? That will be up to you, I can only imagine since I haven't seen the mechanism first hand.

            Z-Bot CoreXY Build | Thingiverse Profile

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