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

Analog threshold for M581 trigger

Scheduled Pinned Locked Moved
Firmware wishlist
3
3
281
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.
  • undefined
    rjh
    last edited by 8 Aug 2019, 19:09

    This is a follow-up from https://forum.duet3d.com/topic/11535/firmware-proposal-using-z-probe-as-external-trigger

    I'm looking to make it possible for an analog Z Probe to act as an emergency stop when an object comes too close. I imagine that that'd happen via M581, with the Z Probe acting as a trigger when it exceeds a threshold value. From the previous thread I learnt that RRF V3.0 we can select the Z Probe pin in M581, so the one remaining obstacle is how to specify that analog threshold.

    For example, we could add an A parameter to specify the analog threshold?

    M581 P"zprobe.in" A980 T0 C0   ; Emergency stop any time the rangefinder detects an object too close (value >980).
    

    How does that sound?

    1 Reply Last reply Reply Quote 0
    • undefined
      dc42 administrators
      last edited by 9 Aug 2019, 09:05

      Yes that sounds reasonable. I'll add it to the work list for RRF3.

      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
      • undefined
        CR3D
        last edited by 9 Aug 2019, 09:39

        Really interessting!! 🙂

        Christian from CR-3D
        Homepage:
        www.cr-3d.de

        Facebook:
        https://www.facebook.com/cr3d.official

        Our Discord Server
        https://discord.gg/SxRaPNuRdA

        Thingiverse Profile:
        https://www.thingiverse.com/cr-3d_official/about

        1 Reply Last reply Reply Quote 0
        • undefined soccerpaul referenced this topic 26 May 2022, 15:56
        • undefined fcwilt referenced this topic 26 May 2022, 16:27
        1 out of 3
        • First post
          1/3
          Last post
        Unless otherwise noted, all forum content is licensed under CC-BY-SA