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

    Can I delay action on an endstop condition?

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    2
    3
    108
    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.
    • Nuramoriundefined
      Nuramori
      last edited by

      I will be using a water cooled heatsink, and have found a low flow volume flow sensor that, while flowing as little as 0.9l/hr, will work in a NC condition, and gonopen if there’s no liquid flow. The issue I can see is upon startup, while it build pressure and a minimum flow rate to go from open to closed. I can foresee getting stuck with a shutdown before it even can start, if the condition is processed before enough flow occurs to send the switch into a closed condition.

      Here’s the part ....

      https://www.digikey.com/short/pf3d5b

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

        Maybe you can jerry rig something like this

        M581 triggers on pin on rising(?) edge

        rewrite trigger to execute the end goal
        use G4 to dwell for your deadband time
        use M582 to determine if the trigger is still asserted, and if it is hopefully the rewritten code is used.

        Another trigger on the falling edge to reset the trigger (maybe you can get away with incorporating this in the first trigger)

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

          Alternatively use a G4 in the config.g to allow the system time to start flowing before activating the endstop/trigger in the first place.

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