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

    Can Set So E0 Endstop = Extrude endlessly until release?

    Scheduled Pinned Locked Moved
    Tuning and tweaking
    firmware custom extrusion endstop
    2
    2
    240
    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.
    • CuboidWalesundefined
      CuboidWales
      last edited by CuboidWales

      I'd like to be able to press a button (eg. E0 EndStop), and while button is pressed, the extruder continuously extrudes at a predefined speed, indefinitely until button is released.

      If this is possible, I'd then like to also be able to set it so the extrusion distance will always fall on a multiple of 5mm.
      So if the user releases button after extruding 32.72mm, the extruder will continue, and stop at 35mm.
      Alternatively, if the user releases E0 button at 32.72mm, could it continue to extrude until a specific endstop is triggered, ie. E1?

      I'm working on a custom project to create a new product, unrelated to 3d printing, which can utilize the duetwifi.... so if it works, I'm gonna need to buy a few.

      The duet I'm using is the Duet WiFi 1

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

        maybe the 5mm requirement makes this possible by means of a trigger

        try creating a M581 E0 T2 trigger for E0 endstop, and in the /sys/trigger2.g file do

        G0 E5
        M582 T2
        

        that should make it move 5mm, and if the trigger condition is still asserted then it should run the trigger again, and again. You may have to experiment with the S parameter for rising or falling edge of the trigger to get the desired effect.

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

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