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

    Endstop state in condition

    Scheduled Pinned Locked Moved
    Firmware developers
    2
    3
    193
    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.
    • TCundefined
      TC
      last edited by

      Hi all,

      I am wondering if it is already possible to check the trigger state of an endstop (or GPIO pin) in an if expression.

      Thanks ahead
      TC

      1 Reply Last reply Reply Quote 0
      • dc42undefined
        dc42 administrators
        last edited by dc42

        Yes, send M409 L"sensors.endstops" to see what's available. Firmware 3.01RC2 (coming soon) allows GP inputs to be queried too.

        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
        • TCundefined
          TC
          last edited by

          Thanks so much!

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