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

    custom endstop for z

    Scheduled Pinned Locked Moved
    Tuning and tweaking
    2
    3
    135
    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.
    • alexusundefined
      alexus
      last edited by alexus

      hi, i have BLE touch to work as Zstop but i modified hardware to sense bed collision and i want to use Z_stop or other endstop port (i have DUEX5)

      basic goal, if my extruder crashes into bed to stop z motion (ideally with custom script, ex if im calibrating and not printing stop Z and move back) if im printing ex part warped and colided then pause script.

      anyway now triggering Zstop does not stop motion at all. I guess because BLE proble is configured?

      How can i make probe and limit switch work together? Probe for Z0 and limit switch as emergency shutoff?
      and any way to have hook so when zstop triggered call my script?

      tnx


      edit:
      ok so i found this
      https://docs.duet3d.com/User_manual/Connecting_hardware/IO_E_stop

      looks like what i want

      droftartsundefined 1 Reply Last reply Reply Quote 0
      • droftartsundefined
        droftarts administrators @alexus
        last edited by

        @alexus Switches defined as endstops only stop movement during G1 H1 homing moves. However, you can configure an endstop, or any other switch, as a trigger, and set up the action you want to happen when it is activated. See https://docs.duet3d.com/en/User_manual/Reference/Gcodes#m581-configure-external-trigger

        Ian

        Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

        alexusundefined 1 Reply Last reply Reply Quote 0
        • alexusundefined
          alexus @droftarts
          last edited by

          @droftarts

          yep that's pretty much what i managed to dig last night
          so i can get M112 or call external script

          now im facing problem thta if i call M112 then there no motion is possible at all
          where i want to go back in case of collision... ex say we are homing and there something on bed causing collision so we tiger may switch stop homing process and go back -10mm from last known position to avoid hardware tension

          ... then will test what happens during print, caz if its printing woudl need to do same but pause printing... could be easier during printing

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